瀏覽代碼

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

Loading…
取消
儲存