Browse Source

Merge pull request #42 from mceloud/master

fix options setting in resolv
tags/2016.12
Aleš Komárek 8 years ago
parent
commit
a7ccff36da
2 changed files with 7 additions and 1 deletions
  1. +4
    -0
      README.rst
  2. +3
    -1
      linux/files/resolv.conf

+ 4
- 0
README.rst View File

search: search:
- my.example.com - my.example.com
- example.com - example.com
options:
- ndots:5
- timeout:2
- attempts:2


Linux storage pillars Linux storage pillars
--------------------- ---------------------

+ 3
- 1
linux/files/resolv.conf View File

nameserver {{ nameserver }} nameserver {{ nameserver }}
{%- endfor %} {%- endfor %}
{%- if network.resolv.get('options', False) %} {%- if network.resolv.get('options', False) %}
options {{ options|sort|join(' ') }}
{%- for option in network.resolv.options %}
options {{ option }}
{%- endfor %}
{%- endif %} {%- endif %}

Loading…
Cancel
Save