search for: merge_behavior

Displaying 2 results from an estimated 2 matches for "merge_behavior".

2013 Oct 30
2
:merge_behavior: deeper and hiera_hash
Hi, To my surprise hashes passed to class parameters pulled from hiera with :merge_behavior: deeper, are not merged "as expected", where as hiera_hash does work "as expected". Or to rephrase: they behave differently, despite merge_behavior being set. I found a snippet documenting this here: http://docs.puppetlabs.com/hiera/1/lookup_types.html#deep-merging-in-hiera--...
2013 Apr 19
12
How to pass puppet/hiera veriable to external script ? Do I need to ?
...:yaml: # datadir is empty here, so hiera uses its defaults: # - /var/lib/hiera on *nix # - %CommonAppData%\PuppetLabs\hiera\var on Windows # When specifying a datadir, make sure the directory exists. #:datadir: /etc/puppet/hieradata :datadir: /etc/puppet/environments/%{environment}/hieradata :merge_behavior: deeper /etc/puppet/environments/env1/manifests/site.pp node default { hiera_include ( "classes", [] ) } /etc/puppet/environments/env1/hieradata/common.yaml classes: - accounts /etc/puppet/environments/env1/modules/accounts/manifests/init.pp class accounts::users ( $a...