Browse Source

Fixing tag name to prepend aws identifier.

Kenny Woodson 10 years ago
parent
commit
8bb0c7f24b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/aws_command.rb

+ 1 - 1
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}']"