{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1","id":82430670,"html_url":"https://github.com/johnbellone/nrpe-ng-cookbook/pull/1","diff_url":"https://github.com/johnbellone/nrpe-ng-cookbook/pull/1.diff","patch_url":"https://github.com/johnbellone/nrpe-ng-cookbook/pull/1.patch","issue_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/1","number":1,"state":"closed","locked":false,"title":"use yum package resource (was rpm)","user":{"login":"sparciii","id":366196,"avatar_url":"https://avatars.githubusercontent.com/u/366196?v=3","gravatar_id":"","url":"https://api.github.com/users/sparciii","html_url":"https://github.com/sparciii","followers_url":"https://api.github.com/users/sparciii/followers","following_url":"https://api.github.com/users/sparciii/following{/other_user}","gists_url":"https://api.github.com/users/sparciii/gists{/gist_id}","starred_url":"https://api.github.com/users/sparciii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparciii/subscriptions","organizations_url":"https://api.github.com/users/sparciii/orgs","repos_url":"https://api.github.com/users/sparciii/repos","events_url":"https://api.github.com/users/sparciii/events{/privacy}","received_events_url":"https://api.github.com/users/sparciii/received_events","type":"User","site_admin":false},"body":"currently with the rpm provider it errors with the following:\r\n\r\n```\r\n         * nrpe_installation[nrpe] action create\r\n           * file[/etc/init.d/nrpe] action nothing (skipped due to action :nothing)\r\n           * dpkg_autostart[nagios-nrpe-server] action create (skipped due to only_if)\r\n           * yum_package[nrpe, nagios-plugins-disk, nagios-plugins-load, nagios-plugins-procs, nagios-plugins-users] action install\r\n             * Package nrpe, nagios-plugins-disk, nagios-plugins-load, nagios-plugins-procs, nagios-plugins-users not found: \r\n             ================================================================================\r\n             Error executing action `install` on resource 'yum_package[nrpe, nagios-plugins-disk, nagios-plugins-load, nagios-plugin\r\ns-procs, nagios-plugins-users]'\r\n             ================================================================================\r\n             \r\n             Chef::Exceptions::Package\r\n             -------------------------\r\n             Package nrpe, nagios-plugins-disk, nagios-plugins-load, nagios-plugins-procs, nagios-plugins-users not found: \r\n             \r\n             Cookbook Trace:\r\n             ---------------\r\n             /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'\r\n             /tmp/kitchen/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'\r\n             /tmp/kitchen/cache/cookbooks/nrpe-ng/libraries/nrpe_installation_package.rb:40:in `action_create'\r\n             /tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'\r\n             \r\n             Resource Declaration:\r\n             ---------------------\r\n             # In /tmp/kitchen/cache/cookbooks/nrpe-ng/libraries/nrpe_installation_package.rb\r\n             \r\n       60:           package options[:package] do\r\n       61:             notifies :delete, init_file, :immediately\r\n       62:             provider Chef::Provider::Package::Rpm if node.platform_family?('rhel')\r\n       63:             if node.platform_family?('debian')\r\n       64:               options '-o Dpkg::Options::=--path-exclude=/etc/nagios/*'\r\n       65:             end\r\n       66:             version package_version\r\n             \r\n             Compiled Resource:\r\n             ------------------\r\n             # Declared in /tmp/kitchen/cache/cookbooks/nrpe-ng/libraries/nrpe_installation_package.rb:60:in `block in action_create'\r\n             \r\n             yum_package(\"nrpe, nagios-plugins-disk, nagios-plugins-load, nagios-plugins-procs, nagios-plugins-users\") do\r\n        package_name [\"nrpe\", \"nagios-plugins-disk\", \"nagios-plugins-load\", \"nagios-plugins-procs\", \"nagios-plugins-users\"]\r\n        provider Chef::Provider::Package::Rpm\r\n        action [:install]\r\n        retries 0\r\n        retry_delay 2\r\n        default_guard_interpreter :default\r\n        declared_type :package\r\n        cookbook_name \"nrpe-ng\"\r\n        version [\"2.15-7.el5\", \"1.4.15-2.el5\", \"1.4.15-2.el5\", \"1.4.15-2.el5\", \"1.4.15-2.el5\"]\r\n             end\r\n             \r\n             Platform:\r\n             ---------\r\n             x86_64-linux\r\n```","created_at":"2016-08-23T19:58:55Z","updated_at":"2016-08-23T20:44:57Z","closed_at":"2016-08-23T20:44:57Z","merged_at":"2016-08-23T20:44:57Z","merge_commit_sha":"dd923cd58da65a241ed407f6bf61ce9da095eaa7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1/commits","review_comments_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1/comments","review_comment_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/1/comments","statuses_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/statuses/264da1aef6bd490d203c0a718e8dcab2ed63db64","head":{"label":"sparciii:master","ref":"master","sha":"264da1aef6bd490d203c0a718e8dcab2ed63db64","user":{"login":"sparciii","id":366196,"avatar_url":"https://avatars.githubusercontent.com/u/366196?v=3","gravatar_id":"","url":"https://api.github.com/users/sparciii","html_url":"https://github.com/sparciii","followers_url":"https://api.github.com/users/sparciii/followers","following_url":"https://api.github.com/users/sparciii/following{/other_user}","gists_url":"https://api.github.com/users/sparciii/gists{/gist_id}","starred_url":"https://api.github.com/users/sparciii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparciii/subscriptions","organizations_url":"https://api.github.com/users/sparciii/orgs","repos_url":"https://api.github.com/users/sparciii/repos","events_url":"https://api.github.com/users/sparciii/events{/privacy}","received_events_url":"https://api.github.com/users/sparciii/received_events","type":"User","site_admin":false},"repo":{"id":66396856,"name":"nrpe-ng-cookbook","full_name":"sparciii/nrpe-ng-cookbook","owner":{"login":"sparciii","id":366196,"avatar_url":"https://avatars.githubusercontent.com/u/366196?v=3","gravatar_id":"","url":"https://api.github.com/users/sparciii","html_url":"https://github.com/sparciii","followers_url":"https://api.github.com/users/sparciii/followers","following_url":"https://api.github.com/users/sparciii/following{/other_user}","gists_url":"https://api.github.com/users/sparciii/gists{/gist_id}","starred_url":"https://api.github.com/users/sparciii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparciii/subscriptions","organizations_url":"https://api.github.com/users/sparciii/orgs","repos_url":"https://api.github.com/users/sparciii/repos","events_url":"https://api.github.com/users/sparciii/events{/privacy}","received_events_url":"https://api.github.com/users/sparciii/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparciii/nrpe-ng-cookbook","description":null,"fork":true,"url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook","forks_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/forks","keys_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/teams","hooks_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/hooks","issue_events_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/events","assignees_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/tags","blobs_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/languages","stargazers_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/stargazers","contributors_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/contributors","subscribers_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/subscribers","subscription_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/subscription","commits_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/merges","archive_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/downloads","issues_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/sparciii/nrpe-ng-cookbook/deployments","created_at":"2016-08-23T19:29:55Z","updated_at":"2016-08-23T19:29:56Z","pushed_at":"2016-08-23T19:39:44Z","git_url":"git://github.com/sparciii/nrpe-ng-cookbook.git","ssh_url":"git@github.com:sparciii/nrpe-ng-cookbook.git","clone_url":"https://github.com/sparciii/nrpe-ng-cookbook.git","svn_url":"https://github.com/sparciii/nrpe-ng-cookbook","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"johnbellone:master","ref":"master","sha":"8672341a4e1cbb6f7ef50ea752c5e4de061ef32e","user":{"login":"johnbellone","id":241756,"avatar_url":"https://avatars.githubusercontent.com/u/241756?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbellone","html_url":"https://github.com/johnbellone","followers_url":"https://api.github.com/users/johnbellone/followers","following_url":"https://api.github.com/users/johnbellone/following{/other_user}","gists_url":"https://api.github.com/users/johnbellone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbellone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbellone/subscriptions","organizations_url":"https://api.github.com/users/johnbellone/orgs","repos_url":"https://api.github.com/users/johnbellone/repos","events_url":"https://api.github.com/users/johnbellone/events{/privacy}","received_events_url":"https://api.github.com/users/johnbellone/received_events","type":"User","site_admin":false},"repo":{"id":55729271,"name":"nrpe-ng-cookbook","full_name":"johnbellone/nrpe-ng-cookbook","owner":{"login":"johnbellone","id":241756,"avatar_url":"https://avatars.githubusercontent.com/u/241756?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbellone","html_url":"https://github.com/johnbellone","followers_url":"https://api.github.com/users/johnbellone/followers","following_url":"https://api.github.com/users/johnbellone/following{/other_user}","gists_url":"https://api.github.com/users/johnbellone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbellone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbellone/subscriptions","organizations_url":"https://api.github.com/users/johnbellone/orgs","repos_url":"https://api.github.com/users/johnbellone/repos","events_url":"https://api.github.com/users/johnbellone/events{/privacy}","received_events_url":"https://api.github.com/users/johnbellone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnbellone/nrpe-ng-cookbook","description":"","fork":false,"url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook","forks_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/forks","keys_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/teams","hooks_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/hooks","issue_events_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/events","assignees_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/tags","blobs_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/languages","stargazers_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/stargazers","contributors_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/contributors","subscribers_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/subscribers","subscription_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/subscription","commits_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/merges","archive_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/downloads","issues_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/releases{/id}","deployments_url":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/deployments","created_at":"2016-04-07T21:26:11Z","updated_at":"2016-04-07T21:26:34Z","pushed_at":"2016-08-23T20:44:57Z","git_url":"git://github.com/johnbellone/nrpe-ng-cookbook.git","ssh_url":"git@github.com:johnbellone/nrpe-ng-cookbook.git","clone_url":"https://github.com/johnbellone/nrpe-ng-cookbook.git","svn_url":"https://github.com/johnbellone/nrpe-ng-cookbook","homepage":null,"size":37,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1"},"html":{"href":"https://github.com/johnbellone/nrpe-ng-cookbook/pull/1"},"issue":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/1"},"comments":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/johnbellone/nrpe-ng-cookbook/statuses/264da1aef6bd490d203c0a718e8dcab2ed63db64"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"johnbellone","id":241756,"avatar_url":"https://avatars.githubusercontent.com/u/241756?v=3","gravatar_id":"","url":"https://api.github.com/users/johnbellone","html_url":"https://github.com/johnbellone","followers_url":"https://api.github.com/users/johnbellone/followers","following_url":"https://api.github.com/users/johnbellone/following{/other_user}","gists_url":"https://api.github.com/users/johnbellone/gists{/gist_id}","starred_url":"https://api.github.com/users/johnbellone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnbellone/subscriptions","organizations_url":"https://api.github.com/users/johnbellone/orgs","repos_url":"https://api.github.com/users/johnbellone/repos","events_url":"https://api.github.com/users/johnbellone/events{/privacy}","received_events_url":"https://api.github.com/users/johnbellone/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"johnbellone"}}