yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #91890
[Bug 1079386] Re: Module configuration validation
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2326
** Bug watch added: github.com/canonical/cloud-init/issues #2326
https://github.com/canonical/cloud-init/issues/2326
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1079386
Title:
Module configuration validation
Status in cloud-init:
Expired
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/desired/known input is correct. This would make it so
that the yaml that is documented is verified and situations where a
module expects a list + stirngs in that list but say that list has
dictionaries (or other types) in it are invalid before the module
actually runs.
Right now alot of those kind of checks don't exist (some do though...)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1079386/+subscriptions