Sha256: 38d7ff2d9d59387a4a84ef6a3b31f74bc3b18b72f4084942bd8aa27ff013a804

Contents?: true

Size: 255 Bytes

Versions: 48

Compression:

Stored size: 255 Bytes

Contents

require 'cloud66_agent/utils/server'

module Cloud66
	module Commands
		class Pulse
			def self.perform
				Utils::Server.send_pulse
				exit 0
			rescue => exc
				$logger.error "Command \"pulse\" failed: #{exc.message}"
				exit -1
			end
		end
	end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
cloud66_agent-1.4.5 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.4.4 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.4.3 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.4.2 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.4.1 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.4.0 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.3.1 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.3.0 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.8 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.7 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.6 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.5 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.5.beta2 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.5.beta1 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.4 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.4.beta1 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.3 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.2 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.1 lib/cloud66_agent/commands/pulse.rb
cloud66_agent-1.2.1.beta1 lib/cloud66_agent/commands/pulse.rb