summaryrefslogtreecommitdiffstats
path: root/puppet/services/database/mysql.yaml
diff options
context:
space:
mode:
authorDamien Ciabrini <dciabrin@redhat.com>2017-09-29 22:32:07 +0200
committerDamien Ciabrini <dciabrin@redhat.com>2017-10-16 07:58:16 +0000
commit34c286a9abf72f91b4ce005c3b1ee0472fb22567 (patch)
tree3e7379414bd1f697afcb23ddd6ec72c75cefb98a /puppet/services/database/mysql.yaml
parent28446f77efbc91f84307bf68a97c4a4aa7f48267 (diff)
mysql: expose IPv6 configuration to mysql puppet modules
When deploying on IPv6 networks, set a hiera key that can be consumed by puppet modules to configure MySQL or Galera appropriately. Currently, this is required for configuring SST encryption in Galera when Internal TLS is enabled [1]. [1] I1d6ee8febb596b3ab9dcde3a85a028ee99b2798c Change-Id: Ia857350ac451fc1bda6659d85019962d3a9d5617 Partial-Bug: #1719885 (cherry picked from commit ff0a0dd987f4bcb997b271572ff0c901ed71d99b)
Diffstat (limited to 'puppet/services/database/mysql.yaml')
-rw-r--r--puppet/services/database/mysql.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/services/database/mysql.yaml b/puppet/services/database/mysql.yaml
index abbe7a22..7cc8fd39 100644
--- a/puppet/services/database/mysql.yaml
+++ b/puppet/services/database/mysql.yaml
@@ -57,6 +57,11 @@ parameters:
EnableInternalTLS:
type: boolean
default: false
+ MysqlIPv6:
+ default: false
+ description: Enable IPv6 in MySQL
+ type: boolean
+
conditions:
@@ -77,6 +82,7 @@ outputs:
# in tripleo-puppet-elements.
mysql::server::package_name: 'mariadb-galera-server'
mysql::server::manage_config_file: true
+ mysql_ipv6: {get_param: MysqlIPv6}
tripleo.mysql.firewall_rules:
'104 mysql galera':
dport: