Merge "Add support for CentOS 8"

This commit is contained in:
Zuul 2020-02-19 04:01:04 +00:00 committed by Gerrit Code Review
commit 6aaf2740fd
1 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,11 @@ class ceph::params (
$pkg_radosgw = 'ceph-radosgw'
$user_radosgw = 'apache'
$pkg_fastcgi = 'mod_fastcgi'
$pkg_policycoreutils = 'policycoreutils-python'
if (Integer.new($::os['release']['major']) > 7) {
$pkg_policycoreutils = 'policycoreutils-python-utils'
} else {
$pkg_policycoreutils = 'policycoreutils-python'
}
}
default: {