From c93a57b3cb95fd2d0e045c853333132f5974519c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Fri, 7 Feb 2014 15:46:30 +0100 Subject: [PATCH] Properly set Galera clustercheck ipaddress Currently $galera_clustercheck_ipaddress points to $::ipaddress. However facters randomly determines a value for "ipaddress". This is a problem because this can't be set properly. Because of this the galera doesn't work properly. This commit introduces some consistency too since all the variables were pointing to os:params. Closes #179 --- manifests/database/sql.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/database/sql.pp b/manifests/database/sql.pp index d7c9301e..3f0ef088 100644 --- a/manifests/database/sql.pp +++ b/manifests/database/sql.pp @@ -52,7 +52,7 @@ class cloud::database::sql ( $mysql_sys_maint_password = $os_params::mysql_sys_maint_password, $galera_clustercheck_dbuser = $os_params::galera_clustercheck_dbuser, $galera_clustercheck_dbpassword = $os_params::galera_clustercheck_dbuser, - $galera_clustercheck_ipaddress = $::ipaddress + $galera_clustercheck_ipaddress = $os_params::internal_netif_ip,, ) { include 'xinetd'