Remove empty environment
This commit is contained in:
parent
1e3f84ed9b
commit
9c97cb4a58
@ -13,7 +13,6 @@ end
|
|||||||
# The renew cron will take care of renewing
|
# The renew cron will take care of renewing
|
||||||
execute "letsencrypt cert for 5apps xmpp" do
|
execute "letsencrypt cert for 5apps xmpp" do
|
||||||
command "./certbot-auto certonly --manual --preferred-challenges dns --manual-public-ip-logging-ok --agree-tos --manual-auth-hook \"/root/letsencrypt_hook.sh auth\" --manual-cleanup-hook \"/root/letsencrypt_hook.sh cleanup\" --deploy-hook letsencrypt_renew_hook --email ops@5apps.com -d 5apps.com -d muc.5apps.com -d xmpp.5apps.com -n"
|
command "./certbot-auto certonly --manual --preferred-challenges dns --manual-public-ip-logging-ok --agree-tos --manual-auth-hook \"/root/letsencrypt_hook.sh auth\" --manual-cleanup-hook \"/root/letsencrypt_hook.sh cleanup\" --deploy-hook letsencrypt_renew_hook --email ops@5apps.com -d 5apps.com -d muc.5apps.com -d xmpp.5apps.com -n"
|
||||||
environment
|
|
||||||
cwd "/usr/local/certbot"
|
cwd "/usr/local/certbot"
|
||||||
not_if do
|
not_if do
|
||||||
File.exist?("/etc/prosody/certs/5apps.com.crt")
|
File.exist?("/etc/prosody/certs/5apps.com.crt")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user