Fixes #6250,BZ1110012 - Define search_type for PuppetModule class