mysql: never add brackets to mysql_bind_host
authorEmilien Macchi <emilien@redhat.com>
Tue, 13 Sep 2016 11:29:32 +0000 (07:29 -0400)
committerEmilien Macchi <emilien@redhat.com>
Fri, 16 Sep 2016 00:35:51 +0000 (00:35 +0000)
Don't add brackets on mysql_bind_host parameter in Galera config.
Having brackets from this parameter works with old version of
Galera but not newest one.
So let's remove them at all, so we can safely upgrade Galera in RDO.

Change-Id: Ic904d4efda162f18ec8dffb91c2f383f54361f41
Closes-Bug: #1622755

manifests/profile/pacemaker/database/mysql.pp

index 4dc3770..4c54309 100644 (file)
@@ -70,7 +70,7 @@ class tripleo::profile::pacemaker::database::mysql (
       'wsrep_drupal_282555_workaround'=> '0',
       'wsrep_causal_reads'            => '0',
       'wsrep_sst_method'              => 'rsync',
-      'wsrep_provider_options'        => "gmcast.listen_addr=tcp://[${mysql_bind_host}]:4567;",
+      'wsrep_provider_options'        => "gmcast.listen_addr=tcp://${mysql_bind_host}:4567;",
     }
   }