From 577c88822a01de27e208a824ba66a93ac9fb75c7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 May 2018 18:39:04 -0300 Subject: Use webroot plugin by default --- manifests/init.pp | 10 +++++----- manifests/manage.pp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index bfd7210..96e16b1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 ? { diff --git a/manifests/manage.pp b/manifests/manage.pp index 77cc244..0a68a62 100644 --- a/manifests/manage.pp +++ b/manifests/manage.pp @@ -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'), ){ -- cgit v1.2.3