{"action":"created","comment":{"url":"https://api.github.com/repos/chef/chef/pulls/comments/79116918","id":79116918,"diff_hunk":"@@ -45,7 +45,7 @@ def load_current_resource\n         # true:: Always return true\n         def action_write\n           Chef::Log.send(@new_resource.level, @new_resource.message)\n-          @new_resource.updated_by_last_action(true)\n+          @new_resource.updated_by_last_action(true) unless Chef::Config[:count_log_resource_updates] == false","path":"lib/chef/provider/log.rb","position":5,"original_position":5,"commit_id":"a4ce5ab81cffc94c60f6f3ba2816bcc8c2863113","original_commit_id":"a4ce5ab81cffc94c60f6f3ba2816bcc8c2863113","user":{"login":"NimishaS","id":1298875,"avatar_url":"https://avatars.githubusercontent.com/u/1298875?v=3","gravatar_id":"","url":"https://api.github.com/users/NimishaS","html_url":"https://github.com/NimishaS","followers_url":"https://api.github.com/users/NimishaS/followers","following_url":"https://api.github.com/users/NimishaS/following{/other_user}","gists_url":"https://api.github.com/users/NimishaS/gists{/gist_id}","starred_url":"https://api.github.com/users/NimishaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimishaS/subscriptions","organizations_url":"https://api.github.com/users/NimishaS/orgs","repos_url":"https://api.github.com/users/NimishaS/repos","events_url":"https://api.github.com/users/NimishaS/events{/privacy}","received_events_url":"https://api.github.com/users/NimishaS/received_events","type":"User","site_admin":false},"body":"I hadn't put `default :count_log_resource_updates, true` earlier. That's why made the condition this way.\r\nAnyway, will make the change","created_at":"2016-09-16T07:16:57Z","updated_at":"2016-09-16T07:16:57Z","html_url":"https://github.com/chef/chef/pull/5267#discussion_r79116918","pull_request_url":"https://api.github.com/repos/chef/chef/pulls/5267","_links":{"self":{"href":"https://api.github.com/repos/chef/chef/pulls/comments/79116918"},"html":{"href":"https://github.com/chef/chef/pull/5267#discussion_r79116918"},"pull_request":{"href":"https://api.github.com/repos/chef/chef/pulls/5267"}}},"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/5267","id":83608868,"html_url":"https://github.com/chef/chef/pull/5267","diff_url":"https://github.com/chef/chef/pull/5267.diff","patch_url":"https://github.com/chef/chef/pull/5267.patch","issue_url":"https://api.github.com/repos/chef/chef/issues/5267","number":5267,"state":"open","locked":false,"title":"Added count_log_resource_updates config attribute","user":{"login":"NimishaS","id":1298875,"avatar_url":"https://avatars.githubusercontent.com/u/1298875?v=3","gravatar_id":"","url":"https://api.github.com/users/NimishaS","html_url":"https://github.com/NimishaS","followers_url":"https://api.github.com/users/NimishaS/followers","following_url":"https://api.github.com/users/NimishaS/following{/other_user}","gists_url":"https://api.github.com/users/NimishaS/gists{/gist_id}","starred_url":"https://api.github.com/users/NimishaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimishaS/subscriptions","organizations_url":"https://api.github.com/users/NimishaS/orgs","repos_url":"https://api.github.com/users/NimishaS/repos","events_url":"https://api.github.com/users/NimishaS/events{/privacy}","received_events_url":"https://api.github.com/users/NimishaS/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-01T10:37:54Z","updated_at":"2016-09-16T07:16:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a97c1d4b0a9fcac01cd88b7f5086e70bc28dcf3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/chef/pulls/5267/commits","review_comments_url":"https://api.github.com/repos/chef/chef/pulls/5267/comments","review_comment_url":"https://api.github.com/repos/chef/chef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/chef/issues/5267/comments","statuses_url":"https://api.github.com/repos/chef/chef/statuses/a4ce5ab81cffc94c60f6f3ba2816bcc8c2863113","head":{"label":"MsysTechnologiesllc:nim/update_resource_count","ref":"nim/update_resource_count","sha":"a4ce5ab81cffc94c60f6f3ba2816bcc8c2863113","user":{"login":"MsysTechnologiesllc","id":2493241,"avatar_url":"https://avatars.githubusercontent.com/u/2493241?v=3","gravatar_id":"","url":"https://api.github.com/users/MsysTechnologiesllc","html_url":"https://github.com/MsysTechnologiesllc","followers_url":"https://api.github.com/users/MsysTechnologiesllc/followers","following_url":"https://api.github.com/users/MsysTechnologiesllc/following{/other_user}","gists_url":"https://api.github.com/users/MsysTechnologiesllc/gists{/gist_id}","starred_url":"https://api.github.com/users/MsysTechnologiesllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsysTechnologiesllc/subscriptions","organizations_url":"https://api.github.com/users/MsysTechnologiesllc/orgs","repos_url":"https://api.github.com/users/MsysTechnologiesllc/repos","events_url":"https://api.github.com/users/MsysTechnologiesllc/events{/privacy}","received_events_url":"https://api.github.com/users/MsysTechnologiesllc/received_events","type":"Organization","site_admin":false},"repo":{"id":8683912,"name":"chef","full_name":"MsysTechnologiesllc/chef","owner":{"login":"MsysTechnologiesllc","id":2493241,"avatar_url":"https://avatars.githubusercontent.com/u/2493241?v=3","gravatar_id":"","url":"https://api.github.com/users/MsysTechnologiesllc","html_url":"https://github.com/MsysTechnologiesllc","followers_url":"https://api.github.com/users/MsysTechnologiesllc/followers","following_url":"https://api.github.com/users/MsysTechnologiesllc/following{/other_user}","gists_url":"https://api.github.com/users/MsysTechnologiesllc/gists{/gist_id}","starred_url":"https://api.github.com/users/MsysTechnologiesllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MsysTechnologiesllc/subscriptions","organizations_url":"https://api.github.com/users/MsysTechnologiesllc/orgs","repos_url":"https://api.github.com/users/MsysTechnologiesllc/repos","events_url":"https://api.github.com/users/MsysTechnologiesllc/events{/privacy}","received_events_url":"https://api.github.com/users/MsysTechnologiesllc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MsysTechnologiesllc/chef","description":"A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.","fork":true,"url":"https://api.github.com/repos/MsysTechnologiesllc/chef","forks_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/forks","keys_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/teams","hooks_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/hooks","issue_events_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues/events{/number}","events_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/events","assignees_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/assignees{/user}","branches_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/branches{/branch}","tags_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/tags","blobs_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/statuses/{sha}","languages_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/languages","stargazers_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/stargazers","contributors_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/contributors","subscribers_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/subscribers","subscription_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/subscription","commits_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/contents/{+path}","compare_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/merges","archive_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/downloads","issues_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/issues{/number}","pulls_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/pulls{/number}","milestones_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/milestones{/number}","notifications_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/labels{/name}","releases_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/releases{/id}","deployments_url":"https://api.github.com/repos/MsysTechnologiesllc/chef/deployments","created_at":"2013-03-10T10:56:49Z","updated_at":"2015-04-17T14:02:45Z","pushed_at":"2016-09-16T04:45:38Z","git_url":"git://github.com/MsysTechnologiesllc/chef.git","ssh_url":"git@github.com:MsysTechnologiesllc/chef.git","clone_url":"https://github.com/MsysTechnologiesllc/chef.git","svn_url":"https://github.com/MsysTechnologiesllc/chef","homepage":"http://www.opscode.com/chef/","size":91131,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"db57131ad383076391b9df32d5e9989cfb312d58","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":108278,"name":"chef","full_name":"chef/chef","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/chef","description":"A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.","fork":false,"url":"https://api.github.com/repos/chef/chef","forks_url":"https://api.github.com/repos/chef/chef/forks","keys_url":"https://api.github.com/repos/chef/chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/chef/teams","hooks_url":"https://api.github.com/repos/chef/chef/hooks","issue_events_url":"https://api.github.com/repos/chef/chef/issues/events{/number}","events_url":"https://api.github.com/repos/chef/chef/events","assignees_url":"https://api.github.com/repos/chef/chef/assignees{/user}","branches_url":"https://api.github.com/repos/chef/chef/branches{/branch}","tags_url":"https://api.github.com/repos/chef/chef/tags","blobs_url":"https://api.github.com/repos/chef/chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/chef/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/chef/languages","stargazers_url":"https://api.github.com/repos/chef/chef/stargazers","contributors_url":"https://api.github.com/repos/chef/chef/contributors","subscribers_url":"https://api.github.com/repos/chef/chef/subscribers","subscription_url":"https://api.github.com/repos/chef/chef/subscription","commits_url":"https://api.github.com/repos/chef/chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/chef/contents/{+path}","compare_url":"https://api.github.com/repos/chef/chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/chef/merges","archive_url":"https://api.github.com/repos/chef/chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/chef/downloads","issues_url":"https://api.github.com/repos/chef/chef/issues{/number}","pulls_url":"https://api.github.com/repos/chef/chef/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/chef/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/chef/labels{/name}","releases_url":"https://api.github.com/repos/chef/chef/releases{/id}","deployments_url":"https://api.github.com/repos/chef/chef/deployments","created_at":"2009-01-15T20:40:48Z","updated_at":"2016-09-15T20:04:48Z","pushed_at":"2016-09-16T03:32:21Z","git_url":"git://github.com/chef/chef.git","ssh_url":"git@github.com:chef/chef.git","clone_url":"https://github.com/chef/chef.git","svn_url":"https://github.com/chef/chef","homepage":"http://www.chef.io/chef/","size":207896,"stargazers_count":4430,"watchers_count":4430,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1850,"mirror_url":null,"open_issues_count":509,"forks":1850,"open_issues":509,"watchers":4430,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/chef/pulls/5267"},"html":{"href":"https://github.com/chef/chef/pull/5267"},"issue":{"href":"https://api.github.com/repos/chef/chef/issues/5267"},"comments":{"href":"https://api.github.com/repos/chef/chef/issues/5267/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/chef/pulls/5267/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/chef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/chef/pulls/5267/commits"},"statuses":{"href":"https://api.github.com/repos/chef/chef/statuses/a4ce5ab81cffc94c60f6f3ba2816bcc8c2863113"}}}}
{"actor":{"display_login":"NimishaS"}}