Format list value for [fetcher_gnocchi] resource_types
Change-Id: I40f08692b262a7df36ab624afea12994c7429bc3
This commit is contained in:
@@ -4,31 +4,41 @@
|
|||||||
# == Parameters
|
# == Parameters
|
||||||
# [*scope_attribute*]
|
# [*scope_attribute*]
|
||||||
# Attribute from which scope_ids should be collected. (string value)
|
# Attribute from which scope_ids should be collected. (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*resource_types*]
|
# [*resource_types*]
|
||||||
# List of gnocchi resource types. All if left blank (list value)
|
# List of gnocchi resource types. All if left blank (list value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*gnocchi_auth_type*]
|
# [*gnocchi_auth_type*]
|
||||||
# Gnocchi auth type (keystone or basic). Keystone credentials can be
|
# Gnocchi auth type (keystone or basic). Keystone credentials can be
|
||||||
# specified through the "auth_section" parameter (string value)
|
# specified through the "auth_section" parameter (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*gnocchi_user*]
|
# [*gnocchi_user*]
|
||||||
# Gnocchi user (for basic auth only) (string value)
|
# Gnocchi user (for basic auth only) (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*gnocchi_endpoint*]
|
# [*gnocchi_endpoint*]
|
||||||
# Gnocchi endpoint (for basic auth only) (string value)
|
# Gnocchi endpoint (for basic auth only) (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*interface*]
|
# [*interface*]
|
||||||
# Endpoint URL type (for keystone auth only) (string value)
|
# Endpoint URL type (for keystone auth only) (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*region_name*]
|
# [*region_name*]
|
||||||
# Region Name (string value)
|
# Region Name (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
# [*auth_type*]
|
# [*auth_type*]
|
||||||
# Authentication type to load (string value)
|
# Authentication type to load (string value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
|
#
|
||||||
# [*auth_section*]
|
# [*auth_section*]
|
||||||
# Config Section from which to load plugin specific options (string
|
# Config Section from which to load plugin specific options (string
|
||||||
# value)
|
# value)
|
||||||
|
# Defaults to $facts['os_service_default'].
|
||||||
#
|
#
|
||||||
class cloudkitty::fetcher::gnocchi(
|
class cloudkitty::fetcher::gnocchi(
|
||||||
String $scope_attribute = $facts['os_service_default'],
|
String $scope_attribute = $facts['os_service_default'],
|
||||||
@@ -45,7 +55,7 @@ class cloudkitty::fetcher::gnocchi(
|
|||||||
|
|
||||||
cloudkitty_config {
|
cloudkitty_config {
|
||||||
'fetcher_gnocchi/scope_attribute': value => $scope_attribute;
|
'fetcher_gnocchi/scope_attribute': value => $scope_attribute;
|
||||||
'fetcher_gnocchi/resource_types': value => $resource_types;
|
'fetcher_gnocchi/resource_types': value => join(any2array($resource_types), ',');
|
||||||
'fetcher_gnocchi/gnocchi_auth_type': value => $gnocchi_auth_type;
|
'fetcher_gnocchi/gnocchi_auth_type': value => $gnocchi_auth_type;
|
||||||
'fetcher_gnocchi/gnocchi_user': value => $gnocchi_user;
|
'fetcher_gnocchi/gnocchi_user': value => $gnocchi_user;
|
||||||
'fetcher_gnocchi/gnocchi_endpoint': value => $gnocchi_endpoint;
|
'fetcher_gnocchi/gnocchi_endpoint': value => $gnocchi_endpoint;
|
||||||
|
Reference in New Issue
Block a user