{"action":"created","issue":{"url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/1","labels_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/1/comments","events_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/1/events","html_url":"https://github.com/pcfens/puppet-filebeat/issues/1","id":120396079,"number":1,"title":"Variable scoping","user":{"login":"shaunrampersad","id":4571327,"avatar_url":"https://avatars.githubusercontent.com/u/4571327?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunrampersad","html_url":"https://github.com/shaunrampersad","followers_url":"https://api.github.com/users/shaunrampersad/followers","following_url":"https://api.github.com/users/shaunrampersad/following{/other_user}","gists_url":"https://api.github.com/users/shaunrampersad/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunrampersad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunrampersad/subscriptions","organizations_url":"https://api.github.com/users/shaunrampersad/orgs","repos_url":"https://api.github.com/users/shaunrampersad/repos","events_url":"https://api.github.com/users/shaunrampersad/events{/privacy}","received_events_url":"https://api.github.com/users/shaunrampersad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pcfens/puppet-filebeat/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-04T12:53:12Z","updated_at":"2015-12-07T14:21:16Z","closed_at":"2015-12-07T10:48:24Z","body":"the ERB templates have variables that do not pull from the correct scope. \r\n\r\n\r\nfilebeat:\r\n  spool_size: <%= @spool_size %>\r\n  idle_timeout: <%= @idle_timeout %>\r\n  registry_file: <%= @registry_file %>\r\n  config_dir: <%= @config_dir %>\r\n\r\nThis results in a yml file without values. This needs to change to \r\n\r\nfilebeat:\r\n  spool_size: <%= scope['::filebeat::spool_size'] %>\r\n  idle_timeout: <%= scope['::filebeat::idle_timeout'] %>\r\n  registry_file: <%= scope['::filebeat::registry_file'] %>\r\n  config_dir: <%= scope['::filebeat::config_dir'] %>\r\n\r\nI'm looking into changing this. will submit a PR when done"},"comment":{"url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/comments/162535961","html_url":"https://github.com/pcfens/puppet-filebeat/issues/1#issuecomment-162535961","issue_url":"https://api.github.com/repos/pcfens/puppet-filebeat/issues/1","id":162535961,"user":{"login":"pcfens","id":580770,"avatar_url":"https://avatars.githubusercontent.com/u/580770?v=3","gravatar_id":"","url":"https://api.github.com/users/pcfens","html_url":"https://github.com/pcfens","followers_url":"https://api.github.com/users/pcfens/followers","following_url":"https://api.github.com/users/pcfens/following{/other_user}","gists_url":"https://api.github.com/users/pcfens/gists{/gist_id}","starred_url":"https://api.github.com/users/pcfens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcfens/subscriptions","organizations_url":"https://api.github.com/users/pcfens/orgs","repos_url":"https://api.github.com/users/pcfens/repos","events_url":"https://api.github.com/users/pcfens/events{/privacy}","received_events_url":"https://api.github.com/users/pcfens/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T14:21:16Z","updated_at":"2015-12-07T14:21:16Z","body":"I think I already put the latest version up on the forge. Is it not working?"}}