diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:20:31 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-01 22:20:31 -0400 |
commit | a8c47b6f5f59cd8553f940ce9bd169849df8b151 (patch) | |
tree | 5905b75d8373411f1999f5e6055af0696d1bcc70 | |
parent | 37bbb1ae6c92d5c25a343086821877784ba7e0c5 (diff) | |
download | puppet-tozt-a8c47b6f5f59cd8553f940ce9bd169849df8b151.tar.gz puppet-tozt-a8c47b6f5f59cd8553f940ce9bd169849df8b151.zip |
restart the prometheus server on changes
-rw-r--r-- | modules/prometheus/manifests/init.pp | 2 |
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'], ]; |