def info_installed(*names):
 ret = dict()
 for (pkg_name, pkg_nfo) in __salt__['lowpkg.info'](*names).items():
  t_nfo = dict()
  for (key, value) in pkg_nfo.items():
   if (key == 'source_rpm'):
    t_nfo['source'] = value
   else:
    t_nfo[key] = value
  ret[pkg_name] = t_nfo
 return ret

def info_installed ( * names ) : ret = dict ( ) for ( pkg_name , pkg_nfo ) in __salt__ [ 'lowpkg.info' ] ( * names ) . items ( ) : t_nfo = dict ( ) for ( key , value ) in pkg_nfo . items ( ) : if ( key == 'source_rpm' ) : t_nfo [ 'source' ] = value else : t_nfo [ key ] = value ret [ pkg_name ] = t_nfo return ret
return the information of the named package(s) .