Issue #17455 has been updated by Corey Osman.

exact command got rendered wrong here is the correct command to reproduce the 
error

<pre>sudo su -u username puppet resource cron</pre>
----------------------------------------
Bug #17455: puppet resource bug when using sudo command
https://projects.puppetlabs.com/issues/17455#change-75891

Author: Corey Osman
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.12
Keywords: puppet resource sudo cron
Branch: 


How to reproduce:

sudo su - <username> puppet resource cron

results:

/usr/bin/puppet: line 3: require: command not found
/usr/bin/puppet: line 4: Puppet::Util::CommandLine.new.execute: command not 
found

If you su - <username> and then run puppet resource cron the command works as 
expected.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to