partialsearch not implemented in chef-client yet, will need a local def