Merge pull request #87 from bmwiedemann/master

1 fix for SUSE and 2 commits to nicify
This commit is contained in:
Javier Bértoli 2018-03-26 10:03:43 -03:00 committed by GitHub
commit 3cbc53e207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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 %}

View file

@ -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