Merge "compute/api: crontab to move deleted instance rows to another database table"
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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 }"
|
||||||
|
|||||||
Reference in New Issue
Block a user