Code Review
/
apex-puppet-tripleo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b613e77
)
nova/api: purge archive_deleted_rows via cron
author
Emilien Macchi
<emilien@redhat.com>
Mon, 18 Jul 2016 14:23:34 +0000
(10:23 -0400)
committer
Emilien Macchi
<emilien@redhat.com>
Mon, 18 Jul 2016 14:23:34 +0000
(10:23 -0400)
The code was in THT before but now in the Nova API profile.
Change-Id: I7035f7998c11dc5508dae8c1a750b93c2944b2d4
manifests/profile/base/nova/api.pp
patch
|
blob
|
history
diff --git
a/manifests/profile/base/nova/api.pp
b/manifests/profile/base/nova/api.pp
index
3b36c57
..
763dc41
100644
(file)
--- 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
+ }
+ }
}