summaryrefslogtreecommitdiffstats
path: root/modules/partofme
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-03-09 17:30:09 -0500
committerJesse Luehrs <doy@tozt.net>2019-03-09 17:30:42 -0500
commitf0e4a3914d0861cf947b343299cee0eb82a2d185 (patch)
tree637d63b580c35f1c18134e2fdb2a89076cc8c757 /modules/partofme
parenta1d4a3717a54b4d9777dcc91514f0db69360ce77 (diff)
downloadpuppet-tozt-f0e4a3914d0861cf947b343299cee0eb82a2d185.tar.gz
puppet-tozt-f0e4a3914d0861cf947b343299cee0eb82a2d185.zip
this one also needs a notify
Diffstat (limited to 'modules/partofme')
-rw-r--r--modules/partofme/manifests/monitoring.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/partofme/manifests/monitoring.pp b/modules/partofme/manifests/monitoring.pp
index 37a9c18..bb4fe9e 100644
--- a/modules/partofme/manifests/monitoring.pp
+++ b/modules/partofme/manifests/monitoring.pp
@@ -4,6 +4,12 @@ class partofme::monitoring {
include munin::duplicati
include munin::archlinux
+ file { '/etc/munin/plugin-conf.d/partofme':
+ source => 'puppet:///modules/partofme/munin-plugin-conf',
+ require => Package['munin-node'],
+ notify => Service["munin-node"];
+ }
+
munin::plugin {
[
'cpu',
@@ -48,11 +54,6 @@ class partofme::monitoring {
source => 'smart_';
}
- file { '/etc/munin/plugin-conf.d/partofme':
- source => 'puppet:///modules/partofme/munin-plugin-conf',
- require => Package['munin-node'];
- }
-
munin::plugin {
[
'duplicati_duration',