meta-starlingx: remove the upstream layer
[pti/rtp.git] / meta-starlingx / meta-stx-cloud / recipes-support / puppet / files / puppetlabs-mysql / 0002-puppet-mysql-changes-for-poky-stx.patch
diff --git a/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-mysql/0002-puppet-mysql-changes-for-poky-stx.patch b/meta-starlingx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-mysql/0002-puppet-mysql-changes-for-poky-stx.patch
deleted file mode 100644 (file)
index 33d65d5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ru a/manifests/params.pp b/manifests/params.pp
---- a/manifests/params.pp      2020-03-05 19:24:51.246516534 +0800
-+++ b/manifests/params.pp      2020-03-05 19:50:08.630557886 +0800
-@@ -167,7 +167,7 @@
-     }
-     'Debian': {
--      if $::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '9') >= 0 {
-+      if ($::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '9') >= 0 or $::operatingsystem == 'poky-stx' {
-         $provider = 'mariadb'
-       } else {
-         $provider = 'mysql'
-@@ -188,8 +188,13 @@
-       }
-       $basedir                 = '/usr'
--      $config_file             = '/etc/mysql/my.cnf'
--      $includedir              = '/etc/mysql/conf.d'
-+      if $::operatingsystem == 'poky-stx' {
-+        $config_file             = '/etc/my.cnf.d/server.cnf'
-+        $includedir              = '/etc/my.cnf.d'
-+      } else {
-+        $config_file             = '/etc/mysql/my.cnf'
-+        $includedir              = '/etc/mysql/conf.d'
-+      }
-       $datadir                 = '/var/lib/mysql'
-       $log_error               = '/var/log/mysql/error.log'
-       $pidfile                 = '/var/run/mysqld/mysqld.pid'