Issue #2359 has been updated by James Turnbull.

Target version changed from 0.25.5 to 0.25.6


----------------------------------------
Bug #2359: stderr output from exec resource is lost
http://projects.puppetlabs.com/issues/2359

Author: Alan Harder
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: exec
Target version: 0.25.6
Affected version: 0.24.8
Keywords: 
Branch: 


stderr output may be important to help determine why a puppet run failed.
With this simple script I do not see the exec output:

<pre>
node '...' {
  exec { 'stderr_test':
    command => '/usr/bin/echo test 1>&2',
    logoutput => true
  }
}
</pre>

If I remove the "1>&2" then "test" does appear in the puppet output.
Using Puppet 0.24.8 on Solaris 10.

I saw the comment in the docs regarding the user parameter: "Note that if you 
use this then any error output is not currently captured. This is because of a 
bug within Ruby."
But note above I am not using the user parameter.  Also, does this "bug within 
Ruby" still exist?



-- 
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