wmdeit-cf-wmdelib/wget.cf

28 lines
386 B
CFEngine3

#
#
#
bundle agent wget
{
vars:
freebsd::
"pkgs" slist => {"wget","curl"};
centos::
"pkgs" slist => {"wget","tar","bzip2","xz","unzip"};
debian::
"pkgs" slist => {"wget"};
any::
"exe" string => "/usr/bin/wget";
freebsd::
"exe" string => "/usr/local/bin/wget";
}
bundle agent install_wget
{
methods:
"any" usebundle => wmde_install_packages(@(wget.pkgs),"wget");
}