An inclusion mechanism using a get_file implicit function

Registered by Steve Baker

Software configuration involves embedding many files in heat templates which are not in the heat template syntax, for example:

* shell scripts
* config files
* configuration tool scripts (puppet, chef, etc)

To handle this specific case, it is proposed that a new intrinsic function get_file is created. In python-heatclient templates will be scanned for this function and the contents of each file will be included in the files section of the request. In heat-engine, the get_file function will fetch the contents from the files section during evaluation.

Blueprint information

Status:
Complete
Approver:
Steve Baker
Priority:
High
Drafter:
Steve Baker
Direction:
Needs approval
Assignee:
Steve Baker
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Steve Baker
Completed by
Steve Baker

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/get-file,n,z

Addressed by: https://review.openstack.org/66160
    Implement HOT intrinsic function get_file

Addressed by: https://review.openstack.org/66161
    Move template_format to heatclient

Addressed by: https://review.openstack.org/67617
    Store files in the raw_template table

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.