From: Silvio Rhatto Date: Thu, 7 May 2020 23:56:49 +0000 (-0300) Subject: Hiera 5 migration X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=HEAD;p=puppet-etherpad.git Hiera 5 migration --- 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 {