aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/gnocchi/api.pp
diff options
context:
space:
mode:
authorAlex Schultz <aschultz@redhat.com>2017-04-12 10:34:07 -0600
committerAlex Schultz <aschultz@redhat.com>2017-04-12 10:34:07 -0600
commit9de4c92571fdbe342a20a68e4ee44feb55464007 (patch)
tree049587a07950556c51274067c658efbd16dd0c2a /manifests/profile/base/gnocchi/api.pp
parentcb2393f6e003cea01231e50b93a19498fd2067c5 (diff)
Move gnocchi wsgi configuration to step 3
We configure apache in step3 so we need to configure the gnocchi api in step 3 as well to prevent unnecessary service restarts during updates. Change-Id: I30010c9cf0b0c23fde5d00b67472979d519a15be Related-Bug: #1664418
Diffstat (limited to 'manifests/profile/base/gnocchi/api.pp')
-rw-r--r--manifests/profile/base/gnocchi/api.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/profile/base/gnocchi/api.pp b/manifests/profile/base/gnocchi/api.pp
index 79ee265..ce04abf 100644
--- a/manifests/profile/base/gnocchi/api.pp
+++ b/manifests/profile/base/gnocchi/api.pp
@@ -83,13 +83,15 @@ class tripleo::profile::base::gnocchi::api (
include ::gnocchi::db::sync
}
- if $step >= 4 {
+ if $step >= 3 {
include ::gnocchi::api
class { '::gnocchi::wsgi::apache':
ssl_cert => $tls_certfile,
ssl_key => $tls_keyfile,
}
+ }
+ if $step >= 4 {
class { '::gnocchi::storage':
coordination_url => join(['redis://:', hiera('gnocchi_redis_password'), '@', normalize_ip_for_uri(hiera('redis_vip')), ':6379/']),
}