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