{"action":"closed","issue":{"url":"https://api.github.com/repos/Lispython/sentry-cookbook/issues/14","labels_url":"https://api.github.com/repos/Lispython/sentry-cookbook/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Lispython/sentry-cookbook/issues/14/comments","events_url":"https://api.github.com/repos/Lispython/sentry-cookbook/issues/14/events","html_url":"https://github.com/Lispython/sentry-cookbook/issues/14","id":97990534,"number":14,"title":"nil:NilClass errors in config template","user":{"login":"ascendantlogic","id":60331,"avatar_url":"https://avatars.githubusercontent.com/u/60331?v=3","gravatar_id":"","url":"https://api.github.com/users/ascendantlogic","html_url":"https://github.com/ascendantlogic","followers_url":"https://api.github.com/users/ascendantlogic/followers","following_url":"https://api.github.com/users/ascendantlogic/following{/other_user}","gists_url":"https://api.github.com/users/ascendantlogic/gists{/gist_id}","starred_url":"https://api.github.com/users/ascendantlogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascendantlogic/subscriptions","organizations_url":"https://api.github.com/users/ascendantlogic/orgs","repos_url":"https://api.github.com/users/ascendantlogic/repos","events_url":"https://api.github.com/users/ascendantlogic/events{/privacy}","received_events_url":"https://api.github.com/users/ascendantlogic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T17:45:32Z","updated_at":"2015-12-04T07:49:35Z","closed_at":"2015-12-04T07:49:35Z","body":"When using the methodology prescribed in the README to attempt to bootstrap a server, I'm getting the following error:\r\n\r\n```\r\nChef::Mixin::Template::TemplateError (undefined method `each' for nil:NilClass) on line #84:\r\n\r\n 82: SENTRY_REDIS_OPTIONS = {\r\n 83:   \"hosts\": {\r\n 84:   <% for host, hostsettings in @redis[:hosts] %>\r\n 85:   <%= host %>: {\r\n 86:        <% for key, value in hostsettings %>\r\n```\r\n\r\nNoting that it looks like [this line](https://github.com/Lispython/sentry-cookbook/blob/master/definitions/sentry_conf.rb#L70) is what populates the variables, is this something that no longer works in newer versions of Chef?"}}