def get_(*keyname):
 mdata = _check_mdata_get()
 ret = {}
 if (len(keyname) == 0):
  keyname = list_()
 for k in keyname:
  if mdata:
   cmd = '{0} {1}'.format(mdata, k)
   res = __salt__['cmd.run_all'](cmd)
   ret[k] = (res['stdout'] if (res['retcode'] == 0) else '')
  else:
   ret[k] = ''
 return ret

def get_ ( * keyname ) : mdata = _check_mdata_get ( ) ret = { } if ( len ( keyname ) == 0 ) : keyname = list_ ( ) for k in keyname : if mdata : cmd = '{0} {1}' . format ( mdata , k ) res = __salt__ [ 'cmd.run_all' ] ( cmd ) ret [ k ] = ( res [ 'stdout' ] if ( res [ 'retcode' ] == 0 ) else '' ) else : ret [ k ] = '' return ret
get metadata keyname : string name of key .