puppet ruby error psych.rb

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’: (): mapping values are not allowed in this context at line 26 column 50 (Psych::SyntaxError)

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>'

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’: (): 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