Removed 3rd parameter, becaus it's in site def too
This commit is contained in:
parent
2a4534bfa4
commit
73a45eafab
|
@ -42,10 +42,13 @@ packages:
|
||||||
handle => "certbot_installed";
|
handle => "certbot_installed";
|
||||||
}
|
}
|
||||||
|
|
||||||
bundle agent certbot_cert(site,webroot,domain)
|
bundle agent certbot_cert(site,webroot)
|
||||||
{
|
{
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
|
||||||
|
"domain" string => "$(site[domain])";
|
||||||
|
|
||||||
"site_json" string => storejson(@(site));
|
"site_json" string => storejson(@(site));
|
||||||
"args" string => string_mustache(
|
"args" string => string_mustache(
|
||||||
"-d {{domain}} {{#aliases}} -d {{.}} {{/aliases}}",
|
"-d {{domain}} {{#aliases}} -d {{.}} {{/aliases}}",
|
||||||
|
@ -72,6 +75,7 @@ classes:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
"webroot" string => "standalone";
|
"webroot" string => "standalone";
|
||||||
|
"domain" string => "$(site[domain])";
|
||||||
|
|
||||||
methods:
|
methods:
|
||||||
"any" usebundle => install_certbot;
|
"any" usebundle => install_certbot;
|
||||||
|
|
Loading…
Reference in New Issue