wmdeit-cf-wmdelib/wget.cf

29 lines
414 B
CFEngine3
Raw Normal View History

#
#
#
2023-10-11 09:30:20 +00:00
bundle agent wget
{
vars:
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-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:
2023-11-16 20:26:43 +00:00
"any" usebundle => wmde_install_packages(@(wget.pkgs),"wget"),
handle=>"wget_installed";
2023-10-11 09:30:20 +00:00
}