Jeff,
thank you for your answer. But my question was not about exec. The
question was how to set the path for every "system" command puppet is
executing ;-)
It seems to be that on Nexenta the path is not set the right way. The
path in /etc/profile is fine, but this might be not recognized by
executing the system command out of the ruby puppet code.
Any additional hints?
On 22.09.2010, at 17:20, Jeff McCune wrote:
Yes, the path parameter of the exec type will allow you to manage the
PATH environment variable of the system commands puppet agent
executes. You could also set a default for all exec resources using
Exec { path => "/bin:/usr/bin" } at top scope.
-Jeff
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.