diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-03-09 17:28:46 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-03-09 17:28:46 -0500 |
commit | a1d4a3717a54b4d9777dcc91514f0db69360ce77 (patch) | |
tree | 7bb0c0ad4d5833c812ddc7691720604f26184a60 /modules/partofme | |
parent | f423b1cda2b98020d5b044c6ab1dd070e19085f7 (diff) | |
download | puppet-tozt-a1d4a3717a54b4d9777dcc91514f0db69360ce77.tar.gz puppet-tozt-a1d4a3717a54b4d9777dcc91514f0db69360ce77.zip |
also partofme
Diffstat (limited to 'modules/partofme')
-rw-r--r-- | modules/partofme/files/munin-plugin-conf | 6 | ||||
-rw-r--r-- | modules/partofme/files/munin-plugin-smart | 3 | ||||
-rw-r--r-- | modules/partofme/manifests/monitoring.pp | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/partofme/files/munin-plugin-conf b/modules/partofme/files/munin-plugin-conf new file mode 100644 index 0000000..ef4fe98 --- /dev/null +++ b/modules/partofme/files/munin-plugin-conf @@ -0,0 +1,6 @@ +[smart_*] +user root +group disk + +[package_updates] +user root diff --git a/modules/partofme/files/munin-plugin-smart b/modules/partofme/files/munin-plugin-smart deleted file mode 100644 index 82ff97b..0000000 --- a/modules/partofme/files/munin-plugin-smart +++ /dev/null @@ -1,3 +0,0 @@ -[smart_*] - user root - group disk diff --git a/modules/partofme/manifests/monitoring.pp b/modules/partofme/manifests/monitoring.pp index c78d447..37a9c18 100644 --- a/modules/partofme/manifests/monitoring.pp +++ b/modules/partofme/manifests/monitoring.pp @@ -48,8 +48,8 @@ class partofme::monitoring { source => 'smart_'; } - file { '/etc/munin/plugin-conf.d/smart': - source => 'puppet:///modules/partofme/munin-plugin-smart', + file { '/etc/munin/plugin-conf.d/partofme': + source => 'puppet:///modules/partofme/munin-plugin-conf', require => Package['munin-node']; } |