Hello,
Sems that hiera json backend is broken on puppet 3.1.1 for windows :-( >From this example: http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/ -- hiera.yaml -- C:\Users\Administrator\temp> type hiera.yaml :backends: - json :logger: console :hierarchy: - %{env} - common :json: :datadir: hieradata C:\Users\Administrator\temp\hieradata>type common.json { "webname": "localhost" } C:\Users\Administrator\temp\hieradata>type dev.json { "webname": "dev.app.local" } C:\Users\Administrator\temp>hiera -c hiera.yaml webname C:/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem original_require': no such file to load -- json (LoadError) from C:/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require. b:36:in `require' from C:/Puppet/hiera/lib/hiera/backend/json_backend.rb:5:in `initialize from C:/Puppet/hiera/lib/hiera/backend.rb:158:in `new' from C:/Puppet/hiera/lib/hiera/backend.rb:158:in `lookup' from C:/Puppet/hiera/lib/hiera/backend.rb:156:in `each' from C:/Puppet/hiera/lib/hiera/backend.rb:156:in `lookup' from C:/Puppet/hiera/lib/hiera.rb:62:in `lookup' from C:/Puppet/hiera/bin/hiera:220 --- Any clues ? -Geronimo -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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]. Visit this group at http://groups.google.com/group/puppet-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
