From 5819d7182ac703c9f830df1ea2b940fbfa976db7 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 13 Apr 2011 13:29:48 -0400 Subject: A property file can now have a matching .xsd file (e.g., "Properties/foo.xml" and "Properties/foo.xsd") which specifies a schema for that property file. bcfg2-repo-validate will check the property file against its schema. Updated bcfg2-repo-validate man page with several new options. --- man/bcfg2-repo-validate.8 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'man/bcfg2-repo-validate.8') diff --git a/man/bcfg2-repo-validate.8 b/man/bcfg2-repo-validate.8 index d00885313..0fb61e991 100644 --- a/man/bcfg2-repo-validate.8 +++ b/man/bcfg2-repo-validate.8 @@ -3,7 +3,7 @@ bcfg2-repo-validate \- Check Bcfg2 repository data against data schemas .SH SYNOPSIS .B bcfg2-repo-validate -.I [-v] +.I [OPTIONS] .SH DESCRIPTION .PP .B bcfg2-repo-validate @@ -11,10 +11,39 @@ This script checks data against schemas, and it quite helpful in finding typos or malformed data. .SH OPTIONS .PP +.B "\-v" +.RS +Be verbose about checks that have succeeded. This also enables +checking for missing bundles. +.RE .B "\-C" .RS Specify path to bcfg2.conf (default /etc/bcfg2.conf) .RE +.B "\-Q" +.RS +Specify path to Bcfg2 repository (default /var/lib/bcfg2) +.RE +.B "\--schema" +.RS +Specify path to Bcfg2 XML Schemas (default /usr/share/bcfg2/schema) +.RE +.B "\--stdin" +.RS +Rather than validating all XML files in the Bcfg2 specification, only +validate a list of files supplied on stdin. This makes a few +assumptions: + +Files included using XInclude will only be validated if they are +included on stdin; XIncludes will not be followed. + +Property files will only be validated if both the property file itself +and its matching schema are included on stdin. +.RE +.B "\--require-schema" +.RS +Require property files to have matching schema files +.RE .SH "SEE ALSO" .BR bcfg2(1), .BR bcfg2-server(8) -- cgit v1.2.3-1-g7c22