aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-21 09:32:36 +0000
committerGerrit Code Review <review@openstack.org>2016-07-21 09:32:36 +0000
commitbd6655da39605b8d609269c98e6624fc8b88dbda (patch)
treeae9bedf2b812ac141689ed6a2b4c764fe7da6be9
parent32bb901d430a06b4dba0f8e8e8427dc31a1924b9 (diff)
parent97afe7df8acb9bd375ec6147d68f994493263736 (diff)
Merge "nova/api: purge archive_deleted_rows via cron"
-rw-r--r--manifests/profile/base/nova/api.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/base/nova/api.pp b/manifests/profile/base/nova/api.pp
index 9c7d295..285e0b7 100644
--- a/manifests/profile/base/nova/api.pp
+++ b/manifests/profile/base/nova/api.pp
@@ -49,5 +49,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
+ }
+ }
}