paulbsd-salt/states/burp/client/service.sls

20 lines
475 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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
2021-08-19 21:15:24 +02:00
{%- endif %}