Updates logrotate.conf for Debianmaster
# rotate log files weekly | # rotate log files weekly | ||||
weekly | weekly | ||||
{% if grains['os'] == "Ubuntu" %} | |||||
# use the syslog group by default, since this is the owning group | |||||
# of /var/log/syslog. | |||||
su root syslog | |||||
{% endif %} | |||||
# keep 4 weeks worth of backlogs | # keep 4 weeks worth of backlogs | ||||
rotate 4 | rotate 4 | ||||