Bug #910
PAGER set incorrectly to /usr/bin/cat even if cat doesn't live there
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
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
History
Updated by Tim Stoop over 4 years ago
- Status changed from 1 to Closed
- 7 set to duplicate
This seems to be a duplicate of #887.