From 011d5e028f86e9eeba1c05e251063b45004d210e Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 13 Jun 2009 15:41:24 +0200 Subject: put everything into its own file --- manifests/command.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/command.pp (limited to 'manifests/command.pp') 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], + } +} -- cgit v1.2.3