Params

Param name Description
id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

smart_class_parameter
required

Validations:

  • Must be a Hash

smart_class_parameter[override]
optional

Whether the smart class parameter value is managed by Foreman

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[description]
optional

Descripció de la classe intel·ligent

Validations:

  • Must be a String

smart_class_parameter[default_value]
optional

Value to use when there is no match

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

smart_class_parameter[hidden_value]
optional

When enabled the parameter is hidden in the UI

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[use_puppet_default]
optional

Deprecated, please use omit

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[omit]
optional

Foreman will not send this parameter in classification output. Puppet will use the value defined in the Puppet manifest for this parameter

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[path]
optional

The order in which values are resolved

Validations:

  • Must be a String

smart_class_parameter[validator_type]
optional

Tipus de valors de validació

Validations:

  • Must be one of: regexp, list.

smart_class_parameter[validator_rule]
optional

Used to enforce certain values for the parameter values

Validations:

  • Must be a String

smart_class_parameter[override_value_order]
optional

The order in which values are resolved

Validations:

  • Must be a String

smart_class_parameter[parameter_type]
optional

Tipus de valors de la variable

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

smart_class_parameter[required]
optional

En cas que sigui cert, es produirà un error si no hi ha cap valor per defecte i no hi ha cap classificador que proporcioni un valor

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[merge_overrides]
optional

Merge all matching values (only array/hash type)

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[merge_default]
optional

Include default value when merging all matching values

Validations:

  • Must be one of: true, false, 1, 0

smart_class_parameter[avoid_duplicates]
optional

Remove duplicate values (only array type)

Validations:

  • Must be one of: true, false, 1, 0