Module configuration validation
Bug #1079386 reported by
Joshua Harlow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Low
|
Unassigned |
Bug Description
It would be nice if modules could say validate the configuration they will be pulling from yaml before using it.
Say a module needs a configuration with an list in it (for whatever usage) and strings in that list. It'd be nice to have a pre-module stage or have the modules use some external library to validate that there expected/
Right now alot of those kind of checks don't exist (some do though...)
Related branches
lp://staging/~harlowja/cloud-init/schema-validate
- Server Team CI bot: Needs Fixing (continuous-integration)
- cloud-init Commiters: Pending requested
-
Diff: 91 lines (+47/-1)3 files modifiedcloudinit/config/__init__.py (+30/-0)
cloudinit/config/cc_final_message.py (+12/-1)
requirements.txt (+5/-0)
Changed in cloud-init: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 2326