Skip to content

Commit

Permalink
service_identity: add user/role ordering
Browse files Browse the repository at this point in the history
If configure_user_role and configure_user are True, we may want to
ensure the user is created before role assignment.

Change-Id: Id21623619c65c5ff1970b43b2d6a3857410a1fd7
  • Loading branch information
Emilien Macchi committed Dec 7, 2014
1 parent 0df9701 commit 46673d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/resource/service_identity.pp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
'ensure' => 'present',
'roles' => $roles,
})
if $configure_user {
Keystone_user[$auth_name] -> Keystone_user_role["${auth_name}@${tenant}"]
}
}

if $configure_service {
Expand Down

0 comments on commit 46673d3

Please sign in to comment.