]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-node-exporter: Fix systemd template
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 11 Jun 2019 14:46:35 +0000 (10:46 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 13 Jun 2019 05:37:26 +0000 (07:37 +0200)
069076b introduced a bug in the systemd unit script template. This
commit fixes the options used by the node-exporter container.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d0840217f3e8ffd3fe9d45fbd41b60444b70a290)

roles/ceph-node-exporter/templates/node_exporter.service.j2

index caad8baa97379ad27e79006ce1c8d3886e5b2010..cf9e6d629468dc7a3fcb609fc634f8e1f64d4cf0 100644 (file)
@@ -14,10 +14,10 @@ ExecStartPre=-/usr/bin/{{ container_binary }} rm -f node-exporter
 ExecStart=/usr/bin/{{ container_binary }} run --name=node-exporter \
   -v /proc:/host/proc:ro -v /sys:/host/sys:ro \
   --net=host \
-  {{ node_exporter_container_image }}
+  {{ node_exporter_container_image }} \
   --path.procfs=/host/proc \
   --path.sysfs=/host/sys \
-  --no-collector.timex \
+  --no-collector.timex
 ExecStop=-/usr/bin/{{ container_binary }} stop node-exporter
 Restart=always
 RestartSec=10s