diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-13 13:29:48 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-13 13:29:48 -0400 |
commit | 5819d7182ac703c9f830df1ea2b940fbfa976db7 (patch) | |
tree | 56bd88b8f34e7d0a636f42b8e91aaf1daa988cc0 /man | |
parent | c89cd2a8c930f3a2fc686b555079c9bc60803e0c (diff) | |
download | bcfg2-5819d7182ac703c9f830df1ea2b940fbfa976db7.tar.gz bcfg2-5819d7182ac703c9f830df1ea2b940fbfa976db7.tar.bz2 bcfg2-5819d7182ac703c9f830df1ea2b940fbfa976db7.zip |
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/bcfg2-repo-validate.8 | 31 |
1 files changed, 30 insertions, 1 deletions
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) |