From 97afe7df8acb9bd375ec6147d68f994493263736 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Mon, 18 Jul 2016 10:23:34 -0400 Subject: nova/api: purge archive_deleted_rows via cron The code was in THT before but now in the Nova API profile. Change-Id: I7035f7998c11dc5508dae8c1a750b93c2944b2d4 --- manifests/profile/base/nova/api.pp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'manifests/profile/base') 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 + } + } } -- cgit 1.2.3-korg