paulbsd-salt/states/bareos/config.sls

22 lines
477 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
bareos-fd-config-dir:
file.directory:
- name: {{ bareos.config_dir }}
- user: root
- group: root
- mode: 0755
bareos-fd-config:
file.managed:
- name: {{ bareos.config_dir }}/bareos-fd.conf
2023-03-11 10:08:26 +01:00
- source: salt://bareos/templates/bareos-fd.conf.j2
2020-07-10 00:58:55 +02:00
- user: root
- group: root
- mode: 0644
- template: jinja
- watch_in:
- service: bareos-fd-service
- require:
- file: bareos-fd-bin
2021-08-19 21:15:24 +02:00
- file: bareos-fd-config-dir