Set bind_port in glance::api to $::os_service_default

Change-Id: I9e606a77f47ecceb22ca1a57adfa3e9d2be441f7
This commit is contained in:
Tobias Urdin 2023-02-23 15:09:21 +00:00
parent b809c17123
commit cad31f4a21
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
#
# [*bind_port*]
# (optional) The port the server should bind to.
# Default: 9292
# Default: $::os_service_default.
#
# [*backlog*]
# (optional) Backlog requests when creating socket
@ -273,7 +273,7 @@
class glance::api(
$package_ensure = 'present',
$bind_host = $::os_service_default,
$bind_port = '9292',
$bind_port = $::os_service_default,
$backlog = $::os_service_default,
$workers = $::os_workers,
$delayed_delete = $::os_service_default,

View File

@ -10,7 +10,7 @@ describe 'glance::api' do
let :default_params do
{
:bind_host => '<SERVICE DEFAULT>',
:bind_port => '9292',
:bind_port => '<SERVICE DEFAULT>',
:auth_strategy => 'keystone',
:enabled => true,
:manage_service => true,