Fixes for CentOS

This commit is contained in:
Tube 2023-10-25 01:18:26 +02:00
parent 754865e877
commit d761d054f4
1 changed files with 14 additions and 15 deletions

View File

@ -11,11 +11,20 @@ vars:
freebsd:: freebsd::
"certbot_dir" string => "/usr/local/etc/letsencrypt"; "certbot_dir" string => "/usr/local/etc/letsencrypt";
"exe" string => "/usr/local/bin/certbot"; "exe" string => "/usr/local/bin/certbot";
"pkg" string => "py39-certbot"; "pkgs" slist => {"py39-certbot"};
debian:: debian::
"certbot_dir" string => "/etc/letsencrypt"; "certbot_dir" string => "/etc/letsencrypt";
"exe" string => "/usr/bin/certbot"; "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: defaults:
"wr" string => "standalone"; "wr" string => "standalone";
@ -28,17 +37,8 @@ reports:
bundle agent install_certbot bundle agent install_certbot
{ {
packages: methods:
"any" usebundle => wmde_install_packages( @(certbot.pkgs),"certbot"),
freebsd::
"$(certbot.pkg)"
policy => "present",
package_module => pkg,
handle => "certbot_installed";
debian::
"$(certbot.pkg)"
policy => "present",
package_module => apt_get,
handle => "certbot_installed"; handle => "certbot_installed";
files: files:
freebsd:: freebsd::
@ -112,7 +112,6 @@ commands:
args => "certonly --agree-tos -n $(webroot_arg) --expand --email $(site[email]) $(args)"; args => "certonly --agree-tos -n $(webroot_arg) --expand --email $(site[email]) $(args)";
reports: reports:
# "DOMAINS FOR: $(site[domain]) $(domains)";
} }