summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Wiest <twiest@gmail.com>2014-10-30 17:32:31 -0400
committerThomas Wiest <twiest@gmail.com>2014-10-30 17:32:31 -0400
commitcb316a8e6527a5a33e6c7ea686b21c7992839bab (patch)
treefc1522606d3eaa7ed33d1dc547e6db7b16d5ae17 /lib
parentc292781afdcb57ee097f0840342b19a626d2a2c4 (diff)
parentccc72c0792f14c7a26513226746d8a18d3033e08 (diff)
downloadopenshift-cb316a8e6527a5a33e6c7ea686b21c7992839bab.tar.gz
openshift-cb316a8e6527a5a33e6c7ea686b21c7992839bab.tar.bz2
openshift-cb316a8e6527a5a33e6c7ea686b21c7992839bab.tar.xz
openshift-cb316a8e6527a5a33e6c7ea686b21c7992839bab.zip
Merge pull request #23 from twiest/pr
fixed cluster.sh to only run minion and master creation once, and to use -c if there are multiple needed. Also added nicer output.
Diffstat (limited to 'lib')
-rw-r--r--lib/aws_command.rb2
-rw-r--r--lib/gce_command.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/aws_command.rb b/lib/aws_command.rb
index b8ecb89ac..865901585 100644
--- a/lib/aws_command.rb
+++ b/lib/aws_command.rb
@@ -41,7 +41,7 @@ module OpenShift
ah.extra_vars['oo_new_inst_tags'].merge!(AwsHelper.generate_env_host_type_tag(options[:env], options[:type]))
puts
- puts 'Creating instance(s) in AWS...'
+ puts "Creating #{options[:count]} #{options[:type]} instance(s) in AWS..."
ah.ignore_bug_6407
# Make sure we're completely up to date before launching
diff --git a/lib/gce_command.rb b/lib/gce_command.rb
index ce3737a19..e8e00b746 100644
--- a/lib/gce_command.rb
+++ b/lib/gce_command.rb
@@ -42,7 +42,7 @@ module OpenShift
ah.extra_vars['oo_new_inst_tags'] << GceHelper.generate_env_host_type_tag(options[:env], options[:type])
puts
- puts 'Creating instance(s) in GCE...'
+ puts "Creating #{options[:count]} #{options[:type]} instance(s) in GCE..."
ah.ignore_bug_6407
ah.run_playbook("playbooks/gce/#{options[:type]}/launch.yml")