authtoken: Ensure correct type for password

... and make parameter order consistent in parameter descriptions and
parameter definitions.

Change-Id: I1eba204a1928f954aae116b97fe95e7dfce46b34
This commit is contained in:
Takashi Kajinami 2023-07-12 21:54:37 +09:00
parent 9174927541
commit ce4bf1e2f2
1 changed files with 4 additions and 4 deletions

View File

@ -4,13 +4,13 @@
#
# === Parameters
#
# [*password*]
# (Required) Password to create for the service user
#
# [*username*]
# (Optional) The name of the service user
# Defaults to 'cloudkitty'
#
# [*password*]
# (Required) Password to create for the service user
#
# [*auth_url*]
# (Optional) The URL to use for authentication.
# Defaults to 'http://localhost:5000'.
@ -191,7 +191,7 @@
# Defaults to $facts['os_service_default'].
#
class cloudkitty::keystone::authtoken(
$password,
String[1] $password,
$username = 'cloudkitty',
$auth_url = 'http://localhost:5000',
$project_name = 'services',