bundle to install system repos (centos)

This commit is contained in:
Tobias Herre 2023-10-27 21:32:14 +02:00
parent 07aec23f94
commit f9f22ea397
1 changed files with 12 additions and 0 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");
}