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

2015-08-19 Thread Michael Smith
I've setup a similar environment (CentOS 6.6, Ruby 1.8.7p374, Puppet 3.8.1 from gems) in Docker, and I can't reproduce the behavior. I've copied directly from your e-mail. I started with a single machine, so I setup host { 'puppet': ensure => 'present', ip => '127.0.0.1', target => '/etc

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

2015-08-19 Thread Lunixer
Also, to check whether it's ruby version issue, I put the code in a small script (test.rb) to test and there is no problem at all. This seems to be a puppet template issue. A bug, maybe? #!/usr/bin/env ruby $default_servers = [ "0.debian.pool.ntp.org iburst", "1.debian.pool.

[Puppet Users] Re: Check code quality with SonarQube

2015-08-19 Thread Chris Bowles
Thanks, David. Have never checked out SonarQube, but I like the idea of a Puppet code quality tool. ~ Chris On Wednesday, August 19, 2015 at 1:13:11 AM UTC-5, David Racodon wrote: > > Hi, > > Iain and I developed a SonarQube plugin to > check code quality of Puppet

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

2015-08-19 Thread Lunixer
The filename is actually correct. The post above has the typo. I had use this same module in it's simpler form as given in the learning doc and had no problems. It's only with the each part of it. BTW, pardon my ignorance, how do you clear the puppet cache? # ll manifests/manifests/ntp total 8 -

[Puppet Users] Oscar alternative for open source puppet 4.x

2015-08-19 Thread Walid
Hi, I would like to test and try open source puppet 4.x and was checking if there are any projects taht automate multi node puppet infrastructure ( ca, masters, agents, puppetdb, board). I know oscar exists for Puppet Enterprise, but not sure if there are alternatives for the open source puppet,

[Puppet Users] install_options with package in windows

2015-08-19 Thread kaustubh chaudhari
Hi Team, I am trying to install vda with puppet. #VDAServerSetup.exe /quiet /components vda,plugins /controllers "mydev.example.com" /enable_hdx_ports /optimize /enable_remote_assistance /virtualmachine /nodesktopexperience /noreboot Above is the commend line parameters i need to use with the

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

2015-08-19 Thread jcbollinger
On Tuesday, August 18, 2015 at 11:02:27 AM UTC-5, Christopher Wood wrote: > > 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. > I'm not following why you say tha

Re: [Puppet Users] hiera-gpg, end of life.

2015-08-19 Thread Denmat
Thanks for going to the effort of providing it and making it available in the first place. Good job :) > On 19 Aug 2015, at 19:44, Craig Dunn wrote: > > Hi all, > > For anyone that is interested, I've decided to officially bring to an > end the hiera-gpg[0] project and will not be maintaining

[Puppet Users] hiera-gpg, end of life.

2015-08-19 Thread Craig Dunn
Hi all, For anyone that is interested, I've decided to officially bring to an end the hiera-gpg[0] project and will not be maintaining it going forward. hiera-gpg was one of the first additional backends written for Hiera and was released 4 years ago (was it *really* that long ago?). It gained a