Issue #4884 has been updated by Matt Robinson.

Moving forward the shell provider should use the array form of commands to 
Util.execute to prepend the "sh -c" instead of doing it in string 
interpolation.  Also, to test this, rather than doing expects on execute we 
should actually let a few simple shell commands run (true, false, echo) and 
then assert what the output is on the type returns property.
----------------------------------------
Feature #4884: An exec provider that executes unfiltered bash code.
https://projects.puppetlabs.com/issues/4884

Author: Jesse Wolfe
Status: Accepted
Priority: Urgent
Assignee: Daniel Pittman
Category: exec
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 
https://github.com/daniel-pittman/puppet/tree/feature/2.6.next/4884-an-exec-provider-that-executes-unfiltered-bash-code


Some users have been using a workaround to allow Exec resources to run inline 
bash scripts (rather than calling an executable), as seen in the comments on 
#4288

We should consider adding this as a feature; I am opening this ticket for 
discussion.


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