|
|
@@ -13,18 +13,18 @@ resolver: |
|
|
|
{{ salt['pillar.get']('network:resolver:file_prepend') }} |
|
|
|
{%- endif -%} |
|
|
|
{% if salt['pillar.get']('network:resolver:domain', False) %} |
|
|
|
domain: {{ salt['pillar.get']('network:resolver:domain') }} |
|
|
|
domain {{ salt['pillar.get']('network:resolver:domain') }} |
|
|
|
{%- endif -%} |
|
|
|
{%- if salt['pillar.get']('network:resolver:search', False) %} |
|
|
|
search: {{ salt['pillar.get']('network:resolver:search')|join(' ') }} |
|
|
|
search {{ salt['pillar.get']('network:resolver:search')|join(' ') }} |
|
|
|
{%- endif -%} |
|
|
|
{%- if salt['pillar.get']('network:resolver:nameservers', False) -%} |
|
|
|
{%- for n in salt['pillar.get']('network:resolver:nameservers') %} |
|
|
|
nameserver: {{ n }} |
|
|
|
nameserver {{ n }} |
|
|
|
{%- endfor -%} |
|
|
|
{%- endif -%} |
|
|
|
{%- if salt['pillar.get']('network:resolver:options', False) %} |
|
|
|
options: {{ salt['pillar.get']('network:resolver:options')|join(' ') }} |
|
|
|
options {{ salt['pillar.get']('network:resolver:options')|join(' ') }} |
|
|
|
{%- endif -%} |
|
|
|
{%- if salt['pillar.get']('network:resolver:file_append', False) %} |
|
|
|
{{ salt['pillar.get']('network:resolver:file_append') }} |