no doc says where intrinsic functions are allowed/prohibited

Bug #1369736 reported by Mike Spreitzer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Wishlist
Angus Salkeld

Bug Description

Intrinsic functions are interpreted only in certain positions. But the template guide does not tell the user which those are. I was recently surprised to learn that the following template fragment has two errors in this matter:

  resources:
    thing:
      type: {get_param: thing_type}
      properties: {get_param: thing_props}

Long ago I learned that the following fragment has an error of this sort:

  resources:
    {get_param: thing_name}:

Angus Salkeld (asalkeld)
Changed in heat:
importance: Undecided → Wishlist
status: New → Triaged
Angus Salkeld (asalkeld)
Changed in heat:
assignee: nobody → Angus Salkeld (asalkeld)
milestone: none → liberty-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/210871

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/210871
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=dcc1f93c28ec34be48f9e56c55622c42f4a7dce0
Submitter: Jenkins
Branch: master

commit dcc1f93c28ec34be48f9e56c55622c42f4a7dce0
Author: Angus Salkeld <email address hidden>
Date: Mon Aug 10 10:17:35 2015 +1000

    Add note on the use of intrinsic functions

    Change-Id: Ib90573b46b0077c2ca4902ad92ee7d9fb730f5f7
    Closes-bug: #1369736

Changed in heat:
status: In Progress → Fix Committed
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-3 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.