bundle nitsall_ostfix_pkgs added

This commit is contained in:
Tobias Herre 2023-10-31 17:21:09 +01:00
parent fc5c2ca129
commit ba5b0e2ed5
1 changed files with 12 additions and 1 deletions

View File

@ -81,7 +81,8 @@ users:
classes => if_repaired(postfix_repaired); classes => if_repaired(postfix_repaired);
methods: methods:
"any" usebundle => wmde_install_packages(@(pkgs),"postfix"); # "any" usebundle => wmde_install_packages(@(pkgs),"postfix");
"any" usebundle => install_postfix_pkgs;
"any" usebundle => wmde_service("$(service_name)","postfix_kept","postfix_repaired"), "any" usebundle => wmde_service("$(service_name)","postfix_kept","postfix_repaired"),
depends_on => { depends_on => {
"postfix_pkgs_installed", "postfix_pkgs_installed",
@ -246,3 +247,13 @@ reports:
} }
#
# Install postfix pacgages as they come from repos
# This sould also create the postfix user
#
bundle agent install_postfix_pkgs
{
methods:
"any" usebundle => wmde_install_packages(@(postfix.pkgs),"postfix");
}