bundle agent wget
{
vars:
"pkgs" slist => {"wget","tar"};
"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");