Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

feature: cleaner cluster launch exit status

exiting with 0 status instead of 1 when launching a cluster that is
already launched.

This addresses #343

Squashed commit of the following:

commit d84cd17869759aded212ba9e2ee57332a533958b
Author: Josh Bronson <josh.bronson@gmail.com>
Date:   Mon Feb 24 17:38:54 2014 -0600

    Version bump to 5.0.10

    Change-Id: I01622f2880d61aca0d7d2c4b06bf29df161fec89

commit c23ef64934efbeab0219a74ca8b931c7671e315e
Author: Josh Bronson <josh.bronson@gmail.com>
Date:   Mon Feb 24 17:38:37 2014 -0600

    exit status 0 instead of 1 when machines already launched

    Change-Id: I1a85c4c8f7d35fad9f56cf556fe5b0b7b9dbbe96

Change-Id: I0556717172cc8836ead1976e1b1b52e260f197b9
  • Loading branch information...
commit af299f9bd70e0e36a607a4f43e258e6959ac3ec6 1 parent 0126394
@joshbronson joshbronson authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/chef/knife/cluster_launch.rb
  2. +1 −1  lib/ironfan/version.rb
View
2  lib/chef/knife/cluster_launch.rb
@@ -69,7 +69,7 @@ def _run
warn_or_die_on_bogus_servers(full_target) unless full_target.select(&:bogus?).empty?
- die("", "#{ui.color("All computers are running -- not launching any.",:blue)}", "", 1) if target.empty?
+ die("", "#{ui.color("All computers are running -- not launching any.",:blue)}", "", 0) if target.empty?
# If a bootstrap was requested, ensure that we will be able to perform the
# bootstrap *before* trying to launch all of the servers in target. This
View
2  lib/ironfan/version.rb
@@ -1,3 +1,3 @@
module Ironfan
- VERSION = '5.0.9'
+ VERSION = '5.0.10'
end
Please sign in to comment.
Something went wrong with that request. Please try again.