From: Silvio Rhatto Date: Thu, 21 Jan 2010 13:50:28 +0000 (-0200) Subject: Enhanced time config for nodo::server X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=98f4d52829cd41f0b738a655afbbf57c9831b288;p=puppet-nodo.git Enhanced time config for nodo::server --- 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"