aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/database
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-21 15:06:38 +0000
committerGerrit Code Review <review@openstack.org>2017-06-21 15:06:38 +0000
commit4ccce0e36bae905cf998f4c9a147833f6305142a (patch)
tree167ecd00b0f2149af22db7906a62f9ac3bb01c98 /puppet/services/database
parentdfd4e12b22e09bb95272541461f10578a511ee90 (diff)
parent53407bd8b782235ff954b07ce632a7b33275a9ce (diff)
Merge "Add node's FQDN to mysql certificate request and CA file"
Diffstat (limited to 'puppet/services/database')
-rw-r--r--puppet/services/database/mysql.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/services/database/mysql.yaml b/puppet/services/database/mysql.yaml
index 2bde9033..882ba299 100644
--- a/puppet/services/database/mysql.yaml
+++ b/puppet/services/database/mysql.yaml
@@ -118,6 +118,16 @@ outputs:
template: "%{hiera('cloud_name_NETWORK')}"
params:
NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
+ dnsnames:
+ - str_replace:
+ template: "%{hiera('cloud_name_NETWORK')}"
+ params:
+ NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
+ - str_replace:
+ template:
+ "%{hiera('fqdn_$NETWORK')}"
+ params:
+ $NETWORK: {get_param: [ServiceNetMap, MysqlNetwork]}
principal:
str_replace:
template: "mysql/%{hiera('cloud_name_NETWORK')}"
@@ -132,6 +142,9 @@ outputs:
- service: mysql
network: {get_param: [ServiceNetMap, MysqlNetwork]}
type: vip
+ - service: mysql
+ network: {get_param: [ServiceNetMap, MysqlNetwork]}
+ type: node
- null
upgrade_tasks:
- name: Check for galera root password