hiera hash deep merge not working after upgrade [closed]

asked 2015-02-16 12:38:45 -0600

Thynan gravatar image

updated 2015-02-17 01:22:35 -0600


I got a problem with hiera_hash after I upgraded to 3.7.4 of the open source version of puppet.

In my hiera.yaml I have the following hierarchy:

  - "node/%{::fqdn}"
  - "role/%{role3}"
  - "role/%{role2}"
  - "role/%{role1}"
  - common

Before the upgrade, settings that I defined in a "role/%{role1}" file worked as expected. However now, after the upgrade, the role-files seem to get ignored entirely when using heirahash. Only the settings in "node/%{::fqdn}" files are applied. I read that I have to install the deepmerge gem in this question: http://ask.puppetlabs.com/question/15436/hiera_hash-deeper-merge-not-working-after-upgrade-to-pe371/. However I'm using the open source version, and not the enterprise version. Does anyone know how I can fix this?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Thynan
close date 2015-02-17 05:36:38.389957


Ok, I found out the problem was in my hiera files, and deep_merge did work after all. My bad, sorry.

Thynan gravatar imageThynan ( 2015-02-17 05:36:25 -0600 )edit