mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-17 02:00:23 +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) }}
|
- user: {{ salt['pillar.get']('bind:config:user', map.user) }}
|
||||||
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
- group: {{ salt['pillar.get']('bind:config:group', map.group) }}
|
||||||
- mode: {{ salt['pillar.get']('bind:config:log_mode', map.log_mode) }}
|
- mode: {{ salt['pillar.get']('bind:config:log_mode', map.log_mode) }}
|
||||||
- replace: False
|
|
||||||
- require:
|
- require:
|
||||||
- file: {{ map.log_dir }}
|
- file: {{ map.log_dir }}
|
||||||
|
|
||||||
|
@ -82,6 +81,8 @@ bind_default_config:
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
- context:
|
||||||
|
map: {{ map }}
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: bind_restart
|
- service: bind_restart
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# This file is managed by salt - DO NOT EDIT!
|
||||||
|
|
||||||
{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
|
{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
|
||||||
{% set param = [] -%}
|
{% set param = [] -%}
|
||||||
{% if protocol -%}
|
{% if protocol -%}
|
||||||
|
@ -5,7 +7,6 @@
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
## Path: Network/DNS/Name Server
|
## Path: Network/DNS/Name Server
|
||||||
## Description: Names server settings
|
## Description: Names server settings
|
||||||
|
|
||||||
## Type: yesno
|
## Type: yesno
|
||||||
## Default: yes
|
## Default: yes
|
||||||
## ServiceRestart: lwresd,named
|
## ServiceRestart: lwresd,named
|
||||||
|
|
Loading…
Add table
Reference in a new issue