paulbsd-salt/states/misc/init.sls

19 lines
372 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
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: 644
{%- endfor %}