Merge "Fix database mysql errors on non-primary controler"

This commit is contained in:
Jenkins 2016-02-26 15:37:02 +00:00 committed by Gerrit Code Review
commit 7f9b8f648b
3 changed files with 3 additions and 1 deletions

View File

@ -205,4 +205,4 @@ mod 'mysql',
# Pull in michaeltchapman-galera
mod 'galera',
:git => 'https://github.com/fuel-infra/puppet-galera.git',
:ref => '0.0.2'
:ref => '0.0.3-rc1'

View File

@ -230,6 +230,7 @@ if $enabled {
galera_master => false, # NOTE: we don't want the galera module to boostrap
mysql_port => $backend_port,
root_password => $mysql_database_password,
create_root_user => $primary_controller,
create_root_my_cnf => true,
configure_repo => false, # NOTE: repos should be managed via fuel
configure_firewall => false,

View File

@ -102,6 +102,7 @@ describe manifest do
:mysql_port => '3307',
:root_password => mysql_database_password,
:create_root_my_cnf => true,
:create_root_user => primary_controller,
:validate_connection => false,
:status_check => false,
:wsrep_group_comm_port => '4567',