From 3d7862efb9aeaa6e69eef61fc9f1f5281951efea Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Jul 2021 22:58:53 -0400 Subject: it should also restart the service --- modules/tozt/manifests/prometheus.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/tozt/manifests/prometheus.pp b/modules/tozt/manifests/prometheus.pp index 758b86d..f842c86 100644 --- a/modules/tozt/manifests/prometheus.pp +++ b/modules/tozt/manifests/prometheus.pp @@ -12,7 +12,8 @@ class tozt::prometheus { ]; "/etc/conf.d/prometheus": source => "puppet:///modules/tozt/prometheus-service-conf", - require => Package["prometheus"]; + require => Package["prometheus"], + notify => Service["prometheus"]; } nginx::site { -- cgit v1.2.3-54-g00ecf