Replace legacy facts and use fact hash

... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib395d70d0d528adfef6600f67f9cd6bb238f8206
This commit is contained in:
Takashi Kajinami 2023-03-02 11:00:35 +09:00
parent 15c5b7148c
commit da45ce8a21
47 changed files with 626 additions and 630 deletions

@ -18,15 +18,15 @@
# [*bind_host*] # [*bind_host*]
# (Optional) Address to bind the server. Useful when # (Optional) Address to bind the server. Useful when
# selecting a particular network interface. # selecting a particular network interface.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*bind_port*] # [*bind_port*]
# (Optional) The port on which the server will listen. # (Optional) The port on which the server will listen.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*workers*] # [*workers*]
# (Optional) The number of workers to spawn. # (Optional) The number of workers to spawn.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_ssl*] # [*use_ssl*]
# (Optional) Whether to use ssl or not. # (Optional) Whether to use ssl or not.
@ -35,12 +35,12 @@
# [*cert_file*] # [*cert_file*]
# (Optional) Location of the SSL certificate file to use for SSL mode. # (Optional) Location of the SSL certificate file to use for SSL mode.
# Required when $use_ssl is set to 'true'. # Required when $use_ssl is set to 'true'.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Location of the SSL key file to use for enabling SSL mode. # (Optional) Location of the SSL key file to use for enabling SSL mode.
# Required when $use_ssl is set to 'true'. # Required when $use_ssl is set to 'true'.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*service_name*] # [*service_name*]
# (optional) Name of the service that will be providing the # (optional) Name of the service that will be providing the
@ -59,12 +59,12 @@ class heat::api (
$package_ensure = 'present', $package_ensure = 'present',
$manage_service = true, $manage_service = true,
$enabled = true, $enabled = true,
$bind_host = $::os_service_default, $bind_host = $facts['os_service_default'],
$bind_port = $::os_service_default, $bind_port = $facts['os_service_default'],
$workers = $::os_service_default, $workers = $facts['os_service_default'],
$use_ssl = false, $use_ssl = false,
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$service_name = $::heat::params::api_service_name, $service_name = $::heat::params::api_service_name,
) inherits heat::params { ) inherits heat::params {
@ -134,8 +134,8 @@ running as a standalone service, or httpd for being run by a httpd server")
} }
} else { } else {
heat_config { heat_config {
'heat_api/cert_file': value => $::os_service_default; 'heat_api/cert_file': value => $facts['os_service_default'];
'heat_api/key_file': value => $::os_service_default; 'heat_api/key_file': value => $facts['os_service_default'];
} }
} }
} }

@ -21,15 +21,15 @@
# [*bind_host*] # [*bind_host*]
# (Optional) Address to bind the server. Useful when # (Optional) Address to bind the server. Useful when
# selecting a particular network interface. # selecting a particular network interface.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*bind_port*] # [*bind_port*]
# (Optional) The port on which the server will listen. # (Optional) The port on which the server will listen.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*workers*] # [*workers*]
# (Optional) The number of workers to spawn. # (Optional) The number of workers to spawn.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_ssl*] # [*use_ssl*]
# (Optional) Whether to use ssl or not. # (Optional) Whether to use ssl or not.
@ -38,12 +38,12 @@
# [*cert_file*] # [*cert_file*]
# (Optional) Location of the SSL certificate file to use for SSL mode. # (Optional) Location of the SSL certificate file to use for SSL mode.
# Required when $use_ssl is set to 'true'. # Required when $use_ssl is set to 'true'.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Location of the SSL key file to use for enabling SSL mode. # (Optional) Location of the SSL key file to use for enabling SSL mode.
# Required when $use_ssl is set to 'true'. # Required when $use_ssl is set to 'true'.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*service_name*] # [*service_name*]
# (optional) Name of the service that will be providing the # (optional) Name of the service that will be providing the
@ -62,12 +62,12 @@ class heat::api_cfn (
$package_ensure = 'present', $package_ensure = 'present',
$manage_service = true, $manage_service = true,
$enabled = true, $enabled = true,
$bind_host = $::os_service_default, $bind_host = $facts['os_service_default'],
$bind_port = $::os_service_default, $bind_port = $facts['os_service_default'],
$workers = $::os_service_default, $workers = $facts['os_service_default'],
$use_ssl = false, $use_ssl = false,
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$service_name = $::heat::params::api_cfn_service_name, $service_name = $::heat::params::api_cfn_service_name,
) inherits heat::params { ) inherits heat::params {
@ -137,8 +137,8 @@ running as a standalone service, or httpd for being run by a httpd server")
} }
} else { } else {
heat_config { heat_config {
'heat_api_cfn/cert_file': value => $::os_service_default; 'heat_api_cfn/cert_file': value => $facts['os_service_default'];
'heat_api_cfn/key_file': value => $::os_service_default; 'heat_api_cfn/key_file': value => $facts['os_service_default'];
} }
} }

