aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2016-07-18 10:23:34 -0400
committerEmilien Macchi <emilien@redhat.com>2016-07-18 10:23:34 -0400
commit97afe7df8acb9bd375ec6147d68f994493263736 (patch)
treee2e54c4ecfdc8ffe1d710237a0ac80751f1d0b0e /manifests/profile
parentb613e77015a74f3f0e86049007a97d2851916db8 (diff)
nova/api: purge archive_deleted_rows via cron
The code was in THT before but now in the Nova API profile. Change-Id: I7035f7998c11dc5508dae8c1a750b93c2944b2d4
Diffstat (limited to 'manifests/profile')
-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 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
+ }
+ }
}