c3f2be5928
keystone-fernet container need keystone.conf file TrivialFix Change-Id: If4a75a4d9e88350963c31190bc09cee4862aa34d
30 lines
970 B
Django/Jinja
30 lines
970 B
Django/Jinja
{% set cron_cmd = 'cron -f' if kolla_base_distro in ['ubuntu', 'debian'] else 'crond -s -n' %}
|
|
{
|
|
"command": "{{ cron_cmd }}",
|
|
"config_files": [{
|
|
"source": "{{ container_config_directory }}/keystone.conf",
|
|
"dest": "/etc/keystone/keystone.conf",
|
|
"owner": "keystone",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/crontab",
|
|
"dest": "/var/spool/cron/crontabs/root/fernet-cron",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/fernet-rotate.sh",
|
|
"dest": "/usr/bin/fernet-rotate.sh",
|
|
"owner": "root",
|
|
"perm": "0755"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/fernet-node-sync.sh",
|
|
"dest": "/usr/bin/fernet-node-sync.sh",
|
|
"owner": "root",
|
|
"perm": "0755"
|
|
}
|
|
]
|
|
}
|