summaryrefslogtreecommitdiffstats
path: root/lib/aws_command.rb
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-02-13 15:10:29 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-02-13 15:10:29 -0500
commit8bb0c7f24b4bafec77d6988639ae9f56396bf1a4 (patch)
tree3f8273466366b13ad7b7db783189001f8c69107e /lib/aws_command.rb
parent2a179f6cdfb7ae39ab8dc9605418310da4dc4271 (diff)
downloadopenshift-8bb0c7f24b4bafec77d6988639ae9f56396bf1a4.tar.gz
openshift-8bb0c7f24b4bafec77d6988639ae9f56396bf1a4.tar.bz2
openshift-8bb0c7f24b4bafec77d6988639ae9f56396bf1a4.tar.xz
openshift-8bb0c7f24b4bafec77d6988639ae9f56396bf1a4.zip
Fixing tag name to prepend aws identifier.
Diffstat (limited to 'lib/aws_command.rb')
-rw-r--r--lib/aws_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aws_command.rb b/lib/aws_command.rb
index 1c3efc91c..2119630cf 100644
--- a/lib/aws_command.rb
+++ b/lib/aws_command.rb
@@ -78,7 +78,7 @@ module OpenShift
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']
+ 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])
ah.extra_vars['oo_host_group_exp'] = "groups['#{oo_env_host_type_tag}']"