added backup to virtual model
Change-Id: Ibbbe22b33cb52d568b1d70229ffa4791bcc15c73
diff --git a/classes/cluster/virtual-offline-pike-ovs-dpdk/infra/config.yml b/classes/cluster/virtual-offline-pike-ovs-dpdk/infra/config.yml
index f72467c..4224974 100644
--- a/classes/cluster/virtual-offline-pike-ovs-dpdk/infra/config.yml
+++ b/classes/cluster/virtual-offline-pike-ovs-dpdk/infra/config.yml
@@ -3,7 +3,7 @@
- system.linux.system.single
- system.linux.system.repo_local.mcp.salt
- system.linux.system.repo_local.mcp.apt_mirantis.openstack
-- system.openssh.client.lab
+#- system.openssh.client.lab
- system.salt.master.api
- system.salt.master.pkg
- system.reclass.storage.salt
@@ -24,6 +24,7 @@
- system.reclass.storage.system.openstack_gateway_single
- system.reclass.storage.system.openstack_dashboard_single
- system.reclass.storage.system.stacklightv2_server_cluster
+- cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_common
- cluster.virtual-offline-pike-ovs-dpdk.openstack.proxy
- cluster.virtual-offline-pike-ovs-dpdk.stacklight.proxy
- cluster.virtual-offline-pike-ovs-dpdk
@@ -58,9 +59,12 @@
enabled: false
salt:
master:
+ backup: true
reactor:
reclass/minion/classify:
- salt://reclass/reactor/node_register.sls
+ minion:
+ backup: true
reclass:
storage:
class_mapping:
@@ -147,6 +151,7 @@
node:
openstack_control_node01:
classes:
+ - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.client_mysql
- service.galera.master.cluster
params:
mysql_cluster_role: master
@@ -159,6 +164,7 @@
linux_system_codename: xenial
openstack_control_node03:
classes:
+ - cluster.virtual-offline-pike-ovs-dpdk.infra.backup.server
- service.galera.slave.cluster
params:
mysql_cluster_role: slave