Browse Source

removing useless bits in the resolver state file

tags/v0.1
Arnold Bechtoldt 10 years ago
parent
commit
7d958033de
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      network/resolver.sls

+ 4
- 4
network/resolver.sls View File

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

Loading…
Cancel
Save