Commit 4922e8e2 authored by Benjamin DUPUIS's avatar Benjamin DUPUIS
Browse files

fix

parent ebd2523d
......@@ -77,11 +77,8 @@ loki:
relabel_configs:
- source_labels: ['__journal__systemd_unit']
target_label: 'unit'
- source_labels:
- __journal__hostname
- source_labels: ['__journal__hostname']
target_label: hostname
- source_labels:
- __journal_syslog_identifier
- source_labels: ['__journal_syslog_identifier']
target_label: identifier
...
{% from "loki/map.jinja" import loki with context %}
promtail:
promtail_user:
user.present:
- name: promtail
- fullname: promtail daemon
- gid: systemd-journal
- system: True
......@@ -62,8 +63,9 @@ promtail_service_file:
- group: root
- mode: '0644'
promtail:
promtail_service:
service.running:
- name: promtail
- enable: True
- reload: True
- watch:
......
{% from "loki/map.jinja" import loki with context %}
loki:
loki_user:
user.present:
- name: loki
- fullname: loki daemon
- system: True
......@@ -53,8 +54,9 @@ loki_service_file:
- group: root
- mode: '0644'
loki:
loki_service:
service.running:
- name: loki
- enable: True
- reload: True
- watch:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment