0f17f75530
Change-Id: Iab36bc2ab6bb065035dbf4c88dbfabf6f5b4349e
35 lines
904 B
Puppet
35 lines
904 B
Puppet
# == Class: watcher::ironic_client
|
|
#
|
|
# Configure the ironic_client options
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*api_version*]
|
|
# (Optional) Version of Ironic API to use in ironicclient.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*endpoint_type*]
|
|
# (Optional) Type of endpoint to use in ironicclient.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
# [*region_name*]
|
|
# (Optional) Region in Identify service catalog to use for communication
|
|
# with the OpenStack service.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class watcher::ironic_client (
|
|
$api_version = $::os_service_default,
|
|
$endpoint_type = $::os_service_default,
|
|
$region_name = $::os_service_default,
|
|
) {
|
|
|
|
include watcher::deps
|
|
include watcher::params
|
|
|
|
watcher_config {
|
|
'ironic_client/api_version': value => $api_version;
|
|
'ironic_client/endpoint_type': value => $endpoint_type;
|
|
'ironic_client/region_name': value => $region_name;
|
|
}
|
|
}
|