server_tools install just for debian and fedora

This commit is contained in:
Tobias Herre 2023-10-24 23:44:48 +02:00
parent aacf5ee4e0
commit 627e30b2e7
1 changed files with 3 additions and 0 deletions

3
lib.cf
View File

@ -206,6 +206,8 @@ commands:
bundle agent install_server_tools bundle agent install_server_tools
{ {
vars: vars:
debian|fedora|centos::
"pkgs" slist => { "pkgs" slist => {
"net-tools", "net-tools",
"telnet", "telnet",
@ -213,6 +215,7 @@ vars:
"nmap" "nmap"
}; };
methods: methods:
debian|fedora|centos::
"any" usebundle => wmde_install_packages(@(pkgs),"server_tools"); "any" usebundle => wmde_install_packages(@(pkgs),"server_tools");
} }