summaryrefslogtreecommitdiffstats
path: root/man/bcfg2-info.8
blob: bb515079fe7fac1092f9cce5e6e7ad5da5a6f794 (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
.
.TH "BCFG2\-INFO" "8" "August 2012" "" ""
.
.SH "NAME"
\fBbcfg2\-info\fR \- Creates a local version of the Bcfg2 server core for state observation
.
.SH "SYNOPSIS"
\fBbcfg2\-info\fR [\fI\-C configfile\fR] [\-E \fIencoding\fR] [\-Q \fIrepository path\fR] [\-h] [\-p] [\-x \fIpassword\fR] [\fImode\fR] [\fImode args\fR] [\fImode options\fR]
.
.SH "DESCRIPTION"
\fBbcfg2\-info\fR instantiates an instance of the Bcfg2 core for data examination and debugging purposes\.
.
.SH "OPTIONS"
.
.TP
\fB\-C\fR \fIconfigfile\fR
Specify alternate bcfg2\.conf location
.
.TP
\fB\-E\fR \fIencoding\fR
Specify the encoding of config files\.
.
.TP
\fB\-Q\fR \fIrepository path\fR
Specify the server repository path\.
.
.TP
\fB\-d\fR
Run in debug mode\.
.
.TP
\fB\-h\fR
Give a bit of help about the command line arguments and options\. After this bcfg2\-info exits\.
.
.TP
\fB\-p\fR
Specify a profile\.
.
.TP
\fB\-x\fR \fIpassword\fR
Set the communication password\.
.
.SH "MODES"
.
.TP
\fBbuild\fR \fIhostname\fR \fIfilename\fR
Build config for hostname, writing to filename\.
.
.TP
\fBbuildall\fR \fIdirectory\fR
Build configs for all clients in directory\.
.
.TP
\fBbuildallfile\fR \fIdirectory\fR \fIfilename\fR [\fIhostnames\fR]
Build config file for all clients in directory\.
.
.TP
\fBbuildbundle\fR \fIfilename\fR \fIhostname\fR
Build bundle for hostname (not written to disk)\. If filename is a bundle template, it is rendered\.
.
.TP
\fBbuilddir\fR \fIhostname\fR \fIdirname\fR
Build config for hostname, writing separate files to dirname\.
.
.TP
\fBbuildfile\fR [\-\-altsrc=\fIaltsrc\fR] \fIfilename\fR \fIhostname\fR
Build config file for hostname (not written to disk)\.
.
.TP
\fBbundles\fR
Print out group/bundle information\.
.
.TP
\fBclients\fR
Print out client/profile information\.
.
.TP
\fBconfig\fR
Print out the configuration of the Bcfg2 server\.
.
.TP
\fBdebug\fR
Shell out to native python interpreter\.
.
.TP
\fBevent_debug\fR
Display filesystem events as they are processed\.
.
.TP
\fBgroups\fR
List groups\.
.
.TP
\fBhelp\fR
Print the list of available commands\.
.
.TP
\fBmappings\fR [\fIentry type\fR] [\fIentry name\fR]
Print generator mappings for optional type and name\.
.
.TP
\fBpackageresolve\fR \fIhostname\fR \fIpackage\fR [\fIpackage\fR\.\.\.]
Resolve the specified set of packages\.
.
.TP
\fBpackagesources\fR \fIhostname\fR
Show package sources\.
.
.TP
\fBprofile\fR \fIcommand\fR \fIargs\fR
Profile a single bcfg2\-info command\.
.
.TP
\fBquit\fR
Exit bcfg2\-info command line\.
.
.TP
\fBshowentries\fR \fIhostname\fR \fItype\fR
Show abstract configuration entries for a given host\.
.
.TP
\fBshowclient\fR \fIclient1\fR \fIclient2\fR
Show metadata for given hosts\.
.
.TP
\fBupdate\fR
Process pending file events\.
.
.TP
\fBversion\fR
Print version of this tool\.
.
.SH "SEE ALSO"
bcfg2(1), bcfg2\-server(8)