diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 9627b14..c17d4b5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -288,9 +288,10 @@ define nagios::service::ping($host_name = $hostname ){ host_name => $host_name, } } -define nagios::service::ntp($host_name = $hostname ){ + +class nagios::service::ntp { nagios::service{ "check_ntp_${hostname}": check_command => "check_ntp", - host_name => $host_name, + host_name => $fqdn, } } |