Code Review
/
apex-puppet-tripleo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1a8b6aa
)
Move gnocchi clustercheck to step 2
author
Carlos Camacho
<ccamacho@redhat.com>
Mon, 11 Jul 2016 11:02:19 +0000
(13:02 +0200)
committer
Carlos Camacho
<ccamacho@redhat.com>
Tue, 12 Jul 2016 15:26:49 +0000
(17:26 +0200)
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
manifests/profile/pacemaker/gnocchi.pp
patch
|
blob
|
history
diff --git
a/manifests/profile/pacemaker/gnocchi.pp
b/manifests/profile/pacemaker/gnocchi.pp
index
ad566b1
..
a6d472c
100644
(file)
--- 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
}