Patch 2 generalizes the problem to any Array which may appear in the future.
Change-Id: I2586de3ccdb698810a7f42ad5217e1020678d76a
Issue-ID: SO-563
Signed-off-by: Arthur Martella <am153x@att.com>
if "#{config_name}" == "consumerGroup" or "#{config_name}" == "consumerId"
asdc_client_configs[config_name] = "#{config_value}-#{node.chef_environment}#{node['hostname'][-1]}"
+ elsif config_value.class == Array or config_value.class == Chef::Node::ImmutableArray
+ asdc_client_configs[config_name] = config_value
else
asdc_client_configs[config_name] = "#{config_value}"
end