
Add cron image and playbook for logrotate. The "common" Ansible playbook includes configuration files for logrotate. At this point the operator cannot customize/override the logrotate configuration. Closes-Bug: #1553244 Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
8 lines
242 B
Bash
8 lines
242 B
Bash
#!/bin/bash
|
|
|
|
# NOTE(elemoine): the cron daemon sends its logs to /dev/log. Heka's log socket
|
|
# is at /var/lib/kolla/heka/log so we symlink /dev/log to that location.
|
|
if [[ ! -h /dev/log ]]; then
|
|
ln -sf /var/lib/kolla/heka/log /dev/log
|
|
fi
|