|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|
|
|
|
one:
|
|
key: port
|
|
key_type: integer
|
|
validator_type:
|
|
default_value: 80
|
|
type: PuppetclassLookupKey
|
|
|
|
three:
|
|
key: ssl
|
|
key_type: Boolean
|
|
validator_rule:
|
|
default_value: true
|
|
override: true
|
|
type: PuppetclassLookupKey
|
|
|
|
complex:
|
|
key: cluster
|
|
key_type: string
|
|
validator_rule:
|
|
default_value: 'secret'
|
|
override: true
|
|
path: 'organization,location'
|
|
type: PuppetclassLookupKey
|
|
|
|
five:
|
|
key: custom_class_param
|
|
key_type: string
|
|
validator_rule:
|
|
default_value: 'abcdef'
|
|
path: 'organization,location'
|
|
override: true
|
|
type: PuppetclassLookupKey
|
|
|
|
five_same_name:
|
|
key: custom_class_param
|
|
key_type: string
|
|
validator_rule:
|
|
default_value: 'abcdef'
|
|
path: 'organization,location'
|
|
override: true
|
|
type: PuppetclassLookupKey
|
|
|
|
six:
|
|
key: yaml_test
|
|
key_type: yaml
|
|
validator_rule:
|
|
default_value: "--- \nfoo: bar\n"
|
|
path: 'organization,location'
|
|
override: true
|
|
type: PuppetclassLookupKey
|
|
|
|
seven:
|
|
key: array_test
|
|
key_type: array
|
|
validator_rule:
|
|
default_value: "[{'hostname': 'test.example.com'}]"
|
|
path: 'organization,location'
|
|
override: 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
|