Fixed agent/user ordering

Issue: CIRRUS-1329
Change-Id: Ia39825d579627eb283e27dad78d0624b429675ca
This commit is contained in:
Ryan Bak 2014-11-12 16:40:21 -07:00
parent 77ac4a80b0
commit 783b32a4bc
1 changed files with 3 additions and 0 deletions

View File

@ -160,12 +160,14 @@ class monasca::keystone::auth (
password => $admin_password,
email => $admin_email,
tenant => $tenant,
before => Service['monasca-agent'],
}
keystone_user { $agent_auth_name_real:
ensure => present,
password => $agent_password,
email => $agent_email,
tenant => $tenant,
before => Service['monasca-agent'],
}
}
@ -189,6 +191,7 @@ class monasca::keystone::auth (
ensure => present,
roles => ['monasca-agent', 'monitoring-delegate'],
require => [Keystone_role['monasca-agent'], Keystone_role['monitoring-delegate']],
before => Service['monasca-agent'],
}
}