{"action":"opened","issue":{"url":"https://api.github.com/repos/TD-4242/cookbook-libzabbix/issues/2","labels_url":"https://api.github.com/repos/TD-4242/cookbook-libzabbix/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/TD-4242/cookbook-libzabbix/issues/2/comments","events_url":"https://api.github.com/repos/TD-4242/cookbook-libzabbix/issues/2/events","html_url":"https://github.com/TD-4242/cookbook-libzabbix/issues/2","id":73647864,"number":2,"title":"updated_by_last_action true on every chef-client run for libzabbix_host resources","user":{"login":"CoaxVex","id":10154961,"avatar_url":"https://avatars.githubusercontent.com/u/10154961?v=3","gravatar_id":"","url":"https://api.github.com/users/CoaxVex","html_url":"https://github.com/CoaxVex","followers_url":"https://api.github.com/users/CoaxVex/followers","following_url":"https://api.github.com/users/CoaxVex/following{/other_user}","gists_url":"https://api.github.com/users/CoaxVex/gists{/gist_id}","starred_url":"https://api.github.com/users/CoaxVex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoaxVex/subscriptions","organizations_url":"https://api.github.com/users/CoaxVex/orgs","repos_url":"https://api.github.com/users/CoaxVex/repos","events_url":"https://api.github.com/users/CoaxVex/events{/privacy}","received_events_url":"https://api.github.com/users/CoaxVex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T14:57:20Z","updated_at":"2015-05-06T14:57:20Z","closed_at":null,"body":"On every chef-client run, libzabbix_host resources are marked as being updated, which causes the summary line to be incorrect:\r\n\r\n    Chef Client finished, 2/126 resources updated in 3.708735299 seconds\r\n\r\nIt looks like this is because the create_or_update action always calls the create or update actions, even if no changes are required. These actions then end with:\r\n\r\n    new_resource.updated_by_last_action(true)"}}