Fix fernet cron path on Ubuntu/Debian
The correct path according to Ubuntu cron manpage [1] is /var/spool/cron/crontabs/$USER [1]: http://manpages.ubuntu.com/manpages/trusty/man8/cron.8.html Closes-Bug: #1898765 Change-Id: Id5fc354e3e32cae2468cd2557a2967859e3b4e16
This commit is contained in:
parent
0617ca7a22
commit
07d42bff01
@ -1,5 +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' %}
|
||||
{% set cron_path = '/var/spool/cron/crontabs/root' if kolla_base_distro in ['ubuntu', 'debian'] else '/var/spool/cron/root' %}
|
||||
{
|
||||
"command": "{{ cron_cmd }}",
|
||||
"config_files": [{
|
||||
|
7
releasenotes/notes/bug-1898765-73881932a2ef1d32.yaml
Normal file
7
releasenotes/notes/bug-1898765-73881932a2ef1d32.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed invalid fernet cron file path on Debian/Ubuntu from
|
||||
``/var/spool/cron/crontabs/root/fernet-cron`` to
|
||||
``/var/spool/cron/crontabs/root``.
|
||||
`LP#1898765 <https://bugs.launchpad.net/kolla-ansible/+bug/1898765>`__
|
Loading…
Reference in New Issue
Block a user