summaryrefslogtreecommitdiffstats
path: root/man/bcfg2-info.8
blob: a521943724caf09fd52e1ef67326ab0864d2423d (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.TH "BCFG2-INFO" "8" "March 18, 2013" "1.3" "Bcfg2"
.SH NAME
bcfg2-info \- Creates a local version of the Bcfg2 server core for state observation
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
.sp
\fBbcfg2\-info\fP [\-C \fIconfigfile\fP] [\-E \fIencoding\fP] [\-Q \fIrepository path\fP]
[\-h] [\-p] [\-x \fIpassword\fP] [\fImode\fP] [\fImode args\fP] [\fImode options\fP]
.SH DESCRIPTION
.sp
\fBbcfg2\-info\fP instantiates an instance of the Bcfg2 core for
data examination and debugging purposes.
.SH OPTIONS
.INDENT 0.0
.TP
.BI \-C \ configfile
Specify alternate bcfg2.conf location.
.TP
.BI \-E \ encoding
Specify the encoding of config files.
.TP
.BI \-Q \ path
Specify the path to the server repository.
.TP
.B \-d
Enable debugging output.
.TP
.B \-h
Print usage information.
.TP
.BI \-p \ profile
Specify a profile.
.TP
.BI \-x \ password
Use \(aqpassword\(aq for client communication.
.UNINDENT
.SH MODES
.INDENT 0.0
.TP
.B build \fIhostname\fP \fIfilename\fP
Build config for hostname, writing to filename.
.TP
.B buildall \fIdirectory\fP
Build configs for all clients in directory.
.TP
.B buildallfile \fIdirectory\fP \fIfilename\fP [\fIhostnames\fP]
Build config file for all clients in directory.
.TP
.B buildbundle \fIfilename\fP \fIhostname\fP
Build bundle for hostname (not written to disk). If filename is a
bundle template, it is rendered.
.TP
.B builddir \fIhostname\fP \fIdirname\fP
Build config for hostname, writing separate files to dirname.
.TP
.B buildfile [\-\-altsrc=*altsrc*] \fIfilename\fP \fIhostname\fP
Build config file for hostname (not written to disk).
.TP
.B bundles
Print out group/bundle information.
.TP
.B clients
Print out client/profile information.
.TP
.B config
Print out the configuration of the Bcfg2 server.
.TP
.B debug
Shell out to native python interpreter.
.TP
.B event_debug
Display filesystem events as they are processed.
.TP
.B groups
List groups.
.TP
.B help
Print the list of available commands.
.TP
.B mappings [\fIentry type\fP] [\fIentry name\fP]
Print generator mappings for optional type and name.
.TP
.B packageresolve \fIhostname\fP \fIpackage\fP [\fIpackage\fP...]
Resolve the specified set of packages.
.TP
.B packagesources \fIhostname\fP
Show package sources.
.TP
.B profile \fIcommand\fP \fIargs\fP
Profile a single bcfg2\-info command.
.TP
.B quit
Exit bcfg2\-info command line.
.TP
.B showentries \fIhostname\fP \fItype\fP
Show abstract configuration entries for a given host.
.TP
.B showclient \fIclient1\fP \fIclient2\fP
Show metadata for given hosts.
.TP
.B update
Process pending file events.
.TP
.B version
Print version of this tool.
.UNINDENT
.SH SEE ALSO
.sp
\fIbcfg2(1)\fP, \fIbcfg2\-server(8)\fP
.\" Generated by docutils manpage writer.
.