--- {%- from "sudo/map.jinja" import sudo with context %} sudo-sudoers: file.managed: - name: /etc/sudoers.d/common - source: salt://sudo/templates/sudoers.j2 - user: root - group: root - mode: 0660 - template: jinja - check_cmd: /usr/sbin/visudo -c -f