From 667b6a4e7a8b8f2b98a1eeee2279c9d2774cbddd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 May 2020 20:56:49 -0300 Subject: Hiera 5 migration --- manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index eff7bb9..4c4916a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,7 +1,7 @@ class etherpad( - $db_password = hiera('etherpad::db_password', ''), - $admin_password = hiera('etherpadd::admin_password', ''), - $api_key = hiera('etherpad::api_key', '') + $db_password = lookup('etherpad::db_password', undef, undef, ''), + $admin_password = lookup('etherpadd::admin_password', undef, undef, ''), + $api_key = lookup('etherpad::api_key', undef, undef, '') ) { case $db_password { -- cgit v1.2.3