summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/defaults/plugins.pp4
-rw-r--r--manifests/plugin/jabber.pp10
2 files changed, 10 insertions, 4 deletions
diff --git a/manifests/defaults/plugins.pp b/manifests/defaults/plugins.pp
index b713354..abd8b52 100644
--- a/manifests/defaults/plugins.pp
+++ b/manifests/defaults/plugins.pp
@@ -6,9 +6,5 @@ class nagios::defaults::plugins {
source => 'nagios/plugins/check_dns2';
'check_dnsbl':
source => 'nagios/plugins/check_dnsbl';
- 'check_jabber_login':
- source => 'nagios/plugins/check_jabber_login';
}
- # for check_jabber_login
- require rubygems::xmpp4r
}
diff --git a/manifests/plugin/jabber.pp b/manifests/plugin/jabber.pp
new file mode 100644
index 0000000..380a5c0
--- /dev/null
+++ b/manifests/plugin/jabber.pp
@@ -0,0 +1,10 @@
+class nagios::plugins::jabber {
+
+ # for check_jabber_login
+ require rubygems::xmpp4r
+
+ nagios::plugin { 'check_jabber_login':
+ source => 'nagios/plugins/check_jabber_login'
+ }
+}
+