]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : allow NestedStack template validation to work
authorSteven Hardy <shardy@redhat.com>
Tue, 8 Jan 2013 15:47:55 +0000 (15:47 +0000)
committerSteven Hardy <shardy@redhat.com>
Tue, 8 Jan 2013 15:47:55 +0000 (15:47 +0000)
commit69b359e47daf83e0b620ae248eca3d394e9c05cf
treefa07ef9d0aaac03f1d188ea71ae4a5fa5cfb6dec
parent93c3d93ec481d81e97d4b120384b5e1d93ca6532
heat engine : allow NestedStack template validation to work

Nested stack templates (e.g WordPress_Composed_Instances.template)
will currently fail validation because FnGetAtt attempts to get
outputs for a stack which doesn't yet exist.  So add a fallback which
returns a string "None" for Outputs.* which will allow template
validation to succeed, and will still return the actual output when
the nested stack has actually been created.

fixes bug 1097290

Change-Id: Ic3f48cfc2f047c104946d6dde533143d0d91a32c
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resources/stack.py