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-dvr/infra/config.yml b/classes/cluster/virtual-mcp-pike-dvr/infra/config.yml
index 5905d47..a8e6d17 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/infra/config.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/infra/config.yml
@@ -58,11 +58,21 @@
salt:
master:
backup: true
+ initial_data:
+ engine: backupninja
+ source: ctl03
+ home_dir: /srv/volumes/backup/backupninja
+ host: cfg01.virtual-mcp-pike-dvr.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-dvr.local
reclass:
storage:
class_mapping: