Add parameter "heat_apis"

Enable a global parameter that allows users to define which Heat APIs
they want to support ('heat', 'cfn', and/or 'cloudwatch').
This commit is contained in:
Florian Haas 2013-10-16 17:12:24 +02:00
parent c175a91448
commit bc3149a46a
2 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class kickstack (
$xenapi_connection_username = $kickstack::params::xenapi_connection_username,
$xenapi_connection_password = $kickstack::params::xenapi_connection_password,
$horizon_allow_any_hostname = $kickstack::params::horizon_allow_any_hostname,
$heat_apis = $kickstack::params::heat_apis,
) inherits kickstack::params {
include ::exportfact

View File

@ -245,4 +245,8 @@ class kickstack::params {
# tunnel, etc.
$horizon_allow_any_hostname = str2bool(pick(getvar("::${variable_prefix}horizon_allow_any_hostname"),'false'))
# Enabled Heat APIs (comma-separated list of exposed APIs)
# Can be any combination of 'heat', 'cfn', and 'cloudwatch'
# Default is just 'heat' (the native Heat API)
$heat_apis = pick(getvar("::${variable_prefix}heat_apis"),'heat')
}