blob: 4db82ccb8071a2c62a051c20eacc8e227e913fe8 [file] [log] [blame]
Oleksii Molchanov69d0b1e2020-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 Molchanova70a9972020-11-17 17:11:53 +02008 openstack_control_node01_hostname: ctl01
Oleksii Grudev6eb64342018-08-10 15:46:07 +03009 keystone:
10 server:
Oleksii Molchanova70a9972020-11-17 17:11:53 +020011 initial_data:
12 home_dir: /srv/volumes/backup/backupninja
13 host: ${_param:openstack_control_node01_hostname}.${_param:cluster_domain}
14 source: ${_param:infra_kvm_node03_address}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030015 tokens:
16 fernet_sync_nodes_list:
17 sync_node01:
Oleksii Grudev614facd2018-08-20 13:20:29 +030018 name: ${_param:cluster_node02_hostname}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030019 enabled: True
20 sync_node02:
Oleksii Grudev614facd2018-08-20 13:20:29 +030021 name: ${_param:cluster_node03_hostname}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030022 enabled: True
Oleksii Grudev614facd2018-08-20 13:20:29 +030023 fernet_rotation_driver: ${_param:fernet_rotation_driver}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030024 credential:
25 credential_sync_nodes_list:
26 sync_node01:
Oleksii Grudev614facd2018-08-20 13:20:29 +030027 name: ${_param:cluster_node02_hostname}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030028 enabled: True
29 sync_node02:
Oleksii Grudev614facd2018-08-20 13:20:29 +030030 name: ${_param:cluster_node03_hostname}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030031 enabled: True
Oleksii Grudev614facd2018-08-20 13:20:29 +030032 credential_rotation_driver: ${_param:credential_rotation_driver}
Oleksii Grudev6eb64342018-08-10 15:46:07 +030033 linux:
34 system:
Oleksii Grudevedb5fa12018-09-26 15:44:46 +030035 package:
36 rsync:
37 version: latest
Dmitry Teselkin986260f2018-08-30 19:07:25 +030038 cron:
39 user:
40 keystone:
41 enabled: true
Oleksii Grudev6eb64342018-08-10 15:46:07 +030042 job:
43 keystone_fernet_rotate_rsync:
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030044 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 +030045 enabled: true
46 user: keystone
Oleksandr Bryndzii1558a8e2019-02-27 14:23:23 +020047 minute: ${_param:keystone_fernet_rotate_rsync_minute}
48 hour: ${_param:keystone_fernet_rotate_rsync_hour}
Oleksii Grudev3b31b4d2018-08-17 11:19:11 +030049 keystone_credential_rotate_rsync:
50 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'
51 enabled: true
52 user: keystone
53 hour: 0
54 minute: 0
Oleksii Molchanov69d0b1e2020-10-22 21:06:32 +030055 backupninja:
56 client:
57 target:
58 home_dir: /srv/volumes/backup/backupninja
59 engine: rsync
60 engine_opts: "-av --delete --recursive --safe-links"
61 host: ${_param:infra_kvm_node03_address}