22 lines
458 B
Plaintext
22 lines
458 B
Plaintext
|
---
|
||
|
{%- 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
|