--- /dev/null
+heat_template_version: 2014-10-16
+description: 'Bootstrap Config'
+
+parameters:
+ bootstrap_nodeid:
+ type: string
+
+resources:
+
+ BootstrapNodeConfigImpl:
+ type: OS::Heat::StructuredConfig
+ properties:
+ config:
+ bootstrap_host:
+ bootstrap_nodeid: {get_param: bootstrap_nodeid}
+
+outputs:
+ config_id:
+ description: The ID of the BootstrapNodeConfigImpl resource.
+ value:
+ {get_resource: BootstrapNodeConfigImpl}
OS::TripleO::ControllerPostDeployment: puppet/controller-post-puppet.yaml
OS::TripleO::SwiftDevicesAndProxy::SoftwareConfig: puppet/swift-devices-and-proxy-config.yaml
OS::TripleO::AllNodes::SoftwareConfig: puppet/all-nodes-config.yaml
+ OS::TripleO::BootstrapNode::SoftwareConfig: puppet/bootstrap-config.yaml
# NOTE(dprince): requires a new release of python-heatclient
#default_parameters:
OS::TripleO::ControllerPostDeployment: controller-post.yaml
OS::TripleO::SwiftDevicesAndProxy::SoftwareConfig: swift-devices-and-proxy-config.yaml
OS::TripleO::AllNodes::SoftwareConfig: all-nodes-config.yaml
+ OS::TripleO::BootstrapNode::SoftwareConfig: bootstrap-config.yaml
replacement_policy: AUTO
ControllerBootstrapNodeConfig:
- type: OS::Heat::StructuredConfig
+ type: OS::TripleO::BootstrapNode::SoftwareConfig
properties:
- group: os-apply-config
- config:
- bootstrap_host:
- bootstrap_nodeid: {get_attr: [Controller, resource.0.hostname]}
+ bootstrap_nodeid: {get_attr: [Controller, resource.0.hostname]}
ControllerBootstrapNodeDeployment:
type: OS::Heat::StructuredDeployments
properties:
- config: {get_resource: ControllerBootstrapNodeConfig}
+ config: {get_attr: [ControllerBootstrapNodeConfig, config_id]}
servers: {get_attr: [Controller, attributes, nova_server_resource]}
signal_transport: NO_SIGNAL
--- /dev/null
+heat_template_version: 2014-10-16
+description: 'Bootstrap Config Puppet'
+
+parameters:
+ bootstrap_nodeid:
+ type: string
+
+resources:
+
+ BootstrapNodeConfigImpl:
+ type: OS::Heat::StructuredConfig
+ properties:
+ config:
+ hiera:
+ datafiles:
+ bootstrap_node:
+ mapped_data:
+ bootstrap_nodeid: {get_param: bootstrap_nodeid}
+
+outputs:
+ config_id:
+ description: The ID of the BootstrapNodeConfigImpl resource.
+ value:
+ {get_resource: BootstrapNodeConfigImpl}
- object
- swift_devices_and_proxy # provided by SwiftDevicesAndProxyConfig
- rabbit # provided by allNodesConfig
+ - bootstrap_node # provided by BootstrapNodeConfig
- common
datafiles:
common:
raw_data: {get_file: hieradata/object.yaml}
controller:
raw_data: {get_file: hieradata/controller.yaml}
- oac_data: # data we map in from other OAC configurations
- bootstrap_nodeid: bootstrap_host.bootstrap_nodeid
mapped_data: # data supplied directly to this deployment configuration, etc
debug: {get_input: debug}
bootstack_nodeid: {get_input: bootstack_nodeid}