Added bundle to install server tools

This commit is contained in:
Tobias Herre 2023-10-24 22:46:25 +02:00
parent a362bc106a
commit fbfa6d7092
1 changed files with 17 additions and 0 deletions

17
lib.cf
View File

@ -201,3 +201,20 @@ commands:
args => "$(sys.workdir)/inputs/$(def.wmde_libdir)/scripts/install-php-repo.sh $(name) $(repo_src) $(key_src) $(key_name)";
}
bundle agent install_server_tools
{
vars:
"pkgs" slist => {
"net-tools",
"telnet",
"tcpdump",
"nmap"
};
methods:
"any" usebundle => wmde_install_packages(@(pkgs),"server_tools");
}