From a45761e9315bda383f2024ac10cb97506894b198 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 31 May 2019 18:43:57 +0200 Subject: [PATCH] Fix the prometheus user in the systemd service of the haproxy exporter. --- .../templates/haproxy_exporter.systemd.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 b/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 index 04ef1c28..726a6f6d 100644 --- a/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 +++ b/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 @@ -5,8 +5,8 @@ After=network.target [Service] Type=simple -User={{ prometheus_user }} -Group={{ prometheus_user }} +User={{ prometheus_h_e_user }} +Group={{ prometheus_h_e_user }} ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_additional_opts }} --collector.systemd