[Puppet Users] Re: puppet agent fails to self-restart on config change

2019-11-21 Thread Yvan Broccard
> > I experience the same issue here, sometimes agents are stuck in this > Shutdown/restart loop, especially if puppet agent changed a config value in > puppet.conf. > We're using Puppet 6 now here and this issue is new with Puppet 6. In the past, with puppet serie 4, we never experienced this

Re: [Puppet Users] vcsrepo with specific identity?

2019-12-03 Thread Yvan Broccard
Don't forget the "user", "group" and "owner" parameter. For example, from one of my manifests : -> vcsrepo {'oracle-scripts': ensure => 'latest', path => "${hvs_oracle::oradb::admindir}/oracle-scripts", provider => 'git', source => 'ssh://git@git:7999/infra/oracle-scripts

Re: [Puppet Users] Puppetserver performance plummeting a few hours after startup

2020-02-06 Thread Yvan Broccard
Hi, I add the same issue a couple of months ago. The catalog compilation time of the puppet server was taking more and more time for no reason. I added more Puppet server to take the load, but the load on that actual "first" server could not go back to a lower execution time. After some troublesh

Re: [Puppet Users] Re: Puppetserver performance plummeting a few hours after startup

2020-02-07 Thread Yvan Broccard
Hi, About the growing state.yaml : I have upgraded to version 6.7 in the mean time. I've seen in the code that the issue with :statettl was fixed. As the default setting is 32days, I still need to wait a couple of days before being sure it works, as I still had a "tidy" statement for cleanup up Pup

Re: [Puppet Users] Re: Puppetserver performance plummeting a few hours after startup

2020-02-09 Thread Yvan Broccard
is slowly decreasing (I need to wait 32 days until all old reports will be cleaned). Thank you Cheers Yvan On Fri, Feb 7, 2020 at 7:55 PM Josh Cooper wrote: > > > On Fri, Feb 7, 2020 at 2:11 AM Yvan Broccard > wrote: > >> Hi, >> About the growing state.yaml : >

[Puppet Users] PuppetDB : unable to upgrade 6.5 to 6.9 => SSL errors

2020-04-27 Thread Yvan Broccard
Hi, I'm struggling with a simple update of PuppetDB since a couple of days, without finding the problem. I have 4 PuppetServers running Puppetserver 6.9 (puppetserver-6.9.0-1.el7.noarch). One has the CA role, the 3 others are simple masters. I have one dedicated PuppetDB server running puppetd

[Puppet Users] Re: PuppetDB : unable to upgrade 6.5 to 6.9 => SSL errors

2020-04-28 Thread Yvan Broccard
Hello, Thank you for your reply. My PuppetDB is installed and managed by puppetdb puppet module, and I didn't change the certificates since its installation years ago (Still valid for one year though). I will have a try with puppetdb ssl-setup later today. What I have noticed with openssl, befo

[Puppet Users] Re: PuppetDB : unable to upgrade 6.5 to 6.9 => SSL errors

2020-04-28 Thread Yvan Broccard
For the people here maybe having the same error. I was able to resolve the issue in updating Java OpenJDK from 1.7 to version 11. Then the problem was immediatelly solved. So, it was a cipher issue between Java and Puppetdb. With more recent version of Java all is solved. Puppetdb ssl-setup sa

[Puppet Users] wrong @host.puppetmaster rendered by templates when using multiples puppetmasters

2020-06-18 Thread Yvan Broccard
Hello, I have discovered a weird behavour with the use of templates when using the @host.puppetmaster parameter. I have 4 puppetmasters, among them one is the CA. Each puppetmaster is intended to serve only one environment. It worked in the past, but I have discovered now that it doesn't work a

Re: [Puppet Users] archive

2020-06-25 Thread Yvan Broccard
Hello, I'm using this module in a couple of nodes with success. Here are three of my usecases : 'archive': { archive { "/tmp/${file}": ensure => present, extract => true, extract_command => 'tar xfz %s --strip-components=1', extract_path=>

Re: [Puppet Users] Re: Monitoring Puppet with Zabbix

2021-01-11 Thread Yvan Broccard
Hello, I've done a small module to monitor puppet agent from Zabbix. There is a small python wrapper script that reads the /opt/puppetlabs/puppet/cache/state/last_run_summary.yaml and parse the yaml. Here is the code https://gitlab.com/darthvoid/puppetmon Forgive any issue, I just created the r