def _get_template(path, option_key):
 with salt.utils.fopen(path, 'r') as template_f:
  template = deserialize(template_f)
  info = (option_key, template.get('description', ''), template)
 return info

def _get_template ( path , option_key ) : with salt . utils . fopen ( path , 'r' ) as template_f : template = deserialize ( template_f ) info = ( option_key , template . get ( 'description' , '' ) , template ) return info
get the contents of a template file and provide it as a module type .