mirror of
https://github.com/saltstack-formulas/bind-formula.git
synced 2025-04-15 17:20:21 +00:00
dirty value in /etc/default/bind9
when bind.config.protocol is set in pillar, "None" is returned by param.append('-' + protocol|string) statement and written in /etc/default/bind9. This breaks bind9 at start
This commit is contained in:
parent
b6c34f9118
commit
c14e5ac477
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% set protocol = salt['pillar.get']('bind:config:protocol', False) -%}
|
||||
{% set param = ['-u bind'] -%}
|
||||
{% if protocol -%}
|
||||
{{ param.append('-' + protocol|string) }}
|
||||
{% do param.append('-' + protocol|string) -%}
|
||||
{% endif -%}
|
||||
# run resolvconf?
|
||||
RESOLVCONF=no
|
||||
|
|
Loading…
Add table
Reference in a new issue