summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-30 18:39:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-30 18:39:04 -0300
commit577c88822a01de27e208a824ba66a93ac9fb75c7 (patch)
treea87d748270e9e87cbe04b5cac51469945bb4cae7
parentacddc6dfb86baa8c0a2b88271d1043b7ea5347c4 (diff)
downloadpuppet-certbot-577c88822a01de27e208a824ba66a93ac9fb75c7.tar.gz
puppet-certbot-577c88822a01de27e208a824ba66a93ac9fb75c7.tar.bz2
Use webroot plugin by default
-rw-r--r--manifests/init.pp10
-rw-r--r--manifests/manage.pp2
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'),
){