added backup to virtual model
Change-Id: Ibbbe22b33cb52d568b1d70229ffa4791bcc15c73
diff --git a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
index 3a64332..f216aa9 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
@@ -3,7 +3,7 @@
- system.linux.system.single
- system.linux.system.repo.mcp.salt
- system.linux.system.repo.mcp.apt_mirantis.openstack
-- system.openssh.client.lab
+#- system.openssh.client.lab
- system.salt.master.api
- system.salt.master.pkg
- system.salt.master.formula.pkg.manila
@@ -29,6 +29,7 @@
- system.reclass.storage.system.openstack_gateway_single
- system.reclass.storage.system.openstack_dashboard_single
- system.reclass.storage.system.openstack_telemetry_cluster
+- cluster.virtual-mcp-pike-ovs.infra.backup.client_common
- cluster.virtual-mcp-pike-ovs
parameters:
_param:
@@ -53,9 +54,12 @@
netmask: 255.255.255.0
salt:
master:
+ backup: true
reactor:
reclass/minion/classify:
- salt://reclass/reactor/node_register.sls
+ minion:
+ backup: true
reclass:
storage:
class_mapping:
@@ -150,6 +154,7 @@
node:
openstack_control_node01:
classes:
+ - cluster.virtual-mcp-pike-ovs.infra.backup.client_mysql
- service.galera.master.cluster
params:
mysql_cluster_role: master
@@ -162,6 +167,7 @@
linux_system_codename: xenial
openstack_control_node03:
classes:
+ - cluster.virtual-mcp-pike-ovs.infra.backup.server
- service.galera.slave.cluster
params:
mysql_cluster_role: slave