Added bundle to install server tools
This commit is contained in:
parent
a362bc106a
commit
fbfa6d7092
17
lib.cf
17
lib.cf
|
@ -201,3 +201,20 @@ commands:
|
||||||
args => "$(sys.workdir)/inputs/$(def.wmde_libdir)/scripts/install-php-repo.sh $(name) $(repo_src) $(key_src) $(key_name)";
|
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");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue