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

スマートクラスパラメーター値が Foreman によって管理されているかどうか

Validations:

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

smart_class_parameter[description]
Optional

スマートクラスの説明

Validations:

  • Must be String

smart_class_parameter[default_value]
Optional

一致がない場合に使用する値

Validations:

  • Must be String

smart_class_parameter[hidden_value]
Optional

有効な場合はパラメーターが UI で非表示になります

Validations:

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

smart_class_parameter[use_puppet_default]
Optional

Deprecated, please use omit

Validations:

  • Must be 'true' or 'false' or '1' or '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 'true' or 'false' or '1' or '0'

smart_class_parameter[path]
Optional

値が解決される順序

Validations:

  • Must be String

smart_class_parameter[validator_type]
Optional

検証値のタイプ

Validations:

  • Must be one of: regexp, list.

smart_class_parameter[validator_rule]
Optional

パラメーター値の特定の値を適用するために使用されます

Validations:

  • Must be String

smart_class_parameter[override_value_order]
Optional

値が解決される順序

Validations:

  • Must be String

smart_class_parameter[parameter_type]
Optional

変数値のタイプ

Validations:

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

smart_class_parameter[required]
Optional

true の場合は、デフォルト値がなく、Matcher が値を提供しないときにエラーが発生します

Validations:

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

smart_class_parameter[merge_overrides]
Optional

一致するすべての値のマージ (配列/ハッシュタイプのみ)

Validations:

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

smart_class_parameter[merge_default]
Optional

一致するすべての値をマージするときにデフォルト値を含めます

Validations:

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

smart_class_parameter[avoid_duplicates]
Optional

重複する値の削除 (配列タイプのみ)

Validations:

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