scripts/status.rb in standup-0.3.3 vs scripts/status.rb in standup-0.3.4

- old
+ new

@@ -1,15 +1,18 @@ -Standup.script do +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}" - puts "SSH String: #{node.ssh_string}" else puts "Node: #{node.name}" puts "State: not running" end + end + + def self.execute + run_on_nodes Standup::Settings.nodes.keys end end