Merge "Fix wrong handling of disabled users because of typo"

This commit is contained in:
Jenkins 2016-06-07 16:57:02 +00:00 committed by Gerrit Code Review
commit 3331f64916

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