paulbsd-salt/states/sudo/config.sls

12 lines
264 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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