1 2 3 4 5 6 7 8 9
# manifests/service/ntp.pp class nagios::service::ntp { nagios::service{ "check_ntp_${hostname}": check_command => "check_ntp_time", host_name => $fqdn, } }