paulbsd-salt/states/sudo/config.sls
2023-11-10 13:26:56 +01:00

12 lines
283 B
Plaintext

---
{%- 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