On 2014-05-02 23:57, Matthew Burgess wrote:
> Hi all,
> 
> This is probably a real newbie question, but I'm having trouble
> overriding a value in Hiera that is defined in my common.yaml in a more
> specific role-based yaml file:
> 
[...]
> 
> Is it possible to only override the size parameter of the var_vol entry?

Sound like you want to install deep-merge (packaged by Puppetlabs for
Debian as "ruby-deep-merge" and for RedHat as "rubygem-deep-merge") on
the Puppet master, set ":merge_behavior: deeper" in
/etc/puppet/hiera.yaml (and/or /etc/hiera.yaml) and restart the Puppet
master.

You can find documentation about Hiera merge types and behaviour here:
http://docs.puppetlabs.com/hiera/1/lookup_types.html#hash-merge

HTH Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to