summaryrefslogtreecommitdiff
path: root/manifests/command.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-06-13 15:41:24 +0200
committermh <mh@immerda.ch>2009-06-13 15:41:24 +0200
commit011d5e028f86e9eeba1c05e251063b45004d210e (patch)
treef17baaca735ed3a0e4f2b184da53c04d63435f66 /manifests/command.pp
parent783ae21de4cadbd9e8e3cdf62d4b0d6039586d78 (diff)
put everything into its own file
Diffstat (limited to 'manifests/command.pp')
-rw-r--r--manifests/command.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/command.pp b/manifests/command.pp
new file mode 100644
index 0000000..066189c
--- /dev/null
+++ b/manifests/command.pp
@@ -0,0 +1,11 @@
+# just a wrapper to make the notify more easy
+define nagios::command(
+ $ensure = present,
+ $command_line
+){
+ nagios_command{$name:
+ ensure => $ensure,
+ command_line => $command_line,
+ notify => Service[nagios],
+ }
+}