Sha256: e8c2efbe012972c285b07d76f481fdb6b332e0624be8f3bc848ca0fa396cd977
Contents?: true
Size: 434 Bytes
Versions: 57
Compression:
Stored size: 434 Bytes
Contents
Standup.script :node do self.description = 'Check nodes status and display useful info' def run if instance puts "Node: #{node.name}" puts "State: #{instance.state}" puts "IP: #{instance.external_ip}" else puts "Node: #{node.name}" puts "State: not running" end end def self.execute run_on_nodes Standup::Settings.nodes.keys end end
Version data entries
57 entries across 57 versions & 1 rubygems