mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
Merge pull request #87 from bmwiedemann/master
1 fix for SUSE and 2 commits to nicify
This commit is contained in:
commit
3cbc53e207
2 changed files with 4 additions and 2 deletions
|
@ -24,7 +24,6 @@ bind_restart:
|
|||
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||
- mode: {{ salt['pillar.get']('bind:config:log_mode', map.log_mode) }}
|
||||
- replace: False
|
||||
- require:
|
||||
- file: {{ map.log_dir }}
|
||||
|
||||
|
@ -82,6 +81,8 @@ bind_default_config:
|
|||
- user: root
|
||||
- group: root
|
||||
- mode: 644
|
||||
- context:
|
||||
map: {{ map }}
|
||||
- watch_in:
|
||||
- service: bind_restart
|
||||
{% endif %}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# This file is managed by salt - DO NOT EDIT!
|
||||
|
||||
{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
|
||||
{% set param = [] -%}
|
||||
{% if protocol -%}
|
||||
|
@ -5,7 +7,6 @@
|
|||
{% endif -%}
|
||||
## Path: Network/DNS/Name Server
|
||||
## Description: Names server settings
|
||||
|
||||
## Type: yesno
|
||||
## Default: yes
|
||||
## ServiceRestart: lwresd,named
|
||||
|
|
Loading…
Add table
Reference in a new issue