On 2015-25-03 20:06, Corey Osman wrote:
Hi,

Has anybody created a yaml Kwalify schema for hiera files.  I would like to 
validate my yaml files against an official hiera schema using Kwalify.  Since 
the YAML spec varies greatly a schema is required to validate hiera specific 
keys.


Exactly which "hiera files" do you mean?

The format is very much up to the implementation of a particular backend.

I also wonder if what you are trying to achieve is possible to check with Kwalify - I expect it to load the yaml using a yaml implementation, and thus any lexical problems in your yaml files have already occured due to differences in yaml implementations.

The result could still be valid - only not what you intended.

This lexical problem is different than validating that the structural content follows a particular yaml schema.

- henrik


Corey



--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/mevahl%24do3%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to