Displaying 1 result from an estimated 1 matches for "nagios_cfg_dir".
2009 Apr 22
3
Exported Resources with keyword undef
...ensure => $ensure,
use => "generic-service-active",
host_name => $host_name ? {false => $hostname, default => $host_name},
check_command => $name,
tag => "nagios",
service_description => $service_description,
target => "$nagios_cfg_dir/services.cfg",
require => File["$nagios_cfg_dir/services.cfg"],
notify => Exec["nagios-reload"],
}
@@nagios_service {"@@$name on $hostname":
ensure => $ensure,
use => "generic-service-passive",
host_name => $host_n...