We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e3715 commit 137212fCopy full SHA for 137212f
manifests/install.pp
@@ -233,9 +233,12 @@
233
}
234
235
236
- if "${::python::version}" =~ /^python3/ { #lint:ignore:only_variable_string
+ if "${::python::version}" =~ /^python3/ and ($::osfamily == 'RedHat') and (versioncmp($::operatingsystemmajrelease, '7') >= 0) { #lint:ignore:only_variable_string
237
$pip_category = undef
238
- $pip_package = 'python3-pip'
+ $pip_package = 'python34-pip'
239
+ } elsif "${::python::version}" =~ /^python3/ {
240
+ $pip_category = undef
241
+ $pip_package = '1'
242
} elsif ($::osfamily == 'RedHat') and (versioncmp($::operatingsystemmajrelease, '7') >= 0) {
243
244
$pip_package = 'python2-pip'
0 commit comments