From 1aa8557626f809278d31f6d0e75a6c8f4452e57f Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 19 Jul 2008 15:09:59 +0000 Subject: factored out munin plugin --- manifests/init.pp | 2 +- manifests/munin.pp | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 manifests/munin.pp diff --git a/manifests/init.pp b/manifests/init.pp index be83ba0..537718d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,7 +11,7 @@ class squid { } if $use_munin { - include munin::plugins::squid + include squid::munin } } diff --git a/manifests/munin.pp b/manifests/munin.pp new file mode 100644 index 0000000..f2e555f --- /dev/null +++ b/manifests/munin.pp @@ -0,0 +1,8 @@ +# manifests/munin.pp + +class squid::munin { + munin::plugin{ 'squid_cache': config => "user root\nenv.squidhost localhost\nenv.squidport 80"} + munin::plugin{ 'squid_icp': } + munin::plugin{ 'squid_requests': } + munin::plugin{ 'squid_traffic': } +} -- cgit v1.2.3