2023-11-01 14:59:49 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
2023-10-11 09:30:20 +00:00
|
|
|
|
|
|
|
bundle agent wget
|
|
|
|
{
|
|
|
|
vars:
|
2023-11-01 14:59:49 +00:00
|
|
|
freebsd::
|
|
|
|
"pkgs" slist => {"wget","curl"};
|
|
|
|
centos::
|
|
|
|
"pkgs" slist => {"wget","tar","bzip2","xz","unzip"};
|
2023-11-10 13:23:46 +00:00
|
|
|
debian::
|
|
|
|
"pkgs" slist => {"wget"};
|
2023-11-01 14:59:49 +00:00
|
|
|
|
|
|
|
|
2023-11-10 13:23:46 +00:00
|
|
|
any::
|
2023-10-27 23:12:58 +00:00
|
|
|
"exe" string => "/usr/bin/wget";
|
2023-10-11 09:30:20 +00:00
|
|
|
freebsd::
|
|
|
|
"exe" string => "/usr/local/bin/wget";
|
|
|
|
}
|
|
|
|
|
|
|
|
bundle agent install_wget
|
|
|
|
{
|
|
|
|
methods:
|
|
|
|
"any" usebundle => wmde_install_packages(@(wget.pkgs),"wget");
|
|
|
|
|
|
|
|
}
|