summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-02-13 15:43:10 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-02-13 15:43:10 -0500
commit1bbb46d608b8315830b4ffd4f853cf6e2215d994 (patch)
tree8d7865219b17cf5224a400050458ef5b2cb6d019 /lib
parent8bb0c7f24b4bafec77d6988639ae9f56396bf1a4 (diff)
downloadopenshift-1bbb46d608b8315830b4ffd4f853cf6e2215d994.tar.gz
openshift-1bbb46d608b8315830b4ffd4f853cf6e2215d994.tar.bz2
openshift-1bbb46d608b8315830b4ffd4f853cf6e2215d994.tar.xz
openshift-1bbb46d608b8315830b4ffd4f853cf6e2215d994.zip
Fixed a couple of other variables that were incorrect.
Diffstat (limited to 'lib')
-rw-r--r--lib/aws_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/aws_command.rb b/lib/aws_command.rb
index 2119630cf..5cbb7871b 100644
--- a/lib/aws_command.rb
+++ b/lib/aws_command.rb
@@ -76,8 +76,8 @@ 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']
+ 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]
oo_env_host_type_tag = AwsHelper.generate_env_host_type_tag_name(options[:env], options[:type])