Smartclass parameters do not allow for multiple data types

Solution In Progress - Updated -

Issue

  • The elastic.co elasticsearch puppet class accepts multiple datatypes for the $version parameter.
  • The parameter defaults to the boolean value False, but can also be set to a version number in String format. The Smart class parameters details UI does not handle this case. You are forced to choose one or the other.
    • Choose boolean and you can't enter a version number.
    • Choose string and Puppet will return an error because the string "False" is not recognized as Boolean.

Environment

  • Satellite 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.