diff --git a/manifests/keystone/auth.pp b/manifests/keystone/auth.pp index cdb985e9..d5a426b8 100644 --- a/manifests/keystone/auth.pp +++ b/manifests/keystone/auth.pp @@ -43,6 +43,10 @@ # (Optional) Should the admin role be configured for the service user? # Defaults to true. # +# [*configure_service*] +# (Optional) Should the service be configurd? +# Defaults to True +# # [*service_type*] # (Optional) Type of service. # Defaults to 'load-balancer'. @@ -85,6 +89,7 @@ class octavia::keystone::auth ( Boolean $configure_endpoint = true, Boolean $configure_user = true, Boolean $configure_user_role = true, + Boolean $configure_service = true, String[1] $service_description = 'OpenStack Load Balancing Service', String[1] $service_name = 'octavia', String[1] $service_type = 'load-balancer', @@ -102,6 +107,7 @@ class octavia::keystone::auth ( configure_user => $configure_user, configure_user_role => $configure_user_role, configure_endpoint => $configure_endpoint, + configure_service => $configure_service, service_name => $service_name, service_type => $service_type, service_description => $service_description, diff --git a/releasenotes/notes/configure_service-6b3c1d06ebc42afa.yaml b/releasenotes/notes/configure_service-6b3c1d06ebc42afa.yaml new file mode 100644 index 00000000..875f4761 --- /dev/null +++ b/releasenotes/notes/configure_service-6b3c1d06ebc42afa.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + The new ``octavia::keystone::auth::configure_service`` parameter has been + added. diff --git a/spec/classes/octavia_keystone_auth_spec.rb b/spec/classes/octavia_keystone_auth_spec.rb index 77fedd95..3dffdfbe 100644 --- a/spec/classes/octavia_keystone_auth_spec.rb +++ b/spec/classes/octavia_keystone_auth_spec.rb @@ -15,6 +15,7 @@ describe 'octavia::keystone::auth' do :configure_user => true, :configure_user_role => true, :configure_endpoint => true, + :configure_service => true, :service_name => 'octavia', :service_type => 'load-balancer', :service_description => 'OpenStack Load Balancing Service', @@ -44,6 +45,7 @@ describe 'octavia::keystone::auth' do :configure_endpoint => false, :configure_user => false, :configure_user_role => false, + :configure_service => false, :service_description => 'Alternative OpenStack Load Balancing Service', :service_name => 'alt_service', :service_type => 'alt_load-balancer', @@ -57,6 +59,7 @@ describe 'octavia::keystone::auth' do :configure_user => false, :configure_user_role => false, :configure_endpoint => false, + :configure_service => false, :service_name => 'alt_service', :service_type => 'alt_load-balancer', :service_description => 'Alternative OpenStack Load Balancing Service',