On Tuesday, February 10, 2015 at 9:44:43 PM UTC, 
[email protected] wrote:
>
> Cloud you please help me with the error:
>
> DEBUG: 2015-02-11 10:34:43 +1300: Looking up puppet_master in YAML backend
>
> DEBUG: 2015-02-11 10:34:43 +1300: Looking for data source global
>
> /opt/puppet/lib/ruby/1.9.1/psych.rb:203:in `parse': (<unknown>): mapping 
> values are not allowed in this context at line 26 column 50 
> (Psych::SyntaxError)
>
>
Sounds like a syntax error in a yaml file (at line 26) although it's not 
telling you which file.

Fred
 

> from /opt/puppet/lib/ruby/1.9.1/psych.rb:203:in `parse_stream'
>
> from /opt/puppet/lib/ruby/1.9.1/psych.rb:151:in `parse'
>
> from /opt/puppet/lib/ruby/1.9.1/psych.rb:127:in `load'
>
> from 
> /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend/yaml_backend.rb:18:in 
> `block (2 levels) in lookup'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/filecache.rb:53:in 
> `read_file'
>
> from 
> /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend/yaml_backend.rb:17:in 
> `block in lookup'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:104:in `block 
> in datasourcefiles'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:76:in `block in 
> datasources'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:74:in `map'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:74:in 
> `datasources'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:99:in 
> `datasourcefiles'
>
> from 
> /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend/yaml_backend.rb:16:in 
> `lookup'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:206:in `block 
> in lookup'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:203:in `each'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera/backend.rb:203:in `lookup'
>
> from /opt/puppet/lib/ruby/site_ruby/1.9.1/hiera.rb:60:in `lookup'
>
>  from /usr/local/bin/hiera:221:in `<main>'
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e65e0d79-9f05-459b-96bb-1614339dcaa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to