Browse Source

Add contents_pillar support for files managed by pillar

pull/141/head
Bruno Binet 7 years ago
parent
commit
b0bc29e120
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      linux/system/file.sls

+ 4
- 1
linux/system/file.sls View File

{%- if file.contents is defined %} {%- if file.contents is defined %}
- contents: {{ file.contents }} - contents: {{ file.contents }}
{%- endif %} {%- endif %}
{%- if file.contents_pillar is defined %}
- contents_pillar: {{ file.contents_pillar }}
{%- endif %}
- makedirs: {{ file.get('makedirs', 'True') }} - makedirs: {{ file.get('makedirs', 'True') }}
- user: {{ file.get('user', 'root') }} - user: {{ file.get('user', 'root') }}
- group: {{ file.get('group', 'root') }} - group: {{ file.get('group', 'root') }}


{%- endfor %} {%- endfor %}


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

Loading…
Cancel
Save