aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database/mysql.yaml
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-07-13 11:29:43 -0400
committerEmilien Macchi <emilien@redhat.com>2016-07-27 12:23:38 -0400
commit315fa319630fa22ee9e31a058a2a17376b5f1ea3 (patch)
tree60db12169c4fba595e1415817a927d5b63242e8a /puppet/services/database/mysql.yaml
parentfc93cf3e2965f430b243eda1e95ce30c4e59a1ab (diff)
Migrate Puppet Hieradata to composable services
Migrate puppet/hieradata/*.yaml parameters to puppet/services/*.yaml except for some services that are not composable yet. Co-Authored-By: Juan Antonio Osorio Robles <jaosorior@redhat.com> Change-Id: I7e5f8b18ee9aa63a1dffc6facaf88315b07d5fd7
Diffstat (limited to 'puppet/services/database/mysql.yaml')
-rw-r--r--puppet/services/database/mysql.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/database/mysql.yaml b/puppet/services/database/mysql.yaml
index 0a19b2a7..6f8f91b5 100644
--- a/puppet/services/database/mysql.yaml
+++ b/puppet/services/database/mysql.yaml
@@ -17,6 +17,13 @@ outputs:
value:
service_name: mysql
config_settings:
+ # The Galera package should work in cluster and
+ # non-cluster modes based on the config file.
+ # We set the package name here explicitly so
+ # that it matches what we pre-install
+ # in tripleo-puppet-elements.
+ mysql::server::package_name: 'mariadb-galera-server'
+ mysql::server::manage_config_file: true
tripleo.mysql.firewall_rules:
'104 mysql galera':
dport: