1
0
Fork 0
mirror of synced 2024-05-26 03:51:09 -04:00
formula-sudoers/sudoers/init.sls
2014-10-02 00:29:40 -07:00

18 lines
368 B
Plaintext

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