Skip to content

Instantly share code, notes, and snippets.

@linuxdan
Created March 18, 2013 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linuxdan/5187422 to your computer and use it in GitHub Desktop.
Save linuxdan/5187422 to your computer and use it in GitHub Desktop.
hiera deep merge won't
[root puppet]# hiera -d -h users -c /etc/puppet/hiera.yaml environment=production
DEBUG: Mon Mar 18 10:05:26 -0400 2013: Hiera YAML backend starting
DEBUG: Mon Mar 18 10:05:26 -0400 2013: Looking up users in YAML backend
DEBUG: Mon Mar 18 10:05:26 -0400 2013: Looking for data source production/common
DEBUG: Mon Mar 18 10:05:26 -0400 2013: Found users in production/common
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:156:in `merge_answer': undefined method `deep_merge' for {"beast"=>{"v_ingroups"=>["one", "two"]}}:Hash (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/hiera/backend/yaml_backend.rb:49:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:68:in `datasources'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:66:in `map'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:66:in `datasources'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend/yaml_backend.rb:16:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:182:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:179:in `each'
from /usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:179:in `lookup'
from /usr/lib/ruby/site_ruby/1.8/hiera.rb:64:in `lookup'
from /usr/bin/hiera:220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment