Parâmentros

Nome parâmetro Descrição
smart_variable
requerido

Validations:

  • Must be a Hash

smart_variable[variable]
requerido

Nome da variável

Validations:

  • Must be String

smart_variable[puppetclass_id]
opcional , nulo permitido

Mostrar ID da classe

Validations:

  • Must be a number.

smart_variable[default_value]
opcional , nulo permitido

Valor padrão da variável

Validations:

  • Must be String

smart_variable[hidden_value]
opcional , nulo 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 , nulo permitido

A ordem na qual os valores são resolvidos

Validations:

  • Must be String

smart_variable[description]
opcional , nulo permitido

Descrição da variável

Validations:

  • Must be String

smart_variable[validator_type]
opcional , nulo permitido

Tipos de valores de validação

Validations:

  • Must be one of: regexp, list.

smart_variable[validator_rule]
opcional , nulo permitido

Used to enforce certain values for the parameter values

Validations:

  • Must be String

smart_variable[variable_type]
opcional , nulo permitido

Tipos de valores de validação

Validations:

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

smart_variable[merge_overrides]
opcional , nulo permitido

Merge all matching values (only array/hash type)

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

smart_variable[merge_default]
opcional , nulo permitido

Include default value when merging all matching values

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’

smart_variable[avoid_duplicates]
opcional , nulo permitido

Remove duplicate values (only array type)

Validations:

  • Must be ‘true’ or ‘false’ or ‘1’ or ‘0’