Add backup functionality for keystone credentials
Related-Prod: PROD-35496
Change-Id: Ifd693b98d50e22a88a2fd15a98d4e75e608dc862
diff --git a/keystone/server/fernet_rotation/cluster.yml b/keystone/server/fernet_rotation/cluster.yml
index cf7b328..7ae4dfd 100644
--- a/keystone/server/fernet_rotation/cluster.yml
+++ b/keystone/server/fernet_rotation/cluster.yml
@@ -1,3 +1,6 @@
+classes:
+- system.backupninja.client.single
+- system.openssh.client.root
parameters:
_param:
fernet_rotation_driver: 'rsync'
@@ -44,3 +47,10 @@
user: keystone
hour: 0
minute: 0
+ backupninja:
+ client:
+ target:
+ home_dir: /srv/volumes/backup/backupninja
+ engine: rsync
+ engine_opts: "-av --delete --recursive --safe-links"
+ host: ${_param:infra_kvm_node03_address}