Actions
Feature #6923
openAbility to set custom validators from the hooks
Status:
New
Priority:
Normal
Assignee:
-
Description
I have a validation in the init.pp, that is behind a condition (applices only
when some feature is turned on). This is not easy to detect from scanning
the manifest. I would like to define some custom validations in the prevalidate
hooks to be able to do this type of checks.
Updated by Marek Hulán over 10 years ago
Ideally we should allow attaching custom validate functions to params and reusing existing puppet validations as well. Also it would be nice to gather error messages from validation provided by puppet.
EDIT: Reported as separate issue, set as related
Updated by Marek Hulán over 10 years ago
- Related to Bug #6978: Report validation messages to the end user added
Actions