]> gitweb.fluxo.info Git - puppet-certbot.git/commitdiff
Use webroot plugin by default
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 May 2018 21:39:04 +0000 (18:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 May 2018 21:39:04 +0000 (18:39 -0300)
manifests/init.pp
manifests/manage.pp

index bfd7210fc16505bc629543ce76df2a4ef6e7d005..96e16b1062489857c8445db2a7b692da57793727 100644 (file)
@@ -1,10 +1,10 @@
 class certbot(
   $script_base = '/usr/bin',
-  $basedir   = '/var/spool/certbot',
-  $owner     = 'www-data',
-  $pre_hook  = '',
-  $post_hook = '',
-  $plugin    = 'standalone',
+  $basedir     = '/var/spool/certbot',
+  $owner       = 'www-data',
+  $pre_hook    = '',
+  $post_hook   = '',
+  $plugin      = 'webroot',
 ) {
 
   $tool = $::lsbdistcodename ? {
index 77cc244be322726db18b4ceb2249e853c710fe64..0a68a6287bcf84817e477b4607f840aa04cfd278 100644 (file)
@@ -2,7 +2,7 @@ define certbot::manage(
   $pre_hook = '',
   $aliases  = "www.${name}",
   $ensure   = present,
-  $plugin   = 'standalone',
+  $plugin   = 'webroot',
   $email    = hiera('certbot::manage::email'),
   $size     = hiera('certbot::manage::size', '4096'),
 ){