paulbsd-salt/states/borg/install.sls
Paul Lecuq 1b59cdacdd * Update salt states
- bl module updated
- borg state updated
- config state updated
- netbox state updated
- nginx state updated
- misc updates
2022-02-21 13:52:46 +01:00

19 lines
384 B
Plaintext

---
{%- from "borg/map.jinja" import borg with context %}
borg-working-dir:
file.directory:
- name: {{ borg.working_dir }}
- mode: 0700
{% for dir in borg.default_dirs %}
borg-working-dir-{{ dir }}:
file.directory:
- name: {{ borg.working_dir }}/{{ dir }}
- mode: 0700
{% endfor %}
borg-log-dir:
file.directory:
- name: {{ borg.log_dir }}
- mode: 0700