Sha256: a4b46ab0b496292e9f8e23bbb556f178dbc4c97d7dc19bb2da5ff7a07501a88e

Contents?: true

Size: 419 Bytes

Versions: 17

Compression:

Stored size: 419 Bytes

Contents

module ProconBypassMan
  module RemotePbmAction
    class RebootOsAction < BaseAction

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

      private

      def before_action_callback
        ProconBypassMan::ReportStartRebootJob.perform
        be_processed
      end

      def after_action_callback
        # no-op
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.5 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.4 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.3.1 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.3 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.2 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.1 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.3.0 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.2.3 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.2.2 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.2.1 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.2.0 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.23 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.22 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.21 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.20.2 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.20.1 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb
procon_bypass_man-0.1.20 lib/procon_bypass_man/remote_pbm_action/reboot_os_action.rb