Splitting slave/master roles for ssl
Issue:
1) Multiple pipelines failure due to ssl class include:
Once service.galera.ssl class being included,
galera:
master:
pillar appears on slave nodes, which results to deploy failures.
2) Test pillars lacks of ssl hashes
Fix:
1) Split class into two separate classes.
Now it is possible to include them separately in infra/conf.yml:
openstack_database_node01:
params:
linux_system_codename: xenial
classes:
- cluster.${_param:cluster_name}.openstack.database_init
- cluster.${_param:cluster_name}.openstack.database.ssl.master
openstack_database_node02:
params:
linux_system_codename: xenial
classes:
- cluster.${_param:cluster_name}.openstack.database.ssl.slave
Further usage of service.galera.ssl class should be deprecated.
2) Adding ssl hashes to test pillars
Change-Id: I2df8b3c0da018e53cf7e97e24d3b1b9b49d3f75e
diff --git a/metadata.yml b/metadata.yml
index 1087027..773210b 100644
--- a/metadata.yml
+++ b/metadata.yml
@@ -2,5 +2,7 @@
version: "1.0"
source: "https://github.com/salt-formulas/salt-formula-galera"
dependencies:
+- name: linux
+ source: "https://github.com/salt-formulas/salt-formula-linux"
- name: mysql
source: "https://github.com/salt-formulas/salt-formula-mysql"