Skip to content

Commit

Permalink
Standardize gunicorn package references across RHEL versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdrinBottomline committed Nov 30, 2023
1 parent f7b0196 commit b61c32f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@

$gunicorn_package_name = $facts['os']['family'] ? {
'RedHat' => $facts['os']['release']['major'] ? {
'9' => 'python3-gunicorn',
'8' => 'python3-gunicorn',
default => 'python-gunicorn',
'7' => 'python-gunicorn',
default => 'python3-gunicorn',
},
default => 'gunicorn',
}
Expand Down

0 comments on commit b61c32f

Please sign in to comment.