Merge pull request #253 from enovance/bug/88/emilien

compute/controller: use memcache for servicegroup api
This commit is contained in:
Sebastien Badia 2014-02-17 12:28:12 +01:00
commit f1350333d6
2 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,11 @@ class cloud::compute::controller(
host => $api_eth
}
# Extra configuration for compute controllers:
nova_config {
'DEFAULT/servicegroup_driver': value => 'mc';
}
@@haproxy::balancermember{"${::fqdn}-compute_api_ec2":
listening_service => 'ec2_api_cluster',
server_names => $::hostname,

View File

@ -119,6 +119,11 @@ describe 'cloud::compute::controller' do
:neutron_metadata_proxy_shared_secret => 'secrete'
)
end
it 'configure extra parameters' do
should contain_nova_config('DEFAULT/servicegroup_driver').with_value('mc')
end
end
context 'on Debian platforms' do