Compare commits

...

2 Commits

Author SHA1 Message Date
Tobias Herre 2eee4dfedf Cares for epel-release on cento os 2023-10-27 21:32:41 +02:00
Tobias Herre f9f22ea397 bundle to install system repos (centos) 2023-10-27 21:32:14 +02:00
2 changed files with 15 additions and 1 deletions

12
lib.cf
View File

@ -242,4 +242,16 @@ methods:
}
bundle agent install_system_repos
{
vars:
"pkgs" slist => {};
centos::
"pkgs" slist => {
"epel-release"
};
methods:
"any" usebundle => wmde_install_packages(@(pkgs),"system_repos");
}

View File

@ -42,7 +42,9 @@ vars:
methods:
"any" usebundle => wmde_install_packages(@(strongswan.pkgs),"strongswan");
"any" usebundle => install_system_repos;
"any" usebundle => wmde_install_packages(@(strongswan.pkgs),"strongswan"),
depends_on => {"system_repos_pkgs_installed"};
"any" usebundle => wmde_service("$(strongswan.service_name)","strongswan_kept","strongswan_repaired"),
depends_on => @(service_deps);
files: