[Puppet Users] Access to hiera repository

2016-02-02 Thread 'Stefan Schulte' via Puppet Users
Hello everyone, I am currently working in a Linux team that decided to use Puppet as a configuration management tool and we developed a couple of own modules, use a lot from the forge and we keep hiera data in a separate git repository (tools: r10k+controlrepo, one separate hiera repo not managed

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

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. > [...] &g

[Puppet Users] exec without a shell

2016-01-26 Thread 'Stefan Schulte' via Puppet Users
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/puppet/provider/exec/posix.rb Executes external binaries **directly, without passing

Re: [Puppet Users] Re: Prefetch in custom types in Puppet v4?

2016-01-26 Thread 'Stefan Schulte' via Puppet Users
On 19.01.2016 02:53, Jakov Sosic wrote: > On 01/19/2016 02:52 AM, Jakov Sosic wrote: >> Hi guys, >> >> >> I've noticed the following problem with one of my providers in v4. >> >> This is the original prefetch method I used: >> >> def self.prefetch(resources) >> instances.each do |prov|