boostrap: Validate interface

The interface parameter accepts only public, internal or admin. This
enforces this requirement using parameter type.

Change-Id: Iedbf8e2daf3f45232537c01df1c566641a231c79
This commit is contained in:
Takashi Kajinami 2024-04-14 00:38:30 +09:00
parent 39f908f43e
commit 2c0537d1a6
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class keystone::bootstrap (
Keystone::KeystonePublicEndpointUrl $public_url = 'http://127.0.0.1:5000',
Optional[Keystone::KeystoneEndpointUrl] $internal_url = undef,
String[1] $region = 'RegionOne',
String[1] $interface = 'public',
Enum['public', 'internal', 'admin'] $interface = 'public',
Boolean $bootstrap = true,
) inherits keystone::params {