Consistent project name

Change-Id: Ic8984e6b3dbe1882bb792be783e2e865b9047d3a
This commit is contained in:
Tobias Urdin 2019-05-25 01:18:24 +02:00
parent 33574debba
commit 4a7a2ab549
5 changed files with 11 additions and 5 deletions

View File

@ -98,7 +98,7 @@ class neutron::plugins::midonet (
$midonet_cluster_port = '8181',
$keystone_username = 'neutron',
$keystone_password = $::os_service_default,
$keystone_tenant = 'service',
$keystone_tenant = 'services',
$sync_db = false,
$purge_config = false,
$package_ensure = 'present',

View File

@ -83,7 +83,7 @@
class neutron::plugins::ml2::bigswitch::restproxy (
$servers = $::os_service_default,
$server_auth = $::os_service_default,
$auth_tenant = 'service',
$auth_tenant = 'services',
$auth_password = false,
$auth_user = 'neutron',
$auth_url = false,

View File

@ -16,7 +16,7 @@
#
# [*project_id*]
# (optional) Name of the project that MidoNet admin user belongs to.
# Defaults to 'service'
# Defaults to 'services'
#
class neutron::plugins::ml2::midonet (
$midonet_uri,

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The default value for neutron::plugins::midonet::keystone_tenant and
neutron::plugins::ml2::bigswitch::restproxy::auth_tenant has been
changed from 'service' to 'services'.

View File

@ -30,7 +30,7 @@ describe 'neutron::plugins::ml2::bigswitch::restproxy' do
it do
should contain_neutron_plugin_ml2('restproxy/servers').with_value(params[:servers])
should contain_neutron_plugin_ml2('restproxy/server_auth').with_value(params[:server_auth])
should contain_neutron_plugin_ml2('restproxy/auth_tenant').with_value('service')
should contain_neutron_plugin_ml2('restproxy/auth_tenant').with_value('services')
should contain_neutron_plugin_ml2('restproxy/auth_password').with_value(false)
should contain_neutron_plugin_ml2('restproxy/auth_user').with_value('neutron')
should contain_neutron_plugin_ml2('restproxy/auth_url').with_value(false)
@ -69,7 +69,7 @@ describe 'neutron::plugins::ml2::bigswitch::restproxy' do
should contain_neutron_plugin_ml2('restproxy/servers').with_value(params[:servers])
should contain_neutron_plugin_ml2('restproxy/server_auth').with_value(params[:server_auth])
should contain_neutron_plugin_ml2('restproxy/auth_tenant').with_value('service')
should contain_neutron_plugin_ml2('restproxy/auth_tenant').with_value('services')
should contain_neutron_plugin_ml2('restproxy/auth_password').with_value(false)
should contain_neutron_plugin_ml2('restproxy/auth_user').with_value('neutron')
should contain_neutron_plugin_ml2('restproxy/auth_url').with_value(false)