Fixes get_section for future use
Addresses the #get_section in keystone.rb where the 'DEFAULT' value was hard- coded instead of using the variable. This was undetected so far because all calls are only made using 'DEFAULT'. Change-Id: I0ef026f8938394d69b484559afeb0550b80beeee
This commit is contained in:
parent
59a76f7317
commit
60bf2b048c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user