Project

General

Profile

Actions

Feature #6923

open

Ability to set custom validators from the hooks

Added by Ivan Necas over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Kafo - Bug #6978: Report validation messages to the end userClosedDominic Cleal08/07/2014Actions
Actions #1

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

Actions #2

Updated by Marek Hulán over 10 years ago

  • Related to Bug #6978: Report validation messages to the end user added
Actions

Also available in: Atom PDF