From f206ba68ef5a4c28151127ca80435513a988200d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 10 Jun 2019 14:03:10 +0200 Subject: [PATCH] Fix the prometheus systemd unit of the node and haproxy exporters. Again. --- .../templates/haproxy_exporter.systemd.j2 | 2 +- .../prometheus-node-exporter/templates/node_exporter.systemd.j2 | 2 +- 2 files 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 0de4dbb..b070374 100644 --- a/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 +++ b/library/roles/prometheus-haproxy-exporter/templates/haproxy_exporter.systemd.j2 @@ -13,5 +13,5 @@ ExecStart={{ prometheus_h_e_cmd }} {{ prometheus_h_e_opts }} {{ prometheus_h_e_ [Install] WantedBy=multi-user.target -Alias=node_exporter.service +Alias=prometheus_haproxy_exporter.service diff --git a/library/roles/prometheus-node-exporter/templates/node_exporter.systemd.j2 b/library/roles/prometheus-node-exporter/templates/node_exporter.systemd.j2 index e7e5f12..bf0d103 100644 --- a/library/roles/prometheus-node-exporter/templates/node_exporter.systemd.j2 +++ b/library/roles/prometheus-node-exporter/templates/node_exporter.systemd.j2 @@ -13,5 +13,5 @@ ExecStart={{ prometheus_n_e_cmd }} {{ prometheus_n_e_opts }} {{ prometheus_n_e_ [Install] WantedBy=multi-user.target -Alias=node_exporter.service +Alias=prometheus_node_exporter.service