Yes, that's a limitation you get from relying on hashes in your
hierarchy. Tough call.

Of course, you *could* override the entire hash where necessary. Or, you
could cut out the top level of the hash and make each hash key a hiera
key instead:

countrydata_us:
  option1:
  option2:
  ...
countrydata_uk:
  option1:
  ...
...

This way you may get away with overriding only select countries.

But I suggest you share more information about your data model,
especially wrt. your hierarchical overriding needs. Perhaps we can find
a more sensible approach for the problem as a whole.

Cheers,
Felix

On 11/20/2013 07:31 PM, Jordan Cabral wrote:
> I tried that, but in that way I cant override internal vars of the hash
> (option1) in different files of the hiera hierarchy,
> because I need to ask to hiera for the entire hash.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/528D2FD5.1050108%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to