Browse Source

Merge pull request #141 from bbinet/file-contents_pillar

Add contents_pillar support for files managed by pillar
pull/142/head
Filip Pytloun 7 years ago
parent
commit
5f7144a35e
No account linked to committer's email address
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