I've got a fresh new puppet installation running but I can't seem to get hiera working with the following setup:
---
linux-tempdirectory: '/tmp/'
windows-tempdirectory: 'C:\Temp'
Running the following command fails:
# hiera 'windows-tempdirectory' --config /etc/puppet/hiera.yaml --debug
/usr/local/rvm/gems/ruby-2.0.0-p576/gems/hiera-1.3.4/lib/hiera/config.rb:29:in `merge!': no implicit conversion of String into Hash (TypeError)
from /usr/local/rvm/gems/ruby-2.0.0-p576/gems/hiera-1.3.4/lib/hiera/config.rb:29:in `load'
from /usr/local/rvm/gems/ruby-2.0.0-p576/gems/hiera-1.3.4/lib/hiera.rb:45:in `initialize'
from /usr/local/rvm/gems/ruby-2.0.0-p576/gems/hiera-1.3.4/bin/hiera:211:in `new'
from /usr/local/rvm/gems/ruby-2.0.0-p576/gems/hiera-1.3.4/bin/hiera:211:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p576/bin/hiera:23:in `load'
from /usr/local/rvm/gems/ruby-2.0.0-p576/bin/hiera:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.0.0-p576/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.0.0-p576/bin/ruby_executable_hooks:15:in `<main>'
I have "local" set in my agent environment setting.
Any ideas what this could be as I'm really stuck with this at the moment?
Thanks
Dan