From: Emilien Macchi Date: Mon, 18 Jul 2016 14:23:34 +0000 (-0400) Subject: nova/api: purge archive_deleted_rows via cron X-Git-Tag: opnfv-6.0.0~673^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=97afe7df8acb9bd375ec6147d68f994493263736;p=apex-puppet-tripleo.git nova/api: purge archive_deleted_rows via cron The code was in THT before but now in the Nova API profile. Change-Id: I7035f7998c11dc5508dae8c1a750b93c2944b2d4 --- diff --git a/manifests/profile/base/nova/api.pp b/manifests/profile/base/nova/api.pp index 3b36c57..763dc41 100644 --- a/manifests/profile/base/nova/api.pp +++ b/manifests/profile/base/nova/api.pp @@ -46,5 +46,11 @@ class tripleo::profile::base::nova::api ( } include ::nova::network::neutron } + + if $step >= 5 { + if hiera('nova_enable_db_purge', true) { + include ::nova::cron::archive_deleted_rows + } + } }