]> gitweb.fluxo.info Git - puppet-etherpad.git/commitdiff
Hiera 5 migration master
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:56:49 +0000 (20:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 7 May 2020 23:56:49 +0000 (20:56 -0300)
manifests/init.pp

index eff7bb9f10aa5577e5df44ebeac216b383d9d28a..4c4916a9676dc3dc2103ba4d9484bea496f2114a 100644 (file)
@@ -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 {