Browse Source

Add file.managed replace Funktion. (#206)

* Update file.sls

add replace

* Update file.sls

update replace
pull/207/head
preussal 5 years ago
parent
commit
f3a3a6bf39
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      linux/system/file.sls

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

- name: {{ file_name }} - name: {{ file_name }}
{%- endif %} {%- endif %}
- makedirs: {{ file.get('makedirs', 'True') }} - makedirs: {{ file.get('makedirs', 'True') }}
- replace: {{ file.get('replace', 'True') }}
- user: {{ file.get('user', 'root') }} - user: {{ file.get('user', 'root') }}
- group: {{ file.get('group', 'root') }} - group: {{ file.get('group', 'root') }}
{%- if file.mode is defined %} {%- if file.mode is defined %}
{%- if file.encoding is defined %} {%- if file.encoding is defined %}
- encoding: {{ file.encoding }} - encoding: {{ file.encoding }}
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}


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

Loading…
Cancel
Save