diff options
author | Steve Baker <sbaker@redhat.com> | 2016-02-12 14:07:25 +1300 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2016-02-12 14:07:25 +1300 |
commit | 04cc409c01270fde4703a921a429113e86353864 (patch) | |
tree | 9b794b86c2c049c7dd3e849acd94edd1a0bf9601 /puppet/manifests/overcloud_controller_pacemaker.pp | |
parent | 20fc1118fda24946ada541ebc435896253c2a911 (diff) |
Enable heat-manage purge_deleted cron job
Without this the heat database tables will grow without limit.
Change-Id: I687e733db1a73ebc2047609a03be768093010dd4
DependsOn: Ia2b80e5003450cd794ebb0c9ca72200ec8616e81
Diffstat (limited to 'puppet/manifests/overcloud_controller_pacemaker.pp')
-rw-r--r-- | puppet/manifests/overcloud_controller_pacemaker.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller_pacemaker.pp b/puppet/manifests/overcloud_controller_pacemaker.pp index a34d0709..95bf2f65 100644 --- a/puppet/manifests/overcloud_controller_pacemaker.pp +++ b/puppet/manifests/overcloud_controller_pacemaker.pp @@ -1028,6 +1028,7 @@ if hiera('step') >= 4 { $keystone_enable_db_purge = hiera('keystone_enable_db_purge', true) $nova_enable_db_purge = hiera('nova_enable_db_purge', true) $cinder_enable_db_purge = hiera('cinder_enable_db_purge', true) + $heat_enable_db_purge = hiera('heat_enable_db_purge', true) if $keystone_enable_db_purge { include ::keystone::cron::token_flush @@ -1038,6 +1039,9 @@ if hiera('step') >= 4 { if $cinder_enable_db_purge { include ::cinder::cron::db_purge } + if $heat_enable_db_purge { + include ::heat::cron::purge_deleted + } if $pacemaker_master { |