1
0
Fork 0
mirror of synced 2024-11-10 11:38:56 -05:00
formula-sudoers/sudoers/init.sls
2014-02-09 18:32:22 +01:00

17 lines
335 B
Text

{% from "sudoers/package-map.jinja" import pkgs with context %}
sudo:
pkg.installed:
- name: {{ pkgs.sudo }}
/etc/sudoers:
file.managed:
- user: root
- group: root
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers
- context:
included: False
- require:
- pkg: sudo