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
|
2023-03-11 10:08:26 +01:00
|
|
|
- source: salt://influxdb/templates/influxdb.service.j2
|
2020-07-10 00:58:55 +02:00
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 644
|
|
|
|
- template: jinja
|
|
|
|
|
|
|
|
influxdb-service:
|
|
|
|
service.running:
|
|
|
|
- name: influxdb
|
2023-03-11 10:08:26 +01:00
|
|
|
- enable: true
|