diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-12 20:11:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-12 20:11:27 +0000 |
commit | d640ee35b846b90f41bcac179fcb5c8dac8f748a (patch) | |
tree | a2c0a929c29522ac45eacaf701c567277f65f7f8 | |
parent | 3e13b4648c620d281d6c01606fc5b3652bfe6680 (diff) | |
parent | 2c74f1d3655dee5b4e62fa6f4d31fc0e2b28ee5f (diff) |
Merge "Move gnocchi clustercheck to step 2"
-rw-r--r-- | manifests/profile/pacemaker/gnocchi.pp | 11 |
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 } |