Skip to content

Commit

Permalink
Merge pull request #676 from ValdrinLushaj/feature/CPE-14938
Browse files Browse the repository at this point in the history
Add Support for RedHat/CentOS 9
  • Loading branch information
kenyon authored Nov 30, 2023
2 parents 87ebe53 + b61c32f commit d6829cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

$gunicorn_package_name = $facts['os']['family'] ? {
'RedHat' => $facts['os']['release']['major'] ? {
'8' => 'python3-gunicorn',
default => 'python-gunicorn',
'7' => 'python-gunicorn',
default => 'python3-gunicorn',
},
default => 'gunicorn',
}
Expand Down
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
Expand Down

0 comments on commit d6829cc

Please sign in to comment.