paulbsd-salt/states/misc/init.sls
Paul Lecuq 24500ff074
Some checks failed
continuous-integration/drone/push Build is failing
updated states (lints) / updated .drone.yml
2022-06-10 00:13:19 +02:00

19 lines
375 B
Plaintext

---
misc-public-dir:
file.directory:
- name: /home/public
- user: root
- group: root
- mode: "0755"
{%- for file in salt['pillar.get']('misc_files') %}
{{ file.name }}:
file.managed:
- name: {{ file.dest }}
- source: {{ file.src }}
- source_hash: sha256={{ file.checksum }}
- user: root
- group: root
- mode: "0644"
{%- endfor %}