summaryrefslogtreecommitdiffstats
path: root/man/bcfg2-repo-validate.8
blob: 0fb61e9914e8ba081add9904632ca89dec051304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.TH "bcfg2-repo-validate" 8
.SH NAME
bcfg2-repo-validate \- Check Bcfg2 repository data against data schemas
.SH SYNOPSIS
.B bcfg2-repo-validate
.I [OPTIONS]
.SH DESCRIPTION
.PP
.B bcfg2-repo-validate
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)
.SH "BUGS"
None currently known