--- rsyslog-main-config: file.managed: - name: /etc/rsyslog.conf - source: salt://rsyslog/rsyslog.conf.j2 - user: root - group: root - template: jinja - watch_in: - service: rsyslog-service