|
|
|
|
|
|
|
|
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') }} |
|
|
|
|
|
|
|
|
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') %} |