]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Add Fn::Select template function
authorAngus Salkeld <asalkeld@redhat.com>
Tue, 4 Jun 2013 23:37:19 +0000 (09:37 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Tue, 4 Jun 2013 23:37:50 +0000 (09:37 +1000)
commit9b785dee9fa06e6f6efba4d1ae8f34505d0c5c3e
tree190cdb391a80c010dc04b3c5306885707e512922
parentc981c55d3216e85c40d2b85518d9158d45825bcb
Add Fn::Select template function

It also knows how to lookup keys in dict's too.
The strings can be a serialized json blob too.

blueprint fn-select
blueprint fn-mapselect
Change-Id: Ie40afa47c1f0a699abb852bc22388f3f675172e6
heat/engine/parser.py
heat/engine/template.py
heat/tests/test_parser.py