Skip to content

Commit

Permalink
EL7 use python2-pip package name
Browse files Browse the repository at this point in the history
It turns out that the package name has changed in the epel repository.
closes voxpupuli#348

Signed-off-by: David Caro <david@dcaro.es>
  • Loading branch information
david-caro committed Dec 10, 2016
1 parent 15d1666 commit f773e37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@
} elsif $::osfamily == 'Gentoo' {
$pip_category = 'dev-python'
$pip_package = 'pip'
} elsif ($::osfamily == 'RedHat') and ($::operatingsystemrelease =~ /^7/) {
$pip_category = undef
$pip_package = 'python2-pip'
} else {
$pip_category = undef
$pip_package = 'python-pip'
Expand Down

0 comments on commit f773e37

Please sign in to comment.