puppetlabs-stdlib/examples/kwalify-1.pp

9 lines
163 B
Puppet

$schema = {
'type' => 'seq',
'sequence' => [
{ 'type' => 'str', 'enum' => ['asdf','fdsa'] }
]
}
$document = ['a', 'b', 'c']
kwalify($schema, $document)