X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-postgresql%2F0004-poky-postgresql-updates.patch;fp=meta-starlingx%2Fmeta-stx-cloud%2Frecipes-support%2Fpuppet%2Ffiles%2Fpuppetlabs-postgresql%2F0004-poky-postgresql-updates.patch;h=e1bb40128e4847023c6805d7a7ceee9781c8fbf0;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/0004-poky-postgresql-updates.patch b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/0004-poky-postgresql-updates.patch new file mode 100644 index 0000000..e1bb401 --- /dev/null +++ b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql/0004-poky-postgresql-updates.patch @@ -0,0 +1,12 @@ +diff --git a/manifests/params.pp b/manifests/params.pp +index 3254d63..20f91ef 100644 +--- a/manifests/params.pp ++++ b/manifests/params.pp +@@ -133,6 +133,7 @@ class postgresql::params inherits postgresql::globals { + $needs_initdb = pick($needs_initdb, false) + $service_name = $::operatingsystem ? { + 'Debian' => pick($service_name, 'postgresql'), ++ 'poky-stx' => pick($service_name, 'postgresql'), + 'Ubuntu' => $::lsbmajdistrelease ? { + /^10/ => pick($service_name, "postgresql-${version}"), + default => pick($service_name, 'postgresql'),