1 heat_template_version: ocata
4 Do some configuration, then reboot - sometimes needed for early-boot
5 changes such as modifying kernel configuration
14 type: OS::Heat::SoftwareConfig
19 echo "did some config before reboot" > /root/pre-reboot-config
22 type: OS::Heat::SoftwareDeployment
25 server: {get_param: server}
26 config: {get_resource: SomeConfig}
27 actions: ['CREATE'] # Only do this on CREATE
30 type: OS::Heat::SoftwareConfig
35 # Stop os-collect-config to avoid any race collecting another
36 # deployment before reboot happens
37 systemctl stop os-collect-config.service
41 type: OS::Heat::SoftwareDeployment
42 depends_on: SomeDeployment
44 name: RebootDeployment
45 server: {get_param: server}
46 config: {get_resource: RebootConfig}
47 actions: ['CREATE'] # Only do this on CREATE
48 signal_transport: NO_SIGNAL