浏览代码

sort resolver options (unsorted dict)

tags/v0.1
Arnold Bechtoldt 10 年前
父节点
当前提交
b5ab387c15
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      README.rst
  2. +1
    -1
      network/resolver.sls

+ 1
- 1
README.rst 查看文件

@@ -67,7 +67,7 @@ Salt Compatibility

Tested with:

* 2014.1.4
* 2014.1.x

OS Compatibility
================

+ 1
- 1
network/resolver.sls 查看文件

@@ -24,7 +24,7 @@ resolver:
{%- endfor -%}
{%- endif -%}
{%- if salt['pillar.get']('network:resolver:options', False) %}
options {{ salt['pillar.get']('network:resolver:options')|join(' ') }}
options {{ salt['pillar.get']('network:resolver:options')|sort|join(' ') }}
{%- endif -%}
{%- if salt['pillar.get']('network:resolver:file_append', False) %}
{{ salt['pillar.get']('network:resolver:file_append') }}

正在加载...
取消
保存