Consistent project name
Change-Id: Ie177c0281918a5789042345b5fbe51c16b5b815e
This commit is contained in:
parent
037c45732f
commit
636c3d2a89
@ -31,7 +31,7 @@
|
||||
#
|
||||
# [*project_name*]
|
||||
# (optional) Project name to scope to
|
||||
# Defaults to 'service'
|
||||
# Defaults to 'services'
|
||||
#
|
||||
# [*region_name*]
|
||||
# (optional) Region name for connecting to nova
|
||||
@ -95,7 +95,7 @@ class manila::compute::nova (
|
||||
$cafile = $::os_service_default,
|
||||
$user_domain_name = 'Default',
|
||||
$project_domain_name = 'Default',
|
||||
$project_name = 'service',
|
||||
$project_name = 'services',
|
||||
$region_name = $::os_service_default,
|
||||
$endpoint_type = $::os_service_default,
|
||||
$username = 'nova',
|
||||
|
@ -31,7 +31,7 @@
|
||||
#
|
||||
# [*project_name*]
|
||||
# (optional) Project name to scope to
|
||||
# Defaults to 'service'
|
||||
# Defaults to 'services'
|
||||
#
|
||||
# [*region_name*]
|
||||
# (optional) Region name for connecting to neutron
|
||||
@ -113,7 +113,7 @@ class manila::network::neutron (
|
||||
$cafile = $::os_service_default,
|
||||
$user_domain_name = 'Default',
|
||||
$project_domain_name = 'Default',
|
||||
$project_name = 'service',
|
||||
$project_name = 'services',
|
||||
$region_name = $::os_service_default,
|
||||
$timeout = $::os_service_default,
|
||||
$endpoint_type = $::os_service_default,
|
||||
|
@ -38,7 +38,7 @@
|
||||
#
|
||||
# [*cinder_admin_tenant_name*]
|
||||
# (optional) Cinder admin tenant name
|
||||
# Defaults to 'service'
|
||||
# Defaults to 'services'
|
||||
#
|
||||
# [*cinder_admin_auth_url*]
|
||||
# (optional) Identity service url
|
||||
@ -52,7 +52,7 @@ class manila::volume::cinder (
|
||||
$cinder_cross_az_attach = true,
|
||||
$cinder_admin_username = 'cinder',
|
||||
$cinder_admin_password = undef,
|
||||
$cinder_admin_tenant_name = 'service',
|
||||
$cinder_admin_tenant_name = 'services',
|
||||
$cinder_admin_auth_url = 'http://localhost:5000/v3',
|
||||
) {
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The default value of manila::compute::nova::project_name,
|
||||
manila::network::neutron::project_name and
|
||||
manila::volume::cinder::cinder_admin_tenant_name has been changed from
|
||||
'service' to 'services'.
|
@ -41,7 +41,7 @@ describe 'manila::compute::nova' do
|
||||
is_expected.to contain_manila_config('nova/cafile').with_value('/etc/ssl/certs/ca.crt')
|
||||
is_expected.to contain_manila_config('nova/user_domain_name').with_value('Default')
|
||||
is_expected.to contain_manila_config('nova/project_domain_name').with_value('Default')
|
||||
is_expected.to contain_manila_config('nova/project_name').with_value('service')
|
||||
is_expected.to contain_manila_config('nova/project_name').with_value('services')
|
||||
is_expected.to contain_manila_config('nova/region_name').with_value('RegionOne')
|
||||
is_expected.to contain_manila_config('nova/endpoint_type').with_value('publicURL')
|
||||
is_expected.to contain_manila_config('nova/username').with_value('novav1')
|
||||
|
@ -48,7 +48,7 @@ describe 'manila::network::neutron' do
|
||||
is_expected.to contain_manila_config('neutron/cafile').with_value('/etc/ssl/certs/ca.crt')
|
||||
is_expected.to contain_manila_config('neutron/user_domain_name').with_value('Default')
|
||||
is_expected.to contain_manila_config('neutron/project_domain_name').with_value('Default')
|
||||
is_expected.to contain_manila_config('neutron/project_name').with_value('service')
|
||||
is_expected.to contain_manila_config('neutron/project_name').with_value('services')
|
||||
is_expected.to contain_manila_config('neutron/region_name').with_value('RegionOne')
|
||||
is_expected.to contain_manila_config('neutron/timeout').with_value(30)
|
||||
is_expected.to contain_manila_config('neutron/endpoint_type').with_value('publicURL')
|
||||
|
Loading…
x
Reference in New Issue
Block a user