Merge "Fixes get_section for future use"

This commit is contained in:
Jenkins 2015-09-13 23:26:54 +00:00 committed by Gerrit Code Review
commit 1b6308a94d

View File

@ -96,7 +96,7 @@ class Puppet::Provider::Keystone < Puppet::Provider::Openstack
end
def self.get_section(group, name)
if keystone_file && keystone_file[group] && keystone_file['DEFAULT'][name]
if keystone_file && keystone_file[group] && keystone_file[group][name]
return keystone_file[group][name].strip
end
return nil