{"action":"opened","number":6296,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296","id":147905983,"html_url":"https://github.com/puppetlabs/puppet/pull/6296","diff_url":"https://github.com/puppetlabs/puppet/pull/6296.diff","patch_url":"https://github.com/puppetlabs/puppet/pull/6296.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6296","number":6296,"state":"open","locked":false,"title":"Pup 3323/master/support source in yum","user":{"login":"MosesMendoza","id":819133,"avatar_url":"https://avatars1.githubusercontent.com/u/819133?v=4","gravatar_id":"","url":"https://api.github.com/users/MosesMendoza","html_url":"https://github.com/MosesMendoza","followers_url":"https://api.github.com/users/MosesMendoza/followers","following_url":"https://api.github.com/users/MosesMendoza/following{/other_user}","gists_url":"https://api.github.com/users/MosesMendoza/gists{/gist_id}","starred_url":"https://api.github.com/users/MosesMendoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosesMendoza/subscriptions","organizations_url":"https://api.github.com/users/MosesMendoza/orgs","repos_url":"https://api.github.com/users/MosesMendoza/repos","events_url":"https://api.github.com/users/MosesMendoza/events{/privacy}","received_events_url":"https://api.github.com/users/MosesMendoza/received_events","type":"User","site_admin":false},"body":"This PR contains the content from #5986, with an additional couple commits that complete the functionality for the ensure => version case.\r\n\r\nFrom that PR:\r\n> If the source parameter is set when using the yum package provider, then use it with yum directly. This has the advantage of bringing in a package's dependencies while allowing direct installation from the internet without already setting up a repository\r\n\r\n#5986 sufficiently covered the ensure present case, ie\r\n```\r\npackage { \"foo\":\r\n  ensure => present,\r\n  source => \"http://foo.com/foo-1.1.0.rpm\",\r\n}\r\n```\r\nwill work correctly.\r\n\r\nThis PR completes this with the ensure => version case, ie\r\n```\r\npackage { \"foo\":\r\n  ensure => \"1.2.0\",\r\n  source => \"http://foo.com/foo-1.2.0.rpm\",\r\n}\r\n```\r\n\r\nThis PR also adds spec tests to yum_spec.rb for the functionality, and removes the previous acceptance test","created_at":"2017-10-20T22:14:05Z","updated_at":"2017-10-20T22:14:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/issues/6296/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/7f33b03a80a69387f9df17efcc5c569a8fdec9fa","head":{"label":"MosesMendoza:PUP-3323/master/support_source_in_yum","ref":"PUP-3323/master/support_source_in_yum","sha":"7f33b03a80a69387f9df17efcc5c569a8fdec9fa","user":{"login":"MosesMendoza","id":819133,"avatar_url":"https://avatars1.githubusercontent.com/u/819133?v=4","gravatar_id":"","url":"https://api.github.com/users/MosesMendoza","html_url":"https://github.com/MosesMendoza","followers_url":"https://api.github.com/users/MosesMendoza/followers","following_url":"https://api.github.com/users/MosesMendoza/following{/other_user}","gists_url":"https://api.github.com/users/MosesMendoza/gists{/gist_id}","starred_url":"https://api.github.com/users/MosesMendoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosesMendoza/subscriptions","organizations_url":"https://api.github.com/users/MosesMendoza/orgs","repos_url":"https://api.github.com/users/MosesMendoza/repos","events_url":"https://api.github.com/users/MosesMendoza/events{/privacy}","received_events_url":"https://api.github.com/users/MosesMendoza/received_events","type":"User","site_admin":false},"repo":{"id":3267256,"name":"puppet","full_name":"MosesMendoza/puppet","owner":{"login":"MosesMendoza","id":819133,"avatar_url":"https://avatars1.githubusercontent.com/u/819133?v=4","gravatar_id":"","url":"https://api.github.com/users/MosesMendoza","html_url":"https://github.com/MosesMendoza","followers_url":"https://api.github.com/users/MosesMendoza/followers","following_url":"https://api.github.com/users/MosesMendoza/following{/other_user}","gists_url":"https://api.github.com/users/MosesMendoza/gists{/gist_id}","starred_url":"https://api.github.com/users/MosesMendoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosesMendoza/subscriptions","organizations_url":"https://api.github.com/users/MosesMendoza/orgs","repos_url":"https://api.github.com/users/MosesMendoza/repos","events_url":"https://api.github.com/users/MosesMendoza/events{/privacy}","received_events_url":"https://api.github.com/users/MosesMendoza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MosesMendoza/puppet","description":"Server automation framework and application","fork":true,"url":"https://api.github.com/repos/MosesMendoza/puppet","forks_url":"https://api.github.com/repos/MosesMendoza/puppet/forks","keys_url":"https://api.github.com/repos/MosesMendoza/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MosesMendoza/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MosesMendoza/puppet/teams","hooks_url":"https://api.github.com/repos/MosesMendoza/puppet/hooks","issue_events_url":"https://api.github.com/repos/MosesMendoza/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/MosesMendoza/puppet/events","assignees_url":"https://api.github.com/repos/MosesMendoza/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/MosesMendoza/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/MosesMendoza/puppet/tags","blobs_url":"https://api.github.com/repos/MosesMendoza/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MosesMendoza/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MosesMendoza/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/MosesMendoza/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MosesMendoza/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/MosesMendoza/puppet/languages","stargazers_url":"https://api.github.com/repos/MosesMendoza/puppet/stargazers","contributors_url":"https://api.github.com/repos/MosesMendoza/puppet/contributors","subscribers_url":"https://api.github.com/repos/MosesMendoza/puppet/subscribers","subscription_url":"https://api.github.com/repos/MosesMendoza/puppet/subscription","commits_url":"https://api.github.com/repos/MosesMendoza/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/MosesMendoza/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/MosesMendoza/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/MosesMendoza/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/MosesMendoza/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/MosesMendoza/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MosesMendoza/puppet/merges","archive_url":"https://api.github.com/repos/MosesMendoza/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MosesMendoza/puppet/downloads","issues_url":"https://api.github.com/repos/MosesMendoza/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/MosesMendoza/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/MosesMendoza/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/MosesMendoza/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MosesMendoza/puppet/labels{/name}","releases_url":"https://api.github.com/repos/MosesMendoza/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/MosesMendoza/puppet/deployments","created_at":"2012-01-25T18:29:08Z","updated_at":"2016-11-30T22:00:16Z","pushed_at":"2017-10-20T22:01:58Z","git_url":"git://github.com/MosesMendoza/puppet.git","ssh_url":"git@github.com:MosesMendoza/puppet.git","clone_url":"https://github.com/MosesMendoza/puppet.git","svn_url":"https://github.com/MosesMendoza/puppet","homepage":"http://www.puppetlabs.com/puppet/introduction/","size":59514,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"7b312f5d042c0c01d856d8d69227c367bb6f1477","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":910744,"name":"puppet","full_name":"puppetlabs/puppet","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars0.githubusercontent.com/u/234268?v=4","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppet","description":"Server automation framework and application","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppet","forks_url":"https://api.github.com/repos/puppetlabs/puppet/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppet/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppet/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppet/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppet/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppet/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppet/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppet/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppet/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppet/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppet/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppet/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppet/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppet/deployments","created_at":"2010-09-14T19:26:44Z","updated_at":"2017-10-20T11:41:18Z","pushed_at":"2017-10-20T21:38:04Z","git_url":"git://github.com/puppetlabs/puppet.git","ssh_url":"git@github.com:puppetlabs/puppet.git","clone_url":"https://github.com/puppetlabs/puppet.git","svn_url":"https://github.com/puppetlabs/puppet","homepage":"https://puppet.com/puppet/what-is-puppet","size":59830,"stargazers_count":4681,"watchers_count":4681,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1929,"mirror_url":null,"archived":false,"open_issues_count":48,"forks":1929,"open_issues":48,"watchers":4681,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296"},"html":{"href":"https://github.com/puppetlabs/puppet/pull/6296"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/6296"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/issues/6296/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppet/pulls/6296/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppet/statuses/7f33b03a80a69387f9df17efcc5c569a8fdec9fa"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":68,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"MosesMendoza"}}