Skip to content

Instantly share code, notes, and snippets.

@andytinycat
Created March 4, 2013 13:07
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 andytinycat/5082111 to your computer and use it in GitHub Desktop.
Save andytinycat/5082111 to your computer and use it in GitHub Desktop.
:backends:
- yaml
:yaml:
:datadir: /etc/puppet/hieradata
:hierarchy:
- %{::clientcert}
- common
hiera -d "check_load" -c /etc/puppet/hiera.yaml
/usr/lib/ruby/1.9.1/psych.rb:154:in `parse': (/etc/puppet/hiera.yaml): couldn't parse YAML at line 5 column 4 (Psych::SyntaxError)
from /usr/lib/ruby/1.9.1/psych.rb:154:in `parse_stream'
from /usr/lib/ruby/1.9.1/psych.rb:125:in `parse'
from /usr/lib/ruby/1.9.1/psych.rb:112:in `load'
from /usr/lib/ruby/1.9.1/psych.rb:229:in `load_file'
from /usr/lib/ruby/vendor_ruby/hiera/config.rb:54:in `yaml_load_file'
from /usr/lib/ruby/vendor_ruby/hiera/config.rb:19:in `load'
from /usr/lib/ruby/vendor_ruby/hiera.rb:47:in `initialize'
from /usr/bin/hiera:206:in `new'
from /usr/bin/hiera:206:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment