Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit bc3149a

Browse files
committed
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').
1 parent c175a91 commit bc3149a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

manifests/init.pp

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
$xenapi_connection_username = $kickstack::params::xenapi_connection_username,
6262
$xenapi_connection_password = $kickstack::params::xenapi_connection_password,
6363
$horizon_allow_any_hostname = $kickstack::params::horizon_allow_any_hostname,
64+
$heat_apis = $kickstack::params::heat_apis,
6465
) inherits kickstack::params {
6566

6667
include ::exportfact

manifests/params.pp

+4
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,8 @@
245245
# tunnel, etc.
246246
$horizon_allow_any_hostname = str2bool(pick(getvar("::${variable_prefix}horizon_allow_any_hostname"),'false'))
247247

248+
# Enabled Heat APIs (comma-separated list of exposed APIs)
249+
# Can be any combination of 'heat', 'cfn', and 'cloudwatch'
250+
# Default is just 'heat' (the native Heat API)
251+
$heat_apis = pick(getvar("::${variable_prefix}heat_apis"),'heat')
248252
}

0 commit comments

Comments
 (0)