Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Ramin K
np. There is any interesting discussion on what to change in the future here. https://tickets.puppetlabs.com/browse/HI-118 Ramin On 12/8/14 1:37 PM, Nathan Earixson wrote: Thank you. I get it now. -n On Monday, December 8, 2014 3:13:26 PM UTC-6, Ramin K wrote: On 12/8/14 12:56 PM, Natha

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Thank you. I get it now. -n On Monday, December 8, 2014 3:13:26 PM UTC-6, Ramin K wrote: > > On 12/8/14 12:56 PM, Nathan Earixson wrote: > > sudo -u puppet hiera --hash ssh::server_options environment=test > > ::kernel=Linux > > {"PermitRootLogin"=>"no", "ClientAliveInterval"=>540, > "TCPKeep

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Ramin K
On 12/8/14 12:56 PM, Nathan Earixson wrote: sudo -u puppet hiera --hash ssh::server_options environment=test ::kernel=Linux {"PermitRootLogin"=>"no", "ClientAliveInterval"=>540, "TCPKeepAlive"=>"yes"} | I have tried this with AND without :merge_behavior: deeper set in the hiera.yaml file. Any

[Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Hi, I think I'm misunderstanding either Hiera data bindings or the hash merge functions, but I'm not sure which. When I override a Hiera setting in a more specific level of the heriarchy, only that setting gets applied. In fact, settings from more general levels get removed. Example: I'm using