7a1aaa80ce
Change-Id: I759a4451982759ed3435d351b618b1b77cd96b11
39 lines
1.0 KiB
Puppet
39 lines
1.0 KiB
Puppet
# == Class: octavia::glance
|
|
#
|
|
# Setup and configure octavia.conf glance section.
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*service_name*]
|
|
# (Optional) The name of the glance service in the keystone catalog.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*endpoint*]
|
|
# (Optional) Custom glance endpoint if override is necessary.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*region_name*]
|
|
# (Optional) Region in catalog to use for glance.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*endpoint_type*]
|
|
# (Optional) Endpoint type in catalog to use for glance.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
class octavia::glance (
|
|
$service_name = $::os_service_default,
|
|
$endpoint = $::os_service_default,
|
|
$region_name = $::os_service_default,
|
|
$endpoint_type = $::os_service_default,
|
|
) {
|
|
|
|
include octavia::deps
|
|
|
|
octavia_config {
|
|
'glance/service_name': value => $service_name;
|
|
'glance/endpoint': value => $endpoint;
|
|
'glance/region_name': value => $region_name;
|
|
'glance/endpoint_type': value => $endpoint_type;
|
|
}
|
|
}
|