Fix wrong handling of disabled users because of typo

Change-Id: Iabe91f6a7c1c1e0fbd294a31601aebd24e4dfe1e
Related-bug: #1588342
This commit is contained in:
Saverio Proto 2016-06-02 14:25:34 +02:00
parent def8dd3984
commit c212003786

View File

@ -84,7 +84,7 @@ Puppet::Type.type(:keystone_user).provide(
@property_hash ||= {}
end
# This can happen in bad LDAP mapping
@property_hash[:enabled] = 'true' if @property_hash[:enable].nil?
@property_hash[:enabled] = 'true' if @property_hash[:enabled].nil?
return false if @property_hash.nil? || @property_hash[:id].nil?
true