summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-08-05 08:46:38 +0100
committerKen Barber <ken@bob.sh>2011-08-05 08:46:38 +0100
commit1b73a66fc67af0e33fa41aacf50654d4a7a4903c (patch)
tree7810a9f5af68a74a6305f5db3c7d41330c8a85cc /README.markdown
parent681a1c7971d78c53dc9a0747ae4d983ff6b0d670 (diff)
downloadpuppet-stdlib-1b73a66fc67af0e33fa41aacf50654d4a7a4903c.tar.gz
puppet-stdlib-1b73a66fc67af0e33fa41aacf50654d4a7a4903c.tar.bz2
* Moved kwalify to puppetlabs-kwalify project
* Re-arranged tests in line with puppetlabs-stdlib
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown27
1 files changed, 1 insertions, 26 deletions
diff --git a/README.markdown b/README.markdown
index 68e559e..a15338f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -20,29 +20,4 @@ Depending on the version of Puppet, you may need to restart the puppetmasterd (o
## Functions
-### kwalify
-
-This function allows you to validate Puppet data structures using Kwalify
-schemas as documented here:
-
-http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html
-
-To validate, create a schema in Puppet:
-
- $schema = {
- 'type' => 'seq',
- 'sequence' => [
- { 'type' => 'str' }
- ]
- }
-
-And create some content that you want validated:
-
- $document = ['a', 'b', 'c']
-
-And then use the function to validate:
-
- kwalify($schema, $document)
-
-The function will throw an error and list all validation errors if there is a
-problem otherwise it succeeds silently.
+TODO