summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-04-25 16:25:28 +0000
committermh <mh@immerda.ch>2008-04-25 16:25:28 +0000
commit35bda1e2a6af7a7fefc7cfd3d670f1963e4361f5 (patch)
treed31384cd790801fad1df56a698ec30b283c4aa62 /manifests
parent5273240a93f6e1e78de99bff7c7c71d8d984343d (diff)
try to change inclusion
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
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,
}
}