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 ideas of what I am missing?

If you're using data bindings to lookup the hiera values, it will return a matching hash, but will not merge. You must explicitly use a hiera_hash call to get merging.

Ramin

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5486146B.4070308%40badapple.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to