paulbsd-salt/states/sudo/config.sls
2020-07-10 00:58:55 +02:00

12 lines
264 B
Plaintext

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