|
|
|
|
|
|
|
|
{{ salt['pillar.get']('network:resolver:file_prepend') }} |
|
|
{{ salt['pillar.get']('network:resolver:file_prepend') }} |
|
|
{%- endif -%} |
|
|
{%- endif -%} |
|
|
{% if salt['pillar.get']('network:resolver:domain', False) %} |
|
|
{% if salt['pillar.get']('network:resolver:domain', False) %} |
|
|
domain: {{ salt['pillar.get']('network:resolver:domain') }} |
|
|
|
|
|
|
|
|
domain {{ salt['pillar.get']('network:resolver:domain') }} |
|
|
{%- endif -%} |
|
|
{%- endif -%} |
|
|
{%- if salt['pillar.get']('network:resolver:search', False) %} |
|
|
{%- 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 -%} |
|
|
{%- endif -%} |
|
|
{%- if salt['pillar.get']('network:resolver:nameservers', False) -%} |
|
|
{%- if salt['pillar.get']('network:resolver:nameservers', False) -%} |
|
|
{%- for n in salt['pillar.get']('network:resolver:nameservers') %} |
|
|
{%- for n in salt['pillar.get']('network:resolver:nameservers') %} |
|
|
nameserver: {{ n }} |
|
|
|
|
|
|
|
|
nameserver {{ n }} |
|
|
{%- endfor -%} |
|
|
{%- endfor -%} |
|
|
{%- endif -%} |
|
|
{%- endif -%} |
|
|
{%- if salt['pillar.get']('network:resolver:options', False) %} |
|
|
{%- 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 -%} |
|
|
{%- endif -%} |
|
|
{%- if salt['pillar.get']('network:resolver:file_append', False) %} |
|
|
{%- if salt['pillar.get']('network:resolver:file_append', False) %} |
|
|
{{ salt['pillar.get']('network:resolver:file_append') }} |
|
|
{{ salt['pillar.get']('network:resolver:file_append') }} |