From 98f4d52829cd41f0b738a655afbbf57c9831b288 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 21 Jan 2010 11:50:28 -0200 Subject: Enhanced time config for nodo::server --- manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index da844c0..6f05dd3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -68,7 +68,6 @@ class nodo { class nodo::server inherits nodo { include syslog-ng - include ntpdate include firewall include vserver::host include initramfs @@ -76,6 +75,12 @@ class nodo::server inherits nodo { include sysctl include ups + # Time configuration + case $ntpdate { + false: { include timezone } + default: { include ntpdate } + } + # DNS resolver $resolvconf_domain = "$domain" $resolvconf_search = "$fqdn" -- cgit v1.2.3