summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:58:28 -0300
commit3f7490ed9ef74b5b524622ce9d90e80febdcc5c7 (patch)
treec0fb19d833a23e3bab3021223a52e1d2999f85a6 /manifests
parent415367c57823b1064becf3fe3deaed6f966118a2 (diff)
downloadpuppet-ntp-master.tar.gz
puppet-ntp-master.tar.bz2
Hiera 5 migrationHEADmaster
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 {