diff options
author | 2017-03-28 18:22:56 +0000 | |
---|---|---|
committer | 2017-03-28 18:22:56 +0000 | |
commit | c128380c0b3661784528a05b424cc899042f0a14 (patch) | |
tree | e179598d8c4d614772df12168cf6e27625474c99 /manifests/profile/base/gnocchi | |
parent | a526c10ac920abd4b55321764221875c80dd3bb8 (diff) | |
parent | aec471a78d46d839e98026c4cb98acb412a7b424 (diff) |
Merge "Re-run gnocchi and ceilometer upgrade in step 5"
Diffstat (limited to 'manifests/profile/base/gnocchi')
-rw-r--r-- | manifests/profile/base/gnocchi/api.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/profile/base/gnocchi/api.pp b/manifests/profile/base/gnocchi/api.pp index 5b4c0c2..79ee265 100644 --- a/manifests/profile/base/gnocchi/api.pp +++ b/manifests/profile/base/gnocchi/api.pp @@ -100,4 +100,13 @@ class tripleo::profile::base::gnocchi::api ( default: { fail('Unrecognized gnocchi_backend parameter.') } } } + + # Re-run gnochci upgrade with storage as swift/ceph should be up at this + # stage. + if $step >= 5 and $sync_db { + exec {'run gnocchi upgrade with storage': + command => 'gnocchi-upgrade --config-file=/etc/gnocchi/gnocchi.conf', + path => ['/usr/bin', '/usr/sbin'], + } + } } |