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