1 heat_template_version: 2014-10-16
4 This is first boot configuration for development purposes. It allows
5 overriding contents of the deployed images via rsync before
6 configuration (e.g. Puppet) starts, speeding up the feedback loop
7 between making a change and seeing it applied.
9 To prepare the host, put something like this to /etc/rsyncd.conf:
12 path = /root/overcloudsync
13 comment = overcloud pre-puppet customizations
15 Then run `rsync --daemon`.
20 default: 192.168.122.1
21 description: Host to sync contents from via rsync
24 default: overcloudsync
25 description: Name of the module defined in rsyncd.conf on rsync_host
29 type: OS::Heat::MultipartMime
32 - config: {get_resource: rsync_config}
33 subtype: 'x-shellscript'
36 type: OS::Heat::SoftwareConfig
42 rsync -avr rsync://RSYNC_HOST/RSYNC_MODULE /
44 RSYNC_HOST: {get_param: dev_rsync_host}
45 RSYNC_MODULE: {get_param: dev_rsync_module}
49 value: {get_resource: userdata}