aboutsummaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 22:39:55 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 22:39:55 -0200
commit611e45deeeef7afac139f1e4c71400df8c2154d2 (patch)
tree4b62d3165e67cf2a181e778ee3081ec4dfdd0fe4 /manifests/host.pp
parent4ae5426bfa4e274b23e8fba276d22a8254bdc4a2 (diff)
downloadpuppet-nodo-611e45deeeef7afac139f1e4c71400df8c2154d2.tar.gz
puppet-nodo-611e45deeeef7afac139f1e4c71400df8c2154d2.tar.bz2
Updating ntp declarations
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":