puppet 0.25.4 → 0.25.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- data/CHANGELOG +679 -23
- data/LICENSE +2 -2
- data/README +2 -2
- data/README.queueing +1 -1
- data/README.rst +2 -2
- data/Rakefile +4 -2
- data/bin/filebucket +2 -2
- data/bin/pi +1 -1
- data/bin/puppet +2 -2
- data/bin/puppetca +2 -2
- data/bin/puppetd +5 -4
- data/bin/puppetdoc +4 -4
- data/bin/puppetmasterd +2 -2
- data/bin/puppetqd +2 -2
- data/bin/puppetrun +2 -2
- data/bin/ralsh +2 -2
- data/conf/epm.list +2 -2
- data/conf/gentoo/puppet/puppet.conf +0 -4
- data/conf/osx/PackageInfo.plist +1 -1
- data/conf/redhat/logrotate +1 -0
- data/conf/redhat/puppet.conf +0 -4
- data/conf/redhat/puppet.spec +16 -10
- data/conf/solaris/pkginfo +2 -2
- data/conf/solaris/smf/puppetd.xml +3 -3
- data/conf/solaris/smf/puppetmasterd.xml +3 -3
- data/conf/solaris/smf/svc-puppetd +1 -1
- data/conf/solaris/smf/svc-puppetmasterd +1 -1
- data/conf/suse/puppet.spec +16 -14
- data/conf/suse/puppet.suse.patch +16 -0
- data/examples/etc/puppet/fileserver.conf +5 -5
- data/examples/modules/sample-module/README.txt +3 -3
- data/examples/modules/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +1 -1
- data/ext/extlookup.rb +1 -1
- data/ext/nagios/check_puppet.rb +1 -1
- data/ext/nagios/naggen +2 -2
- data/ext/puppet-test +2 -2
- data/ext/puppetlast +1 -1
- data/ext/puppetstoredconfigclean.rb +1 -1
- data/ext/regexp_nodes/regexp_nodes.rb +4 -4
- data/ext/vim/syntax/puppet.vim +5 -3
- data/install.rb +11 -9
- data/lib/puppet.rb +1 -1
- data/lib/puppet/application/puppetd.rb +5 -4
- data/lib/puppet/configurer.rb +38 -31
- data/lib/puppet/defaults.rb +18 -13
- data/lib/puppet/file_serving/fileset.rb +2 -2
- data/lib/puppet/file_serving/terminus_helper.rb +1 -0
- data/lib/puppet/indirector/indirection.rb +20 -13
- data/lib/puppet/network/authstore.rb +3 -3
- data/lib/puppet/network/format_handler.rb +1 -1
- data/lib/puppet/network/handler/fileserver.rb +2 -2
- data/lib/puppet/network/handler/master.rb +1 -1
- data/lib/puppet/network/http_pool.rb +0 -2
- data/lib/puppet/network/http_server/webrick.rb +1 -1
- data/lib/puppet/parser/ast/casestatement.rb +4 -4
- data/lib/puppet/parser/ast/ifstatement.rb +2 -1
- data/lib/puppet/parser/ast/leaf.rb +1 -0
- data/lib/puppet/parser/ast/selector.rb +2 -3
- data/lib/puppet/parser/functions/generate.rb +3 -5
- data/lib/puppet/parser/functions/require.rb +8 -1
- data/lib/puppet/parser/functions/template.rb +1 -1
- data/lib/puppet/parser/lexer.rb +1 -7
- data/lib/puppet/parser/resource.rb +10 -4
- data/lib/puppet/parser/scope.rb +61 -9
- data/lib/puppet/provider/augeas/augeas.rb +23 -7
- data/lib/puppet/provider/macauthorization/macauthorization.rb +1 -1
- data/lib/puppet/provider/maillist/mailman.rb +2 -2
- data/lib/puppet/provider/package/portage.rb +2 -2
- data/lib/puppet/provider/service/debian.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +4 -1
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -29
- data/lib/puppet/provider/user/user_role_add.rb +1 -1
- data/lib/puppet/reference/configuration.rb +1 -1
- data/lib/puppet/reference/providers.rb +1 -1
- data/lib/puppet/reports/tagmail.rb +1 -0
- data/lib/puppet/resource/catalog.rb +1 -8
- data/lib/puppet/simple_graph.rb +37 -12
- data/lib/puppet/ssl/certificate.rb +2 -3
- data/lib/puppet/ssl/certificate_authority.rb +1 -1
- data/lib/puppet/ssl/host.rb +19 -12
- data/lib/puppet/sslcertificates/ca.rb +5 -6
- data/lib/puppet/transaction.rb +11 -15
- data/lib/puppet/type/augeas.rb +2 -1
- data/lib/puppet/type/exec.rb +1 -1
- data/lib/puppet/type/file.rb +9 -2
- data/lib/puppet/type/file/checksum.rb +2 -1
- data/lib/puppet/type/file/source.rb +4 -4
- data/lib/puppet/type/maillist.rb +10 -0
- data/lib/puppet/type/mount.rb +5 -3
- data/lib/puppet/type/tidy.rb +36 -30
- data/lib/puppet/util/autoload.rb +2 -2
- data/lib/puppet/util/checksums.rb +5 -0
- data/lib/puppet/util/monkey_patches.rb +38 -0
- data/lib/puppet/util/nagios_maker.rb +1 -1
- data/lib/puppet/util/settings.rb +14 -4
- data/lib/puppet/util/suidmanager.rb +26 -2
- data/lib/puppet/util/zaml.rb +318 -0
- data/man/{man8/puppet.conf.8 → man5/puppet.conf.5} +594 -899
- data/man/man8/filebucket.8 +31 -45
- data/man/man8/pi.8 +16 -22
- data/man/man8/puppet.8 +26 -36
- data/man/man8/puppetca.8 +38 -51
- data/man/man8/puppetd.8 +48 -64
- data/man/man8/puppetdoc.8 +37 -48
- data/man/man8/puppetmasterd.8 +24 -32
- data/man/man8/puppetqd.8 +22 -27
- data/man/man8/puppetrun.8 +46 -58
- data/man/man8/ralsh.8 +43 -48
- data/spec/integration/bin/puppetmasterd.rb +20 -9
- data/spec/integration/defaults.rb +4 -0
- data/spec/integration/indirector/certificate/rest.rb +0 -1
- data/spec/integration/indirector/certificate_request/rest.rb +0 -1
- data/spec/integration/indirector/certificate_revocation_list/rest.rb +0 -1
- data/spec/integration/indirector/report/rest.rb +0 -1
- data/spec/integration/indirector/rest.rb +0 -1
- data/spec/integration/parser/functions/require.rb +18 -1
- data/spec/unit/application/filebucket.rb +2 -2
- data/spec/unit/application/puppetd.rb +4 -5
- data/spec/unit/configurer.rb +46 -8
- data/spec/unit/file_serving/fileset.rb +6 -0
- data/spec/unit/file_serving/terminus_helper.rb +10 -0
- data/spec/unit/indirector/indirection.rb +17 -28
- data/spec/unit/network/format_handler.rb +3 -2
- data/spec/unit/network/http_pool.rb +9 -17
- data/spec/unit/parser/ast/casestatement.rb +4 -12
- data/spec/unit/parser/ast/ifstatement.rb +2 -1
- data/spec/unit/parser/ast/leaf.rb +15 -2
- data/spec/unit/parser/ast/selector.rb +4 -12
- data/spec/unit/parser/functions/generate.rb +41 -0
- data/spec/unit/parser/functions/require.rb +23 -2
- data/spec/unit/parser/resource.rb +18 -0
- data/spec/unit/parser/scope.rb +94 -3
- data/spec/unit/provider/augeas/augeas.rb +27 -3
- data/spec/unit/provider/ssh_authorized_key/parsed.rb +30 -19
- data/spec/unit/resource/catalog.rb +16 -39
- data/spec/unit/simple_graph.rb +14 -0
- data/spec/unit/ssl/host.rb +55 -17
- data/spec/unit/type/file.rb +43 -11
- data/spec/unit/type/file/checksum.rb +28 -0
- data/spec/unit/type/tidy.rb +30 -1
- data/spec/unit/util/autoload.rb +2 -1
- data/spec/unit/util/checksums.rb +7 -1
- data/spec/unit/util/settings.rb +39 -2
- data/spec/unit/util/zaml.rb +38 -0
- data/tasks/rake/changelog.rake +1 -1
- data/tasks/rake/gem.rake +3 -3
- data/tasks/rake/git_workflow.rake +1 -1
- data/tasks/rake/sign.rake +1 -1
- data/tasks/rake/yard.rake +11 -0
- data/test/certmgr/certmgr.rb +1 -1
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +1 -1
- data/test/lib/puppettest/support/utils.rb +2 -1
- data/test/network/handler/ca.rb +4 -4
- data/test/network/handler/fileserver.rb +15 -9
- data/test/other/transactions.rb +1 -6
- data/test/puppet/tc_suidmanager.rb +7 -2
- data/test/ral/providers/host/parsed.rb +6 -6
- data/test/ral/providers/package.rb +4 -0
- data/test/ral/providers/sshkey/parsed.rb +5 -5
- data/test/ral/type/file.rb +0 -21
- data/test/ral/type/host.rb +4 -4
- data/test/ral/type/resources.rb +0 -78
- data/test/ral/type/sshkey.rb +2 -2
- data/test/test +1 -1
- data/test/util/settings.rb +6 -6
- metadata +1065 -1050
- data/test/executables/puppetmodule.rb +0 -55
- data/test/ral/providers/service/debian.rb +0 -58
data/man/man8/puppetd.8
CHANGED
@@ -1,55 +1,53 @@
|
|
1
|
-
.TH
|
1
|
+
.TH SYNOPSIS "" "" ""
|
2
2
|
.SH NAME
|
3
3
|
Synopsis \-
|
4
4
|
.\" Man page generated from reStructeredText.
|
5
|
+
.
|
6
|
+
.sp
|
5
7
|
Retrieve the client configuration from the central puppet server and
|
6
8
|
apply it to the local host.
|
7
|
-
|
9
|
+
.sp
|
8
10
|
Currently must be run out periodically, using cron or something similar.
|
9
|
-
|
10
|
-
|
11
11
|
.SH USAGE
|
12
12
|
.INDENT 0.0
|
13
13
|
.INDENT 3.5
|
14
14
|
.INDENT 0.0
|
15
|
-
|
16
15
|
.TP
|
17
16
|
.B puppetd [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-\-disable] [\-\-enable]
|
17
|
+
.
|
18
18
|
[\-h|\-\-help] [\-\-fqdn <host name>] [\-l|\-\-logdest syslog|<file>|console]
|
19
19
|
[\-o|\-\-onetime] [\-\-serve <handler>] [\-t|\-\-test] [\-\-noop]
|
20
20
|
[\-V|\-\-version] [\-v|\-\-verbose] [\-w|\-\-waitforcert <seconds>]
|
21
|
-
|
22
21
|
.UNINDENT
|
23
22
|
.UNINDENT
|
24
23
|
.UNINDENT
|
25
|
-
|
26
24
|
.SH DESCRIPTION
|
25
|
+
.sp
|
27
26
|
This is the main puppet client. Its job is to retrieve the local
|
28
|
-
machine\
|
27
|
+
machine\(aqs configuration from a remote server and apply it. In order to
|
29
28
|
successfully communicate with the remote server, the client must have a
|
30
29
|
certificate signed by a certificate authority that the server trusts;
|
31
30
|
the recommended method for this, at the moment, is to run a certificate
|
32
31
|
authority as part of the puppet server (which is the default). The
|
33
32
|
client will connect and request a signed certificate, and will continue
|
34
33
|
connecting until it receives one.
|
35
|
-
|
34
|
+
.sp
|
36
35
|
Once the client has a signed certificate, it will retrieve its
|
37
36
|
configuration and apply it.
|
38
|
-
|
39
|
-
|
40
37
|
.SH USAGE NOTES
|
38
|
+
.sp
|
41
39
|
+puppetd+ does its best to find a compromise between interactive use and
|
42
40
|
daemon use. Run with no arguments and no configuration, it will go into
|
43
41
|
the backgroun, attempt to get a signed certificate, and retrieve and
|
44
42
|
apply its configuration every 30 minutes.
|
45
|
-
|
43
|
+
.sp
|
46
44
|
Some flags are meant specifically for interactive use \-\- in particular,
|
47
45
|
+test+ and +tags+ are useful. +test+ enables verbose logging, causes the
|
48
|
-
daemon to stay in the foreground, exits if the server\
|
49
|
-
invalid (this happens if, for instance, you\
|
46
|
+
daemon to stay in the foreground, exits if the server\(aqs configuration is
|
47
|
+
invalid (this happens if, for instance, you\(aqve left a syntax error on
|
50
48
|
the server), and exits after running the configuration once (rather than
|
51
49
|
hanging around as a long\-running process).
|
52
|
-
|
50
|
+
.sp
|
53
51
|
+tags+ allows you to specify what portions of a configuration you want
|
54
52
|
to apply. Puppet elements are tagged with all of the class or definition
|
55
53
|
names that contain them, and you can use the +tags+ flag to specify one
|
@@ -60,87 +58,80 @@ manage +ntpd+, you would put all of the new elements into an +ntpd+
|
|
60
58
|
class, and call puppet with +\-\-tags ntpd+, which would only apply that
|
61
59
|
small portion of the configuration during your testing, rather than
|
62
60
|
applying the whole thing.
|
63
|
-
|
64
|
-
|
65
61
|
.SH OPTIONS
|
66
|
-
|
67
|
-
|
68
|
-
|
62
|
+
.sp
|
63
|
+
Note that any configuration parameter that\(aqs valid in the configuration
|
64
|
+
file is also a valid long argument. For example, \(aqserver\(aq is a valid
|
65
|
+
configuration parameter, so you can specify \(aq\-\-server <servername>\(aq as
|
69
66
|
an argument.
|
70
|
-
|
67
|
+
.sp
|
71
68
|
See the configuration file documentation at
|
72
|
-
\fI\%http://
|
69
|
+
\fI\%http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
|
73
70
|
full list of acceptable parameters. A commented list of all
|
74
71
|
configuration options can also be generated by running puppetd with
|
75
|
-
\
|
76
|
-
|
72
|
+
\(aq\-\-genconfig\(aq.
|
73
|
+
.sp
|
77
74
|
daemonize: Send the process into the background. This is the default.
|
78
|
-
|
75
|
+
.sp
|
79
76
|
no\-daemonize: Do not send the process into the background.
|
80
|
-
|
77
|
+
.sp
|
81
78
|
debug: Enable full debugging.
|
82
|
-
|
83
79
|
.INDENT 0.0
|
84
|
-
|
85
80
|
.TP
|
86
81
|
.B disable: Disable working on the local system. This puts a lock file
|
82
|
+
.
|
87
83
|
in place, causing +puppetd+ not to work on the system
|
88
84
|
until the lock file is removed. This is useful if you are
|
89
85
|
testing a configuration and do not want the central
|
90
86
|
configuration to override the local state until everything
|
91
87
|
is tested and committed.
|
92
|
-
|
93
88
|
.UNINDENT
|
89
|
+
.sp
|
94
90
|
+puppetd+ uses the same lock file while it is running, so no more than
|
95
91
|
one +puppetd+ process is working at a time.
|
96
|
-
|
92
|
+
.sp
|
97
93
|
+puppetd+ exits after executing this.
|
98
|
-
|
99
94
|
.INDENT 0.0
|
100
|
-
|
101
95
|
.TP
|
102
96
|
.B enable: Enable working on the local system. This removes any lock
|
97
|
+
.
|
103
98
|
file, causing +puppetd+ to start managing the local system
|
104
99
|
again (although it will continue to use its normal
|
105
100
|
scheduling, so it might not start for another half hour).
|
106
|
-
|
107
101
|
.UNINDENT
|
102
|
+
.sp
|
108
103
|
+puppetd+ exits after executing this.
|
109
|
-
|
110
104
|
.INDENT 0.0
|
111
|
-
|
112
105
|
.TP
|
113
106
|
.B fqdn: Set the fully\-qualified domain name of the client. This is
|
107
|
+
.
|
114
108
|
only used for certificate purposes, but can be used to
|
115
109
|
override the discovered hostname. If you need to use this
|
116
110
|
flag, it is generally an indication of a setup problem.
|
117
|
-
|
118
111
|
.UNINDENT
|
112
|
+
.sp
|
119
113
|
help: Print this help message
|
120
|
-
|
121
114
|
.INDENT 0.0
|
122
|
-
|
123
115
|
.TP
|
124
116
|
.B logdest: Where to send messages. Choose between syslog, the
|
117
|
+
.
|
125
118
|
console, and a log file. Defaults to sending messages to
|
126
119
|
syslog, or the console if debugging or verbosity is
|
127
120
|
enabled.
|
128
|
-
|
129
|
-
|
130
121
|
.TP
|
131
122
|
.B no\-client: Do not create a config client. This will cause the daemon
|
123
|
+
.
|
132
124
|
to run without ever checking for its configuration
|
133
125
|
automatically, and only makes sense when used in
|
134
126
|
conjunction with \-\-listen.
|
135
|
-
|
136
|
-
|
137
127
|
.TP
|
138
|
-
.B onetime: Run the configuration once
|
139
|
-
|
140
|
-
|
141
|
-
|
128
|
+
.B onetime: Run the configuration once. Runs a single daemonized
|
129
|
+
.
|
130
|
+
Puppet run. Useful for interactively running puppetd and
|
131
|
+
hence used in conjunction with the \-\-no\-daemonize option.
|
142
132
|
.TP
|
143
133
|
.B serve: Start another type of server. By default, +puppetd+ will
|
134
|
+
.
|
144
135
|
start a service handler that allows authenticated and
|
145
136
|
authorized remote nodes to trigger the configuration to be
|
146
137
|
pulled down and applied. You can specify any handler here
|
@@ -149,53 +140,46 @@ or resource. The handlers are in
|
|
149
140
|
+lib/puppet/network/handler+, and the names must match
|
150
141
|
exactly, both in the call to +serve+ and in
|
151
142
|
+namespaceauth.conf+.
|
152
|
-
|
153
|
-
|
154
143
|
.TP
|
155
144
|
.B test: Enable the most common options used for testing. These are
|
145
|
+
.
|
156
146
|
+onetime+, +verbose+, +ignorecache, +no\-daemonize+, and
|
157
147
|
+no\-usecacheonfailure+.
|
158
|
-
|
159
|
-
|
160
148
|
.TP
|
161
149
|
.B noop: Use +noop+ mode where the daemon runs in a no\-op or
|
150
|
+
.
|
162
151
|
dry\-run mode. This is useful for seeing what changes
|
163
152
|
Puppet will make without actually executing the changes.
|
164
|
-
|
165
153
|
.UNINDENT
|
154
|
+
.sp
|
166
155
|
verbose: Turn on verbose reporting.
|
167
|
-
|
156
|
+
.sp
|
168
157
|
version: Print the puppet version number and exit.
|
169
|
-
|
170
158
|
.INDENT 0.0
|
171
|
-
|
172
159
|
.TP
|
173
160
|
.B waitforcert: This option only matters for daemons that do not yet have
|
161
|
+
.
|
174
162
|
certificates and it is enabled by default, with a value of
|
175
163
|
120 (seconds). This causes +puppetd+ to connect to the
|
176
164
|
server every 2 minutes and ask it to sign a certificate
|
177
165
|
request. This is useful for the initial setup of a puppet
|
178
166
|
client. You can turn off waiting for certificates by
|
179
167
|
specifying a time of 0.
|
180
|
-
|
181
168
|
.UNINDENT
|
182
|
-
|
183
169
|
.SH EXAMPLE
|
184
170
|
.INDENT 0.0
|
185
171
|
.INDENT 3.5
|
172
|
+
.sp
|
186
173
|
puppetd \-\-server puppet.domain.com
|
187
|
-
|
188
174
|
.UNINDENT
|
189
175
|
.UNINDENT
|
190
|
-
|
191
176
|
.SH AUTHOR
|
177
|
+
.sp
|
192
178
|
Luke Kanies
|
193
|
-
|
194
|
-
|
195
179
|
.SH COPYRIGHT
|
196
|
-
|
180
|
+
.sp
|
181
|
+
Copyright (c) 2005, 2006 Puppet Labs, LLC Licensed under the GNU
|
197
182
|
Public License
|
198
|
-
|
199
|
-
|
200
|
-
.\" Generated by docutils manpage writer on 2009-12-30 19:31.
|
183
|
+
.\" Generated by docutils manpage writer.
|
201
184
|
.\"
|
185
|
+
.
|
data/man/man8/puppetdoc.8
CHANGED
@@ -2,114 +2,103 @@
|
|
2
2
|
.SH NAME
|
3
3
|
\-
|
4
4
|
.\" Man page generated from reStructeredText.
|
5
|
-
|
5
|
+
.
|
6
6
|
.SH SYNOPSIS
|
7
|
+
.sp
|
7
8
|
Generate a reference for all Puppet types. Largely meant for internal
|
8
|
-
|
9
|
-
|
10
|
-
|
9
|
+
Puppet Labs use.
|
11
10
|
.SH USAGE
|
12
11
|
.INDENT 0.0
|
13
12
|
.INDENT 3.5
|
14
13
|
.INDENT 0.0
|
15
|
-
|
16
14
|
.TP
|
17
15
|
.B puppetdoc [\-a|\-\-all] [\-h|\-\-help] [\-o|\-\-outputdir <rdoc outputdir>] [\-m|\-\-mode <text|pdf|markdown|trac|rdoc>]
|
16
|
+
.
|
18
17
|
[\-r|\-\-reference <[type]|configuration|..>] [manifest\-file]
|
19
|
-
|
20
18
|
.UNINDENT
|
21
19
|
.UNINDENT
|
22
20
|
.UNINDENT
|
23
|
-
|
24
21
|
.SH DESCRIPTION
|
25
|
-
|
22
|
+
.sp
|
23
|
+
If mode is not \(aqrdoc\(aq, then this command generates a restructured\-text
|
26
24
|
document describing all installed Puppet types or all allowable
|
27
25
|
arguments to puppet executables. It is largely meant for internal use
|
28
26
|
and is used to generate the reference document available on the
|
29
|
-
|
30
|
-
|
31
|
-
In \
|
32
|
-
the manifests that are in \
|
27
|
+
Puppet Labs web site.
|
28
|
+
.sp
|
29
|
+
In \(aqrdoc\(aq mode, this command generates an html RDoc hierarchy describing
|
30
|
+
the manifests that are in \(aqmanifestdir\(aq and \(aqmodulepath\(aq configuration
|
33
31
|
directives. The generated documentation directory is doc by default but
|
34
|
-
can be changed with the \
|
35
|
-
|
36
|
-
If the command is started with \
|
32
|
+
can be changed with the \(aqoutputdir\(aq option.
|
33
|
+
.sp
|
34
|
+
If the command is started with \(aqmanifest\-file\(aq command\-line arguments,
|
37
35
|
puppetdoc generate a single manifest documentation that is output on
|
38
36
|
stdout.
|
39
|
-
|
40
|
-
|
41
37
|
.SH OPTIONS
|
42
38
|
.INDENT 0.0
|
43
|
-
|
44
39
|
.TP
|
45
|
-
.B all: Output the docs for all of the reference types. In \
|
40
|
+
.B all: Output the docs for all of the reference types. In \(aqrdoc\(aq
|
41
|
+
.
|
46
42
|
modes, this also outputs documentation for all resources
|
47
|
-
|
48
43
|
.UNINDENT
|
44
|
+
.sp
|
49
45
|
help: Print this help message
|
50
|
-
|
51
46
|
.INDENT 0.0
|
52
|
-
|
53
47
|
.TP
|
54
48
|
.B outputdir: Specifies the directory where to output the rdoc
|
55
|
-
|
56
|
-
|
57
|
-
|
49
|
+
.
|
50
|
+
documentation in \(aqrdoc\(aq mode.
|
58
51
|
.TP
|
59
|
-
.B mode: Determine the output mode. Valid modes are \
|
60
|
-
|
52
|
+
.B mode: Determine the output mode. Valid modes are \(aqtext\(aq, \(aqtrac\(aq,
|
53
|
+
.
|
54
|
+
\(aqpdf\(aq, \(aqmarkdown\(aq and \(aqrdoc\(aq. The \(aqpdf\(aq and \(aqmarkdown\(aq modes
|
61
55
|
create PDF or Markdown formatted files in the /tmp directory.
|
62
|
-
Note that \
|
63
|
-
The default mode is \
|
64
|
-
\
|
65
|
-
|
66
|
-
|
56
|
+
Note that \(aqtrac\(aq mode only works on Puppet Labs servers.
|
57
|
+
The default mode is \(aqtext\(aq. In \(aqrdoc\(aq mode you must provide
|
58
|
+
\(aqmanifests\-path\(aq
|
67
59
|
.TP
|
68
60
|
.B reference: Build a particular reference. Get a list of references by
|
61
|
+
.
|
69
62
|
running +puppetdoc \-\-list+.
|
70
|
-
|
71
63
|
.UNINDENT
|
72
|
-
|
73
64
|
.SH EXAMPLE
|
74
65
|
.INDENT 0.0
|
75
66
|
.INDENT 3.5
|
67
|
+
.sp
|
76
68
|
$ puppetdoc \-r type > /tmp/type_reference.rst
|
77
|
-
|
78
69
|
.UNINDENT
|
79
70
|
.UNINDENT
|
71
|
+
.sp
|
80
72
|
or
|
81
|
-
|
82
73
|
.INDENT 0.0
|
83
74
|
.INDENT 3.5
|
75
|
+
.sp
|
84
76
|
$ puppetdoc \-\-outputdir /tmp/rdoc \-\-mode rdoc /path/to/manifests
|
85
|
-
|
86
77
|
.UNINDENT
|
87
78
|
.UNINDENT
|
79
|
+
.sp
|
88
80
|
or
|
89
|
-
|
90
81
|
.INDENT 0.0
|
91
82
|
.INDENT 3.5
|
83
|
+
.sp
|
92
84
|
$ puppetdoc /etc/puppet/manifests/site.pp
|
93
|
-
|
94
85
|
.UNINDENT
|
95
86
|
.UNINDENT
|
87
|
+
.sp
|
96
88
|
or
|
97
|
-
|
98
89
|
.INDENT 0.0
|
99
90
|
.INDENT 3.5
|
91
|
+
.sp
|
100
92
|
$ puppetdoc \-m markdown \-r configuration
|
101
|
-
|
102
93
|
.UNINDENT
|
103
94
|
.UNINDENT
|
104
|
-
|
105
95
|
.SH AUTHOR
|
96
|
+
.sp
|
106
97
|
Luke Kanies
|
107
|
-
|
108
|
-
|
109
98
|
.SH COPYRIGHT
|
110
|
-
|
99
|
+
.sp
|
100
|
+
Copyright (c) 2005\-2007 Puppet Labs, LLC Licensed under the GNU
|
111
101
|
Public License
|
112
|
-
|
113
|
-
|
114
|
-
.\" Generated by docutils manpage writer on 2009-12-30 19:24.
|
102
|
+
.\" Generated by docutils manpage writer.
|
115
103
|
.\"
|
104
|
+
.
|
data/man/man8/puppetmasterd.8
CHANGED
@@ -2,79 +2,71 @@
|
|
2
2
|
.SH NAME
|
3
3
|
\-
|
4
4
|
.\" Man page generated from reStructeredText.
|
5
|
-
|
5
|
+
.
|
6
6
|
.SH SYNOPSIS
|
7
|
+
.sp
|
7
8
|
The central puppet server. Functions as a certificate authority by
|
8
9
|
default.
|
9
|
-
|
10
|
-
|
11
10
|
.SH USAGE
|
12
11
|
.INDENT 0.0
|
13
12
|
.INDENT 3.5
|
14
13
|
.INDENT 0.0
|
15
|
-
|
16
14
|
.TP
|
17
15
|
.B puppetmasterd [\-D|\-\-daemonize|\-\-no\-daemonize] [\-d|\-\-debug] [\-h|\-\-help]
|
16
|
+
.
|
18
17
|
[\-l|\-\-logdest <file>|console|syslog] [\-v|\-\-verbose] [\-V|\-\-version]
|
19
|
-
|
20
18
|
.UNINDENT
|
21
19
|
.UNINDENT
|
22
20
|
.UNINDENT
|
23
|
-
|
24
21
|
.SH DESCRIPTION
|
22
|
+
.sp
|
25
23
|
This is the puppet central daemon.
|
26
|
-
|
27
|
-
|
28
24
|
.SH OPTIONS
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
.sp
|
26
|
+
Note that any configuration parameter that\(aqs valid in the configuration
|
27
|
+
file is also a valid long argument. For example, \(aqssldir\(aq is a valid
|
28
|
+
configuration parameter, so you can specify \(aq\-\-ssldir <directory>\(aq as an
|
32
29
|
argument.
|
33
|
-
|
30
|
+
.sp
|
34
31
|
See the configuration file documentation at
|
35
|
-
\fI\%http://
|
32
|
+
\fI\%http://puppetlabs.com/trac/puppet/wiki/ConfigurationReference\fP for the
|
36
33
|
full list of acceptable parameters. A commented list of all
|
37
34
|
configuration options can also be generated by running puppetmasterdd
|
38
|
-
with \
|
39
|
-
|
35
|
+
with \(aq\-\-genconfig\(aq.
|
36
|
+
.sp
|
40
37
|
daemonize: Send the process into the background. This is the default.
|
41
|
-
|
38
|
+
.sp
|
42
39
|
no\-daemonize: Do not send the process into the background.
|
43
|
-
|
40
|
+
.sp
|
44
41
|
debug: Enable full debugging.
|
45
|
-
|
42
|
+
.sp
|
46
43
|
help: Print this help message.
|
47
|
-
|
48
44
|
.INDENT 0.0
|
49
|
-
|
50
45
|
.TP
|
51
46
|
.B logdest: Where to send messages. Choose between syslog, the
|
47
|
+
.
|
52
48
|
console, and a log file. Defaults to sending messages to
|
53
49
|
syslog, or the console if debugging or verbosity is
|
54
50
|
enabled.
|
55
|
-
|
56
51
|
.UNINDENT
|
52
|
+
.sp
|
57
53
|
verbose: Enable verbosity.
|
58
|
-
|
54
|
+
.sp
|
59
55
|
version: Print the puppet version number and exit.
|
60
|
-
|
61
|
-
|
62
56
|
.SH EXAMPLE
|
63
57
|
.INDENT 0.0
|
64
58
|
.INDENT 3.5
|
59
|
+
.sp
|
65
60
|
puppetmasterd
|
66
|
-
|
67
61
|
.UNINDENT
|
68
62
|
.UNINDENT
|
69
|
-
|
70
63
|
.SH AUTHOR
|
64
|
+
.sp
|
71
65
|
Luke Kanies
|
72
|
-
|
73
|
-
|
74
66
|
.SH COPYRIGHT
|
75
|
-
|
67
|
+
.sp
|
68
|
+
Copyright (c) 2005 Puppet Labs, LLC Licensed under the GNU Public
|
76
69
|
License
|
77
|
-
|
78
|
-
|
79
|
-
.\" Generated by docutils manpage writer on 2009-12-30 19:31.
|
70
|
+
.\" Generated by docutils manpage writer.
|
80
71
|
.\"
|
72
|
+
.
|