Przeglądaj źródła

Add contents_pillar support for files managed by pillar

atp-proxy
Bruno Binet 7 lat temu
rodzic
commit
b0bc29e120
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      linux/system/file.sls

+ 4
- 1
linux/system/file.sls Wyświetl plik

@@ -11,6 +11,9 @@
{%- if file.contents is defined %}
- contents: {{ file.contents }}
{%- endif %}
{%- if file.contents_pillar is defined %}
- contents_pillar: {{ file.contents_pillar }}
{%- endif %}
- makedirs: {{ file.get('makedirs', 'True') }}
- user: {{ file.get('user', 'root') }}
- group: {{ file.get('group', 'root') }}
@@ -31,4 +34,4 @@

{%- endfor %}

{%- endif %}
{%- endif %}

Ładowanie…
Anuluj
Zapisz