1
0
Fork 0
mirror of synced 2024-11-17 06:35:34 -05:00

Merge pull request #15 from JaseFace/master

FreeBSD support with group 0 being wheel, clean up config-path
This commit is contained in:
Nitin Madhok 2014-10-14 02:22:03 -04:00
commit 4e579839c5
3 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,7 @@ include:
{{ included_file }}:
file.managed:
- user: root
- group: root
- group: {{ pkgs.get('group', 'root') }}
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers

View file

@ -7,7 +7,7 @@ sudo:
{{ pkgs.get('config-path', '/etc') }}/sudoers:
file.managed:
- user: root
- group: root
- group: {{ pkgs.get('group', 'root') }}
- mode: 440
- template: jinja
- source: salt://sudoers/files/sudoers

View file

@ -8,7 +8,8 @@
'Gentoo': {'sudo': 'app-admin/sudo'},
'Mint': {'sudo': 'sudo'},
'FreeBSD': {'sudo': 'sudo',
'config-path': '/usr/local/etc/'}
'config-path': '/usr/local/etc',
'group': 'wheel'}
} %}
{% if 'package_table' in pillar %}