Params

Param Name Description
id
Required

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
Required

Value:

Must be a Hash

smart_variable[variable]
Optional

Name of variable


Value:

Must be String

smart_variable[puppetclass_id]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Puppet class ID


Value:

Must be a number.

smart_variable[default_value]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Default value of variable


Value:

Must be String

smart_variable[hidden_value]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

When enabled the parameter is hidden in the UI


Value:

Must be 'true' or 'false'

smart_variable[override_value_order]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

값이 해결되는 순서


Value:

Must be String

smart_variable[description]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Description of variable


Value:

Must be String

smart_variable[validator_type]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Types of validation values


Value:

Must be one of: regexp, list.

smart_variable[validator_rule]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Used to enforce certain values for the parameter values


Value:

Must be String

smart_variable[variable_type]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Types of variable values


Value:

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

smart_variable[merge_overrides]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Merge all matching values (only array/hash type)


Value:

Must be 'true' or 'false'

smart_variable[merge_default]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Include default value when merging all matching values


Value:

Must be 'true' or 'false'

smart_variable[avoid_duplicates]
Optional , <span class="translation_missing" title="translation missing: ko.apipie.nil_allowed">Nil Allowed</span>

Remove duplicate values (only array type)


Value:

Must be 'true' or 'false'