aboutsummaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 42e739d..88e9005 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -27,9 +27,10 @@ class nodo::host inherits nodo {
}
# Time configuration
+ $ntpdate = hiera('nodo::host::ntpdate', True)
case $ntpdate {
- false: { include timezone }
- default: { include ntpdate }
+ false: { class { 'timezone': } }
+ default: { class { 'ntpdate': } }
}
backupninja::sys { "sys":