Project

General

Profile

Actions

Feature #16421

closed

Support validate_legacy stdlib validation function

Added by Dominic Cleal over 8 years ago. Updated about 8 years ago.

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

Description

stdlib has added a new validate_legacy function that modules will use to help migrate from validate_* to Puppet 4 data types. It allows the author to specify both the old validation function name (e.g. validate_string) and the new data type (Optional[String]), then validates it against both (exact semantics listed at https://github.com/puppetlabs/puppetlabs-stdlib#validate_legacy).

This will probably require #14500 to fully implement.


Related issues 1 (0 open1 closed)

Related to Kafo - Feature #14500: Support Puppet 4 data typesClosedDominic Cleal04/06/2016Actions
Actions

Also available in: Atom PDF