Merge "Fernet cron path"

This commit is contained in:
Zuul 2018-10-29 13:12:36 +00:00 committed by Gerrit Code Review
commit 1549c85efd

View File

@ -1,4 +1,5 @@
{% set cron_cmd = 'cron -f' if kolla_base_distro in ['ubuntu', 'debian'] else 'crond -s -n' %}
{% set cron_path = '/var/spool/cron/crontabs/root/fernet-cron' if kolla_base_distro in ['ubuntu', 'debian'] else '/var/spool/cron/root' %}
{
"command": "{{ cron_cmd }}",
"config_files": [{
@ -9,7 +10,7 @@
},
{
"source": "{{ container_config_directory }}/crontab",
"dest": "/var/spool/cron/crontabs/root/fernet-cron",
"dest": "{{ cron_path }}",
"owner": "root",
"perm": "0600"
},