Expose configure_service
This parameter has been implemented in the underlying defined resource type but was not configurable. Change-Id: I4e7ad2ea95f622be4353186752da46e90656ddd8
This commit is contained in:
@@ -43,6 +43,10 @@
|
|||||||
# (Optional) Should the admin role be configured for the service user?
|
# (Optional) Should the admin role be configured for the service user?
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
#
|
#
|
||||||
|
# [*configure_service*]
|
||||||
|
# (Optional) Should the service be configurd?
|
||||||
|
# Defaults to True
|
||||||
|
#
|
||||||
# [*service_type*]
|
# [*service_type*]
|
||||||
# (Optional) Type of service.
|
# (Optional) Type of service.
|
||||||
# Defaults to 'rating'.
|
# Defaults to 'rating'.
|
||||||
@@ -92,6 +96,7 @@ class cloudkitty::keystone::auth (
|
|||||||
Boolean $configure_endpoint = true,
|
Boolean $configure_endpoint = true,
|
||||||
Boolean $configure_user = true,
|
Boolean $configure_user = true,
|
||||||
Boolean $configure_user_role = true,
|
Boolean $configure_user_role = true,
|
||||||
|
Boolean $configure_service = true,
|
||||||
String[1] $service_name = 'cloudkitty',
|
String[1] $service_name = 'cloudkitty',
|
||||||
String[1] $service_description = 'OpenStack Rating Service',
|
String[1] $service_description = 'OpenStack Rating Service',
|
||||||
String[1] $service_type = 'rating',
|
String[1] $service_type = 'rating',
|
||||||
@@ -111,6 +116,7 @@ class cloudkitty::keystone::auth (
|
|||||||
configure_user => $configure_user,
|
configure_user => $configure_user,
|
||||||
configure_user_role => $configure_user_role,
|
configure_user_role => $configure_user_role,
|
||||||
configure_endpoint => $configure_endpoint,
|
configure_endpoint => $configure_endpoint,
|
||||||
|
configure_service => $configure_service,
|
||||||
service_name => $service_name,
|
service_name => $service_name,
|
||||||
service_type => $service_type,
|
service_type => $service_type,
|
||||||
service_description => $service_description,
|
service_description => $service_description,
|
||||||
|
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
The new ``cloudkitty::keystone::auth::configure_service`` parameter has
|
||||||
|
been added.
|
@@ -15,6 +15,7 @@ describe 'cloudkitty::keystone::auth' do
|
|||||||
:configure_user => true,
|
:configure_user => true,
|
||||||
:configure_user_role => true,
|
:configure_user_role => true,
|
||||||
:configure_endpoint => true,
|
:configure_endpoint => true,
|
||||||
|
:configure_service => true,
|
||||||
:service_name => 'cloudkitty',
|
:service_name => 'cloudkitty',
|
||||||
:service_type => 'rating',
|
:service_type => 'rating',
|
||||||
:service_description => 'OpenStack Rating Service',
|
:service_description => 'OpenStack Rating Service',
|
||||||
@@ -46,6 +47,7 @@ describe 'cloudkitty::keystone::auth' do
|
|||||||
:configure_endpoint => false,
|
:configure_endpoint => false,
|
||||||
:configure_user => false,
|
:configure_user => false,
|
||||||
:configure_user_role => false,
|
:configure_user_role => false,
|
||||||
|
:configure_service => false,
|
||||||
:service_description => 'Alternative OpenStack Rating Service',
|
:service_description => 'Alternative OpenStack Rating Service',
|
||||||
:service_name => 'alt_service',
|
:service_name => 'alt_service',
|
||||||
:service_type => 'alt_rating',
|
:service_type => 'alt_rating',
|
||||||
@@ -60,6 +62,7 @@ describe 'cloudkitty::keystone::auth' do
|
|||||||
:configure_user => false,
|
:configure_user => false,
|
||||||
:configure_user_role => false,
|
:configure_user_role => false,
|
||||||
:configure_endpoint => false,
|
:configure_endpoint => false,
|
||||||
|
:configure_service => false,
|
||||||
:service_name => 'alt_service',
|
:service_name => 'alt_service',
|
||||||
:service_type => 'alt_rating',
|
:service_type => 'alt_rating',
|
||||||
:service_description => 'Alternative OpenStack Rating Service',
|
:service_description => 'Alternative OpenStack Rating Service',
|
||||||
|
Reference in New Issue
Block a user