Merge "Use strip for nova_region_name"

This commit is contained in:
Jenkins 2015-09-08 15:17:11 +00:00 committed by Gerrit Code Review
commit dd3432bbc7

View File

@ -42,7 +42,7 @@ class Puppet::Provider::Neutron < Puppet::Provider
creds['auth_uri'] = "#{q['auth_protocol']}://#{q['auth_host']}:#{q['auth_port']}/v2.0/"
end
if conf['DEFAULT'] and !conf['DEFAULT']['nova_region_name'].nil?
creds['nova_region_name'] = conf['DEFAULT']['nova_region_name']
creds['nova_region_name'] = conf['DEFAULT']['nova_region_name'].strip
end
return creds
else