{"action":"opened","issue":{"url":"https://api.github.com/repos/lynxman/hiera-consul/issues/4","labels_url":"https://api.github.com/repos/lynxman/hiera-consul/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/lynxman/hiera-consul/issues/4/comments","events_url":"https://api.github.com/repos/lynxman/hiera-consul/issues/4/events","html_url":"https://github.com/lynxman/hiera-consul/issues/4","id":60818135,"number":4,"title":" backend throws `initialize': undefined method `[]' for nil:NilClass  when used","user":{"login":"stefanandres","id":2674469,"avatar_url":"https://avatars.githubusercontent.com/u/2674469?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanandres","html_url":"https://github.com/stefanandres","followers_url":"https://api.github.com/users/stefanandres/followers","following_url":"https://api.github.com/users/stefanandres/following{/other_user}","gists_url":"https://api.github.com/users/stefanandres/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanandres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanandres/subscriptions","organizations_url":"https://api.github.com/users/stefanandres/orgs","repos_url":"https://api.github.com/users/stefanandres/repos","events_url":"https://api.github.com/users/stefanandres/events{/privacy}","received_events_url":"https://api.github.com/users/stefanandres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-12T13:27:18Z","updated_at":"2015-03-12T13:27:18Z","closed_at":null,"body":"I'd really like to try this backend, but I always get the following error:\r\n```\r\n$ RUBYLIB=/opt/puppet-upstream/hiera_consul/lib hiera foo\r\nWARN: 2015-03-12 14:26:42 +0100: Not using Hiera::Puppet_logger. It does not report itself to be suitable.\r\n/opt/puppet-upstream/hiera_consul/lib/hiera/backend/consul_backend.rb:11:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)\r\n\tfrom /usr/lib/ruby/vendor_ruby/hiera/backend.rb:205:in `new'\r\n\tfrom /usr/lib/ruby/vendor_ruby/hiera/backend.rb:205:in `block in lookup'\r\n\tfrom /usr/lib/ruby/vendor_ruby/hiera/backend.rb:203:in `each'\r\n\tfrom /usr/lib/ruby/vendor_ruby/hiera/backend.rb:203:in `lookup'\r\n\tfrom /usr/lib/ruby/vendor_ruby/hiera.rb:60:in `lookup'\r\n\tfrom /usr/bin/hiera:225:in `<main>'\r\n```\r\n"}}