On 07/03/2012 03:15 PM, jcbollinger wrote:
> On Monday, July 2, 2012 11:14:25 PM UTC-5, Ryan Coleman wrote:
> 
>     Binaries like curl and test must be fully qualified (ex. /bin/rm) or
>     you must pass the path attribute to your exec resource with a search
>     path like '/bin:/usr/bin' as the value. 
> 
> 
> 
> Or you can set a path via Exec's 'path' parameter.  Sometimes that's
> more convenient and / or clearer.

It's also safer. Some badly written scripts won't work unless invoked
with a valid PATH environment variable.

Cheers,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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.

Reply via email to