json_rpc: Fix the default project_name

In Puppet OpenStack modules, the "services" project is widely used as
the default project name. This change fixes the inconsistent default
value used.

Closes-Bug: #1941900
Change-Id: Ia10665056ad521ccb3a81c4490831da78bb5c45a
This commit is contained in:
Takashi Kajinami 2021-08-27 23:57:15 +09:00
parent e4cc88ec8d
commit 0c396db86c
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@
#
# [*project_name*]
# (optional) The Keystone project name.
# Defaults to 'service'
# Defaults to 'services'
#
# [*username*]
# (optional) The admin username for ironic to connect to json_rpc.
@ -82,7 +82,7 @@ class ironic::json_rpc (
$use_ssl = false,
$auth_type = 'password',
$auth_url = $::os_service_default,
$project_name = 'service',
$project_name = 'services',
$username = 'ironic',
$password = $::os_service_default,
$user_domain_name = 'Default',

View File

@ -20,7 +20,7 @@ describe 'ironic::json_rpc' do
let :default_params do
{ :auth_strategy => 'keystone',
:auth_type => 'password',
:project_name => 'service',
:project_name => 'services',
:use_ssl => false,
:username => 'ironic',
}