files['/etc/logrotate.d/rsyslog'] = { 'source': 'logrotate.conf', } files['/etc/rsyslog.conf'] = { 'triggers': { 'svc_systemd:rsyslog:restart', }, } svc_systemd['rsyslog'] = { 'needs': { 'pkg_apt:rsyslog', }, 'after': { 'file:/etc/rsyslog.conf', }, }