Pārlūkot izejas kodu

Add contents_pillar support for files managed by pillar

atp-proxy
Bruno Binet pirms 7 gadiem
vecāks
revīzija
b0bc29e120
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      linux/system/file.sls

+ 4
- 1
linux/system/file.sls Parādīt failu

@@ -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 %}

Notiek ielāde…
Atcelt
Saglabāt