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

2017-10-02 Thread Fabrice Bacchella
Looking at Puppet 1.10.8, I see in /opt/puppetlabs/puppet/lib/pkgconfig/augeas.pc: Version: 1.4.0 That version was released on june 2015/ But at https://github.com/hercules-team/augeas/releases, current augeas version is 1.8.1, and still don't include patch for that bug. It prevent upgrade to

Re: [Puppet Users] Problems writing tests for custom hiera backend

2017-10-02 Thread Craig Dunn
I've been having the exact same conversation with Henrik as I also need to write tests for hiera-mysql, hiera-http and the Jerakia Hiera 5 backend He suggested copying the approach used by yaml_data and json_data Puppet core but theres a few problems with this. Firstly it uses puppet_spec/comp

Re: [Puppet Users] Problems writing tests for custom hiera backend

2017-10-02 Thread jos
Hi Craig, Been meaning to contact you. I plan to re-use some of your code and idea's from hiera-http. You might have recognised the snippet in the first message. Do you mind? I'll have a look at a solution today or tomorrow, but it sounds like I need to mock the class. I should have an app

[Puppet Users] puppetserver-acces.log

2017-10-02 Thread Peter Krawetzky
We had an odd situation happen earlier this morning. Puppet server version 2.1.1 on RHEL7. I have 4 puppet servers behind a load balancing F5 server. One of our puppet servers puppetserver-access.log grew (over 2TB's) to the point that it almost filled /var which for a server is not good. I

Re: [Puppet Users] Problems writing tests for custom hiera backend

2017-10-02 Thread Craig Dunn
Hi Jos Been meaning to contact you. I plan to re-use some of your code and idea's > from hiera-http. > You might have recognised the snippet in the first message. > > Do you mind? > Not at all - it's Apache 2.0 licensed so anyone can re-use the code if they maintain the license / copyright notic

Re: [Puppet Users] puppetserver-acces.log

2017-10-02 Thread Martin Alfke
> On 2. Oct 2017, at 16:24, Peter Krawetzky wrote: > > We had an odd situation happen earlier this morning. Puppet server version > 2.1.1 on RHEL7. > > I have 4 puppet servers behind a load balancing F5 server. One of our puppet > servers puppetserver-access.log grew (over 2TB's) to the poi

[Puppet Users] Re: puppetserver-acces.log

2017-10-02 Thread Peter Krawetzky
Since I don't have a setting in the file, it defaults to info. Unless there is a bug. On Monday, October 2, 2017 at 10:24:19 AM UTC-4, Peter Krawetzky wrote: > > We had an odd situation happen earlier this morning. Puppet server > version 2.1.1 on RHEL7. > > I have 4 puppet servers behind a l

Re: [Puppet Users] Broken APT repo?

2017-10-02 Thread Melissa Stone
Good morning, I've checked the repos we have up for xenial on apt.puppetlabs.com, and I'm unable to reproduce this error. Do you know exactly which repo you're hitting that is missing the signature? Did you enable the repo by installing one of our release packages? If so, which one? If not, how d

[Puppet Users] Re: puppetserver-acces.log

2017-10-02 Thread Peter Krawetzky
So I recycled the puppetserver service and it now appears the log is back to normal size over the course of time. I'm guessing something happened to cause puppetserver to dump more than it should have. On Monday, October 2, 2017 at 10:24:19 AM UTC-4, Peter Krawetzky wrote: > > We had an odd sit

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

2017-10-02 Thread David Lutterkort
Hi Fabrice, you can simply copy sudoers.aug from upstream to affected systems with a file resource until augeas 1.9.0 is released. I am not aware though that there are plans to rebase augeas for the 1.x series of puppet-agent

[Puppet Users] Announce: Puppet Platform 5.3 available

2017-10-02 Thread Garrett Guillotte
A new release of the Puppet Platform is available. As a reminder, we're doing monthly releases of the platform components (Agent, Server, and PuppetDB) which are tested and released together. For details, see https://docs.puppet.com/puppet/5.3/release_notes_agent.html. Puppet agent 5.3.1 is a feat