Merge "compute/api: crontab to move deleted instance rows to another database table"
This commit is contained in:
commit
ceceaac1b2
@ -97,6 +97,8 @@ class cloud::compute::api(
|
||||
}
|
||||
}
|
||||
|
||||
include 'nova::cron::archive_deleted_rows'
|
||||
|
||||
@@haproxy::balancermember{"${::fqdn}-compute_api_ec2":
|
||||
listening_service => 'ec2_api_cluster',
|
||||
server_names => $::hostname,
|
||||
|
@ -125,6 +125,10 @@ describe 'cloud::compute::api' do
|
||||
)
|
||||
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
|
||||
let :pre_condition do
|
||||
"class { 'cloud': manage_firewall => true }"
|
||||
|
Loading…
x
Reference in New Issue
Block a user