An inclusion mechanism using a get_file implicit function
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:
- 2014.1
- Started by
- Steve Baker
- Completed by
- Steve Baker
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Implement HOT intrinsic function get_file
Addressed by: https:/
Move template_format to heatclient
Addressed by: https:/
Store files in the raw_template table
Work Items
Dependency tree
* Blueprints in grey have been implemented.