{"action":"created","issue":{"url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/36","labels_url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/36/comments","events_url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/36/events","html_url":"https://github.com/3ofcoins/chef-cookbook-hostname/pull/36","id":50218528,"number":36,"title":"Only run blocks if needed","user":{"login":"slashterix","id":2434512,"avatar_url":"https://avatars.githubusercontent.com/u/2434512?v=3","gravatar_id":"","url":"https://api.github.com/users/slashterix","html_url":"https://github.com/slashterix","followers_url":"https://api.github.com/users/slashterix/followers","following_url":"https://api.github.com/users/slashterix/following{/other_user}","gists_url":"https://api.github.com/users/slashterix/gists{/gist_id}","starred_url":"https://api.github.com/users/slashterix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slashterix/subscriptions","organizations_url":"https://api.github.com/users/slashterix/orgs","repos_url":"https://api.github.com/users/slashterix/repos","events_url":"https://api.github.com/users/slashterix/events{/privacy}","received_events_url":"https://api.github.com/users/slashterix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-26T19:33:07Z","updated_at":"2015-08-13T02:32:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/pulls/36","html_url":"https://github.com/3ofcoins/chef-cookbook-hostname/pull/36","diff_url":"https://github.com/3ofcoins/chef-cookbook-hostname/pull/36.diff","patch_url":"https://github.com/3ofcoins/chef-cookbook-hostname/pull/36.patch"},"body":"ruby blocks will always run and are not aware if file operations\r\nactually changed anything or not.\r\n\r\nUse not_if and some grep to decide if we need to run at all."},"comment":{"url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/comments/130510179","html_url":"https://github.com/3ofcoins/chef-cookbook-hostname/pull/36#issuecomment-130510179","issue_url":"https://api.github.com/repos/3ofcoins/chef-cookbook-hostname/issues/36","id":130510179,"user":{"login":"mburns","id":5170,"avatar_url":"https://avatars.githubusercontent.com/u/5170?v=3","gravatar_id":"","url":"https://api.github.com/users/mburns","html_url":"https://github.com/mburns","followers_url":"https://api.github.com/users/mburns/followers","following_url":"https://api.github.com/users/mburns/following{/other_user}","gists_url":"https://api.github.com/users/mburns/gists{/gist_id}","starred_url":"https://api.github.com/users/mburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburns/subscriptions","organizations_url":"https://api.github.com/users/mburns/orgs","repos_url":"https://api.github.com/users/mburns/repos","events_url":"https://api.github.com/users/mburns/events{/privacy}","received_events_url":"https://api.github.com/users/mburns/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T02:32:16Z","updated_at":"2015-08-13T02:32:16Z","body":":+1: "}}