2020-07-10 00:58:55 +02:00
|
|
|
---
|
|
|
|
misc-public-dir:
|
|
|
|
file.directory:
|
|
|
|
- name: /home/public
|
|
|
|
- user: root
|
|
|
|
- group: root
|
2022-06-10 00:13:19 +02:00
|
|
|
- mode: "0755"
|
2020-07-10 00:58:55 +02:00
|
|
|
|
|
|
|
{%- for file in salt['pillar.get']('misc_files') %}
|
|
|
|
{{ file.name }}:
|
|
|
|
file.managed:
|
|
|
|
- name: {{ file.dest }}
|
2022-06-10 00:13:19 +02:00
|
|
|
- source: {{ file.src }}
|
|
|
|
- source_hash: sha256={{ file.checksum }}
|
2020-07-10 00:58:55 +02:00
|
|
|
- user: root
|
|
|
|
- group: root
|
2022-06-10 00:13:19 +02:00
|
|
|
- mode: "0644"
|
2020-07-10 00:58:55 +02:00
|
|
|
{%- endfor %}
|