Add validations for keystone resource parameters
The underlying implementation already have type validations. Inherit these and make a few adjustment so that validation failures are raised from the external interface layer instead of the internal interface. Change-Id: Ia121d07235a2d6a55b3a6c45232bca802c811d72
This commit is contained in:
parent
51da4c48b8
commit
f03be59359
@ -77,23 +77,23 @@
|
||||
#
|
||||
class mistral::keystone::auth(
|
||||
String[1] $password,
|
||||
$email = 'mistral@localhost',
|
||||
$auth_name = 'mistral',
|
||||
$service_name = 'mistral',
|
||||
$service_type = 'workflowv2',
|
||||
$public_url = 'http://127.0.0.1:8989/v2',
|
||||
$admin_url = 'http://127.0.0.1:8989/v2',
|
||||
$internal_url = 'http://127.0.0.1:8989/v2',
|
||||
$region = 'RegionOne',
|
||||
$tenant = 'services',
|
||||
$roles = ['admin'],
|
||||
$system_scope = 'all',
|
||||
$system_roles = [],
|
||||
$configure_endpoint = true,
|
||||
$configure_service = true,
|
||||
$configure_user = true,
|
||||
$configure_user_role = true,
|
||||
$service_description = 'OpenStack Workflow Service',
|
||||
String[1] $email = 'mistral@localhost',
|
||||
String[1] $auth_name = 'mistral',
|
||||
String[1] $service_name = 'mistral',
|
||||
String[1] $service_type = 'workflowv2',
|
||||
Keystone::PublicEndpointUrl $public_url = 'http://127.0.0.1:8989/v2',
|
||||
Keystone::EndpointUrl $admin_url = 'http://127.0.0.1:8989/v2',
|
||||
Keystone::EndpointUrl $internal_url = 'http://127.0.0.1:8989/v2',
|
||||
String[1] $region = 'RegionOne',
|
||||
String[1] $tenant = 'services',
|
||||
Array[String[1]] $roles = ['admin'],
|
||||
String[1] $system_scope = 'all',
|
||||
Array[String[1]] $system_roles = [],
|
||||
Boolean $configure_endpoint = true,
|
||||
Boolean $configure_service = true,
|
||||
Boolean $configure_user = true,
|
||||
Boolean $configure_user_role = true,
|
||||
String[1] $service_description = 'OpenStack Workflow Service',
|
||||
) {
|
||||
|
||||
include mistral::deps
|
||||
|
Loading…
Reference in New Issue
Block a user