core/rails/app/models/barclamp_ipmi/ipmi_hammer.rb
# Power the node off.  This is an immediate action, the
# OS will not have a chance to clean up.
Power the node off.  This is an immediate action, the
OS will not have a chance to clean up.
Power the node off . This is an immediate action the OS will not have a chance to clean up .
def off
    Rails.logger.debug("IPMI: off: start")
    out,res = invoke("chassis power off")
    Rails.logger.debug("IPMI: off: result: #{out}")
    node.update!(alive: false) if out.strip =~ /Down\/Off$/
  end
def off Rails . logger . debug ( "IPMI: off: start" ) out , res = invoke ( "chassis power off" ) Rails . logger . debug ( "IPMI: off: result: #{out}" ) node . update! ( alive : false ) if out . strip =~ / Down \/ Off$ / end
Power the node off.
Power the node off .