On Dec 10, 2010, at 3:40 AM, luke.bigum wrote:

>>> This doesn't appear to affect the actual execution of commands, so
>>> don't be worried about the wrong commands being executed based on the
>>> CWD of Puppet.
>> 
>> Except it might be.  Puppet might have been trying to execute the file and 
>> then failing because the permissions were 644 instead of 755.
> 
> I thought of that and put a script in ./grep to touch another file to
> see if it would be executed instead of the grep that is in the Exec
> resource's path. It wasn't so I assume it's something to do with the
> Ruby FileTest module 'executable?' method that's not being done right,
> the actual command execution obeys the Exec's path as expected. At
> least that's what I observed for the bug report.

Ah.  Nevermind then.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to