On Fri, 30 Jul 2010, Daniel Pittman wrote:
> Eg, this:
> 
>    exec { "foo": command => ['/bin/ls', '|', 'foo'] }
> 
> will pass '|' 'foo' to the ls command, compared to:
> 
>    exec { "foo": command => "/bin/ls | foo" }
> 
> ...which passes it to the default system shell.

+1  [I added a missing comma above.]

--apb (Alan Barrett)

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