aboutsummaryrefslogtreecommitdiff
path: root/manifests/nagios.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-20 20:56:15 +0200
committermh <mh@immerda.ch>2010-10-20 20:56:15 +0200
commit988a88f4e62065b45c8e32f6f915e052ff394003 (patch)
tree519f4ffb6d35493355af2d25579a5d8550c73022 /manifests/nagios.pp
parentceb1280177cf28edbe5a60cd4169a43870cd192f (diff)
downloadpuppet-sshd-988a88f4e62065b45c8e32f6f915e052ff394003.tar.gz
puppet-sshd-988a88f4e62065b45c8e32f6f915e052ff394003.tar.bz2
move define to own class
Diffstat (limited to 'manifests/nagios.pp')
-rw-r--r--manifests/nagios.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/nagios.pp b/manifests/nagios.pp
new file mode 100644
index 0000000..5a5a5ed
--- /dev/null
+++ b/manifests/nagios.pp
@@ -0,0 +1,3 @@
+define sshd::nagios {
+ nagios::service{ "ssh_port_${name}": check_command => "check_ssh_port!$name" }
+}