Skip to content

Commit f7b0196

Browse files
removed unnecessary code, since case >= 8 already does the same thing
1 parent 4523bd7 commit f7b0196

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

manifests/install.pp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,6 @@
215215
if String($python::version) =~ /^python3/ {
216216
$pip_package = "${python}-pip"
217217
$pip_provider = $python.regsubst(/^.*python3\.?/,'pip3.').regsubst(/\.$/,'')
218-
} elsif ($facts['os']['family'] == 'RedHat') and (versioncmp($facts['os']['release']['major'], '9') >= 0) {
219-
$pip_package = 'python3-pip'
220-
$pip_provider = pip3
221218
} elsif ($facts['os']['family'] == 'RedHat') and (versioncmp($facts['os']['release']['major'], '8') >= 0) {
222219
$pip_package = 'python3-pip'
223220
$pip_provider = pip3

0 commit comments

Comments
 (0)