summaryrefslogtreecommitdiff
path: root/manifests/manage.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:37:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:37:54 -0200
commitd962ce2c96e801578eaecd4ceb28b780284a3d69 (patch)
treefaf80b272446fddaaa3f362f590a0071dc2c02dc /manifests/manage.pp
parentb8f48c6b9b6727b03b29d829dce7af24eb5ff044 (diff)
downloadpuppet-certbot-d962ce2c96e801578eaecd4ceb28b780284a3d69.tar.gz
puppet-certbot-d962ce2c96e801578eaecd4ceb28b780284a3d69.tar.bz2
Adds non-interactive flag
Diffstat (limited to 'manifests/manage.pp')
-rw-r--r--manifests/manage.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/manage.pp b/manifests/manage.pp
index e09621a..7a3613c 100644
--- a/manifests/manage.pp
+++ b/manifests/manage.pp
@@ -27,7 +27,7 @@ define certbot::manage(
# Make sure nginx is restarted and request a certificate
exec { "certbot-${name}":
- command => "${real_pre_hook}${certbot::script_base}/${certbot::tool} certonly --webroot -w ${::certbot::basedir}/${name} -d ${name} ${domains} -m ${email} --rsa-key-size ${size} --agree-tos",
+ command => "${real_pre_hook}${certbot::script_base}/${certbot::tool} certonly -n --webroot -w ${::certbot::basedir}/${name} -d ${name} ${domains} -m ${email} --rsa-key-size ${size} --agree-tos",
creates => "/etc/letsencrypt/archive/${name}",
require => File["${::certbot::basedir}/${name}"],
}