[Puppet Users] Re: Hiera 5 + Puppet 5 File Backend

2017-08-27 Thread John Baird
> > The backend function receives a path in the options hash - that path is > guaranteed to exist - all non existing paths are simply skipped by hiera > (see the linked docs how it works). Thus, you do not need to use any of > the find file, etc. You can use relative paths in the hiera.yaml con

Re: [Puppet Users] puppet augeas fails with sudoers in RHEL 7.4

2017-08-27 Thread Fabrice Bacchella
Thanks ! > Le 27 août 2017 à 06:56, David Lutterkort a écrit : > > Hi Fabrice, > > I just merged this change > > to the sudoers lens to address that. You can just overwrite the stock lens > in /usr/shar

Re: [Puppet Users] Re: puppet SSHD port based on hostname

2017-08-27 Thread Pete Brown
On Fri, 25 Aug 2017 at 23:07, John wrote: > So, I agree this is doable in Hiera. However, I think for the SAZ SSH > module, it would be better for me to include it in the sshd_config.erb. > Why? It’s a simple solution to do it in hiera. You are making th problem more complex by changing the te