summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp2
-rw-r--r--manifests/ntpdate.pp2
-rw-r--r--manifests/timezone.pp2
3 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a785276..8052037 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,6 +1,6 @@
# This class ensures ntp is up'n running and synchronizing with ntp servers.
class ntp(
- $servers = hiera('ntp::servers', '')
+ $servers = lookup('ntp::servers', undef, undef, '')
) {
class { 'ntp::timezone': }
diff --git a/manifests/ntpdate.pp b/manifests/ntpdate.pp
index ed858ba..d9b7bd8 100644
--- a/manifests/ntpdate.pp
+++ b/manifests/ntpdate.pp
@@ -1,5 +1,5 @@
class ntp::ntpdate(
- $pool = hiera('ntp::pool', '')
+ $pool = lookup('ntp::pool', undef, undef, '')
) {
class { 'ntp::timezone': }
diff --git a/manifests/timezone.pp b/manifests/timezone.pp
index a54676b..4b41815 100644
--- a/manifests/timezone.pp
+++ b/manifests/timezone.pp
@@ -1,5 +1,5 @@
class ntp::timezone(
- $zone = hiera('ntp::zone', '')
+ $zone = lookup('ntp::zone', undef, undef, '')
) {
case $zone {