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

12 lines
282 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.service
- source: salt://burp/burp.service.j2
- user: root
- mode: 0644
- template: jinja
{% endif %}