puppetlabs-stdlib/examples/validate_resource-2.pp

17 lines
157 B
Puppet

class foo (
$a,
$b,
$c
) {
validate_resource()
# ... do something ...
}
class { "foo":
a => "1",
b => "foobaz",
c => ['a','b','c']
}