{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/171","labels_url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/171/comments","events_url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/171/events","html_url":"https://github.com/chef-cookbooks/tomcat/pull/171","id":107784112,"number":171,"title":"Adding attribute for user-defined environment variables","user":{"login":"jolcese","id":3219544,"avatar_url":"https://avatars.githubusercontent.com/u/3219544?v=3","gravatar_id":"","url":"https://api.github.com/users/jolcese","html_url":"https://github.com/jolcese","followers_url":"https://api.github.com/users/jolcese/followers","following_url":"https://api.github.com/users/jolcese/following{/other_user}","gists_url":"https://api.github.com/users/jolcese/gists{/gist_id}","starred_url":"https://api.github.com/users/jolcese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolcese/subscriptions","organizations_url":"https://api.github.com/users/jolcese/orgs","repos_url":"https://api.github.com/users/jolcese/repos","events_url":"https://api.github.com/users/jolcese/events{/privacy}","received_events_url":"https://api.github.com/users/jolcese/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef-cookbooks/tomcat/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-22T19:30:56Z","updated_at":"2015-09-23T04:59:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/tomcat/pulls/171","html_url":"https://github.com/chef-cookbooks/tomcat/pull/171","diff_url":"https://github.com/chef-cookbooks/tomcat/pull/171.diff","patch_url":"https://github.com/chef-cookbooks/tomcat/pull/171.patch"},"body":"This change will allow the generation of user-defined environment variables that are set before Tomcat is started.\r\nUsage would be:\r\n\r\n        envs = []\r\n        envs.push({'VariableName' => 'LOCAL_HOME', 'VariableValue' => '/usr/root'})\r\n        envs.push({'VariableName' => 'CONFIG_URL', 'VariableValue' => 'http://127.0.0.1/config'})\r\n        node.default['tomcat']['environment'] = envs"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/comments/142491278","html_url":"https://github.com/chef-cookbooks/tomcat/pull/171#issuecomment-142491278","issue_url":"https://api.github.com/repos/chef-cookbooks/tomcat/issues/171","id":142491278,"user":{"login":"tas50","id":1015200,"avatar_url":"https://avatars.githubusercontent.com/u/1015200?v=3","gravatar_id":"","url":"https://api.github.com/users/tas50","html_url":"https://github.com/tas50","followers_url":"https://api.github.com/users/tas50/followers","following_url":"https://api.github.com/users/tas50/following{/other_user}","gists_url":"https://api.github.com/users/tas50/gists{/gist_id}","starred_url":"https://api.github.com/users/tas50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tas50/subscriptions","organizations_url":"https://api.github.com/users/tas50/orgs","repos_url":"https://api.github.com/users/tas50/repos","events_url":"https://api.github.com/users/tas50/events{/privacy}","received_events_url":"https://api.github.com/users/tas50/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T04:59:32Z","updated_at":"2015-09-23T04:59:32Z","body":"Nice addition, but we'll need a better description of how to use this in the readme.  A simple short example would be really helpful so people don't have to dig into the code."}}