paulbsd-salt/states/kopia/config.sls

22 lines
458 B
Plaintext
Raw Normal View History

2023-11-24 19:34:47 +01:00
---
{%- from "kopia/map.jinja" import kopia with context %}
kopia-config-dir:
file.directory:
- name: /etc/kopia
- user: root
- group: root
- mode: 700
- watch_in:
- service: kopia-service
kopia-config-file:
file.managed:
- name: /etc/kopia/kopia.conf
- source: salt://kopia/templates/kopia.conf.j2
- user: root
- group: root
- mode: 600
- template: jinja
- watch_in:
- service: kopia-service