mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
use group from map file, not hardcode
This commit is contained in:
parent
8972734ba0
commit
2beaf0ec32
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ include:
|
|||
{{ map.log_dir }}:
|
||||
file.directory:
|
||||
- user: root
|
||||
- group: bind
|
||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||
- mode: 775
|
||||
- require:
|
||||
- pkg: bind
|
||||
|
@ -21,7 +21,7 @@ bind_restart:
|
|||
{{ map.log_dir }}/query.log:
|
||||
file.managed:
|
||||
- user: bind
|
||||
- group: bind
|
||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||
- mode: 644
|
||||
- require:
|
||||
- file: {{ map.log_dir }}
|
||||
|
|
Loading…
Add table
Reference in a new issue