Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

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

smart_variable
requerido

Value:

Must be a Hash

smart_variable[variable]
opcional

Name of variable


Value:

Must be String

smart_variable[puppetclass_id]
opcional , nulo permitido

Puppet class ID


Value:

Must be a number.

smart_variable[default_value]
opcional , nulo permitido

Default value of variable


Value:

Must be String

smart_variable[hidden_value]
opcional , nulo permitido

When enabled the parameter is hidden in the UI


Value:

Must be 'true' or 'false'

smart_variable[override_value_order]
opcional , nulo permitido

A ordem na qual os valores são resolvidos


Value:

Must be String

smart_variable[description]
opcional , nulo permitido

Description of variable


Value:

Must be String

smart_variable[validator_type]
opcional , nulo permitido

Types of validation values


Value:

Must be one of: regexp, list.

smart_variable[validator_rule]
opcional , nulo permitido

Used to enforce certain values for the parameter values


Value:

Must be String

smart_variable[variable_type]
opcional , nulo permitido

Types of variable values


Value:

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)


Value:

Must be 'true' or 'false'

smart_variable[merge_default]
opcional , nulo permitido

Include default value when merging all matching values


Value:

Must be 'true' or 'false'

smart_variable[avoid_duplicates]
opcional , nulo permitido

Remove duplicate values (only array type)


Value:

Must be 'true' or 'false'