paulbsd-salt/states/influxdb/service.sls

15 lines
354 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "influxdb/map.jinja" import influxdb with context %}
influxdb-service-file:
file.managed:
- name: /etc/systemd/system/influxdb.service
- source: salt://influxdb/influxdb.service.j2
- user: root
- group: root
- mode: 644
- template: jinja
influxdb-service:
service.running:
- name: influxdb
- enable: True