summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/aws_command.rb11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/aws_command.rb b/lib/aws_command.rb
index 109542007..06a65aac1 100644
--- a/lib/aws_command.rb
+++ b/lib/aws_command.rb
@@ -76,16 +76,7 @@ module OpenShift
host_type = nil
if options[:name]
details = AwsHelper.get_host_details(options[:name])
-#- ah.extra_vars['oo_host_group_exp'] = options[:name]
-#- ah.extra_vars['oo_env'] = details['env']
-#- host_type = details['host-type']
-#+ ah.extra_vars['oo_host_group_exp'] = details['ec2_public_dns_name']
-#+ ah.extra_vars['oo_env'] = details['ec2_tag_environment']
-#+ host_type = details['ec2_tag_host-type']
-
-# ah.extra_vars['oo_host_group_exp'] = details['ec2_public_dns_name']
- ah.extra_vars['oo_host_group_exp'] = options[:name]
-# ah.extra_vars['oo_env'] = details['env']
+ ah.extra_vars['oo_host_group_exp'] = details['ec2_public_dns_name']
ah.extra_vars['oo_env'] = details['ec2_tag_environment']
host_type = details['ec2_tag_host-type']
elsif options[:type] && options[:env]