Sha256: 16968f1dd819ccfa7a46ddd401e365058cf8eb1eb205d25518d0fc68e5a71b1d
Contents?: true
Size: 279 Bytes
Versions: 5
Compression:
Stored size: 279 Bytes
Contents
Standup.script do self.description = 'Terminate nodes' def run return unless instance if bright_ask("Do you really want to terminate node #{node.name}? [yes/NO]").strip.downcase == 'yes' instance.terminate else bright_p "aborted" end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
standup-0.3.3 | scripts/terminate.rb |
standup-0.3.2 | scripts/terminate.rb |
standup-0.3.1 | scripts/terminate.rb |
standup-0.3.0 | scripts/terminate.rb |
standup-0.2.0 | scripts/terminate.rb |