1
0
Fork 0
mirror of synced 2024-11-13 20:58:58 -05:00
formula-sudoers/sudoers/init.sls

16 lines
294 B
Text
Raw Normal View History

2013-08-20 17:32:58 -04:00
{% from "sudoers/package-map.jinja" import pkgs with context %}
sudo:
pkg.installed:
- name: {{ pkg.sudo }}
/etc/sudoers
file.managed:
- user: root
- group: root
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers
- require:
- pkg: sudo