From 35bda1e2a6af7a7fefc7cfd3d670f1963e4361f5 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 25 Apr 2008 16:25:28 +0000 Subject: try to change inclusion --- manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests') 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, } } -- cgit v1.2.3