diff options
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 27 |
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 |