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}}",
@ -72,6 +75,7 @@ classes:
defaults:
"webroot" string => "standalone";
"domain" string => "$(site[domain])";
methods:
"any" usebundle => install_certbot;