Do not start services until glance user_role exists

This ensures that the services will not start until they
can be authenticated.
This commit is contained in:
Dan Bode 2012-04-12 14:25:04 -07:00
parent 47ee87f17c
commit c73c4a8fcf
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ class glance::keystone::auth(
$port = '9292'
) {
Keystone_user_role["${auth_name}@services"] ~> Service <| name == 'glance-registry' |>
Keystone_user_role["${auth_name}@services"] ~> Service <| name == 'glance-api' |>
keystone_user { $auth_name:
ensure => present,
password => $password,