From 193919a6df564077d0ff286578cd699e9b171a46 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Tue, 11 Feb 2020 15:11:28 +0100 Subject: [PATCH] Add support for CentOS 8 Ceph for CentOS 8 has been built by Storage SIG. Change-Id: I0750d4d0bfbb019428402bd9f19dafd442a7c5de --- manifests/params.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 67c1c4d2..2114abbc 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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: {