compute/controller: use memcache for servicegroup api

Close bug #88

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi 2014-02-17 11:57:51 +01:00
parent 7d46f0c605
commit ed31e3a14b
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

@ -117,6 +117,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