Parámetros

Nombre del parámetro Descripción
smart_variable
requerido

Validations:

  • Must be a Hash

smart_variable[variable]
requerido

Nombre de variable

Validations:

  • Must be String

smart_variable[puppetclass_id]
opcional , nil permitido

ID de clase Puppet

Validations:

  • Must be a number.

smart_variable[default_value]
opcional , nil permitido

Valor por defecto de la variable

Validations:

  • Must be String

smart_variable[hidden_value]
opcional , nil permitido

When enabled the parameter is hidden in the UI

Validations:

  • Must be 'true' or 'false' or '1' or '0'

smart_variable[override_value_order]
opcional , nil permitido

El orden en el cual se resuelven los valores

Validations:

  • Must be String

smart_variable[description]
opcional , nil permitido

Descripción de la variable

Validations:

  • Must be String

smart_variable[validator_type]
opcional , nil permitido

Tipos de valores de validación

Validations:

  • Must be one of: regexp, list.

smart_variable[validator_rule]
opcional , nil permitido

Se utiliza para forzar ciertos valores para los parámetros

Validations:

  • Must be String

smart_variable[variable_type]
opcional , nil permitido

Tipos de valores de variables

Validations:

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

smart_variable[merge_overrides]
opcional , nil permitido

Combinar todos los valores coincidentes (sólo de tipo array/hash)

Validations:

  • Must be 'true' or 'false' or '1' or '0'

smart_variable[merge_default]
opcional , nil permitido

Include default value when merging all matching values

Validations:

  • Must be 'true' or 'false' or '1' or '0'

smart_variable[avoid_duplicates]
opcional , nil permitido

Eliminar valores duplicados (sólo de tipo array)

Validations:

  • Must be 'true' or 'false' or '1' or '0'