diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-07 20:58:28 -0300 |
commit | 3f7490ed9ef74b5b524622ce9d90e80febdcc5c7 (patch) | |
tree | c0fb19d833a23e3bab3021223a52e1d2999f85a6 | |
parent | 415367c57823b1064becf3fe3deaed6f966118a2 (diff) | |
download | puppet-ntp-master.tar.gz puppet-ntp-master.tar.bz2 |
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/ntpdate.pp | 2 | ||||
-rw-r--r-- | manifests/timezone.pp | 2 |
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 { |