Fixes for CentOS
This commit is contained in:
parent
754865e877
commit
d761d054f4
29
certbot.cf
29
certbot.cf
|
@ -11,11 +11,20 @@ vars:
|
|||
freebsd::
|
||||
"certbot_dir" string => "/usr/local/etc/letsencrypt";
|
||||
"exe" string => "/usr/local/bin/certbot";
|
||||
"pkg" string => "py39-certbot";
|
||||
"pkgs" slist => {"py39-certbot"};
|
||||
debian::
|
||||
"certbot_dir" string => "/etc/letsencrypt";
|
||||
"exe" string => "/usr/bin/certbot";
|
||||
"pkg" string => "certbot";
|
||||
"pkgs" slist => {"certbot"};
|
||||
centos::
|
||||
"certbot_dir" string => "/etc/letsencrypt";
|
||||
"exe" string => "/usr/bin/certbot";
|
||||
"pkgs" slist => {"epel-release","certbot"};
|
||||
fedora::
|
||||
"certbot_dir" string => "/etc/letsencrypt";
|
||||
"exe" string => "/usr/bin/certbot";
|
||||
"pkgs" slist => {"certbot"};
|
||||
|
||||
|
||||
defaults:
|
||||
"wr" string => "standalone";
|
||||
|
@ -28,18 +37,9 @@ reports:
|
|||
bundle agent install_certbot
|
||||
{
|
||||
|
||||
packages:
|
||||
|
||||
freebsd::
|
||||
"$(certbot.pkg)"
|
||||
policy => "present",
|
||||
package_module => pkg,
|
||||
handle => "certbot_installed";
|
||||
debian::
|
||||
"$(certbot.pkg)"
|
||||
policy => "present",
|
||||
package_module => apt_get,
|
||||
handle => "certbot_installed";
|
||||
methods:
|
||||
"any" usebundle => wmde_install_packages( @(certbot.pkgs),"certbot"),
|
||||
handle => "certbot_installed";
|
||||
files:
|
||||
freebsd::
|
||||
"/etc/cron.d/certbot"
|
||||
|
@ -112,7 +112,6 @@ commands:
|
|||
args => "certonly --agree-tos -n $(webroot_arg) --expand --email $(site[email]) $(args)";
|
||||
|
||||
reports:
|
||||
# "DOMAINS FOR: $(site[domain]) $(domains)";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue