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

index 0a68a6287bcf84817e477b4607f840aa04cfd278..14366f8d5051409ef44ae1ce7a0049332c5893d2 100644 (file)
@@ -3,8 +3,8 @@ define certbot::manage(
   $aliases  = "www.${name}",
   $ensure   = present,
   $plugin   = 'webroot',
-  $email    = hiera('certbot::manage::email'),
-  $size     = hiera('certbot::manage::size', '4096'),
+  $email    = lookup('certbot::manage::email'),
+  $size     = lookup('certbot::manage::size', undef, undef, '4096'),
 ){
   # Format aliases and strip wildcard attempts
   $list    = regsubst($aliases, ' ',  ' -d ', 'G')