paulbsd-salt/states/bareos/config.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

22 lines
477 B
Plaintext

---
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
- source: salt://bareos/templates/bareos-fd.conf.j2
- user: root
- group: root
- mode: 0644
- template: jinja
- watch_in:
- service: bareos-fd-service
- require:
- file: bareos-fd-bin
- file: bareos-fd-config-dir