diff options
Diffstat (limited to 'manifests/command.pp')
-rw-r--r-- | manifests/command.pp | 11 |
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], + } +} |