Add pillars for restore cfg node
* Pre-define pillars for restore cfg01
* Add WR PROD-20679:
set the same path for client and server
home_dir: /srv/volumes/backup/backupninja
Change-Id: I3078886533367cbe8e2481d1bc225e8e526550b2
diff --git a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
index 815e20f..f3d1886 100644
--- a/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
+++ b/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
@@ -57,11 +57,21 @@
salt:
master:
backup: true
+ initial_data:
+ engine: backupninja
+ source: ctl03
+ home_dir: /srv/volumes/backup/backupninja
+ host: cfg01.virtual-mcp-pike-ovs.local
reactor:
reclass/minion/classify:
- salt://reclass/reactor/node_register.sls
minion:
backup: true
+ initial_data:
+ engine: backupninja
+ source: ctl03
+ home_dir: /srv/volumes/backup/backupninja
+ host: cfg01.virtual-mcp-pike-ovs.local
reclass:
storage:
class_mapping: