diff options
author | Ken Barber <ken@bob.sh> | 2011-07-01 21:09:02 +0200 |
---|---|---|
committer | Ken Barber <ken@bob.sh> | 2011-07-01 21:09:02 +0200 |
commit | 07ee33455439d960b9996e8110e011437181b42a (patch) | |
tree | a5123f487a551a2608971b3ede13417139719b32 /examples/validate_resource-2.pp | |
parent | 1abf4b62fc8e97c7096c9da3d350e3e6268c5c72 (diff) |
Added validate_resource function and examples on how to use it (and kwalify as well)
Diffstat (limited to 'examples/validate_resource-2.pp')
-rw-r--r-- | examples/validate_resource-2.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/validate_resource-2.pp b/examples/validate_resource-2.pp new file mode 100644 index 0000000..b53b109 --- /dev/null +++ b/examples/validate_resource-2.pp @@ -0,0 +1,17 @@ +class foo ( + $a, + $b, + $c + ) { + + validate_resource() + + # ... do something ... + +} + +class { "foo": + a => "1", + b => "foobaz", + c => ['a','b','c'] +} |