diff options
author | Steve Baker <sbaker@redhat.com> | 2015-11-27 04:35:27 +0000 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2015-12-12 12:40:42 +1300 |
commit | 572903cd21fdfd968126ab1e524d2f3757d31ccb (patch) | |
tree | 833c66c0f0df11c5a58f59885eab398c3e0d2c9e /puppet/compute.yaml | |
parent | 99bd9970d6bedee8228a6c8ff3d6f45aa1380e22 (diff) |
Add SoftwareConfigTransport for switching transports
This change adds a SoftwareConfigTransport parameter to role templates
so that the transport can be changed via a parameter_defaults entry.
This change will have no effect on an existing overcloud as the current
default POLL_SERVER_CFN is now explicit in the parameter default.
Change-Id: I5c2a2d2170714093c5757282cba12ac65f8738a4
Diffstat (limited to 'puppet/compute.yaml')
-rw-r--r-- | puppet/compute.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/compute.yaml b/puppet/compute.yaml index 42c6e276..cf70c662 100644 --- a/puppet/compute.yaml +++ b/puppet/compute.yaml @@ -290,6 +290,13 @@ parameters: description: > Heat action when to apply network configuration changes default: ['CREATE'] + SoftwareConfigTransport: + default: POLL_SERVER_CFN + description: | + How the server should receive the metadata required for software configuration. + type: string + constraints: + - allowed_values: [POLL_SERVER_CFN, POLL_SERVER_HEAT, POLL_TEMP_URL, ZAQAR_MESSAGE] CloudDomain: default: '' type: string @@ -320,6 +327,7 @@ resources: user_data_format: SOFTWARE_CONFIG user_data: {get_resource: UserData} name: {get_param: Hostname} + software_config_transport: {get_param: SoftwareConfigTransport} metadata: {get_param: ServerMetadata} # Combine the NodeAdminUserData and NodeUserData mime archives |