summaryrefslogtreecommitdiff
path: root/manifests/command.pp
blob: 066189c3b1a3db601798165443730a77b2ae24ef (plain)
1
2
3
4
5
6
7
8
9
10
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],
    }
}