Enable passing optional first-boot user-data
authorSteven Hardy <shardy@redhat.com>
Thu, 2 Apr 2015 13:52:18 +0000 (09:52 -0400)
committerSteven Hardy <shardy@redhat.com>
Fri, 24 Apr 2015 09:18:31 +0000 (10:18 +0100)
commit723db1317cd62a8772c764847c80a339eae4c03f
treedc1161fb6db10d4317702366c9c903d5cd5c14c0
parent1781c64bfc9cc929355b28344d0e34b2347e6ffe
Enable passing optional first-boot user-data

Currently all the OS::Nova::Server resource created don't pass any
user-data.  It's possible to pass user-data as well as using heat
SoftwareConfig/SoftwareDeployment resources, and this can be useful
when you have simple "first boot" tasks which are possible either via
cloud-init, or via simple run-once scripts.

This enables passing such data by implementing a new provider resource
OS::TripleO::NodeUserData, which defaults to passing an empty mime
archive (thus it's a no-op).  An example of non no-op usage is also
provided.

Change-Id: Id0caba69768630e3a10439ba1fc2547a609c0cfe
15 files changed:
ceph-storage.yaml
cinder-storage.yaml
compute.yaml
controller.yaml
firstboot/userdata_default.yaml [new file with mode: 0644]
firstboot/userdata_example.yaml [new file with mode: 0644]
nagios3.yaml
overcloud-resource-registry-puppet.yaml
overcloud-resource-registry.yaml
puppet/ceph-storage-puppet.yaml
puppet/cinder-storage-puppet.yaml
puppet/compute-puppet.yaml
puppet/controller-puppet.yaml
puppet/swift-storage-puppet.yaml
swift-storage.yaml