We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c5f655 + 5a3ba40 commit e1d96ecCopy full SHA for e1d96ec
1 file changed
lib/puppet/provider/keystone_user_role/keystone.rb
@@ -183,6 +183,11 @@ def self.get_user(tenant_id, name)
183
@users["#{user[1]}@#{tenant_id}"] = user[0]
184
end
185
186
+ # If the user doesn't already have a role on this tenant,
187
+ # we need to look them up specifically
188
+ unless @users[user_key]
189
+ @users[user_key] = get_keystone_object('user', name, 'id')
190
+ end
191
@users[user_key]
192
193
0 commit comments