@ -9,99 +9,99 @@
# the cache region. This should not need to be changed unless there # the cache region. This should not need to be changed unless there
# is another dogpile.cache region with the same configuration name. # is another dogpile.cache region with the same configuration name.
# (string value) # (string value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*expiration_time*] # [*expiration_time*]
# (Optional) Default TTL, in seconds, for any cached item in the # (Optional) Default TTL, in seconds, for any cached item in the
# dogpile.cache region. This applies to any cached method that # dogpile.cache region. This applies to any cached method that
# doesn't have an explicit cache expiration time defined for it. # doesn't have an explicit cache expiration time defined for it.
# (integer value) # (integer value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*backend*] # [*backend*]
# (Optional) Dogpile.cache backend module. It is recommended that # (Optional) Dogpile.cache backend module. It is recommended that
# Memcache with pooling (oslo_cache.memcache_pool) or Redis # Memcache with pooling (oslo_cache.memcache_pool) or Redis
# (dogpile.cache.redis) be used in production deployments. (string value) # (dogpile.cache.redis) be used in production deployments. (string value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*backend_argument*] # [*backend_argument*]
# (Optional) Arguments supplied to the backend module. Specify this option # (Optional) Arguments supplied to the backend module. Specify this option
# once per argument to be passed to the dogpile.cache backend. # once per argument to be passed to the dogpile.cache backend.
# Example format: "<argname>:<value>". (list value) # Example format: "<argname>:<value>". (list value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*proxies*] # [*proxies*]
# (Optional) Proxy classes to import that will affect the way the # (Optional) Proxy classes to import that will affect the way the
# dogpile.cache backend functions. See the dogpile.cache documentation on # dogpile.cache backend functions. See the dogpile.cache documentation on
# changing-backend-behavior. (list value) # changing-backend-behavior. (list value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*enabled*] # [*enabled*]
# (Optional) Global toggle for caching. (boolean value) # (Optional) Global toggle for caching. (boolean value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*debug_cache_backend*] # [*debug_cache_backend*]
# (Optional) Extra debugging from the cache backend (cache keys, # (Optional) Extra debugging from the cache backend (cache keys,
# get/set/delete/etc calls). This is only really useful if you need # get/set/delete/etc calls). This is only really useful if you need
# to see the specific cache-backend get/set/delete calls with the keys/values. # to see the specific cache-backend get/set/delete calls with the keys/values.
# Typically this should be left set to false. (boolean value) # Typically this should be left set to false. (boolean value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_servers*] # [*memcache_servers*]
# (Optional) Memcache servers in the format of "host:port". # (Optional) Memcache servers in the format of "host:port".
# (dogpile.cache.memcache and oslo_cache.memcache_pool backends only). # (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
# (list value) # (list value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_dead_retry*] # [*memcache_dead_retry*]
# (Optional) Number of seconds memcached server is considered dead before # (Optional) Number of seconds memcached server is considered dead before
# it is tried again. (dogpile.cache.memcache and oslo_cache.memcache_pool # it is tried again. (dogpile.cache.memcache and oslo_cache.memcache_pool
# backends only). (integer value) # backends only). (integer value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_socket_timeout*] # [*memcache_socket_timeout*]
# (Optional) Timeout in seconds for every call to a server. # (Optional) Timeout in seconds for every call to a server.
# (dogpile.cache.memcache and oslo_cache.memcache_pool backends only). # (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
# (floating point value) # (floating point value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*enable_socket_keepalive*] # [*enable_socket_keepalive*]
# (Optional) Global toggle for the socket keepalive of dogpile's # (Optional) Global toggle for the socket keepalive of dogpile's
# pymemcache backend # pymemcache backend
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*socket_keepalive_idle*] # [*socket_keepalive_idle*]
# (Optional) The time (in seconds) the connection needs to remain idle # (Optional) The time (in seconds) the connection needs to remain idle
# before TCP starts sending keepalive probes. Should be a positive integer # before TCP starts sending keepalive probes. Should be a positive integer
# most greater than zero. # most greater than zero.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*socket_keepalive_interval*] # [*socket_keepalive_interval*]
# (Optional) The time (in seconds) between individual keepalive probes. # (Optional) The time (in seconds) between individual keepalive probes.
# Should be a positive integer most greater than zero. # Should be a positive integer most greater than zero.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*socket_keepalive_count*] # [*socket_keepalive_count*]
# (Optional) The maximum number of keepalive probes TCP should send before # (Optional) The maximum number of keepalive probes TCP should send before
# dropping the connection. Should be a positive integer most greater than # dropping the connection. Should be a positive integer most greater than
# zero. # zero.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_pool_maxsize*] # [*memcache_pool_maxsize*]
# (Optional) Max total number of open connections to every memcached server. # (Optional) Max total number of open connections to every memcached server.
# (oslo_cache.memcache_pool backend only). (integer value) # (oslo_cache.memcache_pool backend only). (integer value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_pool_unused_timeout*] # [*memcache_pool_unused_timeout*]
# (Optional) Number of seconds a connection to memcached is held unused # (Optional) Number of seconds a connection to memcached is held unused
# in the pool before it is closed. (oslo_cache.memcache_pool backend only) # in the pool before it is closed. (oslo_cache.memcache_pool backend only)
# (integer value) # (integer value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*memcache_pool_connection_get_timeout*] # [*memcache_pool_connection_get_timeout*]
# (Optional) Number of seconds that an operation will wait to get a memcache # (Optional) Number of seconds that an operation will wait to get a memcache
# client connection. (integer value) # client connection. (integer value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*manage_backend_package*] # [*manage_backend_package*]
# (Optional) Whether to install the backend package for the cache. # (Optional) Whether to install the backend package for the cache.
@ -110,40 +110,40 @@
# [*constraint_validation_caching*] # [*constraint_validation_caching*]
# (Optional) Enable caching in constraint validation. Global caching should # (Optional) Enable caching in constraint validation. Global caching should
# be also enabled to enable this. # be also enabled to enable this.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*constraint_validation_expiration_time*] # [*constraint_validation_expiration_time*]
# (Optional) TTL, in seconds, for caching in constraint validation. # (Optional) TTL, in seconds, for caching in constraint validation.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*service_extension_caching*] # [*service_extension_caching*]
# (Optional) Enable caching in service extension. Global caching should # (Optional) Enable caching in service extension. Global caching should
# be also enabled to enable this. # be also enabled to enable this.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*service_extension_expiration_time*] # [*service_extension_expiration_time*]
# (Optional) TTL, in seconds, for caching in service extension. # (Optional) TTL, in seconds, for caching in service extension.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*resource_finder_caching*] # [*resource_finder_caching*]
# (Optional) Enable caching in resource finder. Global caching should # (Optional) Enable caching in resource finder. Global caching should
# be also enabled to enable this. # be also enabled to enable this.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*resource_finder_expiration_time*] # [*resource_finder_expiration_time*]
# (Optional) TTL, in seconds, for caching in resource finder. # (Optional) TTL, in seconds, for caching in resource finder.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*tls_enabled*] # [*tls_enabled*]
# (Optional) Global toggle for TLS usage when communicating with # (Optional) Global toggle for TLS usage when communicating with
# the caching servers. # the caching servers.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*tls_cafile*] # [*tls_cafile*]
# (Optional) Path to a file of concatenated CA certificates in PEM # (Optional) Path to a file of concatenated CA certificates in PEM
# format necessary to establish the caching server's authenticity. # format necessary to establish the caching server's authenticity.
# If tls_enabled is False, this option is ignored. # If tls_enabled is False, this option is ignored.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*tls_certfile*] # [*tls_certfile*]
# (Optional) Path to a single file in PEM format containing the # (Optional) Path to a single file in PEM format containing the
@ -151,89 +151,89 @@
# needed to establish the certificate's authenticity. This file # needed to establish the certificate's authenticity. This file
# is only required when client side authentication is necessary. # is only required when client side authentication is necessary.
# If tls_enabled is False, this option is ignored. # If tls_enabled is False, this option is ignored.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*tls_keyfile*] # [*tls_keyfile*]
# (Optional) Path to a single file containing the client's private # (Optional) Path to a single file containing the client's private
# key in. Otherwise the private key will be taken from the file # key in. Otherwise the private key will be taken from the file
# specified in tls_certfile. If tls_enabled is False, this option # specified in tls_certfile. If tls_enabled is False, this option
# is ignored. # is ignored.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*tls_allowed_ciphers*] # [*tls_allowed_ciphers*]
# (Optional) Set the available ciphers for sockets created with # (Optional) Set the available ciphers for sockets created with
# the TLS context. It should be a string in the OpenSSL cipher # the TLS context. It should be a string in the OpenSSL cipher
# list format. If not specified, all OpenSSL enabled ciphers will # list format. If not specified, all OpenSSL enabled ciphers will
# be available. # be available.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*enable_retry_client*] # [*enable_retry_client*]
# (Optional) Enable retry client mechanisms to handle failure. # (Optional) Enable retry client mechanisms to handle failure.
# Those mechanisms can be used to wrap all kind of pymemcache # Those mechanisms can be used to wrap all kind of pymemcache
# clients. The wrapper allows you to define how many attempts # clients. The wrapper allows you to define how many attempts
# to make and how long to wait between attempts. # to make and how long to wait between attempts.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*retry_attempts*] # [*retry_attempts*]
# (Optional) Number of times to attempt an action before failing. # (Optional) Number of times to attempt an action before failing.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*retry_delay*] # [*retry_delay*]
# (Optional) Number of seconds to sleep between each attempt. # (Optional) Number of seconds to sleep between each attempt.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*hashclient_retry_attempts*] # [*hashclient_retry_attempts*]
# (Optional) Amount of times a client should be tried # (Optional) Amount of times a client should be tried
# before it is marked dead and removed from the pool in # before it is marked dead and removed from the pool in
# the HashClient's internal mechanisms. # the HashClient's internal mechanisms.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*hashclient_retry_delay*] # [*hashclient_retry_delay*]
# (Optional) Time in seconds that should pass between # (Optional) Time in seconds that should pass between
# retry attempts in the HashClient's internal mechanisms. # retry attempts in the HashClient's internal mechanisms.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
# [*dead_timeout*] # [*dead_timeout*]
# (Optional) Time in seconds before attempting to add a node # (Optional) Time in seconds before attempting to add a node
# back in the pool in the HashClient's internal mechanisms. # back in the pool in the HashClient's internal mechanisms.
# Default to $::os_service_default # Default to $facts['os_service_default']
# #
class heat::cache ( class heat::cache (
$config_prefix = $::os_service_default, $config_prefix = $facts['os_service_default'],
$expiration_time = $::os_service_default, $expiration_time = $facts['os_service_default'],
$backend = $::os_service_default, $backend = $facts['os_service_default'],
$backend_argument = $::os_service_default, $backend_argument = $facts['os_service_default'],
$proxies = $::os_service_default, $proxies = $facts['os_service_default'],
$enabled = $::os_service_default, $enabled = $facts['os_service_default'],
$debug_cache_backend = $::os_service_default, $debug_cache_backend = $facts['os_service_default'],
$memcache_servers = $::os_service_default, $memcache_servers = $facts['os_service_default'],
$memcache_dead_retry = $::os_service_default, $memcache_dead_retry = $facts['os_service_default'],
$memcache_socket_timeout = $::os_service_default, $memcache_socket_timeout = $facts['os_service_default'],
$enable_socket_keepalive = $::os_service_default, $enable_socket_keepalive = $facts['os_service_default'],
$socket_keepalive_idle = $::os_service_default, $socket_keepalive_idle = $facts['os_service_default'],
$socket_keepalive_interval = $::os_service_default, $socket_keepalive_interval = $facts['os_service_default'],
$socket_keepalive_count = $::os_service_default, $socket_keepalive_count = $facts['os_service_default'],
$memcache_pool_maxsize = $::os_service_default, $memcache_pool_maxsize = $facts['os_service_default'],
$memcache_pool_unused_timeout = $::os_service_default, $memcache_pool_unused_timeout = $facts['os_service_default'],
$memcache_pool_connection_get_timeout = $::os_service_default, $memcache_pool_connection_get_timeout = $facts['os_service_default'],
$manage_backend_package = true, $manage_backend_package = true,
$constraint_validation_caching = $::os_service_default, $constraint_validation_caching = $facts['os_service_default'],
$constraint_validation_expiration_time = $::os_service_default, $constraint_validation_expiration_time = $facts['os_service_default'],
$service_extension_caching = $::os_service_default, $service_extension_caching = $facts['os_service_default'],
$service_extension_expiration_time = $::os_service_default, $service_extension_expiration_time = $facts['os_service_default'],
$resource_finder_caching = $::os_service_default, $resource_finder_caching = $facts['os_service_default'],
$resource_finder_expiration_time = $::os_service_default, $resource_finder_expiration_time = $facts['os_service_default'],
$tls_enabled = $::os_service_default, $tls_enabled = $facts['os_service_default'],
$tls_cafile = $::os_service_default, $tls_cafile = $facts['os_service_default'],
$tls_certfile = $::os_service_default, $tls_certfile = $facts['os_service_default'],
$tls_keyfile = $::os_service_default, $tls_keyfile = $facts['os_service_default'],
$tls_allowed_ciphers = $::os_service_default, $tls_allowed_ciphers = $facts['os_service_default'],
$enable_retry_client = $::os_service_default, $enable_retry_client = $facts['os_service_default'],
$retry_attempts = $::os_service_default, $retry_attempts = $facts['os_service_default'],
$retry_delay = $::os_service_default, $retry_delay = $facts['os_service_default'],
$hashclient_retry_attempts = $::os_service_default, $hashclient_retry_attempts = $facts['os_service_default'],
$hashclient_retry_delay = $::os_service_default, $hashclient_retry_delay = $facts['os_service_default'],
$dead_timeout = $::os_service_default, $dead_timeout = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients ( class heat::clients (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::aodh ( class heat::clients::aodh (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::barbican ( class heat::clients::barbican (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -11,31 +11,31 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
define heat::clients::base ( define heat::clients::base (
$section = $name, $section = $name,
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,35 +7,35 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*http_log_debug*] # [*http_log_debug*]
# (Optional) Allow client's debug log output. # (Optional) Allow client's debug log output.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::cinder ( class heat::clients::cinder (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
$http_log_debug = $::os_service_default, $http_log_debug = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::designate ( class heat::clients::designate (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::glance ( class heat::clients::glance (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,35 +7,35 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*url*] # [*url*]
# (Optional) Optional heat url in format. # (Optional) Optional heat url in format.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::heat ( class heat::clients::heat (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
$url = $::os_service_default, $url = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,35 +7,35 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*auth_uri*] # [*auth_uri*]
# (Optional) Unversioned keystone url. # (Optional) Unversioned keystone url.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::keystone ( class heat::clients::keystone (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
$auth_uri = $::os_service_default, $auth_uri = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::magnum ( class heat::clients::magnum (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::manila ( class heat::clients::manila (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::mistral ( class heat::clients::mistral (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::neutron ( class heat::clients::neutron (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,35 +7,35 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*http_log_debug*] # [*http_log_debug*]
# (Optional) Allow client's debug log output. # (Optional) Allow client's debug log output.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::nova ( class heat::clients::nova (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
$http_log_debug = $::os_service_default, $http_log_debug = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::octavia ( class heat::clients::octavia (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::sahara ( class heat::clients::sahara (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::swift ( class heat::clients::swift (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::trove ( class heat::clients::trove (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::vitrage ( class heat::clients::vitrage (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -7,30 +7,30 @@
# [*endpoint_type*] # [*endpoint_type*]
# (Optional) Type of endpoint in Identity service catalog to use for # (Optional) Type of endpoint in Identity service catalog to use for
# communication with the OpenStack service. # communication with the OpenStack service.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*ca_file*] # [*ca_file*]
# (Optional) Optional CA cert file to use in SSL communications. # (Optional) Optional CA cert file to use in SSL communications.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cert_file*] # [*cert_file*]
# (Optional) Optional PEM-formatted certificate chain file. # (Optional) Optional PEM-formatted certificate chain file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*key_file*] # [*key_file*]
# (Optional) Optional PEM-formatted file that contains the private key. # (Optional) Optional PEM-formatted file that contains the private key.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*insecure*] # [*insecure*]
# (Optional) If set, then the server's certificate will not be verified. # (Optional) If set, then the server's certificate will not be verified.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::clients::zaqar ( class heat::clients::zaqar (
$endpoint_type = $::os_service_default, $endpoint_type = $facts['os_service_default'],
$ca_file = $::os_service_default, $ca_file = $facts['os_service_default'],
$cert_file = $::os_service_default, $cert_file = $facts['os_service_default'],
$key_file = $::os_service_default, $key_file = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -8,41 +8,41 @@
# (Optional) Indicate whether this resource may be shared with the domain # (Optional) Indicate whether this resource may be shared with the domain
# received in the requests "origin" header. # received in the requests "origin" header.
# (string value) # (string value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*allow_credentials*] # [*allow_credentials*]
# (Optional) Indicate that the actual request can include user credentials. # (Optional) Indicate that the actual request can include user credentials.
# (boolean value) # (boolean value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*expose_headers*] # [*expose_headers*]
# (Optional) Indicate which headers are safe to expose to the API. # (Optional) Indicate which headers are safe to expose to the API.
# (list value) # (list value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_age*] # [*max_age*]
# (Optional) Maximum cache age of CORS preflight requests. # (Optional) Maximum cache age of CORS preflight requests.
# (integer value) # (integer value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*allow_methods*] # [*allow_methods*]
# (Optional) Indicate which methods can be used during the actual request. # (Optional) Indicate which methods can be used during the actual request.
# (list value) # (list value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*allow_headers*] # [*allow_headers*]
# (Optional) Indicate which header field names may be used during the actual # (Optional) Indicate which header field names may be used during the actual
# request. # request.
# (list value) # (list value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
class heat::cors ( class heat::cors (
$allowed_origin = $::os_service_default, $allowed_origin = $facts['os_service_default'],
$allow_credentials = $::os_service_default, $allow_credentials = $facts['os_service_default'],
$expose_headers = $::os_service_default, $expose_headers = $facts['os_service_default'],
$max_age = $::os_service_default, $max_age = $facts['os_service_default'],
$allow_methods = $::os_service_default, $allow_methods = $facts['os_service_default'],
$allow_headers = $::os_service_default, $allow_headers = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -10,38 +10,38 @@
# #
# [*database_connection_recycle_time*] # [*database_connection_recycle_time*]
# Timeout when db connections should be reaped. # Timeout when db connections should be reaped.
# (Optional) Defaults to $::os_service_default. # (Optional) Defaults to $facts['os_service_default'].
# #
# [*database_max_pool_size*] # [*database_max_pool_size*]
# Maximum number of SQL connections to keep open in a pool. # Maximum number of SQL connections to keep open in a pool.
# (Optional) Defaults to $::os_service_default. # (Optional) Defaults to $facts['os_service_default'].
# #
# [*database_max_retries*] # [*database_max_retries*]
# Maximum db connection retries during startup. # Maximum db connection retries during startup.
# Setting -1 implies an infinite retry count. # Setting -1 implies an infinite retry count.
# (Optional) Defaults to $::os_service_default. # (Optional) Defaults to $facts['os_service_default'].
# #
# [*database_retry_interval*] # [*database_retry_interval*]
# Interval between retries of opening a sql connection. # Interval between retries of opening a sql connection.
# (Optional) Defaults to $::os_service_default. # (Optional) Defaults to $facts['os_service_default'].
# #
# [*database_max_overflow*] # [*database_max_overflow*]
# If set, use this value for max_overflow with sqlalchemy. # If set, use this value for max_overflow with sqlalchemy.
# (Optional) Defaults to $::os_service_default. # (Optional) Defaults to $facts['os_service_default'].
# #
# [*database_pool_timeout*] # [*database_pool_timeout*]
# (Optional) If set, use this value for pool_timeout with SQLAlchemy. # (Optional) If set, use this value for pool_timeout with SQLAlchemy.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*database_db_max_retries*] # [*database_db_max_retries*]
# (Optional) Maximum retries in case of connection error or deadlock error # (Optional) Maximum retries in case of connection error or deadlock error
# before error is raised. Set to -1 to specify an infinite retry count. # before error is raised. Set to -1 to specify an infinite retry count.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*mysql_enable_ndb*] # [*mysql_enable_ndb*]
# (Optional) If True, transparently enables support for handling MySQL # (Optional) If True, transparently enables support for handling MySQL
# Cluster (NDB). # Cluster (NDB).
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*sync_db*] # [*sync_db*]
# (Optional) Run db sync on nodes after connection setting has been set. # (Optional) Run db sync on nodes after connection setting has been set.
@ -49,14 +49,14 @@
# #
class heat::db ( class heat::db (
$database_connection = 'sqlite:////var/lib/heat/heat.sqlite', $database_connection = 'sqlite:////var/lib/heat/heat.sqlite',
$database_connection_recycle_time = $::os_service_default, $database_connection_recycle_time = $facts['os_service_default'],
$database_max_pool_size = $::os_service_default, $database_max_pool_size = $facts['os_service_default'],
$database_max_retries = $::os_service_default, $database_max_retries = $facts['os_service_default'],
$database_retry_interval = $::os_service_default, $database_retry_interval = $facts['os_service_default'],
$database_max_overflow = $::os_service_default, $database_max_overflow = $facts['os_service_default'],
$database_pool_timeout = $::os_service_default, $database_pool_timeout = $facts['os_service_default'],
$mysql_enable_ndb = $::os_service_default, $mysql_enable_ndb = $facts['os_service_default'],
$database_db_max_retries = $::os_service_default, $database_db_max_retries = $facts['os_service_default'],
$sync_db = true, $sync_db = true,
) { ) {

@ -25,15 +25,15 @@
# this to a different value you should also set # this to a different value you should also set
# heat::keystone::auth::heat_stack_user_role if you want the # heat::keystone::auth::heat_stack_user_role if you want the
# correct role created. # correct role created.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*heat_metadata_server_url*] # [*heat_metadata_server_url*]
# (optional) URL of the Heat metadata server # (optional) URL of the Heat metadata server
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*heat_waitcondition_server_url*] # [*heat_waitcondition_server_url*]
# (optional) URL of the Heat waitcondition server # (optional) URL of the Heat waitcondition server
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*default_software_config_transport*] # [*default_software_config_transport*]
# (optional) Template default for how the server should receive the metadata # (optional) Template default for how the server should receive the metadata
@ -45,7 +45,7 @@
# will create and populate a Swift TempURL with metadata for polling (requires # will create and populate a Swift TempURL with metadata for polling (requires
# object-store endpoint which supports TempURL). (string value) # object-store endpoint which supports TempURL). (string value)
# Allowed values: POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL # Allowed values: POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*default_deployment_signal_transport*] # [*default_deployment_signal_transport*]
# (optional) Template default for how the server should signal to heat with # (optional) Template default for how the server should signal to heat with
@ -55,7 +55,7 @@
# TempURL). HEAT_SIGNAL will allow calls to the Heat API resource-signal using # TempURL). HEAT_SIGNAL will allow calls to the Heat API resource-signal using
# endpoint which supports the provided keystone credentials (string value) # endpoint which supports the provided keystone credentials (string value)
# Allowed values: CFN_SIGNAL, TEMP_URL_SIGNAL, HEAT_SIGNAL # Allowed values: CFN_SIGNAL, TEMP_URL_SIGNAL, HEAT_SIGNAL
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*default_user_data_format*] # [*default_user_data_format*]
# (optional) Template default for how the user_data should be # (optional) Template default for how the user_data should be
@ -67,109 +67,109 @@
# software config data, and metadata is derived from any # software config data, and metadata is derived from any
# associated SoftwareDeployment resources. # associated SoftwareDeployment resources.
# Allowed values: HEAT_CFNTOOLS, RAW, SOFTWARE_CONFIG # Allowed values: HEAT_CFNTOOLS, RAW, SOFTWARE_CONFIG
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*reauthentication_auth_method*] # [*reauthentication_auth_method*]
# (Optional) Re-authentication method on token expiry. # (Optional) Re-authentication method on token expiry.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*allow_trusts_redelegation*] # [*allow_trusts_redelegation*]
# (Optional) Create trusts with redelegation enabled. # (Optional) Create trusts with redelegation enabled.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*trusts_delegated_roles*] # [*trusts_delegated_roles*]
# (optional) Array of trustor roles to be delegated to heat. # (optional) Array of trustor roles to be delegated to heat.
# This value is also used by heat::keystone::auth if it is set to # This value is also used by heat::keystone::auth if it is set to
# configure the keystone roles. # configure the keystone roles.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*action_retry_limit*] # [*action_retry_limit*]
# (Optional) Number of times to retry to bring a resource to a non-error # (Optional) Number of times to retry to bring a resource to a non-error
# state. # state.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*client_retry_limit*] # [*client_retry_limit*]
# (Optional) Number of times to retry when a client encounters an expected # (Optional) Number of times to retry when a client encounters an expected
# intermittent error. # intermittent error.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_server_name_length*] # [*max_server_name_length*]
# (Optional) Maximum length of a server name to be used in nova. # (Optional) Maximum length of a server name to be used in nova.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_interface_check_attempts*] # [*max_interface_check_attempts*]
# (Optional) Number of times to check whether an interface has been attached # (Optional) Number of times to check whether an interface has been attached
# or detached. # or detached.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*event_purge_batch_size*] # [*event_purge_batch_size*]
# (Optional) Controls how many events will be pruned whenever a stack's # (Optional) Controls how many events will be pruned whenever a stack's
# events are purged. # events are purged.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_events_per_stack*] # [*max_events_per_stack*]
# (Optional) Rough number of maximum events that will be available per stack. # (Optional) Rough number of maximum events that will be available per stack.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*stack_action_timeout*] # [*stack_action_timeout*]
# (Optional) Timeout in seconds for stack action. # (Optional) Timeout in seconds for stack action.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*error_wait_time*] # [*error_wait_time*]
# (Optional) The amount of time in seconds after an error has occurred that # (Optional) The amount of time in seconds after an error has occurred that
# tasks may continue to run before being cancelled. # tasks may continue to run before being cancelled.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*engine_life_check_timeout*] # [*engine_life_check_timeout*]
# (optional) RPC timeout (in seconds) for the engine liveness check that is # (optional) RPC timeout (in seconds) for the engine liveness check that is
# used for stack locking # used for stack locking
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*instance_connection_is_secure*] # [*instance_connection_is_secure*]
# (Optional) Instance connection to CFN/CW API via https. # (Optional) Instance connection to CFN/CW API via https.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*instance_connection_https_validate_certificates*] # [*instance_connection_https_validate_certificates*]
# (Optional) Instance connection to CFN/CW API validate certs if SSL is used. # (Optional) Instance connection to CFN/CW API validate certs if SSL is used.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*max_stacks_per_tenant*] # [*max_stacks_per_tenant*]
# (optional) Maximum number of stacks any one tenant may have active at one # (optional) Maximum number of stacks any one tenant may have active at one
# time. # time.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_resources_per_stack*] # [*max_resources_per_stack*]
# (Optional) Maximum resources allowed per top-level stack. # (Optional) Maximum resources allowed per top-level stack.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*num_engine_workers*] # [*num_engine_workers*]
# (Optional) The number of workers to spawn. # (Optional) The number of workers to spawn.
# Defaults to $::os_workers_heat_engine # Defaults to $facts['os_workers_heat_engine']
# #
# [*convergence_engine*] # [*convergence_engine*]
# (Optional) Enables engine with convergence architecture. # (Optional) Enables engine with convergence architecture.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*environment_dir*] # [*environment_dir*]
# (Optional) The directory to search for environment files. # (Optional) The directory to search for environment files.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*template_dir*] # [*template_dir*]
# (Optional) The directory to search for template files. # (Optional) The directory to search for template files.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*max_nested_stack_depth*] # [*max_nested_stack_depth*]
# (Optional) Maximum depth allowed when using nested stacks. # (Optional) Maximum depth allowed when using nested stacks.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*plugin_dirs*] # [*plugin_dirs*]
# (Optional) List of directories to search for plug-ins. # (Optional) List of directories to search for plug-ins.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*server_keystone_endpoint_type*] # [*server_keystone_endpoint_type*]
# (Optional) If set, is used to control which authentication endpoint is used # (Optional) If set, is used to control which authentication endpoint is used
# by user-controlled servers to make calls back to Heat. # by user-controlled servers to make calls back to Heat.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# DEPRECATED PARAMETERS # DEPRECATED PARAMETERS
# #
@ -183,35 +183,35 @@ class heat::engine (
$package_ensure = 'present', $package_ensure = 'present',
$manage_service = true, $manage_service = true,
$enabled = true, $enabled = true,
$heat_stack_user_role = $::os_service_default, $heat_stack_user_role = $facts['os_service_default'],
$heat_metadata_server_url = $::os_service_default, $heat_metadata_server_url = $facts['os_service_default'],
$heat_waitcondition_server_url = $::os_service_default, $heat_waitcondition_server_url = $facts['os_service_default'],
$default_software_config_transport = $::os_service_default, $default_software_config_transport = $facts['os_service_default'],
$default_deployment_signal_transport = $::os_service_default, $default_deployment_signal_transport = $facts['os_service_default'],
$default_user_data_format = $::os_service_default, $default_user_data_format = $facts['os_service_default'],
$reauthentication_auth_method = $::os_service_default, $reauthentication_auth_method = $facts['os_service_default'],
$allow_trusts_redelegation = $::os_service_default, $allow_trusts_redelegation = $facts['os_service_default'],
$trusts_delegated_roles = $::os_service_default, $trusts_delegated_roles = $facts['os_service_default'],
$instance_connection_is_secure = $::os_service_default, $instance_connection_is_secure = $facts['os_service_default'],
$instance_connection_https_validate_certificates = $::os_service_default, $instance_connection_https_validate_certificates = $facts['os_service_default'],
$max_stacks_per_tenant = $::os_service_default, $max_stacks_per_tenant = $facts['os_service_default'],
$max_resources_per_stack = $::os_service_default, $max_resources_per_stack = $facts['os_service_default'],
$action_retry_limit = $::os_service_default, $action_retry_limit = $facts['os_service_default'],
$client_retry_limit = $::os_service_default, $client_retry_limit = $facts['os_service_default'],
$max_server_name_length = $::os_service_default, $max_server_name_length = $facts['os_service_default'],
$max_interface_check_attempts = $::os_service_default, $max_interface_check_attempts = $facts['os_service_default'],
$event_purge_batch_size = $::os_service_default, $event_purge_batch_size = $facts['os_service_default'],
$max_events_per_stack = $::os_service_default, $max_events_per_stack = $facts['os_service_default'],
$stack_action_timeout = $::os_service_default, $stack_action_timeout = $facts['os_service_default'],
$error_wait_time = $::os_service_default, $error_wait_time = $facts['os_service_default'],
$engine_life_check_timeout = $::os_service_default, $engine_life_check_timeout = $facts['os_service_default'],
$num_engine_workers = $::os_workers_heat_engine, $num_engine_workers = $facts['os_workers_heat_engine'],
$convergence_engine = $::os_service_default, $convergence_engine = $facts['os_service_default'],
$environment_dir = $::os_service_default, $environment_dir = $facts['os_service_default'],
$template_dir = $::os_service_default, $template_dir = $facts['os_service_default'],
$max_nested_stack_depth = $::os_service_default, $max_nested_stack_depth = $facts['os_service_default'],
$plugin_dirs = $::os_service_default, $plugin_dirs = $facts['os_service_default'],
$server_keystone_endpoint_type = $::os_service_default, $server_keystone_endpoint_type = $facts['os_service_default'],
# DEPRECATED PARAMETERS # DEPRECATED PARAMETERS
$deferred_auth_method = undef, $deferred_auth_method = undef,
) { ) {
@ -231,7 +231,7 @@ class heat::engine (
include heat::params include heat::params
# plugin_dirs value follows these rules: # plugin_dirs value follows these rules:
# - default is $::os_service_default so Puppet won't try to configure it. # - default is $facts['os_service_default'] so Puppet won't try to configure it.
# - if set, array validation will be done for not empty and then configure the parameter. # - if set, array validation will be done for not empty and then configure the parameter.
# - Otherwise, fallback to default. # - Otherwise, fallback to default.
if !is_service_default($plugin_dirs) and !empty($plugin_dirs) { if !is_service_default($plugin_dirs) and !empty($plugin_dirs) {
@ -239,7 +239,7 @@ class heat::engine (
$plugin_dirs_real = join($plugin_dirs, ',') $plugin_dirs_real = join($plugin_dirs, ',')
} else { } else {
$plugin_dirs_real = $::os_service_default $plugin_dirs_real = $facts['os_service_default']
} }
package { 'heat-engine': package { 'heat-engine':
@ -302,6 +302,6 @@ class heat::engine (
warning('deferred_auth_method is deprecated and will be removed in a future release') warning('deferred_auth_method is deprecated and will be removed in a future release')
} }
heat_config { heat_config {
'DEFAULT/deferred_auth_method': value => pick($deferred_auth_method, $::os_service_default); 'DEFAULT/deferred_auth_method': value => pick($deferred_auth_method, $facts['os_service_default']);
} }
} }

@ -6,28 +6,28 @@
# #
# [*detailed*] # [*detailed*]
# (Optional) Show more detailed information as part of the response. # (Optional) Show more detailed information as part of the response.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*backends*] # [*backends*]
# (Optional) Additional backends that can perform health checks and report # (Optional) Additional backends that can perform health checks and report
# that information back as part of a request. # that information back as part of a request.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*disable_by_file_path*] # [*disable_by_file_path*]
# (Optional) Check the presence of a file to determine if an application # (Optional) Check the presence of a file to determine if an application
# is running on a port. # is running on a port.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*disable_by_file_paths*] # [*disable_by_file_paths*]
# (Optional) Check the presence of a file to determine if an application # (Optional) Check the presence of a file to determine if an application
# is running on a port. Expects a "port:path" list of strings. # is running on a port. Expects a "port:path" list of strings.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
class heat::healthcheck ( class heat::healthcheck (
$detailed = $::os_service_default, $detailed = $facts['os_service_default'],
$backends = $::os_service_default, $backends = $facts['os_service_default'],
$disable_by_file_path = $::os_service_default, $disable_by_file_path = $facts['os_service_default'],
$disable_by_file_paths = $::os_service_default, $disable_by_file_paths = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -12,21 +12,21 @@
# (optional) A URL representing the messaging driver to use and its full # (optional) A URL representing the messaging driver to use and its full
# configuration. Transport URLs take the form: # configuration. Transport URLs take the form:
# transport://user:pass@host1:port[,hostN:portN]/virtual_host # transport://user:pass@host1:port[,hostN:portN]/virtual_host
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*control_exchange*] # [*control_exchange*]
# (Optional) The default exchange under which topics are scoped. May be # (Optional) The default exchange under which topics are scoped. May be
# overridden by an exchange name specified in the transport_url # overridden by an exchange name specified in the transport_url
# option. # option.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*rpc_response_timeout*] # [*rpc_response_timeout*]
# (Optional) Configure the timeout (in seconds) for rpc responses # (Optional) Configure the timeout (in seconds) for rpc responses
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*rabbit_ha_queues*] # [*rabbit_ha_queues*]
# (optional) Use HA queues in RabbitMQ (x-ha-policy: all). # (optional) Use HA queues in RabbitMQ (x-ha-policy: all).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*rabbit_heartbeat_timeout_threshold*] # [*rabbit_heartbeat_timeout_threshold*]
# (optional) Number of seconds after which the RabbitMQ broker is considered # (optional) Number of seconds after which the RabbitMQ broker is considered
@ -34,14 +34,14 @@
# Heartbeating helps to ensure the TCP connection to RabbitMQ isn't silently # Heartbeating helps to ensure the TCP connection to RabbitMQ isn't silently
# closed, resulting in missed or lost messages from the queue. # closed, resulting in missed or lost messages from the queue.
# (Requires kombu >= 3.0.7 and amqp >= 1.4.0) # (Requires kombu >= 3.0.7 and amqp >= 1.4.0)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*rabbit_heartbeat_rate*] # [*rabbit_heartbeat_rate*]
# (optional) How often during the rabbit_heartbeat_timeout_threshold period to # (optional) How often during the rabbit_heartbeat_timeout_threshold period to
# check the heartbeat on RabbitMQ connection. (i.e. rabbit_heartbeat_rate=2 # check the heartbeat on RabbitMQ connection. (i.e. rabbit_heartbeat_rate=2
# when rabbit_heartbeat_timeout_threshold=60, the heartbeat will be checked # when rabbit_heartbeat_timeout_threshold=60, the heartbeat will be checked
# every 30 seconds. # every 30 seconds.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*rabbit_heartbeat_in_pthread*] # [*rabbit_heartbeat_in_pthread*]
# (Optional) EXPERIMENTAL: Run the health check heartbeat thread # (Optional) EXPERIMENTAL: Run the health check heartbeat thread
@ -51,171 +51,171 @@
# example if the parent process have monkey patched the # example if the parent process have monkey patched the
# stdlib by using eventlet/greenlet then the heartbeat # stdlib by using eventlet/greenlet then the heartbeat
# will be run through a green thread. # will be run through a green thread.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*rabbit_use_ssl*] # [*rabbit_use_ssl*]
# (Optional) Connect over SSL for RabbitMQ. # (Optional) Connect over SSL for RabbitMQ.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*kombu_ssl_ca_certs*] # [*kombu_ssl_ca_certs*]
# (Optional) SSL certification authority file (valid only if SSL enabled). # (Optional) SSL certification authority file (valid only if SSL enabled).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*kombu_ssl_certfile*] # [*kombu_ssl_certfile*]
# (Optional) SSL cert file (valid only if SSL enabled). # (Optional) SSL cert file (valid only if SSL enabled).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*kombu_ssl_keyfile*] # [*kombu_ssl_keyfile*]
# (Optional) SSL key file (valid only if SSL enabled). # (Optional) SSL key file (valid only if SSL enabled).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*kombu_ssl_version*] # [*kombu_ssl_version*]
# (Optional) SSL version to use (valid only if SSL enabled). # (Optional) SSL version to use (valid only if SSL enabled).
# Valid values are TLSv1, SSLv23 and SSLv3. SSLv2 may be # Valid values are TLSv1, SSLv23 and SSLv3. SSLv2 may be
# available on some distributions. # available on some distributions.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*kombu_reconnect_delay*] # [*kombu_reconnect_delay*]
# (Optional) How long to wait before reconnecting in response # (Optional) How long to wait before reconnecting in response
# to an AMQP consumer cancel notification. (floating point value) # to an AMQP consumer cancel notification. (floating point value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*kombu_failover_strategy*] # [*kombu_failover_strategy*]
# (Optional) Determines how the next RabbitMQ node is chosen in case the one # (Optional) Determines how the next RabbitMQ node is chosen in case the one
# we are currently connected to becomes unavailable. Takes effect only if # we are currently connected to becomes unavailable. Takes effect only if
# more than one RabbitMQ node is provided in config. (string value) # more than one RabbitMQ node is provided in config. (string value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*kombu_compression*] # [*kombu_compression*]
# (optional) Possible values are: gzip, bz2. If not set compression will not # (optional) Possible values are: gzip, bz2. If not set compression will not
# be used. This option may not be available in future versions. EXPERIMENTAL. # be used. This option may not be available in future versions. EXPERIMENTAL.
# (string value) # (string value)
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*amqp_durable_queues*] # [*amqp_durable_queues*]
# (Optional) Use durable queues in amqp. # (Optional) Use durable queues in amqp.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_server_request_prefix*] # [*amqp_server_request_prefix*]
# (Optional) Address prefix used when sending to a specific server # (Optional) Address prefix used when sending to a specific server
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_broadcast_prefix*] # [*amqp_broadcast_prefix*]
# (Optional) address prefix used when broadcasting to all servers # (Optional) address prefix used when broadcasting to all servers
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_group_request_prefix*] # [*amqp_group_request_prefix*]
# (Optional) address prefix when sending to any server in group # (Optional) address prefix when sending to any server in group
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_container_name*] # [*amqp_container_name*]
# (Optional) Name for the AMQP container # (Optional) Name for the AMQP container
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_idle_timeout*] # [*amqp_idle_timeout*]
# (Optional) Timeout for inactive connections # (Optional) Timeout for inactive connections
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_trace*] # [*amqp_trace*]
# (Optional) Debug: dump AMQP frames to stdout # (Optional) Debug: dump AMQP frames to stdout
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_ssl_ca_file*] # [*amqp_ssl_ca_file*]
# (Optional) CA certificate PEM file to verify server certificate # (Optional) CA certificate PEM file to verify server certificate
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_ssl_cert_file*] # [*amqp_ssl_cert_file*]
# (Optional) Identifying certificate PEM file to present to clients # (Optional) Identifying certificate PEM file to present to clients
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_ssl_key_file*] # [*amqp_ssl_key_file*]
# (Optional) Private key PEM file used to sign cert_file certificate # (Optional) Private key PEM file used to sign cert_file certificate
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_ssl_key_password*] # [*amqp_ssl_key_password*]
# (Optional) Password for decrypting ssl_key_file (if encrypted) # (Optional) Password for decrypting ssl_key_file (if encrypted)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_sasl_mechanisms*] # [*amqp_sasl_mechanisms*]
# (Optional) Space separated list of acceptable SASL mechanisms # (Optional) Space separated list of acceptable SASL mechanisms
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_sasl_config_dir*] # [*amqp_sasl_config_dir*]
# (Optional) Path to directory that contains the SASL configuration # (Optional) Path to directory that contains the SASL configuration
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_sasl_config_name*] # [*amqp_sasl_config_name*]
# (Optional) Name of configuration file (without .conf suffix) # (Optional) Name of configuration file (without .conf suffix)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_username*] # [*amqp_username*]
# (Optional) User name for message broker authentication # (Optional) User name for message broker authentication
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*amqp_password*] # [*amqp_password*]
# (Optional) Password for message broker authentication # (Optional) Password for message broker authentication
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*host*] # [*host*]
# (Optional) Name of this node. This is typically a hostname, FQDN, or # (Optional) Name of this node. This is typically a hostname, FQDN, or
# IP address. # IP address.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_template_size*] # [*max_template_size*]
# (Optional) Maximum raw byte size of any template. # (Optional) Maximum raw byte size of any template.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*max_json_body_size*] # [*max_json_body_size*]
# (Optional) Maximum raw byte size of JSON request body. # (Optional) Maximum raw byte size of JSON request body.
# Should be larger than max_template_size. # Should be larger than max_template_size.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*notification_transport_url*] # [*notification_transport_url*]
# (optional) A URL representing the messaging driver to use for notifications # (optional) A URL representing the messaging driver to use for notifications
# and its full configuration. Transport URLs take the form: # and its full configuration. Transport URLs take the form:
# transport://user:pass@host1:port[,hostN:portN]/virtual_host # transport://user:pass@host1:port[,hostN:portN]/virtual_host
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*notification_driver*] # [*notification_driver*]
# (Optional) Driver or drivers to handle sending notifications. # (Optional) Driver or drivers to handle sending notifications.
# Value can be a string or a list. # Value can be a string or a list.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*notification_topics*] # [*notification_topics*]
# (optional) AMQP topic used for OpenStack notifications # (optional) AMQP topic used for OpenStack notifications
# Defaults to ::os_service_default # Defaults to facts['os_service_default']
# #
# [*keystone_ec2_uri*] # [*keystone_ec2_uri*]
# (optional) Authentication Endpoint URI for ec2 service. # (optional) Authentication Endpoint URI for ec2 service.
# Defaults to ::os_service_default # Defaults to facts['os_service_default']
# #
# [*flavor*] # [*flavor*]
# (optional) Specifies the Authentication method. # (optional) Specifies the Authentication method.
# Set to 'standalone' to get Heat to work with a remote OpenStack # Set to 'standalone' to get Heat to work with a remote OpenStack
# Tested versions include 0.9 and 2.2 # Tested versions include 0.9 and 2.2
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*region_name*] # [*region_name*]
# (Optional) Region name for services. This is the # (Optional) Region name for services. This is the
# default region name that heat talks to service endpoints on. # default region name that heat talks to service endpoints on.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*enable_stack_adopt*] # [*enable_stack_adopt*]
# (Optional) Enable the stack-adopt feature. # (Optional) Enable the stack-adopt feature.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*enable_stack_abandon*] # [*enable_stack_abandon*]
# (Optional) Enable the stack-abandon feature. # (Optional) Enable the stack-abandon feature.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*enable_proxy_headers_parsing*] # [*enable_proxy_headers_parsing*]
# (Optional) Enable paste middleware to handle SSL requests through # (Optional) Enable paste middleware to handle SSL requests through
# HTTPProxyToWSGI middleware. # HTTPProxyToWSGI middleware.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*max_request_body_size*] # [*max_request_body_size*]
# (Optional) Set max request body size # (Optional) Set max request body size
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*purge_config*] # [*purge_config*]
# (optional) Whether to set only the specified config options # (optional) Whether to set only the specified config options
@ -229,12 +229,12 @@
# [*yaql_limit_iterators*] # [*yaql_limit_iterators*]
# (optional) The maximum number of elements YAQL collection expressions can # (optional) The maximum number of elements YAQL collection expressions can
# take for evaluation. # take for evaluation.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*yaql_memory_quota*] # [*yaql_memory_quota*]
# (optional) The maximum size of memory in bytes that YAQL expressions can # (optional) The maximum size of memory in bytes that YAQL expressions can
# take for evaluation. # take for evaluation.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# DEPRECATED PARAMETERS # DEPRECATED PARAMETERS
# #
@ -249,54 +249,54 @@
# #
class heat( class heat(
$package_ensure = 'present', $package_ensure = 'present',
$keystone_ec2_uri = $::os_service_default, $keystone_ec2_uri = $facts['os_service_default'],
$default_transport_url = $::os_service_default, $default_transport_url = $facts['os_service_default'],
$rpc_response_timeout = $::os_service_default, $rpc_response_timeout = $facts['os_service_default'],
$control_exchange = $::os_service_default, $control_exchange = $facts['os_service_default'],
$rabbit_ha_queues = $::os_service_default, $rabbit_ha_queues = $facts['os_service_default'],
$rabbit_heartbeat_timeout_threshold = $::os_service_default, $rabbit_heartbeat_timeout_threshold = $facts['os_service_default'],
$rabbit_heartbeat_rate = $::os_service_default, $rabbit_heartbeat_rate = $facts['os_service_default'],
$rabbit_heartbeat_in_pthread = $::os_service_default, $rabbit_heartbeat_in_pthread = $facts['os_service_default'],
$rabbit_use_ssl = $::os_service_default, $rabbit_use_ssl = $facts['os_service_default'],
$kombu_ssl_ca_certs = $::os_service_default, $kombu_ssl_ca_certs = $facts['os_service_default'],
$kombu_ssl_certfile = $::os_service_default, $kombu_ssl_certfile = $facts['os_service_default'],
$kombu_ssl_keyfile = $::os_service_default, $kombu_ssl_keyfile = $facts['os_service_default'],
$kombu_ssl_version = $::os_service_default, $kombu_ssl_version = $facts['os_service_default'],
$kombu_reconnect_delay = $::os_service_default, $kombu_reconnect_delay = $facts['os_service_default'],
$kombu_failover_strategy = $::os_service_default, $kombu_failover_strategy = $facts['os_service_default'],
$kombu_compression = $::os_service_default, $kombu_compression = $facts['os_service_default'],
$amqp_durable_queues = $::os_service_default, $amqp_durable_queues = $facts['os_service_default'],
$amqp_server_request_prefix = $::os_service_default, $amqp_server_request_prefix = $facts['os_service_default'],
$amqp_broadcast_prefix = $::os_service_default, $amqp_broadcast_prefix = $facts['os_service_default'],
$amqp_group_request_prefix = $::os_service_default, $amqp_group_request_prefix = $facts['os_service_default'],
$amqp_container_name = $::os_service_default, $amqp_container_name = $facts['os_service_default'],
$amqp_idle_timeout = $::os_service_default, $amqp_idle_timeout = $facts['os_service_default'],
$amqp_trace = $::os_service_default, $amqp_trace = $facts['os_service_default'],
$amqp_ssl_ca_file = $::os_service_default, $amqp_ssl_ca_file = $facts['os_service_default'],
$amqp_ssl_cert_file = $::os_service_default, $amqp_ssl_cert_file = $facts['os_service_default'],
$amqp_ssl_key_file = $::os_service_default, $amqp_ssl_key_file = $facts['os_service_default'],
$amqp_ssl_key_password = $::os_service_default, $amqp_ssl_key_password = $facts['os_service_default'],
$amqp_sasl_mechanisms = $::os_service_default, $amqp_sasl_mechanisms = $facts['os_service_default'],
$amqp_sasl_config_dir = $::os_service_default, $amqp_sasl_config_dir = $facts['os_service_default'],
$amqp_sasl_config_name = $::os_service_default, $amqp_sasl_config_name = $facts['os_service_default'],
$amqp_username = $::os_service_default, $amqp_username = $facts['os_service_default'],
$amqp_password = $::os_service_default, $amqp_password = $facts['os_service_default'],
$host = $::os_service_default, $host = $facts['os_service_default'],
$flavor = $::os_service_default, $flavor = $facts['os_service_default'],
$region_name = $::os_service_default, $region_name = $facts['os_service_default'],
$enable_stack_adopt = $::os_service_default, $enable_stack_adopt = $facts['os_service_default'],
$enable_stack_abandon = $::os_service_default, $enable_stack_abandon = $facts['os_service_default'],
$max_template_size = $::os_service_default, $max_template_size = $facts['os_service_default'],
$max_json_body_size = $::os_service_default, $max_json_body_size = $facts['os_service_default'],
$notification_transport_url = $::os_service_default, $notification_transport_url = $facts['os_service_default'],
$notification_driver = $::os_service_default, $notification_driver = $facts['os_service_default'],
$notification_topics = $::os_service_default, $notification_topics = $facts['os_service_default'],
$enable_proxy_headers_parsing = $::os_service_default, $enable_proxy_headers_parsing = $facts['os_service_default'],
$max_request_body_size = $::os_service_default, $max_request_body_size = $facts['os_service_default'],
$purge_config = false, $purge_config = false,
$auth_strategy = 'keystone', $auth_strategy = 'keystone',
$yaql_memory_quota = $::os_service_default, $yaql_memory_quota = $facts['os_service_default'],
$yaql_limit_iterators = $::os_service_default, $yaql_limit_iterators = $facts['os_service_default'],
# DEPRECATED PARAMETERS # DEPRECATED PARAMETERS
$heat_clients_url = undef, $heat_clients_url = undef,
$heat_clients_endpoint_type = undef, $heat_clients_endpoint_type = undef,

@ -10,7 +10,7 @@
# #
# [*password*] # [*password*]
# (Optional) Password to create for the service user # (Optional) Password to create for the service user
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*auth_url*] # [*auth_url*]
# (Optional) The URL to use for authentication. # (Optional) The URL to use for authentication.
@ -30,17 +30,17 @@
# #
# [*system_scope*] # [*system_scope*]
# (Optional) Scope for system operations # (Optional) Scope for system operations
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*insecure*] # [*insecure*]
# (Optional) If true, explicitly allow TLS without checking server cert # (Optional) If true, explicitly allow TLS without checking server cert
# against any certificate authorities. WARNING: not recommended. Use with # against any certificate authorities. WARNING: not recommended. Use with
# caution. # caution.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*auth_section*] # [*auth_section*]
# (Optional) Config Section from which to load plugin specific options # (Optional) Config Section from which to load plugin specific options
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*auth_type*] # [*auth_type*]
# (Optional) Authentication type to load # (Optional) Authentication type to load
@ -52,26 +52,26 @@
# #
# [*auth_version*] # [*auth_version*]
# (Optional) API version of the admin Identity API endpoint. # (Optional) API version of the admin Identity API endpoint.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cache*] # [*cache*]
# (Optional) Env key for the swift cache. # (Optional) Env key for the swift cache.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*cafile*] # [*cafile*]
# (Optional) A PEM encoded Certificate Authority to use when verifying HTTPs # (Optional) A PEM encoded Certificate Authority to use when verifying HTTPs
# connections. # connections.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*certfile*] # [*certfile*]
# (Optional) Required if identity server requires client certificate # (Optional) Required if identity server requires client certificate
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*delay_auth_decision*] # [*delay_auth_decision*]
# (Optional) Do not handle authorization requests within the middleware, but # (Optional) Do not handle authorization requests within the middleware, but
# delegate the authorization decision to downstream WSGI components. Boolean # delegate the authorization decision to downstream WSGI components. Boolean
# value # value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*enforce_token_bind*] # [*enforce_token_bind*]
# (Optional) Used to control the use and type of token binding. Can be set # (Optional) Used to control the use and type of token binding. Can be set
@ -81,57 +81,57 @@
# type is unknown the token will be rejected. "required" any form of token # type is unknown the token will be rejected. "required" any form of token
# binding is needed to be allowed. Finally the name of a binding method that # binding is needed to be allowed. Finally the name of a binding method that
# must be present in tokens. String value. # must be present in tokens. String value.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*http_connect_timeout*] # [*http_connect_timeout*]
# (Optional) Request timeout value for communicating with Identity API # (Optional) Request timeout value for communicating with Identity API
# server. # server.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*http_request_max_retries*] # [*http_request_max_retries*]
# (Optional) How many times are we trying to reconnect when communicating # (Optional) How many times are we trying to reconnect when communicating
# with Identity API Server. Integer value # with Identity API Server. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*include_service_catalog*] # [*include_service_catalog*]
# (Optional) Indicate whether to set the X-Service-Catalog header. If False, # (Optional) Indicate whether to set the X-Service-Catalog header. If False,
# middleware will not ask for service catalog on token validation and will # middleware will not ask for service catalog on token validation and will
# not set the X-Service-Catalog header. Boolean value. # not set the X-Service-Catalog header. Boolean value.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*keyfile*] # [*keyfile*]
# (Optional) Required if identity server requires client certificate # (Optional) Required if identity server requires client certificate
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_pool_conn_get_timeout*] # [*memcache_pool_conn_get_timeout*]
# (Optional) Number of seconds that an operation will wait to get a memcached # (Optional) Number of seconds that an operation will wait to get a memcached
# client connection from the pool. Integer value # client connection from the pool. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_pool_dead_retry*] # [*memcache_pool_dead_retry*]
# (Optional) Number of seconds memcached server is considered dead before it # (Optional) Number of seconds memcached server is considered dead before it
# is tried again. Integer value # is tried again. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_pool_maxsize*] # [*memcache_pool_maxsize*]
# (Optional) Maximum total number of open connections to every memcached # (Optional) Maximum total number of open connections to every memcached
# server. Integer value # server. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_pool_socket_timeout*] # [*memcache_pool_socket_timeout*]
# (Optional) Number of seconds a connection to memcached is held unused in # (Optional) Number of seconds a connection to memcached is held unused in
# the pool before it is closed. Integer value # the pool before it is closed. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_pool_unused_timeout*] # [*memcache_pool_unused_timeout*]
# (Optional) Number of seconds a connection to memcached is held unused in # (Optional) Number of seconds a connection to memcached is held unused in
# the pool before it is closed. Integer value # the pool before it is closed. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_secret_key*] # [*memcache_secret_key*]
# (Optional, mandatory if memcache_security_strategy is defined) This string # (Optional, mandatory if memcache_security_strategy is defined) This string
# is used for key derivation. # is used for key derivation.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_security_strategy*] # [*memcache_security_strategy*]
# (Optional) If defined, indicate whether token data should be authenticated # (Optional) If defined, indicate whether token data should be authenticated
@ -139,17 +139,17 @@
# HMAC) in the cache. If ENCRYPT, token data is encrypted and authenticated in the # HMAC) in the cache. If ENCRYPT, token data is encrypted and authenticated in the
# cache. If the value is not one of these options or empty, auth_token will # cache. If the value is not one of these options or empty, auth_token will
# raise an exception on initialization. # raise an exception on initialization.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcache_use_advanced_pool*] # [*memcache_use_advanced_pool*]
# (Optional) Use the advanced (eventlet safe) memcached client pool. The # (Optional) Use the advanced (eventlet safe) memcached client pool. The
# advanced pool will only work under python 2.x Boolean value # advanced pool will only work under python 2.x Boolean value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*memcached_servers*] # [*memcached_servers*]
# (Optional) Optionally specify a list of memcached server(s) to use for # (Optional) Optionally specify a list of memcached server(s) to use for
# caching. If left undefined, tokens will instead be cached in-process. # caching. If left undefined, tokens will instead be cached in-process.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*manage_memcache_package*] # [*manage_memcache_package*]
# (Optional) Whether to install the python-memcache package. # (Optional) Whether to install the python-memcache package.
@ -157,13 +157,13 @@
# #
# [*region_name*] # [*region_name*]
# (Optional) The region in which the identity server can be found. # (Optional) The region in which the identity server can be found.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*token_cache_time*] # [*token_cache_time*]
# (Optional) In order to prevent excessive effort spent validating tokens, # (Optional) In order to prevent excessive effort spent validating tokens,
# the middleware caches previously-seen tokens for a configurable duration # the middleware caches previously-seen tokens for a configurable duration
# (in seconds). Set to -1 to disable caching completely. Integer value # (in seconds). Set to -1 to disable caching completely. Integer value
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*service_token_roles*] # [*service_token_roles*]
# (Optional) A choice of roles that must be present in a service token. # (Optional) A choice of roles that must be present in a service token.
@ -173,66 +173,66 @@
# here are applied as an ANY check so any role in this list # here are applied as an ANY check so any role in this list
# must be present. For backwards compatibility reasons this # must be present. For backwards compatibility reasons this
# currently only affects the allow_expired check. (list value) # currently only affects the allow_expired check. (list value)
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*service_token_roles_required*] # [*service_token_roles_required*]
# (optional) backwards compatibility to ensure that the service tokens are # (optional) backwards compatibility to ensure that the service tokens are
# compared against a list of possible roles for validity # compared against a list of possible roles for validity
# true/false # true/false
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*service_type*] # [*service_type*]
# (Optional) The name or type of the service as it appears in the service # (Optional) The name or type of the service as it appears in the service
# catalog. This is used to validate tokens that have restricted access rules. # catalog. This is used to validate tokens that have restricted access rules.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*interface*] # [*interface*]
# (Optional) Interface to use for the Identity API endpoint. Valid values are # (Optional) Interface to use for the Identity API endpoint. Valid values are
# "public", "internal" or "admin". # "public", "internal" or "admin".
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*params*] # [*params*]
# (Optional) Hash of additional parameters to pass through to the keystone # (Optional) Hash of additional parameters to pass through to the keystone
# authtoken class. Values set here override the individual parameters above. # authtoken class. Values set here override the individual parameters above.
# #
class heat::keystone::authtoken( class heat::keystone::authtoken(
$password = $::os_service_default, $password = $facts['os_service_default'],
$username = 'heat', $username = 'heat',
$auth_url = 'http://127.0.0.1:5000/', $auth_url = 'http://127.0.0.1:5000/',
$project_name = 'services', $project_name = 'services',
$user_domain_name = 'Default', $user_domain_name = 'Default',
$project_domain_name = 'Default', $project_domain_name = 'Default',
$system_scope = $::os_service_default, $system_scope = $facts['os_service_default'],
$insecure = $::os_service_default, $insecure = $facts['os_service_default'],
$auth_section = $::os_service_default, $auth_section = $facts['os_service_default'],
$auth_type = 'password', $auth_type = 'password',
$www_authenticate_uri = 'http://127.0.0.1:5000/', $www_authenticate_uri = 'http://127.0.0.1:5000/',
$auth_version = $::os_service_default, $auth_version = $facts['os_service_default'],
$cache = $::os_service_default, $cache = $facts['os_service_default'],
$cafile = $::os_service_default, $cafile = $facts['os_service_default'],
$certfile = $::os_service_default, $certfile = $facts['os_service_default'],
$delay_auth_decision = $::os_service_default, $delay_auth_decision = $facts['os_service_default'],
$enforce_token_bind = $::os_service_default, $enforce_token_bind = $facts['os_service_default'],
$http_connect_timeout = $::os_service_default, $http_connect_timeout = $facts['os_service_default'],
$http_request_max_retries = $::os_service_default, $http_request_max_retries = $facts['os_service_default'],
$include_service_catalog = $::os_service_default, $include_service_catalog = $facts['os_service_default'],
$keyfile = $::os_service_default, $keyfile = $facts['os_service_default'],
$memcache_pool_conn_get_timeout = $::os_service_default, $memcache_pool_conn_get_timeout = $facts['os_service_default'],
$memcache_pool_dead_retry = $::os_service_default, $memcache_pool_dead_retry = $facts['os_service_default'],
$memcache_pool_maxsize = $::os_service_default, $memcache_pool_maxsize = $facts['os_service_default'],
$memcache_pool_socket_timeout = $::os_service_default, $memcache_pool_socket_timeout = $facts['os_service_default'],
$memcache_pool_unused_timeout = $::os_service_default, $memcache_pool_unused_timeout = $facts['os_service_default'],
$memcache_secret_key = $::os_service_default, $memcache_secret_key = $facts['os_service_default'],
$memcache_security_strategy = $::os_service_default, $memcache_security_strategy = $facts['os_service_default'],
$memcache_use_advanced_pool = $::os_service_default, $memcache_use_advanced_pool = $facts['os_service_default'],
$memcached_servers = $::os_service_default, $memcached_servers = $facts['os_service_default'],
$manage_memcache_package = false, $manage_memcache_package = false,
$region_name = $::os_service_default, $region_name = $facts['os_service_default'],
$token_cache_time = $::os_service_default, $token_cache_time = $facts['os_service_default'],
$service_token_roles = $::os_service_default, $service_token_roles = $facts['os_service_default'],
$service_token_roles_required = $::os_service_default, $service_token_roles_required = $facts['os_service_default'],
$service_type = $::os_service_default, $service_type = $facts['os_service_default'],
$interface = $::os_service_default, $interface = $facts['os_service_default'],
$params = {}, $params = {},
) { ) {

@ -6,71 +6,71 @@
# #
# [*debug*] # [*debug*]
# (Optional) Should the daemons log debug messages. # (Optional) Should the daemons log debug messages.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_syslog*] # [*use_syslog*]
# (Optional) Use syslog for logging. # (Optional) Use syslog for logging.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_json*] # [*use_json*]
# (Optional) Use json for logging. # (Optional) Use json for logging.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_journal*] # [*use_journal*]
# (Optional) Use journal for logging. # (Optional) Use journal for logging.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*use_stderr*] # [*use_stderr*]
# (Optional) Use stderr for logging. # (Optional) Use stderr for logging.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*log_facility*] # [*log_facility*]
# (Optional) Syslog facility to receive log lines. # (Optional) Syslog facility to receive log lines.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*log_dir*] # [*log_dir*]
# (Optional) Directory where logs should be stored. # (Optional) Directory where logs should be stored.
# If set to $::os_service_default, it will not log to any directory. # If set to $facts['os_service_default'], it will not log to any directory.
# Defaults to '/var/log/heat' # Defaults to '/var/log/heat'
# #
# [*log_file*] # [*log_file*]
# (Optional) File where logs should be stored. # (Optional) File where logs should be stored.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*watch_log_file*] # [*watch_log_file*]
# (Optional) Uses logging handler designed to watch file system (boolean value). # (Optional) Uses logging handler designed to watch file system (boolean value).
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*logging_context_format_string*] # [*logging_context_format_string*]
# (Optional) Format string to use for log messages with context. # (Optional) Format string to use for log messages with context.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\ # Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\
# [%(request_id)s %(user_identity)s] %(instance)s%(message)s' # [%(request_id)s %(user_identity)s] %(instance)s%(message)s'
# #
# [*logging_default_format_string*] # [*logging_default_format_string*]
# (Optional) Format string to use for log messages without context. # (Optional) Format string to use for log messages without context.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\ # Example: '%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s\
# [-] %(instance)s%(message)s' # [-] %(instance)s%(message)s'
# #
# [*logging_debug_format_suffix*] # [*logging_debug_format_suffix*]
# (Optional) Formatted data to append to log format when level is DEBUG. # (Optional) Formatted data to append to log format when level is DEBUG.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: '%(funcName)s %(pathname)s:%(lineno)d' # Example: '%(funcName)s %(pathname)s:%(lineno)d'
# #
# [*logging_exception_prefix*] # [*logging_exception_prefix*]
# (Optional) Prefix each line of exception output with this format. # (Optional) Prefix each line of exception output with this format.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s' # Example: '%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s'
# #
# [*log_config_append*] # [*log_config_append*]
# (Optional) The name of an additional logging configuration file. # (Optional) The name of an additional logging configuration file.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# See https://docs.python.org/2/howto/logging.html # See https://docs.python.org/2/howto/logging.html
# #
# [*default_log_levels*] # [*default_log_levels*]
# (Optional) Hash of logger (keys) and level (values) pairs. # (Optional) Hash of logger (keys) and level (values) pairs.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: # Example:
# {'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN', # {'amqp' => 'WARN', 'amqplib' => 'WARN', 'boto' => 'WARN',
# 'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN', # 'sqlalchemy' => 'WARN', 'suds' => 'INFO', 'iso8601' => 'WARN',
@ -78,50 +78,50 @@
# #
# [*publish_errors*] # [*publish_errors*]
# (Optional) Publish error events (boolean value). # (Optional) Publish error events (boolean value).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*fatal_deprecations*] # [*fatal_deprecations*]
# (Optional) Make deprecations fatal (boolean value). # (Optional) Make deprecations fatal (boolean value).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*instance_format*] # [*instance_format*]
# (Optional) If an instance is passed with the log message, format it # (Optional) If an instance is passed with the log message, format it
# like this (string value). # like this (string value).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: '[instance: %(uuid)s] ' # Example: '[instance: %(uuid)s] '
# #
# [*instance_uuid_format*] # [*instance_uuid_format*]
# (Optional) If an instance UUID is passed with the log message, format # (Optional) If an instance UUID is passed with the log message, format
# It like this (string value). # It like this (string value).
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: instance_uuid_format='[instance: %(uuid)s] ' # Example: instance_uuid_format='[instance: %(uuid)s] '
# [*log_date_format*] # [*log_date_format*]
# (Optional) Format string for %%(asctime)s in log records. # (Optional) Format string for %%(asctime)s in log records.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# Example: 'Y-%m-%d %H:%M:%S' # Example: 'Y-%m-%d %H:%M:%S'
# #
class heat::logging( class heat::logging(
$use_syslog = $::os_service_default, $use_syslog = $facts['os_service_default'],
$use_json = $::os_service_default, $use_json = $facts['os_service_default'],
$use_journal = $::os_service_default, $use_journal = $facts['os_service_default'],
$use_stderr = $::os_service_default, $use_stderr = $facts['os_service_default'],
$log_facility = $::os_service_default, $log_facility = $facts['os_service_default'],
$log_dir = '/var/log/heat', $log_dir = '/var/log/heat',
$log_file = $::os_service_default, $log_file = $facts['os_service_default'],
$watch_log_file = $::os_service_default, $watch_log_file = $facts['os_service_default'],
$debug = $::os_service_default, $debug = $facts['os_service_default'],
$logging_context_format_string = $::os_service_default, $logging_context_format_string = $facts['os_service_default'],
$logging_default_format_string = $::os_service_default, $logging_default_format_string = $facts['os_service_default'],
$logging_debug_format_suffix = $::os_service_default, $logging_debug_format_suffix = $facts['os_service_default'],
$logging_exception_prefix = $::os_service_default, $logging_exception_prefix = $facts['os_service_default'],
$log_config_append = $::os_service_default, $log_config_append = $facts['os_service_default'],
$default_log_levels = $::os_service_default, $default_log_levels = $facts['os_service_default'],
$publish_errors = $::os_service_default, $publish_errors = $facts['os_service_default'],
$fatal_deprecations = $::os_service_default, $fatal_deprecations = $facts['os_service_default'],
$instance_format = $::os_service_default, $instance_format = $facts['os_service_default'],
$instance_uuid_format = $::os_service_default, $instance_uuid_format = $facts['os_service_default'],
$log_date_format = $::os_service_default, $log_date_format = $facts['os_service_default'],
) { ) {
include heat::deps include heat::deps

@ -9,7 +9,7 @@ class heat::params {
$user = 'heat' $user = 'heat'
$group = 'heat' $group = 'heat'
case $::osfamily { case $facts['os']['family'] {
'RedHat': { 'RedHat': {
# package names # package names
$api_package_name = 'openstack-heat-api' $api_package_name = 'openstack-heat-api'
@ -40,7 +40,7 @@ class heat::params {
$heat_api_wsgi_script_source = '/usr/bin/heat-wsgi-api' $heat_api_wsgi_script_source = '/usr/bin/heat-wsgi-api'
$heat_api_cfn_wsgi_script_source = '/usr/bin/heat-wsgi-api-cfn' $heat_api_cfn_wsgi_script_source = '/usr/bin/heat-wsgi-api-cfn'
# Operating system specific # Operating system specific
case $::operatingsystem { case $facts['os']['name'] {
'Ubuntu': { 'Ubuntu': {
$libvirt_group = 'libvirtd' $libvirt_group = 'libvirtd'
} }
@ -50,9 +50,7 @@ class heat::params {
} }
} }
default: { default: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \ fail("Unsupported osfamily: ${facts['os']['family']}")
${::operatingsystem}, module ${module_name} only support osfamily \
RedHat and Debian")
} }
} }
} }

@ -6,12 +6,12 @@
# #
# [*enforce_scope*] # [*enforce_scope*]
# (Optional) Whether or not to enforce scope when evaluating policies. # (Optional) Whether or not to enforce scope when evaluating policies.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*enforce_new_defaults*] # [*enforce_new_defaults*]
# (Optional) Whether or not to use old deprecated defaults when evaluating # (Optional) Whether or not to use old deprecated defaults when evaluating
# policies. # policies.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*policies*] # [*policies*]
# (Optional) Set of policies to configure for heat # (Optional) Set of policies to configure for heat
@ -34,11 +34,11 @@
# #
# [*policy_default_rule*] # [*policy_default_rule*]
# (Optional) Default rule. Enforced when a requested rule is not found. # (Optional) Default rule. Enforced when a requested rule is not found.
# Defaults to $::os_service_default. # Defaults to $facts['os_service_default'].
# #
# [*policy_dirs*] # [*policy_dirs*]
# (Optional) Path to the heat policy folder # (Optional) Path to the heat policy folder
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*purge_config*] # [*purge_config*]
# (optional) Whether to set only the specified policy rules in the policy # (optional) Whether to set only the specified policy rules in the policy
@ -46,12 +46,12 @@
# Defaults to false. # Defaults to false.
# #
class heat::policy ( class heat::policy (
$enforce_scope = $::os_service_default, $enforce_scope = $facts['os_service_default'],
$enforce_new_defaults = $::os_service_default, $enforce_new_defaults = $facts['os_service_default'],
$policies = {}, $policies = {},
$policy_path = '/etc/heat/policy.yaml', $policy_path = '/etc/heat/policy.yaml',
$policy_default_rule = $::os_service_default, $policy_default_rule = $facts['os_service_default'],
$policy_dirs = $::os_service_default, $policy_dirs = $facts['os_service_default'],
$purge_config = false, $purge_config = false,
) { ) {

@ -7,7 +7,7 @@
# [*password*] # [*password*]
# (optional) Password for connecting to Cinder services in # (optional) Password for connecting to Cinder services in
# admin context through the OpenStack Identity service. # admin context through the OpenStack Identity service.
# Defaults to $::os_service_default # Defaults to $facts['os_service_default']
# #
# [*auth_type*] # [*auth_type*]
# (optional) Name of the auth type to load (string value) # (optional) Name of the auth type to load (string value)
@ -49,7 +49,7 @@ class heat::trustee (
$username_real = pick($username, $::heat::keystone::authtoken::username) $username_real = pick($username, $::heat::keystone::authtoken::username)
$user_domain_name_real = pick($user_domain_name, $::heat::keystone::authtoken::user_domain_name) $user_domain_name_real = pick($user_domain_name, $::heat::keystone::authtoken::user_domain_name)
} else { } else {
$password_real = pick($password, $::os_service_default) $password_real = pick($password, $facts['os_service_default'])
$auth_type_real = pick($auth_type, 'password') $auth_type_real = pick($auth_type, 'password')
$auth_url_real = pick($auth_url, 'http://127.0.0.1:5000/') $auth_url_real = pick($auth_url, 'http://127.0.0.1:5000/')
$username_real = pick($username, 'heat') $username_real = pick($username, 'heat')

@ -30,7 +30,7 @@
# #
# [*servername*] # [*servername*]
# (Optional) The servername for the virtualhost. # (Optional) The servername for the virtualhost.
# Defaults to $::fqdn # Defaults to $facts['networking']['fqdn']
# #
# [*bind_host*] # [*bind_host*]
# (Optional) The host/ip address Apache will listen on. # (Optional) The host/ip address Apache will listen on.
@ -46,7 +46,7 @@
# #
# [*workers*] # [*workers*]
# (Optional) Number of WSGI workers to spawn. # (Optional) Number of WSGI workers to spawn.
# Defaults to $::os_workers # Defaults to $facts['os_workers']
# #
# [*priority*] # [*priority*]
# (Optional) The priority for the vhost. # (Optional) The priority for the vhost.
@ -131,11 +131,11 @@
# #
define heat::wsgi::apache ( define heat::wsgi::apache (
$port, $port,
$servername = $::fqdn, $servername = $facts['networking']['fqdn'],
$bind_host = undef, $bind_host = undef,
$path = '/', $path = '/',
$ssl = false, $ssl = false,
$workers = $::os_workers, $workers = $facts['os_workers'],
$ssl_cert = undef, $ssl_cert = undef,
$ssl_key = undef, $ssl_key = undef,
$ssl_chain = undef, $ssl_chain = undef,

@ -26,7 +26,7 @@
# #
# [*servername*] # [*servername*]
# (Optional) The servername for the virtualhost. # (Optional) The servername for the virtualhost.
# Defaults to $::fqdn # Defaults to $facts['networking']['fqdn']
# #
# [*bind_host*] # [*bind_host*]
# (Optional) The host/ip address Apache will listen on. # (Optional) The host/ip address Apache will listen on.
@ -42,7 +42,7 @@
# #
# [*workers*] # [*workers*]
# (Optional) Number of WSGI workers to spawn. # (Optional) Number of WSGI workers to spawn.
# Defaults to $::os_workers # Defaults to $facts['os_workers']
# #
# [*priority*] # [*priority*]
# (Optional) The priority for the vhost. # (Optional) The priority for the vhost.
@ -128,11 +128,11 @@
# #
class heat::wsgi::apache_api ( class heat::wsgi::apache_api (
$port = 8004, $port = 8004,
$servername = $::fqdn, $servername = $facts['networking']['fqdn'],
$bind_host = undef, $bind_host = undef,
$path = '/', $path = '/',
$ssl = false, $ssl = false,
$workers = $::os_workers, $workers = $facts['os_workers'],
$ssl_cert = undef, $ssl_cert = undef,
$ssl_key = undef, $ssl_key = undef,
$ssl_chain = undef, $ssl_chain = undef,

@ -26,7 +26,7 @@
# #
# [*servername*] # [*servername*]
# (Optional) The servername for the virtualhost. # (Optional) The servername for the virtualhost.
# Defaults to $::fqdn # Defaults to $facts['networking']['fqdn']
# #
# [*bind_host*] # [*bind_host*]
# (Optional) The host/ip address Apache will listen on. # (Optional) The host/ip address Apache will listen on.
@ -42,7 +42,7 @@
# #
# [*workers*] # [*workers*]
# (Optional) Number of WSGI workers to spawn. # (Optional) Number of WSGI workers to spawn.
# Defaults to $::os_workers # Defaults to $facts['os_workers']
# #
# [*priority*] # [*priority*]
# (Optional) The priority for the vhost. # (Optional) The priority for the vhost.
@ -129,11 +129,11 @@
# #
class heat::wsgi::apache_api_cfn ( class heat::wsgi::apache_api_cfn (
$port = 8000, $port = 8000,
$servername = $::fqdn, $servername = $facts['networking']['fqdn'],
$bind_host = undef, $bind_host = undef,
$path = '/', $path = '/',
$ssl = false, $ssl = false,
$workers = $::os_workers, $workers = $facts['os_workers'],
$ssl_cert = undef, $ssl_cert = undef,
$ssl_key = undef, $ssl_key = undef,
$ssl_chain = undef, $ssl_chain = undef,

@ -11,7 +11,7 @@
# #
# [*processes*] # [*processes*]
# (Optional) Number of processes. # (Optional) Number of processes.
# Defaults to $::os_workers. # Defaults to $facts['os_workers'].
# #
# [*threads*] # [*threads*]
# (Optional) Number of threads. # (Optional) Number of threads.
@ -22,14 +22,14 @@
# Defaults to 100 # Defaults to 100
# #
class heat::wsgi::uwsgi_api ( class heat::wsgi::uwsgi_api (
$processes = $::os_workers, $processes = $facts['os_workers'],
$threads = 32, $threads = 32,
$listen_queue_size = 100, $listen_queue_size = 100,
){ ){
include heat::deps include heat::deps
if $::operatingsystem != 'Debian'{ if $facts['os']['name'] != 'Debian'{
warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.') warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
} }

@ -11,7 +11,7 @@
# #
# [*processes*] # [*processes*]
# (Optional) Number of processes. # (Optional) Number of processes.
# Defaults to $::os_workers. # Defaults to $facts['os_workers'].
# #
# [*threads*] # [*threads*]
# (Optional) Number of threads. # (Optional) Number of threads.
@ -22,14 +22,14 @@
# Defaults to 100 # Defaults to 100
# #
class heat::wsgi::uwsgi_api_cfn ( class heat::wsgi::uwsgi_api_cfn (
$processes = $::os_workers, $processes = $facts['os_workers'],
$threads = 32, $threads = 32,
$listen_queue_size = 100, $listen_queue_size = 100,
){ ){
include heat::deps include heat::deps
if $::operatingsystem != 'Debian'{ if $facts['os']['name'] != 'Debian'{
warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.') warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
} }

@ -99,7 +99,7 @@ describe 'heat::api_cfn' do
end end
let :platform_params do let :platform_params do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :api_cfn_service_name => 'heat-api-cfn' } { :api_cfn_service_name => 'heat-api-cfn' }
when 'RedHat' when 'RedHat'

@ -98,7 +98,7 @@ describe 'heat::api' do
end end
let :platform_params do let :platform_params do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :api_service_name => 'heat-api' } { :api_service_name => 'heat-api' }
when 'RedHat' when 'RedHat'

@ -38,7 +38,7 @@ describe 'heat::client' do
end end
let(:platform_params) do let(:platform_params) do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :client_package_name => 'python3-heatclient' } { :client_package_name => 'python3-heatclient' }
when 'RedHat' when 'RedHat'

@ -58,9 +58,7 @@ describe 'heat::db::sync' do
}).each do |os,facts| }).each do |os,facts|
context "on #{os}" do context "on #{os}" do
let (:facts) do let (:facts) do
facts.merge(OSDefaults.get_facts({ facts.merge(OSDefaults.get_facts())
:concat_basedir => '/var/lib/puppet/concat'
}))
end end
it_behaves_like 'heat-dbsync' it_behaves_like 'heat-dbsync'

@ -177,7 +177,7 @@ describe 'heat::engine' do
end end
let :platform_params do let :platform_params do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :package_name => 'heat-engine', { :package_name => 'heat-engine',
:service_name => 'heat-engine' :service_name => 'heat-engine'

@ -420,7 +420,7 @@ describe 'heat' do
end end
let :platform_params do let :platform_params do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :common_package_name => 'heat-common' } { :common_package_name => 'heat-common' }
when 'RedHat' when 'RedHat'

@ -7,7 +7,7 @@ describe 'heat::wsgi::apache_api_cfn' do
it { is_expected.to contain_class('heat::wsgi::apache_api_cfn') } it { is_expected.to contain_class('heat::wsgi::apache_api_cfn') }
it { is_expected.to contain_heat__wsgi__apache('api_cfn').with( it { is_expected.to contain_heat__wsgi__apache('api_cfn').with(
:port => 8000, :port => 8000,
:servername => facts[:fqdn], :servername => 'foo.example.com',
:bind_host => nil, :bind_host => nil,
:path => '/', :path => '/',
:ssl => false, :ssl => false,

@ -7,7 +7,7 @@ describe 'heat::wsgi::apache_api' do
it { is_expected.to contain_class('heat::wsgi::apache_api') } it { is_expected.to contain_class('heat::wsgi::apache_api') }
it { is_expected.to contain_heat__wsgi__apache('api').with( it { is_expected.to contain_heat__wsgi__apache('api').with(
:port => 8004, :port => 8004,
:servername => facts[:fqdn], :servername => 'foo.example.com',
:bind_host => nil, :bind_host => nil,
:path => '/', :path => '/',
:ssl => false, :ssl => false,

@ -81,7 +81,7 @@ describe 'heat::wsgi::apache' do
end end
let(:platform_params) do let(:platform_params) do
case facts[:osfamily] case facts[:os]['family']
when 'Debian' when 'Debian'
{ :wsgi_script_dir => '/usr/lib/cgi-bin/heat', { :wsgi_script_dir => '/usr/lib/cgi-bin/heat',
:script_source_api => '/usr/bin/heat-wsgi-api', :script_source_api => '/usr/bin/heat-wsgi-api',