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