gnocchi: move statsd and metricd at step5

Gnocchi statsd and metricd require Keystone resources to be in place
when using Swift backend, because those services will try to access to
Swift containers.

To do so, we want to move the service start at step 5 instead of 4 and
also require Keystone resource to be managed before starting the
services.

Change-Id: Ie5bc1481a8700c7cd080a76d0978146a84825767
Closes-Bug: #1621164
This commit is contained in:
Emilien Macchi 2016-09-07 13:38:49 -04:00
parent ee31e5cd9d
commit 488fb917a1
2 changed files with 6 additions and 2 deletions

View File

@ -28,7 +28,9 @@ class tripleo::profile::base::gnocchi::metricd (
) {
include ::tripleo::profile::base::gnocchi
if $step >= 4 {
if $step >= 5 {
include ::gnocchi::metricd
Keystone_endpoint<||> -> Service['gnocchi-metricd']
Keystone_user_role<||> -> Service['gnocchi-metricd']
}
}

View File

@ -28,7 +28,9 @@ class tripleo::profile::base::gnocchi::statsd (
) {
include ::tripleo::profile::base::gnocchi
if $step >= 4 {
if $step >= 5 {
include ::gnocchi::statsd
Keystone_endpoint<||> -> Service['gnocchi-statsd']
Keystone_user_role<||> -> Service['gnocchi-statsd']
}
}