Last active
December 11, 2015 23:39
-
-
Save jrmoserbaltimore/4678624 to your computer and use it in GitHub Desktop.
hiera.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/lib/ruby/1.9.1/psych.rb:203:in `parse': (/etc/puppet/hiera.yaml): found character that cannot start any token while scanning for the next token at line 3 column 5 (Psych::SyntaxError) | |
from /usr/lib/ruby/1.9.1/psych.rb:203:in `parse_stream' | |
from /usr/lib/ruby/1.9.1/psych.rb:151:in `parse' | |
from /usr/lib/ruby/1.9.1/psych.rb:127:in `load' | |
from /usr/lib/ruby/1.9.1/psych.rb:297:in `block in load_file' | |
from /usr/lib/ruby/1.9.1/psych.rb:297:in `open' | |
from /usr/lib/ruby/1.9.1/psych.rb:297: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>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:hierarchy: | |
- %{::clientcert} | |
- %{::environment} | |
- common | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: '/etc/puppet/environments/%{environment}/data' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: (/etc/puppet/hiera.yaml): found character that cannot start any token while scanning for the next token at line 3 column 5 | |
Warning: Not using cache on failed catalog | |
Error: Could not retrieve catalog; skipping run |
looks to have been a ruby 1.9 issue. the new Psycher parse seems to want those quoted as a new "feature"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't understand how these follow. Notably I am intending that different machines will have different configurations for the same services, the same classes, etc. A fact I already face, for example, where I have 3 sets of corosync/pacemaker clusters that need different quorum requirements, different fail-over IPs to carry, different services to monitor, different multicast addresses, depending which node is asking...