paulbsd-salt/states/sudo/config.sls

12 lines
283 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:
2023-11-10 13:26:56 +01:00
- name: /etc/sudoers.d/common
2023-03-10 00:08:10 +01:00
- source: salt://sudo/templates/sudoers.j2
2020-07-10 00:58:55 +02:00
- user: root
- group: root
- mode: 0660
- template: jinja
- check_cmd: /usr/sbin/visudo -c -f