summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-01 22:20:31 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-01 22:20:31 -0400
commita8c47b6f5f59cd8553f940ce9bd169849df8b151 (patch)
tree5905b75d8373411f1999f5e6055af0696d1bcc70
parent37bbb1ae6c92d5c25a343086821877784ba7e0c5 (diff)
downloadpuppet-tozt-a8c47b6f5f59cd8553f940ce9bd169849df8b151.tar.gz
puppet-tozt-a8c47b6f5f59cd8553f940ce9bd169849df8b151.zip
restart the prometheus server on changes
-rw-r--r--modules/prometheus/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prometheus/manifests/init.pp b/modules/prometheus/manifests/init.pp
index f8194d6..94d1e48 100644
--- a/modules/prometheus/manifests/init.pp
+++ b/modules/prometheus/manifests/init.pp
@@ -11,7 +11,7 @@ class prometheus {
service { "prometheus":
ensure => running,
enable => true,
- require => [
+ subscribe => [
Package['prometheus'],
File['/etc/prometheus/prometheus.yml'],
];