summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-01 22:58:53 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-01 22:58:53 -0400
commit3d7862efb9aeaa6e69eef61fc9f1f5281951efea (patch)
tree988aab123b20718f15d62361764a1fdb4409e4b1
parent858abbdb938f089fa51db435a781ddb4127896ab (diff)
downloadpuppet-tozt-3d7862efb9aeaa6e69eef61fc9f1f5281951efea.tar.gz
puppet-tozt-3d7862efb9aeaa6e69eef61fc9f1f5281951efea.zip
it should also restart the service
-rw-r--r--modules/tozt/manifests/prometheus.pp3
1 files changed, 2 insertions, 1 deletions
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 {