@@ -16,7 +16,7 @@ resolver: | |||
domain: {{ salt['pillar.get']('network:resolver:domain') }} | |||
{%- endif -%} | |||
{%- if salt['pillar.get']('network:resolver:search', False) %} | |||
search: {{ salt['pillar.get']('network:resolver:search') }} | |||
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') %} |
@@ -11,7 +11,9 @@ network: | |||
- name: eth2 | |||
resolver: | |||
domain: domain.local | |||
search: domain.local | |||
search: | |||
- domain.local | |||
- another.local | |||
nameservers: | |||
- 192.168.2.1 | |||
- 2002::beef |