-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ncm-systemd 24.10.0: validation fails if no unit is defined #1787
Comments
Unfortunately a trivial fix like initializing |
Is supporting this actually a required use case? |
It is probably not a critical use case but I experienced the problem with a test (Debian) profile where we had no We could may be just make the validation error clearer, testing that |
In fact, error in quattor/template-library-examples#42 demonstrates a valid use case: a server where no explicit service is configured with I'm opening a PR fixing it by defining |
- Fix ncm-systemd schema validation, see quattor/configuration-modules-core#1787 - Manually ported in this repo to allow test-library CI script to succed
In
ncm-systemd
since 21.12.0, a validation has been added to the schema for the main typesystemd_component
that accessesunit
property in the structure. If the component has been loaded but no unit has been defined, this result in a validation error has theunit
property is undefined.The text was updated successfully, but these errors were encountered: