paulbsd-salt/states/burp/client/service.sls
2020-07-10 00:58:55 +02:00

19 lines
474 B
Plaintext

---
{%- from "burp/map.jinja" import burp with context %}
{%- if salt['grains.get']('init') == 'systemd' %}
burp-task:
file.managed:
- name: /etc/systemd/system/burp-backup.service
- source: salt://burp/burp-backup.service.j2
- user: root
- mode: 0644
- template: jinja
burp-timer:
file.managed:
- name: /etc/systemd/system/burp-backup.timer
- source: salt://burp/burp-backup.timer.j2
- user: root
- mode: 0644
- template: jinja
{%- endif %}