schema: add jsonschema definition to cc_apt_configure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Low
|
Lucas Albuquerque Medeiros de Moura |
Bug Description
Add initial jsonschema definition for validation of cloud-config
user data to cloudinit/
Add a schema dictionary to the cc_*.py module which describes allowed
cloud-config properties which are honored by the module.
jsonschema support for a cloud-config module should entail:
- module-level schema dict definition in cc_*py
- schema should contain the keys:
id, name, title, description, distros, examples, frequency, type,
properties
- handler should call validate_
top-level config module keys are provided
Good examples are:
- cloudinit/
- cloudinit/
- cloudinit/
- cloudinit/
Changed in cloud-init: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in cloud-init: | |
assignee: | nobody → Lucas Albuquerque Medeiros de Moura (lamoura) |
An upstream commit landed with this change /github. com/canonical/ cloud-init/ commit/ 2e32c40a607250b c9e713c0daf360d c6617f4420
https:/