Project

General

Profile

Actions

Bug #31565

closed

Validation of array's as static parameters on a class is incorrectly handled

Added by Eric Helms over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Example, setting `Array[Stdlib::Fqdn] $cname = []` as a parameter on `init.p` in puppet-certs results in:

Parameter certs-cname invalid: Elements of the array are invalid: [] must match one of
(?-mix:\A(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-][a-zA-Z0-9]).)([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])\z
Actions #1

Updated by Eric Helms over 3 years ago

  • Description updated (diff)
Actions #2

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/kafo_parsers/pull/46 added
Actions #3

Updated by Ewoud Kohl van Wijngaarden almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF