First, apologies for opening this issue. There's an existing issue #115 which begins to describe this bug. I'm opening this issue because conversation on #115 has been restricted to contributors by @shivapoudel (which is of course totally fine).
@shivapoudel would it be possible to add a comment to that issue to indicate the status of any efforts to fix that bug or what people should do who use RHEL/CentOS? From the comments in that issue I wasn't able to determine why the conversation had been restricted (there may be background to this issue I'm unaware of).
To clarify the problem (which isn't very specific in #115), under RHEL/CentOS 7, attempting to install python-pip with a stanza like this
class { 'python' :
pip => true,
}
will fail because the system package that this puppet module calls for isn't part of the base RHEL/CentOS packages, but instead part of EPEL.
A solution to this problem (which I'll try to PR) would be to include the stahnma-epel puppet module as a dependency in the metadata.json. The nice thing about the stahnma-epel puppet module is that it only takes effect on RHEL derivatives and does nothing on other operating systems.
First, apologies for opening this issue. There's an existing issue #115 which begins to describe this bug. I'm opening this issue because conversation on #115 has been restricted to contributors by @shivapoudel (which is of course totally fine).
@shivapoudel would it be possible to add a comment to that issue to indicate the status of any efforts to fix that bug or what people should do who use RHEL/CentOS? From the comments in that issue I wasn't able to determine why the conversation had been restricted (there may be background to this issue I'm unaware of).
To clarify the problem (which isn't very specific in #115), under RHEL/CentOS 7, attempting to install python-pip with a stanza like this
will fail because the system package that this puppet module calls for isn't part of the base RHEL/CentOS packages, but instead part of EPEL.
A solution to this problem (which I'll try to PR) would be to include the stahnma-epel puppet module as a dependency in the metadata.json. The nice thing about the
stahnma-epelpuppet module is that it only takes effect on RHEL derivatives and does nothing on other operating systems.