0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2024-11-28 07:18:15 +01:00
sudoers-formula/sudoers/init.sls
2013-08-20 16:35:12 -05:00

16 lines
296 B
Plaintext

{% 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
- require:
- pkg: sudo