Removed 3rd parameter, becaus it's in site def too

This commit is contained in:
Tobias Herre 2023-09-27 22:06:40 +02:00
parent 2a4534bfa4
commit 73a45eafab
1 changed files with 6 additions and 2 deletions

View File

@ -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;