paulbsd-salt/states/old/burp/client/service.sls
Paul Lecuq 385e486e90
Some checks failed
continuous-integration/drone/push Build is failing
moved burp state to old
2022-12-17 23:26:26 +01:00

20 lines
475 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 %}