summaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2016-07-11 13:02:19 +0200
committerCarlos Camacho <ccamacho@redhat.com>2016-07-12 17:26:49 +0200
commit2c74f1d3655dee5b4e62fa6f4d31fc0e2b28ee5f (patch)
tree6ac4cd0958b097d55682e80b017e3137a1525bd7 /manifests/profile
parent1a8b6aaeff4bad560b768575c1568c5dee5f43ac (diff)
Move gnocchi clustercheck to step 2
As not having guarantee of being installed on same node, the dbsync will be on step 3 and the clustercheck on 2. Change-Id: Id728aae79442c45ab48fe0914c065f1807e8890d
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/pacemaker/gnocchi.pp11
1 files changed, 7 insertions, 4 deletions
diff --git a/manifests/profile/pacemaker/gnocchi.pp b/manifests/profile/pacemaker/gnocchi.pp
index ad566b1..a6d472c 100644
--- a/manifests/profile/pacemaker/gnocchi.pp
+++ b/manifests/profile/pacemaker/gnocchi.pp
@@ -56,15 +56,18 @@ class tripleo::profile::pacemaker::gnocchi (
$pacemaker_master = false
}
- if $step >= 3 and $sync_db {
- include ::gnocchi
- include ::gnocchi::config
- include ::gnocchi::client
+ if $step >= 2 and $pacemaker_master {
if $gnocchi_indexer_backend == 'mysql' {
class { '::gnocchi::db::mysql':
require => Exec['galera-ready'],
}
}
+ }
+
+ if $step >= 3 and $sync_db {
+ include ::gnocchi
+ include ::gnocchi::config
+ include ::gnocchi::client
include ::gnocchi::db::sync
}