Re: [Puppet Users] Re: exec without a shell

2016-01-27 Thread 'Stefan Schulte' via Puppet Users
On 28.01.2016 01:46, 'Stefan Schulte' via Puppet Users wrote: > [...] > I guess the sane approach would be to add a feature request to allow > passing an array as a command parameter which in turn would run ruby's > exec with an array as well, bypassing the shell. > [...] > -- Stefan just for re

Re: [Puppet Users] Re: exec without a shell

2016-01-27 Thread 'Stefan Schulte' via Puppet Users
On 27.01.2016 15:28, jcbollinger wrote: > [...] > Puppet implements the "posix" provider by passing the command to > Ruby's Kernel.exec() > . > [...] Thanks for the inside view John. This would explain the current behaviour. IIRC this beh

[Puppet Users] Re: exec without a shell

2016-01-27 Thread jcbollinger
On Tuesday, January 26, 2016 at 7:40:06 PM UTC-6, Stefan Schulte wrote: > > Hello, > > I've got a quick question about the exec type. The exec type does have a > shell provider and a posix provider and the posix provider says > > # > > https://github.com/puppetlabs/puppet/blob/master/lib/