瀏覽代碼

provide pillars for resolver config file attributes

tags/v0.1
Arnold Bechtoldt 10 年之前
父節點
當前提交
0a5c7c8f94
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      network/resolver.sls

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

@@ -7,9 +7,9 @@ resolver:
file:
- managed
- name: {{ datamap.resolver.path|default('/etc/resolv.conf') }}
- mode: 644
- user: root
- group: root
- mode: {{ datamap.resolver.mode|default(644) }}
- user: {{ datamap.resolver.user|default('root') }}
- group: {{ datamap.resolver.group|default('root') }}
- contents: |
{%- if salt['pillar.get']('network:resolver:file_prepend', False) %}
{{ salt['pillar.get']('network:resolver:file_prepend') }}

Loading…
取消
儲存