10 lines
533 B
Plaintext
10 lines
533 B
Plaintext
# call the rotate and sync function at 5 min intervals. The actual function
|
|
# works out when to do the rotate and sync of the keys.
|
|
{% if enabled -%}
|
|
{% if use_syslog -%}
|
|
{{ minute }} * * * * root /usr/bin/juju-run {{ unit_name }} {{ charm_dir }}/scripts/fernet_rotate_and_sync.py 2>&1 | logger -t keystone-fernet-rotate-sync
|
|
{% else -%}
|
|
{{ minute }} * * * * root /usr/bin/juju-run {{ unit_name }} {{ charm_dir }}/scripts/fernet_rotate_and_sync.py >> /var/log/keystone/keystone-fernet-rotate-sync.log 2>&1
|
|
{% endif -%}
|
|
{% endif -%}
|