{"action":"created","issue":{"url":"https://api.github.com/repos/stankevich/puppet-python/issues/346","repository_url":"https://api.github.com/repos/stankevich/puppet-python","labels_url":"https://api.github.com/repos/stankevich/puppet-python/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/stankevich/puppet-python/issues/346/comments","events_url":"https://api.github.com/repos/stankevich/puppet-python/issues/346/events","html_url":"https://github.com/stankevich/puppet-python/issues/346","id":194535000,"number":346,"title":"EPEL7 python-pip package is called python2-pip; puppet-python won't recognize that it is installed","user":{"login":"talisto","id":446129,"avatar_url":"https://avatars.githubusercontent.com/u/446129?v=3","gravatar_id":"","url":"https://api.github.com/users/talisto","html_url":"https://github.com/talisto","followers_url":"https://api.github.com/users/talisto/followers","following_url":"https://api.github.com/users/talisto/following{/other_user}","gists_url":"https://api.github.com/users/talisto/gists{/gist_id}","starred_url":"https://api.github.com/users/talisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talisto/subscriptions","organizations_url":"https://api.github.com/users/talisto/orgs","repos_url":"https://api.github.com/users/talisto/repos","events_url":"https://api.github.com/users/talisto/events{/privacy}","received_events_url":"https://api.github.com/users/talisto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T08:00:00Z","updated_at":"2016-12-11T18:18:48Z","closed_at":"2016-12-09T08:37:45Z","body":"In EPEL7, the `python-pip` package is called `python2-pip`.  It is aliased to `python-pip`, so it can be installed with `yum install python-pip`, but then running `yum list python-pip` returns `No matching Packages`.  \r\n\r\nThis causes some problems when `puppet-python` tries to install the pip package:\r\n\r\n```\r\nError: Execution of '/bin/yum -d 0 -e 0 -y list python-pip' returned 1: Error: No matching Packages to list\r\nError: /Stage[main]/Python::Install/Package[pip]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y list python-pip' returned 1: Error: No matching Packages to list\r\nNotice: /Stage[main]/Python/Anchor[python::end]: Dependency Package[pip] has failures: true\r\nWarning: /Stage[main]/Python/Anchor[python::end]: Skipping because of failed dependencies\r\n```\r\n\r\nIs there a workaround for this?  I tried to figure out if there was a way that I could force `puppet-python` to look for `python2-pip` instead of `python-pip` but I couldn't see that as a configurable option.\r\n\r\nI'm running CentOS 7.2."},"comment":{"url":"https://api.github.com/repos/stankevich/puppet-python/issues/comments/266297752","html_url":"https://github.com/stankevich/puppet-python/issues/346#issuecomment-266297752","issue_url":"https://api.github.com/repos/stankevich/puppet-python/issues/346","id":266297752,"user":{"login":"ghoneycutt","id":313891,"avatar_url":"https://avatars.githubusercontent.com/u/313891?v=3","gravatar_id":"","url":"https://api.github.com/users/ghoneycutt","html_url":"https://github.com/ghoneycutt","followers_url":"https://api.github.com/users/ghoneycutt/followers","following_url":"https://api.github.com/users/ghoneycutt/following{/other_user}","gists_url":"https://api.github.com/users/ghoneycutt/gists{/gist_id}","starred_url":"https://api.github.com/users/ghoneycutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghoneycutt/subscriptions","organizations_url":"https://api.github.com/users/ghoneycutt/orgs","repos_url":"https://api.github.com/users/ghoneycutt/repos","events_url":"https://api.github.com/users/ghoneycutt/events{/privacy}","received_events_url":"https://api.github.com/users/ghoneycutt/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T18:18:48Z","updated_at":"2016-12-11T18:18:48Z","body":"Sounds like we need to change the name of the package."}}
{"actor":{"display_login":"ghoneycutt"}}