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

18 lines
335 B
Plaintext
Raw Normal View History

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