Drop redundant default of send_service_user_token
The option defaults to False, so we don't need the explicit default and can replace it by os_service_default fact. Change-Id: Idd35189e279f3b6990f80c2eca80b7fa16c38e1f
This commit is contained in:
parent
885ed333e3
commit
51a01e3968
|
@ -34,7 +34,7 @@
|
||||||
#
|
#
|
||||||
# [*send_service_user_token*]
|
# [*send_service_user_token*]
|
||||||
# (Optional) The service uses service token feature when this is set as true
|
# (Optional) The service uses service token feature when this is set as true
|
||||||
# Defaults to 'false'
|
# Defaults to $facts['os_service_default']
|
||||||
#
|
#
|
||||||
# [*insecure*]
|
# [*insecure*]
|
||||||
# (Optional) If true, explicitly allow TLS without checking server cert
|
# (Optional) If true, explicitly allow TLS without checking server cert
|
||||||
|
@ -75,7 +75,7 @@ class nova::keystone::service_user(
|
||||||
$user_domain_name = 'Default',
|
$user_domain_name = 'Default',
|
||||||
$project_domain_name = 'Default',
|
$project_domain_name = 'Default',
|
||||||
$system_scope = $facts['os_service_default'],
|
$system_scope = $facts['os_service_default'],
|
||||||
$send_service_user_token = false,
|
$send_service_user_token = $facts['os_service_default'],
|
||||||
$insecure = $facts['os_service_default'],
|
$insecure = $facts['os_service_default'],
|
||||||
$auth_type = 'password',
|
$auth_type = 'password',
|
||||||
$auth_version = $facts['os_service_default'],
|
$auth_version = $facts['os_service_default'],
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe 'nova::keystone::service_user' do
|
||||||
:project_domain_name => 'Default',
|
:project_domain_name => 'Default',
|
||||||
:system_scope => '<SERVICE DEFAULT>',
|
:system_scope => '<SERVICE DEFAULT>',
|
||||||
:insecure => '<SERVICE DEFAULT>',
|
:insecure => '<SERVICE DEFAULT>',
|
||||||
:send_service_user_token => false,
|
:send_service_user_token => '<SERVICE DEFAULT>',
|
||||||
:auth_type => 'password',
|
:auth_type => 'password',
|
||||||
:auth_version => '<SERVICE DEFAULT>',
|
:auth_version => '<SERVICE DEFAULT>',
|
||||||
:cafile => '<SERVICE DEFAULT>',
|
:cafile => '<SERVICE DEFAULT>',
|
||||||
|
|
Loading…
Reference in New Issue