Merge "compute/api: crontab to move deleted instance rows to another database table"

This commit is contained in:
Jenkins
2015-01-16 14:45:27 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ class cloud::compute::api(
} }
} }
include 'nova::cron::archive_deleted_rows'
@@haproxy::balancermember{"${::fqdn}-compute_api_ec2": @@haproxy::balancermember{"${::fqdn}-compute_api_ec2":
listening_service => 'ec2_api_cluster', listening_service => 'ec2_api_cluster',
server_names => $::hostname, server_names => $::hostname,

View File

@@ -125,6 +125,10 @@ describe 'cloud::compute::api' do
) )
end end
it 'configure a crontab that move deleted instance rows to another database table' do
is_expected.to contain_class('nova::cron::archive_deleted_rows')
end
context 'with default firewall enabled' do context 'with default firewall enabled' do
let :pre_condition do let :pre_condition do
"class { 'cloud': manage_firewall => true }" "class { 'cloud': manage_firewall => true }"