summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-09-07 13:38:49 -0400
committerEmilien Macchi <emilien@redhat.com>2016-09-07 15:01:33 -0400
commit488fb917a13d3a0780075a9356cda3783ccea002 (patch)
tree9b75e0a44580f388995950192b09e74abc126f52 /manifests
parentee31e5cd9dcaaf5e732b08beb8acf11d63c6828e (diff)
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
Diffstat (limited to 'manifests')
-rw-r--r--manifests/profile/base/gnocchi/metricd.pp4
-rw-r--r--manifests/profile/base/gnocchi/statsd.pp4
2 files changed, 6 insertions, 2 deletions
diff --git a/manifests/profile/base/gnocchi/metricd.pp b/manifests/profile/base/gnocchi/metricd.pp
index 4d7eb89..e69bbd5 100644
--- a/manifests/profile/base/gnocchi/metricd.pp
+++ b/manifests/profile/base/gnocchi/metricd.pp
@@ -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']
}
}
diff --git a/manifests/profile/base/gnocchi/statsd.pp b/manifests/profile/base/gnocchi/statsd.pp
index 775b043..1fe4067 100644
--- a/manifests/profile/base/gnocchi/statsd.pp
+++ b/manifests/profile/base/gnocchi/statsd.pp
@@ -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']
}
}