wmdeit-cf-wmdelib/wget.cf

28 lines
386 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:
"any" usebundle => wmde_install_packages(@(wget.pkgs),"wget");
}