paulbsd-salt/states/gobackup/config.sls

15 lines
362 B
Plaintext
Raw Normal View History

2020-08-30 16:54:26 +02:00
---
{%- from "gobackup/map.jinja" import gobackup with context %}
gobackup-config-dir:
file.directory:
- name: {{ gobackup.config_dir }}
2024-01-03 13:30:00 +01:00
- user: root
- group: root
- mode: 700
2020-08-30 16:54:26 +02:00
gobackup-config-file:
file.managed:
- name: {{ gobackup.config_dir }}/gobackup.yml
- source: salt://gobackup/templates/gobackup.yml.j2
2020-09-01 20:13:17 +02:00
- template: jinja