[Puppet Users] Re: Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
Apparently I had another mistype somewhere. Problem solved. On Friday, July 21, 2017 at 2:21:22 PM UTC-5, Ryan Murphy wrote: > > So my hiera variable looks like this. > > contacts: >'Group A': > 'bmurphy': 'bobmur...@testsite.com' > 'cjames': 'chadja...@testsite.com' >'Group

[Puppet Users] Re: Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
The [0] after groupname shouldn't be there. Still didn't work On Friday, July 21, 2017 at 2:21:22 PM UTC-5, Ryan Murphy wrote: > > So my hiera variable looks like this. > > contacts: >'Group A': > 'bmurphy': 'bobmur...@testsite.com' > 'cjames': 'chadja...@testsite.com' >'Gro

[Puppet Users] Stuck trying to iterate through a hiera array

2017-07-21 Thread Ryan Murphy
So my hiera variable looks like this. contacts: 'Group A': 'bmurphy': 'bobmur...@testsite.com' 'cjames': 'chadja...@testsite.com' 'Group B': 'RPrice': 'rodpr...@testsite.com' 'STurpen': 'stevetur...@testsite.com' I need to be able to iterate through contacts, grab

[Puppet Users] Error: Could not autoload puppet/type/dism: Attempt to redefine method set_present with block

2017-07-21 Thread Vikram Varma
Hi All, I am getting the following error wheile running "puppet apply -v d:\default.pp" Error: Could not autoload puppet/type/dism: Attempt to redefine method set_present with block Error: Evaluation Error: Error while evaluating a Resource Statement, Could not autoload puppet/type/dism: Atte

Re: [Puppet Users] Could not generate DH keypair

2017-07-21 Thread abhinav
Hi Fabricio, In my Foreman Puppet setup I don't have "mycert.pem" file. Instead I had some similar files: 1. /etc/puppetlabs/puppet/ssl/certs/ip-xxx-xx-xx-xxx.us-west-2.compute.internal.pem 2. /etc/puppetlabs/puppet/ssl/certs/ca.pem So I executed the command "openssl dhparam 1024" an

[Puppet Users] Upgraded puppet server and hiera is not working

2017-07-21 Thread Peter Krawetzky
I upgraded the puppet server from 2.1.1-1 to 2.7.2-1 and at the same time the puppet agent was upgraded from 1.2.2-1 to 1.10.4-1. I read several different posts on this forum and others but I can't seem to get hiera 5 to work properly. I tried a couple of different hiera.yaml config files yet