Class: ProconBypassMan::RemoteAction::RemotePbmJob::RebootOsAction

Inherits:
BaseAction
  • Object
show all
Defined in:
lib/procon_bypass_man/remote_action/remote_pbm_job/reboot_os_action.rb

Instance Attribute Summary

Attributes inherited from BaseAction

#pbm_job_uuid

Instance Method Summary collapse

Methods inherited from BaseAction

#initialize, #run!

Constructor Details

This class inherits a constructor from ProconBypassMan::RemoteAction::RemotePbmJob::BaseAction

Instance Method Details

#action_content(_args) ⇒ Object



6
7
8
9
# File 'lib/procon_bypass_man/remote_action/remote_pbm_job/reboot_os_action.rb', line 6

def action_content(_args)
  ProconBypassMan.logger.info "execute RebootOsAction!"
  `reboot`
end