Puppet: System Administration Automated

Support

Ticket #910 (closed defect: duplicate)

Opened 1 year ago

Last modified 1 year ago

PAGER set incorrectly to /usr/bin/cat even if cat doesn't live there

Reported by: whaymand Assigned to: community
Priority: normal Milestone:
Component: library Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

I tracked down this slightly rarefied problem with the configuration of VMwareTools (which is done by running /usr/bin/vmware-config-tools.pl).

When Puppet runs an exec resource, it sets PAGER=/usr/bin/cat. VMwareTools has little excuse for getting stroppy about this, but hey ho. The location is in fact wrong. On Red Hat for example cat lives in /bin, and /usr/bin is *not* a symlink there, so $PAGER is not found.

The defect is thus a request to fix this, presumable setting PAGER=which cat or similar would do the trick. I'm not sure PAGER=cat will cut it in case /bin is not on the path of the resource (for some reason :)

Best regards, Derek

Change History

11/19/07 21:27:05 changed by tim

  • status changed from new to closed.
  • resolution set to duplicate.

This seems to be a duplicate of #887.