38e2f554ca
Change-Id: Ib2d52cad692f6ba8152fb5183550719c5a711fb5
30 lines
765 B
Puppet
30 lines
765 B
Puppet
# == Class: magnum::clients::magnum
|
|
#
|
|
# Manages magnum clients configuration in magnum server
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*region_name*]
|
|
# (optional) Region in Identity service catalog to use for communication
|
|
# with the OpenStack service.
|
|
# Defaults to RegionOne
|
|
#
|
|
# [*endpoint_type*]
|
|
# (optional) Type of endpoint in Identity service catalog to use for
|
|
# communication with the OpenStack service.
|
|
# Defaults to publicURL
|
|
|
|
class magnum::clients::magnum(
|
|
$region_name = $magnum::clients::region_name,
|
|
$endpoint_type = $magnum::clietns::endpoint_type,
|
|
){
|
|
|
|
include ::magnum::deps
|
|
include ::magnum::params
|
|
|
|
magnum_config {
|
|
'magnum_client/region_name': value => $region_name;
|
|
'magnum_client/endpoint_type': value => $endpoint_type;
|
|
}
|
|
}
|