From f0e4a3914d0861cf947b343299cee0eb82a2d185 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 9 Mar 2019 17:30:09 -0500 Subject: this one also needs a notify --- modules/partofme/manifests/monitoring.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules/partofme') 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', -- cgit v1.2.3-54-g00ecf