blob: 1bf74a206c543763c158cffc01644f183ef1c4e4 (
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
52
|
.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
.TP
.BR "-v"
Be verbose about checks that have succeeded. This also enables
checking for missing bundles.
.TP
.BR "-C"
Specify path to bcfg2.conf (default /etc/bcfg2.conf)
.TP
.BR "-Q"
Specify path to Bcfg2 repository (default /var/lib/bcfg2)
.TP
.BR "--schema"
Specify path to Bcfg2 XML Schemas (default /usr/share/bcfg2/schema)
.TP
.BR "--stdin"
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.
.TP
.BR "--require-schema"
Require property files to have matching schema files
.RE
.SH "SEE ALSO"
.BR bcfg2(1),
.BR bcfg2-server(8)
.SH "BUGS"
None currently known
|