{"action":"created","issue":{"url":"https://api.github.com/repos/hw-cookbooks/runit/issues/87","labels_url":"https://api.github.com/repos/hw-cookbooks/runit/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/hw-cookbooks/runit/issues/87/comments","events_url":"https://api.github.com/repos/hw-cookbooks/runit/issues/87/events","html_url":"https://github.com/hw-cookbooks/runit/pull/87","id":59956358,"number":87,"title":"Download rpm - avoid internet access","user":{"login":"obazoud","id":300753,"avatar_url":"https://avatars.githubusercontent.com/u/300753?v=3","gravatar_id":"","url":"https://api.github.com/users/obazoud","html_url":"https://github.com/obazoud","followers_url":"https://api.github.com/users/obazoud/followers","following_url":"https://api.github.com/users/obazoud/following{/other_user}","gists_url":"https://api.github.com/users/obazoud/gists{/gist_id}","starred_url":"https://api.github.com/users/obazoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obazoud/subscriptions","organizations_url":"https://api.github.com/users/obazoud/orgs","repos_url":"https://api.github.com/users/obazoud/repos","events_url":"https://api.github.com/users/obazoud/events{/privacy}","received_events_url":"https://api.github.com/users/obazoud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-05T14:11:27Z","updated_at":"2015-03-06T21:04:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hw-cookbooks/runit/pulls/87","html_url":"https://github.com/hw-cookbooks/runit/pull/87","diff_url":"https://github.com/hw-cookbooks/runit/pull/87.diff","patch_url":"https://github.com/hw-cookbooks/runit/pull/87.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/hw-cookbooks/runit/issues/comments/77635449","html_url":"https://github.com/hw-cookbooks/runit/pull/87#issuecomment-77635449","issue_url":"https://api.github.com/repos/hw-cookbooks/runit/issues/87","id":77635449,"user":{"login":"jtimberman","id":12483,"avatar_url":"https://avatars.githubusercontent.com/u/12483?v=3","gravatar_id":"","url":"https://api.github.com/users/jtimberman","html_url":"https://github.com/jtimberman","followers_url":"https://api.github.com/users/jtimberman/followers","following_url":"https://api.github.com/users/jtimberman/following{/other_user}","gists_url":"https://api.github.com/users/jtimberman/gists{/gist_id}","starred_url":"https://api.github.com/users/jtimberman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtimberman/subscriptions","organizations_url":"https://api.github.com/users/jtimberman/orgs","repos_url":"https://api.github.com/users/jtimberman/repos","events_url":"https://api.github.com/users/jtimberman/events{/privacy}","received_events_url":"https://api.github.com/users/jtimberman/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T21:04:31Z","updated_at":"2015-03-06T21:04:31Z","body":"I'm not opposed to adding this capability, but we can leverage the `rpm_package` resource (which uses the `Chef::Provider::Package::Rpm` provider). This way we get the convergent behavior already present in the rpm provider. For example on a system that already has the \"omnibus chef client\" installed:\r\n\r\n```\r\n$ sudo chef-apply -e 'rpm_package(\"chef\") { source \"https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.1.0-1.el6.x86_64.rpm\"}' -l debug\r\n[2015-03-06T20:59:38+00:00] DEBUG: rpm_package[chef] checking rpm status\r\nwarning: https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-12.1.0-1.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY\r\nchef 12.1.0-1.el6\r\n[2015-03-06T20:59:55+00:00] DEBUG: rpm_package[chef] checking install state\r\nchef 12.1.0-1.el6\r\n[2015-03-06T20:59:55+00:00] DEBUG: rpm_package[chef] current version is 12.1.0-1.el6\r\n[2015-03-06T20:59:55+00:00] DEBUG: rpm_package[chef] chef 12.1.0-1.el6 satisifies 12.1.0-1.el6 requirement\r\n[2015-03-06T20:59:55+00:00] DEBUG: rpm_package[chef] is already installed - nothing to do\r\n (up to date)\r\n```"}}