blob: f4dfe9027bcf0455e9fc0db3ffc07afbb6b67078 [file] [log] [blame]
{%- from "glusterfs/map.jinja" import server with context %}
{%- if server.get('enabled') %}
job:
glusterfs:
- files:
- /var/log/glusterfs/cmd_history.log
- /var/log/glusterfs/srv-volumes-backup.log
- /var/log/glusterfs/cli.log
- /var/log/glusterfs/glustershd.log
- /var/log/glusterfs/etc-glusterfs-glusterd.vol.log
- /var/log/glusterfs/**/*.log
options:
- daily
- rotate: {{ server.get('logrotate', {}).get('options', {}).get('rotate', 4) }}
- compress
- delaycompress
- notifempty
{%- endif %}