meta-stx: re-name and re-org to align with upstream
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppetlabs-postgresql / 0004-poky-postgresql-updates.patch
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 (file)
index 0000000..e1bb401
--- /dev/null
@@ -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'),