neutron: update mysql param to upstream
Update belong http://git.io/gu1mtQ patch. Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
773c8180c6
commit
8ce76a068b
@ -35,14 +35,11 @@ class cloud::network::controller(
|
|||||||
$encoded_password = uriescape($neutron_db_password)
|
$encoded_password = uriescape($neutron_db_password)
|
||||||
|
|
||||||
class { 'neutron::server':
|
class { 'neutron::server':
|
||||||
auth_password => $ks_neutron_password,
|
auth_password => $ks_neutron_password,
|
||||||
auth_host => $ks_keystone_admin_host,
|
auth_host => $ks_keystone_admin_host,
|
||||||
auth_port => $ks_keystone_public_port,
|
auth_port => $ks_keystone_public_port,
|
||||||
# TODO(EmilienM) This one should work, but it's the case now. Don't drop it.
|
database_connection => "mysql://${encoded_user}:${encoded_password}@${neutron_db_host}/neutron?charset=utf8",
|
||||||
connection => "mysql://${encoded_user}:${encoded_password}@${neutron_db_host}/neutron?charset=utf8",
|
api_workers => $::processorcount
|
||||||
# TODO(EmilienM) Should be deprecated - bug GH#152
|
|
||||||
sql_connection => "mysql://${encoded_user}:${encoded_password}@${neutron_db_host}/neutron?charset=utf8",
|
|
||||||
api_workers => $::processorcount
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Note(EmilienM):
|
# Note(EmilienM):
|
||||||
|
@ -80,12 +80,11 @@ describe 'cloud::network::controller' do
|
|||||||
|
|
||||||
it 'configure neutron server' do
|
it 'configure neutron server' do
|
||||||
should contain_class('neutron::server').with(
|
should contain_class('neutron::server').with(
|
||||||
:auth_password => 'secrete',
|
:auth_password => 'secrete',
|
||||||
:auth_host => '10.0.0.1',
|
:auth_host => '10.0.0.1',
|
||||||
:auth_port => '5000',
|
:auth_port => '5000',
|
||||||
:connection => 'mysql://neutron:secrete@10.0.0.1/neutron?charset=utf8',
|
:database_connection => 'mysql://neutron:secrete@10.0.0.1/neutron?charset=utf8',
|
||||||
:sql_connection => 'mysql://neutron:secrete@10.0.0.1/neutron?charset=utf8',
|
:api_workers => '2'
|
||||||
:api_workers => '2'
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user