]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make Fn::GetAtt add a dependency
authorZane Bitter <zbitter@redhat.com>
Fri, 31 May 2013 10:52:30 +0000 (12:52 +0200)
committerSteve Baker <sbaker@redhat.com>
Wed, 5 Jun 2013 23:10:12 +0000 (11:10 +1200)
commit4c556ae9334ab3edda1c57c022d75ec7013c4b7d
treeda5baf5f5bcca608c203d48f203eec4853e530cb
parentbc6915260e50dab4e879d953c1ef5c38a2d95e54
Make Fn::GetAtt add a dependency

This will ensure that resources which get attributes from other resources
are not created until the latter resources are available.

An audit of all the templates in the heat-templates repo revealed that in
only one case did this cause a circular reference, and it was the template
that appeared to be incorrect (it has since been fixed).

Change-Id: Ibd51acdda55c24f665c5ca887040f3564d952c0e
heat/engine/resource.py
heat/tests/test_metadata_refresh.py