Project

General

Profile

« Previous | Next » 

Revision 6b4b489f

Added by Ori Rabin over 8 years ago

fixes #10832 - separating lookup keys into puppet and variable

View differences:

test/fixtures/lookup_keys.yml
key_type: integer
validator_type:
default_value: 80
is_param: true
two:
key: ssl_port
key_type: string
validator_type: list
validator_rule: '443,8443'
puppetclass: one
default_value: 443
type: PuppetclassLookupKey
three:
key: ssl
......
validator_rule:
default_value: true
override: true
is_param: true
type: PuppetclassLookupKey
complex:
key: cluster
......
default_value: 'secret'
override: true
path: 'organization,location'
is_param: true
four:
key: special_info
key_type: string
validator_rule:
default_value: 'secret'
override: true
puppetclass: two
path: 'organization,location'
type: PuppetclassLookupKey
five:
key: custom_class_param
......
default_value: 'abcdef'
path: 'organization,location'
override: true
is_param: true
type: PuppetclassLookupKey
five_same_name:
key: custom_class_param
......
default_value: 'abcdef'
path: 'organization,location'
override: true
is_param: true
type: PuppetclassLookupKey
six:
key: yaml_test
......
default_value: "--- \nfoo: bar\n"
path: 'organization,location'
override: true
is_param: true
type: PuppetclassLookupKey
seven:
key: array_test
......
default_value: "[{'hostname': 'test.example.com'}]"
path: 'organization,location'
override: true
is_param: true
type: PuppetclassLookupKey
two:
key: ssl_port
key_type: string
validator_type: list
validator_rule: '443,8443'
puppetclass: one
default_value: 443
type: VariableLookupKey
four:
key: special_info
key_type: string
validator_rule:
default_value: 'secret'
override: true
puppetclass: two
path: 'organization,location'
type: VariableLookupKey

Also available in: Unified diff