heat: manage heat user role before openrc

When /root/openrc is present, Puppet catalog will try to use it.
Though to use openrc, we need the admin user role in place otherwise
authentification will fail.

This patch makes sure the right orchestration happens.

Depends-On: I8a5ba016fc788bda1cd3f3d7666a78ba219d3ed3
Change-Id: I3ba651de5b40c49ee851a525424fb934f7a2575a
This commit is contained in:
Emilien Macchi 2016-02-25 13:34:53 -05:00
parent 3982ce6150
commit 076e37808e

View File

@ -34,6 +34,7 @@ class openstack_integration::heat {
class { '::heat::keystone::domain':
domain_password => 'oh_my_no_secret',
}
Keystone_user_role['heat_admin::heat@::heat'] -> File['/root/openrc']
class { '::heat::client': }
class { '::heat::api':
workers => '2',