wmdeit-cf-wmdelib/wget.cf

26 lines
342 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-10-11 09:30:20 +00:00
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");
}