def faulty():
 fmadm = _check_fmadm()
 cmd = '{cmd} faulty'.format(cmd=fmadm)
 res = __salt__['cmd.run_all'](cmd)
 result = {}
 if (res['stdout'] == ''):
  result = False
 else:
  result = _parse_fmadm_faulty(res['stdout'])
 return result

def faulty ( ) : fmadm = _check_fmadm ( ) cmd = '{cmd} faulty' . format ( cmd = fmadm ) res = __salt__ [ 'cmd.run_all' ] ( cmd ) result = { } if ( res [ 'stdout' ] == '' ) : result = False else : result = _parse_fmadm_faulty ( res [ 'stdout' ] ) return result
display list of faulty resources cli example: .