Add Resource describing cloud-init config
When the raw user-data patch lands ref blueprint raw-user-data, we can implement a resource which encapsulates the various options to cloud-init/
Blueprint information
- Status:
- Complete
- Approver:
- Steve Baker
- Priority:
- High
- Drafter:
- Steve Baker
- Direction:
- Approved
- 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
(stevebaker) I started on some resources, but it is turning out to be just string manipulation, so I'm now looking at doing most of this as intrinsic functions, specifically:
mime_multi_part: takes a list of strings (with optional content types) and formats them as a MIMEMultipart string.
as_yaml_str: takes a dict/list/whatever and writes it as a yaml formatted string. Useful for writing cloud-config with template structures rather than a block string
With these and raw-user-data it should be possible to make the most of cloud-init
Gerrit topic: https:/
Addressed by: https:/
Implement as_yaml_str hot intrinisic function
Addressed by: https:/
Allow intrinsic functions to be called in any order
Addressed by: https:/
Implement multi_part_mime hot intrinisic function
(stevebaker) Depending on hot-software-
Addressed by: https:/
A cloud-config resource based on SoftwareConfig
Addressed by: https:/
A multipart cloud-init resource based on SoftwareConfig
Addressed by: https:/
OS:
Addressed by: https:/
REST API for software config/deployment
Addressed by: https:/
Resource types for software config/deployment
Addressed by: https:/
Database model for software config/deployment
Addressed by: https:/
RPC service for software config/deployment
Addressed by: https:/
Resource type for software configuration
Addressed by: https:/
Nova server to ref cloud-config resources in user_data
Gerrit topic: https:/
Work Items
Dependency tree
* Blueprints in grey have been implemented.