File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 215
215
if String($python::version ) =~ /^python3/ {
216
216
$pip_package = " ${python} -pip"
217
217
$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
218
221
} elsif ($facts [' os' ][' family' ] == ' RedHat' ) and (versioncmp($facts [' os' ][' release' ][' major' ], ' 8' ) >= 0) {
219
222
$pip_package = ' python3-pip'
220
223
$pip_provider = pip3
Original file line number Diff line number Diff line change 28
28
29
29
$gunicorn_package_name = $facts [' os' ][' family' ] ? {
30
30
' RedHat' => $facts [' os' ][' release' ][' major' ] ? {
31
+ ' 9' => ' python3-gunicorn' ,
31
32
' 8' => ' python3-gunicorn' ,
32
33
default => ' python-gunicorn' ,
33
34
},
Original file line number Diff line number Diff line change 24
24
"operatingsystem" : " CentOS" ,
25
25
"operatingsystemrelease" : [
26
26
" 7" ,
27
- " 8"
27
+ " 8" ,
28
+ " 9"
28
29
]
29
30
},
30
31
{
You can’t perform that action at this time.
0 commit comments