1 heat_template_version: 2014-10-16
15 # Require this so we can validate the parent passes the
29 type: comma_delimited_list
34 software_config_transport:
35 default: POLL_SERVER_CFN
39 description: Optional scheduler hints to pass to nova
43 # We just need something which returns a unique ID, but we can't
44 # use RandomString because RefId returns the value, not the physical
45 # resource ID, SoftwareConfig should work as it returns a UUID
47 type: OS::TripleO::DeployedServerConfig
49 user_data_format: SOFTWARE_CONFIG
52 type: OS::Heat::StructuredConfig
56 instance-id: {get_attr: [deployed-server, "OS::stack_id"]}
59 type: OS::Heat::StructuredDeployment
61 config: {get_resource: InstanceIdConfig}
62 server: {get_resource: deployed-server}
65 type: OS::Heat::SoftwareConfig
71 mkdir -p $heat_outputs_path
73 echo -n $host > $heat_outputs_path.hostname
74 cat $heat_outputs_path.hostname
80 type: OS::Heat::SoftwareDeployment
82 config: {get_resource: HostsEntryConfig}
83 server: {get_resource: deployed-server}
86 type: OS::TripleO::DeployedServer::ControlPlanePort
88 Hostname: {get_attr: [HostsEntryDeployment, hostname]}
91 # FIXME(shardy) this is needed because TemplateResource returns an
92 # ARN not a UUID, which overflows the Deployment server_id column..
94 value: {get_attr: [deployed-server, "OS::stack_id"]}
98 - {get_attr: [ControlPlanePort, ip_address]}
100 value: {get_attr: [HostsEntryDeployment, hostname]}