aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 6 insertions, 1 deletions
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"