blob: 7ae4dfda362eae7db071067ffb572235bf3d5f37 [file] [log] [blame]
Oleksii Molchanovbe817772020-10-22 21:06:32 +03001classes:
2- system.backupninja.client.single
3- system.openssh.client.root
Oleksii Grudev6eb64342018-08-10 15:46:07 +03004parameters:
Oleksii Grudev614facd2018-08-20 13:20:29 +03005 _param:
6 fernet_rotation_driver: 'rsync'
7 credential_rotation_driver: 'rsync'
Oleksii Grudev6eb64342018-08-10 15:46:07 +03008 keystone:
9 server:
10 tokens:
11 fernet_sync_nodes_list:
12 sync_node01:
Oleksii Grudev614facd2018-08-20 13:20:29 +030013 name: ${_param:cluster_node02_hostname}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030014 enabled: True
15 sync_node02:
Oleksii Grudev614facd2018-08-20 13:20:29 +030016 name: ${_param:cluster_node03_hostname}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030017 enabled: True
Oleksii Grudev614facd2018-08-20 13:20:29 +030018 fernet_rotation_driver: ${_param:fernet_rotation_driver}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030019 credential:
20 credential_sync_nodes_list:
21 sync_node01:
Oleksii Grudev614facd2018-08-20 13:20:29 +030022 name: ${_param:cluster_node02_hostname}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030023 enabled: True
24 sync_node02:
Oleksii Grudev614facd2018-08-20 13:20:29 +030025 name: ${_param:cluster_node03_hostname}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030026 enabled: True
Oleksii Grudev614facd2018-08-20 13:20:29 +030027 credential_rotation_driver: ${_param:credential_rotation_driver}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030028 linux:
29 system:
Oleksii Grudevedb5fa12018-09-26 15:44:46 +030030 package:
31 rsync:
32 version: latest
Dmitry Teselkin986260f2018-08-30 19:07:25 +030033 cron:
34 user:
35 keystone:
36 enabled: true
Oleksii Grudev6eb64342018-08-10 15:46:07 +030037 job:
38 keystone_fernet_rotate_rsync:
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030039 command: '/var/lib/keystone/keystone_keys_rotate.sh -r -s -t fernet >> /var/log/keystone/keystone-rotate.log 2>> /var/log/keystone/keystone-rotate.log'
Oleksii Grudev6eb64342018-08-10 15:46:07 +030040 enabled: true
41 user: keystone
Oleksandr Bryndzii79b89682019-02-27 14:23:23 +020042 minute: ${_param:keystone_fernet_rotate_rsync_minute}
43 hour: ${_param:keystone_fernet_rotate_rsync_hour}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030044 keystone_credential_rotate_rsync:
45 command: '/var/lib/keystone/keystone_keys_rotate.sh -r -s -t credential >> /var/log/keystone/keystone-rotate.log 2>> /var/log/keystone/keystone-rotate.log'
46 enabled: true
47 user: keystone
48 hour: 0
49 minute: 0
Oleksii Molchanovbe817772020-10-22 21:06:32 +030050 backupninja:
51 client:
52 target:
53 home_dir: /srv/volumes/backup/backupninja
54 engine: rsync
55 engine_opts: "-av --delete --recursive --safe-links"
56 host: ${_param:infra_kvm_node03_address}