Re: [Puppet Users] Newbie question re Hiera

2016-06-22 Thread Trevor Vaughan
Hi Alex, You can use this Gist to do what you want: https://gist.github.com/trevor-vaughan/2c404efd0f1f881bbf56eef7bc949eb0 Thanks, Trevor On Tue, Jun 21, 2016 at 7:14 PM, Alex Samad wrote: > Hi > > I have a greenfield install. Centos 6.x puppet opensource latest. >

Re: [Puppet Users] Newbie question re Hiera

2016-06-21 Thread Alex Samad
Done some more reading. I'm have a master puppet server I had thought to use hiera. seems like i need to setup ENC https://docs.puppet.com/guides/external_nodes.html Alex On Wednesday, 22 June 2016 10:39:34 UTC+10, Rob Nelson wrote: > > Typically, you wouldn't actually classify or assign

Re: [Puppet Users] Newbie question re Hiera

2016-06-21 Thread Rob Nelson
Typically, you wouldn't actually classify or assign environment via hiera. That's a value provided to the master during checkin, either as a CLI argument or in puppet.conf. You could, of course, manage that file and provide an environment value through hiera. But that would change the environment

[Puppet Users] Newbie question re Hiera

2016-06-21 Thread Alex Samad
Hi I have a greenfield install. Centos 6.x puppet opensource latest. installed r10k. I have setup my git repo, used the control repo as a starting spot. now I am getting my head around hiera Looking at this https://docs.puppet.com/hiera/3.1/complete_example.html I understand the way that