summaryrefslogtreecommitdiffstats
path: root/modules/certbot
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-15 01:08:13 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-15 01:08:13 -0400
commit29fd645619f044ccf207f6f09830c8ffa4867d65 (patch)
treefc9c3df9b35fa8486d6ec6331491496c876010af /modules/certbot
parentc667159ff4a6142f320377000e1bbff62f7ad377 (diff)
downloadpuppet-tozt-29fd645619f044ccf207f6f09830c8ffa4867d65.tar.gz
puppet-tozt-29fd645619f044ccf207f6f09830c8ffa4867d65.zip
update to actual tozt.net
Diffstat (limited to 'modules/certbot')
-rwxr-xr-xmodules/certbot/files/bootstrap-certbot6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/certbot/files/bootstrap-certbot b/modules/certbot/files/bootstrap-certbot
index cb496f8..b5b634d 100755
--- a/modules/certbot/files/bootstrap-certbot
+++ b/modules/certbot/files/bootstrap-certbot
@@ -2,8 +2,6 @@
set -eu
set -o pipefail
-# XXX update to real domain name
-
config_dir="$1"
if systemctl is-active -q nginx; then
is_running=1
@@ -44,7 +42,7 @@ if [ -z "$is_running" ]; then
fi
if [ -z "$config_dir" ]; then
- /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d new.tozt.net
+ /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net
else
- /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d new.tozt.net --config-dir "$config_dir"
+ /usr/bin/certbot -n --agree-tos -m doy@tozt.net --nginx -d tozt.net --config-dir "$config_dir"
fi