X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppet-ceph%2F0011-puppet-ceph-changes-for-poky-stx.patch;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppet-ceph%2F0011-puppet-ceph-changes-for-poky-stx.patch;h=6b7e8a16c3aff349233d9ddc33e8c5cfda22387d;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppet-ceph/0011-puppet-ceph-changes-for-poky-stx.patch b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppet-ceph/0011-puppet-ceph-changes-for-poky-stx.patch new file mode 100644 index 0000000..6b7e8a1 --- /dev/null +++ b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppet-ceph/0011-puppet-ceph-changes-for-poky-stx.patch @@ -0,0 +1,23 @@ +diff --git a/manifests/params.pp b/manifests/params.pp +index 2d4d722..4cfb1b4 100644 +--- a/manifests/params.pp ++++ b/manifests/params.pp +@@ -51,11 +51,16 @@ class ceph::params ( + + case $::osfamily { + 'Debian': { +- $pkg_radosgw = 'radosgw' ++ if ($::operatingsystem == 'poky-stx') { ++ $pkg_radosgw = 'ceph' ++ $service_provider = 'systemd' ++ } else { ++ $pkg_radosgw = 'radosgw' ++ $service_provider = 'debian' ++ } + $user_radosgw = 'www-data' + $pkg_fastcgi = 'libapache2-mod-fastcgi' + $pkg_nsstools = ['libnss3-tools', 'wget'] +- $service_provider = 'debian' + $pkg_policycoreutils = 'policycoreutils' + } +