|
|
|
|
|
|
|
|
{%- for file_name, file in system.file.items() %} |
|
|
{%- for file_name, file in system.file.items() %} |
|
|
|
|
|
|
|
|
linux_file_{{ file_name }}: |
|
|
linux_file_{{ file_name }}: |
|
|
{%- if file.serialize is defined %} |
|
|
|
|
|
|
|
|
{%- if file.absent is defined and file.absent is sameas true %} |
|
|
|
|
|
file.absent: |
|
|
|
|
|
|
|
|
|
|
|
{%- elif file.serialize is defined %} |
|
|
file.serialize: |
|
|
file.serialize: |
|
|
- formatter: {{ file.serialize }} |
|
|
- formatter: {{ file.serialize }} |
|
|
{%- if file.contents is defined %} |
|
|
{%- if file.contents is defined %} |
|
|
|
|
|
|
|
|
{%- elif file.contents_pillar is defined %} |
|
|
{%- elif file.contents_pillar is defined %} |
|
|
- dataset_pillar: {{ file.contents_pillar }} |
|
|
- dataset_pillar: {{ file.contents_pillar }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
{%- else %} |
|
|
{%- else %} |
|
|
file.managed: |
|
|
file.managed: |
|
|
{%- if file.source is defined %} |
|
|
{%- if file.source is defined %} |
|
|
|
|
|
|
|
|
{%- if file.encoding is defined %} |
|
|
{%- if file.encoding is defined %} |
|
|
- encoding: {{ file.encoding }} |
|
|
- encoding: {{ file.encoding }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{%- endfor %} |
|
|
{%- endfor %} |
|
|
|
|
|
|
|
|
{%- endif %} |
|
|
{%- endif %} |