Merge "Fix keystone fernet rotation for source images"

This commit is contained in:
Zuul 2019-11-07 10:27:58 +00:00 committed by Gerrit Code Review
commit f15d5d500c

View File

@ -1,3 +1,9 @@
{# Cron uses a PATH of /usr/bin:/bin by default, which does not include the #}
{# virtualenv in source images. #}
{% if keystone_install_type == 'source' %}
PATH=/var/lib/kolla/venv/bin:/usr/bin:/bin
{% endif %}
{% for cron_job in cron_jobs %}
{{ cron_job['min'] }} {{ cron_job['hour'] }} * * {{ cron_job['day'] }} /usr/bin/fernet-rotate.sh
{% endfor %}