[Puppet Users] allow_duplicate_certs doesn't work?

2015-08-18 Thread Robert Hafner
I'm using allow_duplicate_certs as our cluster occasionally reuses hostnames- except that it appears that this setting does nothing at all? I'm assuming I'm missing something here, but whenever a freshly-wiped host attempts to connect to the cluster I get an error-> > "Could not request certif

[Puppet Users] Re: Speed issue when copying 'n' files

2015-08-18 Thread jcbollinger
On Monday, August 17, 2015 at 9:23:30 AM UTC-5, Sergiu Cornea wrote: > > Hello guys, > > So the scenario is as follows: > > On a virtual host I've got 10 linux containers and each container has a > website associated with. Therefore, for that website to work I have to copy > around 100 + files

[Puppet Users] r10k permissions strangeness

2015-08-18 Thread Jonathan Gazeley
Hi folks, I'm a long-time Puppet user but this week I've moved to use Puppetserver and r10k, using abstractit/puppet to oversee everything, and that depends on zack/r10k and other modules to do the heavy lifting. I'm using Gitlab to manage my git repo which uses a webhook to prod r10k into de

[Puppet Users] Re: r10k permissions strangeness

2015-08-18 Thread Jonathan Gazeley
I've just seen this bug report which was fixed in 2.8.2. However we're running 2.8.4... https://github.com/acidprime/r10k/issues/191 On 18/08/15 14:44, Jonathan Gazeley wrote: Hi folks, I'm a long-time Puppet user but this week I've moved to use Puppetserver and r10k, using abstractit/puppet

[Puppet Users] puppet template syntax problem: undefined method `each' for nil:NilClass

2015-08-18 Thread Lunixer
I was going through the Puppet Learning doc. Got to the template section and the ERB file, which is using the 'each' method to print the $real_servers. The puppet run fails with pointing to the 'each' method. Is this a bug? does anyone have any pointers? Using: centos 6.6 puppet 3.8.1 ruby 1.8.7

Re: [Puppet Users] puppet template syntax problem: undefined method `each' for nil:NilClass

2015-08-18 Thread Christopher Wood
Never used that, but it sounds like your instructions are using the Puppet 4 ("future") parser but your Learning VM or locally installed puppet is using the version 3 parser. https://docs.puppetlabs.com/puppet/latest/reference/experiments_future.html As to how to fix this, you might set your pa

Re: [Puppet Users] Re: Possibly bug in Puppetlabs/Registry module

2015-08-18 Thread Josh Cooper
Hi Mark, On Wed, Jul 22, 2015 at 1:01 PM, Rob Reynolds wrote: > Given we've discovered a bug in 3.7.5 and have recalled it for an > incorrect version of Ruby[1], it's possible this issue was limited to just > Puppet 3.7.5. Registry could be one thing that would likely have a large > effect given

[Puppet Users] Check code quality with SonarQube

2015-08-18 Thread David Racodon
Hi, Iain and I developed a SonarQube plugin to check code quality of Puppet modules. This first version comes with over 40 rules spanning from potential bugs to coding style guidelines. It fully benefits from all the nice features coming with SonarQube

Re: [Puppet Users] Why variables standing by themselves should be quoted in resource titles and only there?

2015-08-18 Thread David Racodon
Hi John, Thanks for your feedback. Actually, puppet-lint goes against this recommendation because it flags quoted resource titles containing only a variable as an issue: "string containing only a variable on line 8". Regards, David RACODON Freelance QA Consultant LinkedIn