From 73a45eafab9115e5cbb24dff3ebbd9cda10f709b Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Wed, 27 Sep 2023 22:06:40 +0200 Subject: [PATCH] Removed 3rd parameter, becaus it's in site def too --- certbot.cf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/certbot.cf b/certbot.cf index c811c1e..64c0b18 100644 --- a/certbot.cf +++ b/certbot.cf @@ -42,10 +42,13 @@ packages: handle => "certbot_installed"; } -bundle agent certbot_cert(site,webroot,domain) +bundle agent certbot_cert(site,webroot) { vars: + + "domain" string => "$(site[domain])"; + "site_json" string => storejson(@(site)); "args" string => string_mustache( "-d {{domain}} {{#aliases}} -d {{.}} {{/aliases}}", @@ -71,7 +74,8 @@ classes: or => {no_cert_file, certbot_repaired}; defaults: - "webroot" string => "standalone"; + "webroot" string => "standalone"; + "domain" string => "$(site[domain])"; methods: "any" usebundle => install_certbot;