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
@@ -0,0 +1,318 @@
|
|
1
|
+
#
|
2
|
+
# ZAML -- A partial replacement for YAML, writen with speed and code clarity
|
3
|
+
# in mind. ZAML fixes one YAML bug (loading Exceptions) and provides
|
4
|
+
# a replacement for YAML.dump() unimaginatively called ZAML.dump(),
|
5
|
+
# which is faster on all known cases and an order of magnitude faster
|
6
|
+
# with complex structures.
|
7
|
+
#
|
8
|
+
# http://github.com/hallettj/zaml
|
9
|
+
#
|
10
|
+
# Authors: Markus Roberts, Jesse Hallett, Ian McIntosh, Igal Koshevoy, Simon Chiang
|
11
|
+
#
|
12
|
+
|
13
|
+
require 'yaml'
|
14
|
+
|
15
|
+
class ZAML
|
16
|
+
VERSION = "0.1.1"
|
17
|
+
#
|
18
|
+
# Class Methods
|
19
|
+
#
|
20
|
+
def self.dump(stuff, where='')
|
21
|
+
z = new
|
22
|
+
stuff.to_zaml(z)
|
23
|
+
where << z.to_s
|
24
|
+
end
|
25
|
+
#
|
26
|
+
# Instance Methods
|
27
|
+
#
|
28
|
+
def initialize
|
29
|
+
@result = []
|
30
|
+
@indent = nil
|
31
|
+
@structured_key_prefix = nil
|
32
|
+
Label.counter_reset
|
33
|
+
emit('--- ')
|
34
|
+
end
|
35
|
+
def nested(tail=' ')
|
36
|
+
old_indent = @indent
|
37
|
+
@indent = "#{@indent || "\n"}#{tail}"
|
38
|
+
yield
|
39
|
+
@indent = old_indent
|
40
|
+
end
|
41
|
+
class Label
|
42
|
+
#
|
43
|
+
# YAML only wants objects in the datastream once; if the same object
|
44
|
+
# occurs more than once, we need to emit a label ("&idxxx") on the
|
45
|
+
# first occurrence and then emit a back reference (*idxxx") on any
|
46
|
+
# subsequent occurrence(s).
|
47
|
+
#
|
48
|
+
# To accomplish this we keeps a hash (by object id) of the labels of
|
49
|
+
# the things we serialize as we begin to serialize them. The labels
|
50
|
+
# initially serialize as an empty string (since most objects are only
|
51
|
+
# going to be be encountered once), but can be changed to a valid
|
52
|
+
# (by assigning it a number) the first time it is subsequently used,
|
53
|
+
# if it ever is. Note that we need to do the label setup BEFORE we
|
54
|
+
# start to serialize the object so that circular structures (in
|
55
|
+
# which we will encounter a reference to the object as we serialize
|
56
|
+
# it can be handled).
|
57
|
+
#
|
58
|
+
def self.counter_reset
|
59
|
+
@@previously_emitted_object = {}
|
60
|
+
@@next_free_label_number = 0
|
61
|
+
end
|
62
|
+
def initialize(obj,indent)
|
63
|
+
@indent = indent
|
64
|
+
@this_label_number = nil
|
65
|
+
@@previously_emitted_object[obj.object_id] = self
|
66
|
+
end
|
67
|
+
def to_s
|
68
|
+
@this_label_number ? ('&id%03d%s' % [@this_label_number, @indent]) : ''
|
69
|
+
end
|
70
|
+
def reference
|
71
|
+
@this_label_number ||= (@@next_free_label_number += 1)
|
72
|
+
@reference ||= '*id%03d' % @this_label_number
|
73
|
+
end
|
74
|
+
def self.for(obj)
|
75
|
+
@@previously_emitted_object[obj.object_id]
|
76
|
+
end
|
77
|
+
end
|
78
|
+
def new_label_for(obj)
|
79
|
+
Label.new(obj,(Hash === obj || Array === obj) ? "#{@indent || "\n"} " : ' ')
|
80
|
+
end
|
81
|
+
def first_time_only(obj)
|
82
|
+
if label = Label.for(obj)
|
83
|
+
emit(label.reference)
|
84
|
+
else
|
85
|
+
if @structured_key_prefix and not obj.is_a? String
|
86
|
+
emit(@structured_key_prefix)
|
87
|
+
@structured_key_prefix = nil
|
88
|
+
end
|
89
|
+
emit(new_label_for(obj))
|
90
|
+
yield
|
91
|
+
end
|
92
|
+
end
|
93
|
+
def emit(s)
|
94
|
+
@result << s
|
95
|
+
@recent_nl = false unless s.kind_of?(Label)
|
96
|
+
end
|
97
|
+
def nl(s='')
|
98
|
+
emit(@indent || "\n") unless @recent_nl
|
99
|
+
emit(s)
|
100
|
+
@recent_nl = true
|
101
|
+
end
|
102
|
+
def to_s
|
103
|
+
@result.join
|
104
|
+
end
|
105
|
+
def prefix_structured_keys(x)
|
106
|
+
@structured_key_prefix = x
|
107
|
+
yield
|
108
|
+
nl unless @structured_key_prefix
|
109
|
+
@structured_key_prefix = nil
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
################################################################
|
114
|
+
#
|
115
|
+
# Behavior for custom classes
|
116
|
+
#
|
117
|
+
################################################################
|
118
|
+
|
119
|
+
class Object
|
120
|
+
def to_yaml_properties
|
121
|
+
instance_variables.sort # Default YAML behavior
|
122
|
+
end
|
123
|
+
def zamlized_class_name(root)
|
124
|
+
"!ruby/#{root.name.downcase}#{self.class == root ? '' : ":#{self.class.name}"}"
|
125
|
+
end
|
126
|
+
def to_zaml(z)
|
127
|
+
z.first_time_only(self) {
|
128
|
+
z.emit(zamlized_class_name(Object))
|
129
|
+
z.nested {
|
130
|
+
instance_variables = to_yaml_properties
|
131
|
+
if instance_variables.empty?
|
132
|
+
z.emit(" {}")
|
133
|
+
else
|
134
|
+
instance_variables.each { |v|
|
135
|
+
z.nl
|
136
|
+
v[1..-1].to_zaml(z) # Remove leading '@'
|
137
|
+
z.emit(': ')
|
138
|
+
instance_variable_get(v).to_zaml(z)
|
139
|
+
}
|
140
|
+
end
|
141
|
+
}
|
142
|
+
}
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
################################################################
|
147
|
+
#
|
148
|
+
# Behavior for built-in classes
|
149
|
+
#
|
150
|
+
################################################################
|
151
|
+
|
152
|
+
class NilClass
|
153
|
+
def to_zaml(z)
|
154
|
+
z.emit('') # NOTE: blank turns into nil in YAML.load
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
class Symbol
|
159
|
+
def to_zaml(z)
|
160
|
+
z.emit(self.inspect)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
class TrueClass
|
165
|
+
def to_zaml(z)
|
166
|
+
z.emit('true')
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
class FalseClass
|
171
|
+
def to_zaml(z)
|
172
|
+
z.emit('false')
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
class Numeric
|
177
|
+
def to_zaml(z)
|
178
|
+
z.emit(self)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class Regexp
|
183
|
+
def to_zaml(z)
|
184
|
+
z.first_time_only(self) { z.emit("#{zamlized_class_name(Regexp)} #{inspect}") }
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
class Exception
|
189
|
+
def to_zaml(z)
|
190
|
+
z.emit(zamlized_class_name(Exception))
|
191
|
+
z.nested {
|
192
|
+
z.nl("message: ")
|
193
|
+
message.to_zaml(z)
|
194
|
+
}
|
195
|
+
end
|
196
|
+
#
|
197
|
+
# Monkey patch for buggy Exception restore in YAML
|
198
|
+
#
|
199
|
+
# This makes it work for now but is not very future-proof; if things
|
200
|
+
# change we'll most likely want to remove this. To mitigate the risks
|
201
|
+
# as much as possible, we test for the bug before appling the patch.
|
202
|
+
#
|
203
|
+
if respond_to? :yaml_new and yaml_new(self, :tag, "message" => "blurp").message != "blurp"
|
204
|
+
def self.yaml_new( klass, tag, val )
|
205
|
+
o = YAML.object_maker( klass, {} ).exception(val.delete( 'message'))
|
206
|
+
val.each_pair do |k,v|
|
207
|
+
o.instance_variable_set("@#{k}", v)
|
208
|
+
end
|
209
|
+
o
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class String
|
215
|
+
ZAML_ESCAPES = %w{\x00 \x01 \x02 \x03 \x04 \x05 \x06 \a \x08 \t \n \v \f \r \x0e \x0f \x10 \x11 \x12 \x13 \x14 \x15 \x16 \x17 \x18 \x19 \x1a \e \x1c \x1d \x1e \x1f }
|
216
|
+
def escaped_for_zaml
|
217
|
+
gsub( /\x5C/, "\\\\\\" ). # Demi-kludge for Maglev/rubinius; the regexp should be /\\/ but parsetree chokes on that.
|
218
|
+
gsub( /"/, "\\\"" ).
|
219
|
+
gsub( /([\x00-\x1F])/ ) { |x| ZAML_ESCAPES[ x.unpack("C")[0] ] }.
|
220
|
+
gsub( /([\x80-\xFF])/ ) { |x| "\\x#{x.unpack("C")[0].to_s(16)}" }
|
221
|
+
end
|
222
|
+
def to_zaml(z)
|
223
|
+
z.first_time_only(self) {
|
224
|
+
num = '[-+]?(0x)?\d+\.?\d*'
|
225
|
+
case
|
226
|
+
when self == ''
|
227
|
+
z.emit('""')
|
228
|
+
# when self =~ /[\x00-\x08\x0B\x0C\x0E-\x1F\x80-\xFF]/
|
229
|
+
# z.emit("!binary |\n")
|
230
|
+
# z.emit([self].pack("m*"))
|
231
|
+
when (
|
232
|
+
(self =~ /\A(true|false|yes|no|on|null|off|#{num}(:#{num})*|!|=|~)$/i) or
|
233
|
+
(self =~ /\A\n* /) or
|
234
|
+
(self =~ /\s$/) or
|
235
|
+
(self =~ /^[>|][-+\d]*\s/i) or
|
236
|
+
(self[-1..-1] =~ /\s/) or
|
237
|
+
(self =~ /[\x00-\x08\x0A-\x1F\x80-\xFF]/) or
|
238
|
+
(self =~ /[,\[\]\{\}\r\t]|:\s|\s#/) or
|
239
|
+
(self =~ /\A([-:?!#&*'"]|<<|%.+:.)/)
|
240
|
+
)
|
241
|
+
z.emit("\"#{escaped_for_zaml}\"")
|
242
|
+
when self =~ /\n/
|
243
|
+
if self[-1..-1] == "\n" then z.emit('|+') else z.emit('|-') end
|
244
|
+
z.nested { split("\n",-1).each { |line| z.nl; z.emit(line.chomp("\n")) } }
|
245
|
+
z.nl
|
246
|
+
else
|
247
|
+
z.emit(self)
|
248
|
+
end
|
249
|
+
}
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
class Hash
|
254
|
+
def to_zaml(z)
|
255
|
+
z.first_time_only(self) {
|
256
|
+
z.nested {
|
257
|
+
if empty?
|
258
|
+
z.emit('{}')
|
259
|
+
else
|
260
|
+
each_pair { |k, v|
|
261
|
+
z.nl
|
262
|
+
z.prefix_structured_keys('? ') { k.to_zaml(z) }
|
263
|
+
z.emit(': ')
|
264
|
+
v.to_zaml(z)
|
265
|
+
}
|
266
|
+
end
|
267
|
+
}
|
268
|
+
}
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
class Array
|
273
|
+
def to_zaml(z)
|
274
|
+
z.first_time_only(self) {
|
275
|
+
z.nested {
|
276
|
+
if empty?
|
277
|
+
z.emit('[]')
|
278
|
+
else
|
279
|
+
each { |v| z.nl('- '); v.to_zaml(z) }
|
280
|
+
end
|
281
|
+
}
|
282
|
+
}
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
class Time
|
287
|
+
def to_zaml(z)
|
288
|
+
# 2008-12-06 10:06:51.373758 -07:00
|
289
|
+
ms = ("%0.6f" % (usec * 1e-6)).sub(/^\d+\./,'')
|
290
|
+
offset = "%+0.2i:%0.2i" % [utc_offset / 3600, (utc_offset / 60) % 60]
|
291
|
+
z.emit(self.strftime("%Y-%m-%d %H:%M:%S.#{ms} #{offset}"))
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class Date
|
296
|
+
def to_zaml(z)
|
297
|
+
z.emit(strftime('%Y-%m-%d'))
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
class Range
|
302
|
+
def to_zaml(z)
|
303
|
+
z.first_time_only(self) {
|
304
|
+
z.emit(zamlized_class_name(Range))
|
305
|
+
z.nested {
|
306
|
+
z.nl
|
307
|
+
z.emit('begin: ')
|
308
|
+
z.emit(first)
|
309
|
+
z.nl
|
310
|
+
z.emit('end: ')
|
311
|
+
z.emit(last)
|
312
|
+
z.nl
|
313
|
+
z.emit('excl: ')
|
314
|
+
z.emit(exclude_end?)
|
315
|
+
}
|
316
|
+
}
|
317
|
+
end
|
318
|
+
end
|
@@ -1,49 +1,56 @@
|
|
1
|
-
.TH
|
1
|
+
.TH CONFIGURATION REFERENCE "" "" ""
|
2
2
|
.SH NAME
|
3
3
|
Configuration Reference \-
|
4
4
|
.\" Man page generated from reStructeredText.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
.
|
17
|
-
|
5
|
+
.
|
6
|
+
.sp
|
7
|
+
\fBThis page is autogenerated; any changes will get overwritten\fP \fI(last generated on Sun Apr 11 17:57:48 \-0400 2010)\fP
|
8
|
+
.SS Contents
|
9
|
+
.INDENT 0.0
|
10
|
+
.IP \(bu 2
|
11
|
+
.
|
12
|
+
\fI\%Specifying Configuration Parameters\fP
|
13
|
+
.IP \(bu 2
|
14
|
+
.
|
15
|
+
\fI\%Signals\fP
|
16
|
+
.IP \(bu 2
|
17
|
+
.
|
18
|
+
\fI\%Configuration Parameter Reference\fP
|
19
|
+
.UNINDENT
|
20
|
+
.SH SPECIFYING CONFIGURATION PARAMETERS
|
18
21
|
.SS On The Command\-Line
|
22
|
+
.sp
|
19
23
|
Every Puppet executable (with the exception of \fBpuppetdoc\fP) accepts all of
|
20
24
|
the parameters below, but not all of the arguments make sense for every executable.
|
21
|
-
|
25
|
+
.sp
|
22
26
|
I have tried to be as thorough as possible in the descriptions of the
|
23
27
|
arguments, so it should be obvious whether an argument is appropriate or not.
|
24
|
-
|
28
|
+
.sp
|
25
29
|
These parameters can be supplied to the executables either as command\-line
|
26
30
|
options or in the configuration file. For instance, the command\-line
|
27
31
|
invocation below would set the configuration directory to \fB/private/puppet\fP:
|
28
|
-
|
29
|
-
|
32
|
+
.sp
|
30
33
|
.nf
|
34
|
+
.ft C
|
31
35
|
$ puppetd \-\-confdir=/private/puppet
|
36
|
+
.ft P
|
32
37
|
.fi
|
38
|
+
.sp
|
33
39
|
Note that boolean options are turned on and off with a slightly different
|
34
40
|
syntax on the command line:
|
35
|
-
|
36
|
-
|
41
|
+
.sp
|
37
42
|
.nf
|
43
|
+
.ft C
|
38
44
|
$ puppetd \-\-storeconfigs
|
39
45
|
|
40
46
|
$ puppetd \-\-no\-storeconfigs
|
47
|
+
.ft P
|
41
48
|
.fi
|
49
|
+
.sp
|
42
50
|
The invocations above will enable and disable, respectively, the storage of
|
43
51
|
the client configuration.
|
44
|
-
|
45
|
-
|
46
52
|
.SS Configuration Files
|
53
|
+
.sp
|
47
54
|
As mentioned above, the configuration parameters can also be stored in a
|
48
55
|
configuration file, located in the configuration directory. As root, the
|
49
56
|
default configuration directory is \fB/etc/puppet\fP, and as a regular user, the
|
@@ -52,1729 +59,1417 @@ executables look for \fBpuppet.conf\fP in their configuration directory
|
|
52
59
|
(although they previously looked for separate files). For example,
|
53
60
|
\fBpuppet.conf\fP is located at \fB/etc/puppet/puppet.conf\fP as root and
|
54
61
|
\fB~user/.puppet/puppet.conf\fP as a regular user by default.
|
55
|
-
|
62
|
+
.sp
|
56
63
|
All executables will set any parameters set within the \fBmain\fP section,
|
57
64
|
while each executable will also look for a section named for the executable
|
58
65
|
and load those parameters. For example, \fBpuppetd\fP will look for a
|
59
66
|
section named \fBpuppetd\fP, and \fBpuppetmasterd\fP looks for a section
|
60
67
|
named \fBpuppetmasterd\fP. This allows you to use a single configuration file
|
61
68
|
to customize the settings for all of your executables.
|
62
|
-
|
63
|
-
|
64
69
|
.SS File Format
|
70
|
+
.sp
|
65
71
|
The file follows INI\-style formatting. Here is an example of a very simple
|
66
72
|
\fBpuppet.conf\fP file:
|
67
|
-
|
68
|
-
|
73
|
+
.sp
|
69
74
|
.nf
|
75
|
+
.ft C
|
70
76
|
[main]
|
71
77
|
confdir = /private/puppet
|
72
78
|
storeconfigs = true
|
79
|
+
.ft P
|
73
80
|
.fi
|
81
|
+
.sp
|
74
82
|
Note that boolean parameters must be explicitly specified as \fItrue\fP or
|
75
83
|
\fIfalse\fP as seen above.
|
76
|
-
|
84
|
+
.sp
|
77
85
|
If you need to change file parameters (e.g., reset the mode or owner), do
|
78
86
|
so within curly braces on the same line:
|
79
|
-
|
80
|
-
|
87
|
+
.sp
|
81
88
|
.nf
|
89
|
+
.ft C
|
82
90
|
[main]
|
83
91
|
myfile = /tmp/whatever {owner = root, mode = 644}
|
92
|
+
.ft P
|
84
93
|
.fi
|
85
|
-
|
94
|
+
.sp
|
95
|
+
If you\(aqre starting out with a fresh configuration, you may wish to let
|
86
96
|
the executable generate a template configuration file for you by invoking
|
87
97
|
the executable in question with the \fI\-\-genconfig\fP command. The executable
|
88
98
|
will print a template configuration to standard output, which can be
|
89
99
|
redirected to a file like so:
|
90
|
-
|
91
|
-
|
100
|
+
.sp
|
92
101
|
.nf
|
102
|
+
.ft C
|
93
103
|
$ puppetd \-\-genconfig > /etc/puppet/puppet.conf
|
104
|
+
.ft P
|
94
105
|
.fi
|
106
|
+
.sp
|
95
107
|
Note that this invocation will replace the contents of any pre\-existing
|
96
108
|
\fIpuppet.conf\fP file, so make a backup of your present config if it contains
|
97
109
|
valuable information.
|
98
|
-
|
110
|
+
.sp
|
99
111
|
Like the \fI\-\-genconfig\fP argument, the executables also accept a \fI\-\-genmanifest\fP
|
100
112
|
argument, which will generate a manifest that can be used to manage all of
|
101
|
-
Puppet\
|
113
|
+
Puppet\(aqs directories and files and prints it to standard output. This can
|
102
114
|
likewise be redirected to a file:
|
103
|
-
|
104
|
-
|
115
|
+
.sp
|
105
116
|
.nf
|
117
|
+
.ft C
|
106
118
|
$ puppetd \-\-genmanifest > /etc/puppet/manifests/site.pp
|
119
|
+
.ft P
|
107
120
|
.fi
|
121
|
+
.sp
|
108
122
|
Puppet can also create user and group accounts for itself (one \fIpuppet\fP group
|
109
123
|
and one \fIpuppet\fP user) if it is invoked as \fIroot\fP with the \fI\-\-mkusers\fP argument:
|
110
|
-
|
111
|
-
|
124
|
+
.sp
|
112
125
|
.nf
|
126
|
+
.ft C
|
113
127
|
$ puppetd \-\-mkusers
|
128
|
+
.ft P
|
114
129
|
.fi
|
115
|
-
|
116
|
-
.
|
130
|
+
.SH SIGNALS
|
131
|
+
.sp
|
117
132
|
The \fBpuppetd\fP and \fBpuppetmasterd\fP executables catch some signals for special
|
118
133
|
handling. Both daemons catch (\fBSIGHUP\fP), which forces the server to restart
|
119
134
|
tself. Predictably, interrupt and terminate (\fBSIGINT\fP and \fBSIGTERM\fP) will shut
|
120
135
|
down the server, whether it be an instance of \fBpuppetd\fP or \fBpuppetmasterd\fP.
|
121
|
-
|
136
|
+
.sp
|
122
137
|
Sending the \fBSIGUSR1\fP signal to an instance of \fBpuppetd\fP will cause it to
|
123
138
|
immediately begin a new configuration transaction with the server. This
|
124
139
|
signal has no effect on \fBpuppetmasterd\fP.
|
125
|
-
|
126
|
-
|
127
|
-
.SH Configuration Parameter Reference
|
140
|
+
.SH CONFIGURATION PARAMETER REFERENCE
|
141
|
+
.sp
|
128
142
|
Below is a list of all documented parameters. Not all of them are valid with all
|
129
143
|
Puppet executables, but the executables will ignore any inappropriate values.
|
130
|
-
|
131
|
-
|
132
144
|
.SS async_storeconfigs
|
133
|
-
|
134
|
-
|
145
|
+
.sp
|
146
|
+
Whether to use a queueing system to provide asynchronous database integration. Requires that \fBpuppetqd\fP be running and that \(aqPSON\(aq support for ruby be installed.
|
135
147
|
.INDENT 0.0
|
136
|
-
|
137
148
|
.IP \(bu 2
|
138
|
-
|
139
|
-
|
149
|
+
.
|
150
|
+
\fBDefault\fP: false
|
140
151
|
.UNINDENT
|
141
|
-
|
142
152
|
.SS authconfig
|
153
|
+
.sp
|
143
154
|
The configuration file that defines the rights to the different namespaces and methods. This can be used as a coarse\-grained authorization system for both \fBpuppetd\fP and \fBpuppetmasterd\fP.
|
144
|
-
|
145
155
|
.INDENT 0.0
|
146
|
-
|
147
156
|
.IP \(bu 2
|
148
|
-
|
149
|
-
|
157
|
+
.
|
158
|
+
\fBDefault\fP: $confdir/namespaceauth.conf
|
150
159
|
.UNINDENT
|
151
|
-
|
152
160
|
.SS autoflush
|
161
|
+
.sp
|
153
162
|
Whether log files should always flush to disk.
|
154
|
-
|
155
163
|
.INDENT 0.0
|
156
|
-
|
157
164
|
.IP \(bu 2
|
158
|
-
|
159
|
-
|
165
|
+
.
|
166
|
+
\fBDefault\fP: false
|
160
167
|
.UNINDENT
|
161
|
-
|
162
168
|
.SS autosign
|
169
|
+
.sp
|
163
170
|
Whether to enable autosign. Valid values are true (which autosigns any key request, and is a very bad idea), false (which never autosigns any key request), and the path to a file, which uses that configuration file to determine which keys to sign.
|
164
|
-
|
165
171
|
.INDENT 0.0
|
166
|
-
|
167
172
|
.IP \(bu 2
|
168
|
-
|
169
|
-
|
173
|
+
.
|
174
|
+
\fBDefault\fP: $confdir/autosign.conf
|
170
175
|
.UNINDENT
|
171
|
-
|
172
176
|
.SS bindaddress
|
177
|
+
.sp
|
173
178
|
The address a listening server should bind to. Mongrel servers default to 127.0.0.1 and WEBrick defaults to 0.0.0.0.
|
174
|
-
|
175
|
-
|
176
179
|
.SS bucketdir
|
180
|
+
.sp
|
177
181
|
Where FileBucket files are stored.
|
178
|
-
|
179
182
|
.INDENT 0.0
|
180
|
-
|
181
183
|
.IP \(bu 2
|
182
|
-
|
183
|
-
|
184
|
+
.
|
185
|
+
\fBDefault\fP: $vardir/bucket
|
184
186
|
.UNINDENT
|
185
|
-
|
186
187
|
.SS ca
|
188
|
+
.sp
|
187
189
|
Wether the master should function as a certificate authority.
|
188
|
-
|
189
190
|
.INDENT 0.0
|
190
|
-
|
191
191
|
.IP \(bu 2
|
192
|
-
|
193
|
-
|
192
|
+
.
|
193
|
+
\fBDefault\fP: true
|
194
194
|
.UNINDENT
|
195
|
-
|
196
195
|
.SS ca_days
|
196
|
+
.sp
|
197
197
|
How long a certificate should be valid. This parameter is deprecated, use ca_ttl instead
|
198
|
-
|
199
|
-
|
200
198
|
.SS ca_md
|
199
|
+
.sp
|
201
200
|
The type of hash used in certificates.
|
202
|
-
|
203
201
|
.INDENT 0.0
|
204
|
-
|
205
202
|
.IP \(bu 2
|
206
|
-
|
207
|
-
|
203
|
+
.
|
204
|
+
\fBDefault\fP: md5
|
208
205
|
.UNINDENT
|
209
|
-
|
210
206
|
.SS ca_port
|
207
|
+
.sp
|
211
208
|
The port to use for the certificate authority.
|
212
|
-
|
213
209
|
.INDENT 0.0
|
214
|
-
|
215
210
|
.IP \(bu 2
|
216
|
-
|
217
|
-
|
211
|
+
.
|
212
|
+
\fBDefault\fP: $masterport
|
218
213
|
.UNINDENT
|
219
|
-
|
220
214
|
.SS ca_server
|
221
|
-
|
222
|
-
|
215
|
+
.sp
|
216
|
+
The server to use for certificate authority requests. It\(aqs a separate server because it cannot and does not need to horizontally scale.
|
223
217
|
.INDENT 0.0
|
224
|
-
|
225
218
|
.IP \(bu 2
|
226
|
-
|
227
|
-
|
219
|
+
.
|
220
|
+
\fBDefault\fP: $server
|
228
221
|
.UNINDENT
|
229
|
-
|
230
222
|
.SS ca_ttl
|
231
|
-
|
232
|
-
|
223
|
+
.sp
|
224
|
+
The default TTL for new certificates; valid values must be an integer, optionally followed by one of the units \(aqy\(aq (years of 365 days), \(aqd\(aq (days), \(aqh\(aq (hours), or \(aqs\(aq (seconds). The unit defaults to seconds. If this parameter is set, ca_days is ignored. Examples are \(aq3600\(aq (one hour) and \(aq1825d\(aq, which is the same as \(aq5y\(aq (5 years)
|
233
225
|
.INDENT 0.0
|
234
|
-
|
235
226
|
.IP \(bu 2
|
236
|
-
|
237
|
-
|
227
|
+
.
|
228
|
+
\fBDefault\fP: 5y
|
238
229
|
.UNINDENT
|
239
|
-
|
240
230
|
.SS cacert
|
231
|
+
.sp
|
241
232
|
The CA certificate.
|
242
|
-
|
243
233
|
.INDENT 0.0
|
244
|
-
|
245
234
|
.IP \(bu 2
|
246
|
-
|
247
|
-
|
235
|
+
.
|
236
|
+
\fBDefault\fP: $cadir/ca_crt.pem
|
248
237
|
.UNINDENT
|
249
|
-
|
250
238
|
.SS cacrl
|
239
|
+
.sp
|
251
240
|
The certificate revocation list (CRL) for the CA. Will be used if present but otherwise ignored.
|
252
|
-
|
253
241
|
.INDENT 0.0
|
254
|
-
|
255
242
|
.IP \(bu 2
|
256
|
-
|
257
|
-
|
243
|
+
.
|
244
|
+
\fBDefault\fP: $cadir/ca_crl.pem
|
258
245
|
.UNINDENT
|
259
|
-
|
260
246
|
.SS cadir
|
247
|
+
.sp
|
261
248
|
The root directory for the certificate authority.
|
262
|
-
|
263
249
|
.INDENT 0.0
|
264
|
-
|
265
250
|
.IP \(bu 2
|
266
|
-
|
267
|
-
|
251
|
+
.
|
252
|
+
\fBDefault\fP: $ssldir/ca
|
268
253
|
.UNINDENT
|
269
|
-
|
270
254
|
.SS cakey
|
255
|
+
.sp
|
271
256
|
The CA private key.
|
272
|
-
|
273
257
|
.INDENT 0.0
|
274
|
-
|
275
258
|
.IP \(bu 2
|
276
|
-
|
277
|
-
|
259
|
+
.
|
260
|
+
\fBDefault\fP: $cadir/ca_key.pem
|
278
261
|
.UNINDENT
|
279
|
-
|
280
262
|
.SS capass
|
263
|
+
.sp
|
281
264
|
Where the CA stores the password for the private key
|
282
|
-
|
283
265
|
.INDENT 0.0
|
284
|
-
|
285
266
|
.IP \(bu 2
|
286
|
-
|
287
|
-
|
267
|
+
.
|
268
|
+
\fBDefault\fP: $caprivatedir/ca.pass
|
288
269
|
.UNINDENT
|
289
|
-
|
290
270
|
.SS caprivatedir
|
271
|
+
.sp
|
291
272
|
Where the CA stores private certificate information.
|
292
|
-
|
293
273
|
.INDENT 0.0
|
294
|
-
|
295
274
|
.IP \(bu 2
|
296
|
-
|
297
|
-
|
275
|
+
.
|
276
|
+
\fBDefault\fP: $cadir/private
|
298
277
|
.UNINDENT
|
299
|
-
|
300
278
|
.SS capub
|
279
|
+
.sp
|
301
280
|
The CA public key.
|
302
|
-
|
303
281
|
.INDENT 0.0
|
304
|
-
|
305
282
|
.IP \(bu 2
|
306
|
-
|
307
|
-
|
283
|
+
.
|
284
|
+
\fBDefault\fP: $cadir/ca_pub.pem
|
308
285
|
.UNINDENT
|
309
|
-
|
310
286
|
.SS casesensitive
|
287
|
+
.sp
|
311
288
|
Whether matching in case statements and selectors should be case\-sensitive. Case insensitivity is handled by downcasing all values before comparison.
|
312
|
-
|
313
289
|
.INDENT 0.0
|
314
|
-
|
315
290
|
.IP \(bu 2
|
316
|
-
|
317
|
-
|
291
|
+
.
|
292
|
+
\fBDefault\fP: false
|
318
293
|
.UNINDENT
|
319
|
-
|
320
294
|
.SS catalog_format
|
321
|
-
|
322
|
-
|
323
|
-
|
295
|
+
.sp
|
296
|
+
(Deprecated for \(aqpreferred_serialization_format\(aq) What format to use to dump the catalog. Only supports \(aqmarshal\(aq and \(aqyaml\(aq. Only matters on the client, since it asks the server for a specific format.
|
297
|
+
.SS catalog_terminus
|
298
|
+
.sp
|
299
|
+
Where to get node catalogs. This is useful to change if, for instance, you\(aqd like to pre\-compile catalogs and store them in memcached or some other easily\-accessed store.
|
300
|
+
.INDENT 0.0
|
301
|
+
.IP \(bu 2
|
302
|
+
.
|
303
|
+
\fBDefault\fP: compiler
|
304
|
+
.UNINDENT
|
324
305
|
.SS cert_inventory
|
306
|
+
.sp
|
325
307
|
A Complete listing of all certificates
|
326
|
-
|
327
308
|
.INDENT 0.0
|
328
|
-
|
329
309
|
.IP \(bu 2
|
330
|
-
|
331
|
-
|
310
|
+
.
|
311
|
+
\fBDefault\fP: $cadir/inventory.txt
|
332
312
|
.UNINDENT
|
333
|
-
|
334
313
|
.SS certdir
|
314
|
+
.sp
|
335
315
|
The certificate directory.
|
336
|
-
|
337
316
|
.INDENT 0.0
|
338
|
-
|
339
317
|
.IP \(bu 2
|
340
|
-
|
341
|
-
|
318
|
+
.
|
319
|
+
\fBDefault\fP: $ssldir/certs
|
342
320
|
.UNINDENT
|
343
|
-
|
344
321
|
.SS certdnsnames
|
345
|
-
|
346
|
-
|
347
|
-
|
322
|
+
.sp
|
323
|
+
The DNS names on the Server certificate as a colon\-separated list. If it\(aqs anything other than an empty string, it will be used as an alias in the created certificate. By default, only the server gets an alias set up, and only for \(aqpuppet\(aq.
|
348
324
|
.SS certname
|
325
|
+
.sp
|
349
326
|
The name to use when handling certificates. Defaults to the fully qualified domain name.
|
350
|
-
|
351
327
|
.INDENT 0.0
|
352
|
-
|
353
328
|
.IP \(bu 2
|
354
|
-
|
355
|
-
|
329
|
+
.
|
330
|
+
\fBDefault\fP: pelin.lovedthanlost.net
|
356
331
|
.UNINDENT
|
357
|
-
|
358
332
|
.SS classfile
|
333
|
+
.sp
|
359
334
|
The file in which puppetd stores a list of the classes associated with the retrieved configuration. Can be loaded in the separate \fBpuppet\fP executable using the \fB\-\-loadclasses\fP option.
|
360
|
-
|
361
335
|
.INDENT 0.0
|
362
|
-
|
363
336
|
.IP \(bu 2
|
364
|
-
|
365
|
-
|
337
|
+
.
|
338
|
+
\fBDefault\fP: $statedir/classes.txt
|
366
339
|
.UNINDENT
|
367
|
-
|
368
340
|
.SS clientbucketdir
|
341
|
+
.sp
|
369
342
|
Where FileBucket files are stored locally.
|
370
|
-
|
371
343
|
.INDENT 0.0
|
372
|
-
|
373
344
|
.IP \(bu 2
|
374
|
-
|
375
|
-
|
345
|
+
.
|
346
|
+
\fBDefault\fP: $vardir/clientbucket
|
376
347
|
.UNINDENT
|
377
|
-
|
378
348
|
.SS clientyamldir
|
349
|
+
.sp
|
379
350
|
The directory in which client\-side YAML data is stored.
|
380
|
-
|
381
351
|
.INDENT 0.0
|
382
|
-
|
383
352
|
.IP \(bu 2
|
384
|
-
|
385
|
-
|
353
|
+
.
|
354
|
+
\fBDefault\fP: $vardir/client_yaml
|
386
355
|
.UNINDENT
|
387
|
-
|
388
356
|
.SS code
|
389
|
-
|
390
|
-
|
391
|
-
|
357
|
+
.sp
|
358
|
+
Code to parse directly. This is essentially only used by \fBpuppet\fP, and should only be set if you\(aqre writing your own Puppet executable
|
392
359
|
.SS color
|
360
|
+
.sp
|
393
361
|
Whether to use colors when logging to the console. Valid values are \fBansi\fP (equivalent to \fBtrue\fP), \fBhtml\fP (mostly used during testing with TextMate), and \fBfalse\fP, which produces no color.
|
394
|
-
|
395
362
|
.INDENT 0.0
|
396
|
-
|
397
363
|
.IP \(bu 2
|
398
|
-
|
399
|
-
|
364
|
+
.
|
365
|
+
\fBDefault\fP: ansi
|
400
366
|
.UNINDENT
|
401
|
-
|
402
367
|
.SS confdir
|
403
|
-
|
404
|
-
|
368
|
+
.sp
|
369
|
+
The main Puppet configuration directory. The default for this parameter is calculated based on the user. If the process is runnig as root or the user that \fBpuppetmasterd\fP is supposed to run as, it defaults to a system directory, but if it\(aqs running as any other user, it defaults to being in \fB~\fP.
|
405
370
|
.INDENT 0.0
|
406
|
-
|
407
371
|
.IP \(bu 2
|
408
|
-
|
409
|
-
|
372
|
+
.
|
373
|
+
\fBDefault\fP: /etc/puppet
|
410
374
|
.UNINDENT
|
411
|
-
|
412
375
|
.SS config
|
376
|
+
.sp
|
413
377
|
The configuration file for puppetdoc.
|
414
|
-
|
415
378
|
.INDENT 0.0
|
416
|
-
|
417
379
|
.IP \(bu 2
|
418
|
-
|
419
|
-
|
380
|
+
.
|
381
|
+
\fBDefault\fP: $confdir/puppet.conf
|
420
382
|
.UNINDENT
|
421
|
-
|
422
383
|
.SS config_version
|
384
|
+
.sp
|
423
385
|
How to determine the configuration version. By default, it will be the time that the configuration is parsed, but you can provide a shell script to override how the version is determined. The output of this script will be added to every log message in the reports, allowing you to correlate changes on your hosts to the source version on the server.
|
424
|
-
|
425
|
-
|
426
386
|
.SS configprint
|
427
|
-
|
428
|
-
|
429
|
-
|
387
|
+
.sp
|
388
|
+
Print the value of a specific configuration parameter. If a parameter is provided for this, then the value is printed and puppet exits. Comma\-separate multiple values. For a list of all values, specify \(aqall\(aq. This feature is only available in Puppet versions higher than 0.18.4.
|
430
389
|
.SS configtimeout
|
390
|
+
.sp
|
431
391
|
How long the client should wait for the configuration to be retrieved before considering it a failure. This can help reduce flapping if too many clients contact the server at one time.
|
432
|
-
|
433
392
|
.INDENT 0.0
|
434
|
-
|
435
393
|
.IP \(bu 2
|
436
|
-
|
437
|
-
|
394
|
+
.
|
395
|
+
\fBDefault\fP: 120
|
438
396
|
.UNINDENT
|
439
|
-
|
440
397
|
.SS csrdir
|
398
|
+
.sp
|
441
399
|
Where the CA stores certificate requests
|
442
|
-
|
443
400
|
.INDENT 0.0
|
444
|
-
|
445
401
|
.IP \(bu 2
|
446
|
-
|
447
|
-
|
402
|
+
.
|
403
|
+
\fBDefault\fP: $cadir/requests
|
448
404
|
.UNINDENT
|
449
|
-
|
450
405
|
.SS daemonize
|
406
|
+
.sp
|
451
407
|
Send the process into the background. This is the default.
|
452
|
-
|
453
408
|
.INDENT 0.0
|
454
|
-
|
455
409
|
.IP \(bu 2
|
456
|
-
|
457
|
-
|
410
|
+
.
|
411
|
+
\fBDefault\fP: true
|
458
412
|
.UNINDENT
|
459
|
-
|
460
413
|
.SS dbadapter
|
414
|
+
.sp
|
461
415
|
The type of database to use.
|
462
|
-
|
463
416
|
.INDENT 0.0
|
464
|
-
|
465
417
|
.IP \(bu 2
|
466
|
-
|
467
|
-
|
418
|
+
.
|
419
|
+
\fBDefault\fP: sqlite3
|
468
420
|
.UNINDENT
|
469
|
-
|
470
421
|
.SS dblocation
|
422
|
+
.sp
|
471
423
|
The database cache for client configurations. Used for querying within the language.
|
472
|
-
|
473
424
|
.INDENT 0.0
|
474
|
-
|
475
425
|
.IP \(bu 2
|
476
|
-
|
477
|
-
|
426
|
+
.
|
427
|
+
\fBDefault\fP: $statedir/clientconfigs.sqlite3
|
478
428
|
.UNINDENT
|
479
|
-
|
480
429
|
.SS dbmigrate
|
430
|
+
.sp
|
481
431
|
Whether to automatically migrate the database.
|
482
|
-
|
483
432
|
.INDENT 0.0
|
484
|
-
|
485
433
|
.IP \(bu 2
|
486
|
-
|
487
|
-
|
434
|
+
.
|
435
|
+
\fBDefault\fP: false
|
488
436
|
.UNINDENT
|
489
|
-
|
490
437
|
.SS dbname
|
438
|
+
.sp
|
491
439
|
The name of the database to use.
|
492
|
-
|
493
440
|
.INDENT 0.0
|
494
|
-
|
495
441
|
.IP \(bu 2
|
496
|
-
|
497
|
-
|
442
|
+
.
|
443
|
+
\fBDefault\fP: puppet
|
498
444
|
.UNINDENT
|
499
|
-
|
500
445
|
.SS dbpassword
|
446
|
+
.sp
|
501
447
|
The database password for Client caching. Only used when networked databases are used.
|
502
|
-
|
503
448
|
.INDENT 0.0
|
504
|
-
|
505
449
|
.IP \(bu 2
|
506
|
-
|
507
|
-
|
450
|
+
.
|
451
|
+
\fBDefault\fP: puppet
|
508
452
|
.UNINDENT
|
509
|
-
|
510
453
|
.SS dbserver
|
454
|
+
.sp
|
511
455
|
The database server for Client caching. Only used when networked databases are used.
|
512
|
-
|
513
456
|
.INDENT 0.0
|
514
|
-
|
515
457
|
.IP \(bu 2
|
516
|
-
|
517
|
-
|
458
|
+
.
|
459
|
+
\fBDefault\fP: localhost
|
518
460
|
.UNINDENT
|
519
|
-
|
520
461
|
.SS dbsocket
|
462
|
+
.sp
|
521
463
|
The database socket location. Only used when networked databases are used. Will be ignored if the value is an empty string.
|
522
|
-
|
523
|
-
|
524
464
|
.SS dbuser
|
465
|
+
.sp
|
525
466
|
The database user for Client caching. Only used when networked databases are used.
|
526
|
-
|
527
467
|
.INDENT 0.0
|
528
|
-
|
529
468
|
.IP \(bu 2
|
530
|
-
|
531
|
-
|
469
|
+
.
|
470
|
+
\fBDefault\fP: puppet
|
532
471
|
.UNINDENT
|
533
|
-
|
534
472
|
.SS diff
|
473
|
+
.sp
|
535
474
|
Which diff command to use when printing differences between files.
|
536
|
-
|
537
475
|
.INDENT 0.0
|
538
|
-
|
539
476
|
.IP \(bu 2
|
540
|
-
|
541
|
-
|
477
|
+
.
|
478
|
+
\fBDefault\fP: diff
|
542
479
|
.UNINDENT
|
543
|
-
|
544
480
|
.SS diff_args
|
481
|
+
.sp
|
545
482
|
Which arguments to pass to the diff command when printing differences between files.
|
546
|
-
|
547
483
|
.INDENT 0.0
|
548
|
-
|
549
484
|
.IP \(bu 2
|
550
|
-
|
551
|
-
|
485
|
+
.
|
486
|
+
\fBDefault\fP: \-u
|
552
487
|
.UNINDENT
|
553
|
-
|
554
488
|
.SS downcasefacts
|
489
|
+
.sp
|
555
490
|
Whether facts should be made all lowercase when sent to the server.
|
556
|
-
|
557
491
|
.INDENT 0.0
|
558
|
-
|
559
492
|
.IP \(bu 2
|
560
|
-
|
561
|
-
|
493
|
+
.
|
494
|
+
\fBDefault\fP: false
|
562
495
|
.UNINDENT
|
563
|
-
|
564
496
|
.SS dynamicfacts
|
497
|
+
.sp
|
565
498
|
Facts that are dynamic; these facts will be ignored when deciding whether changed facts should result in a recompile. Multiple facts should be comma\-separated.
|
566
|
-
|
567
499
|
.INDENT 0.0
|
568
|
-
|
569
500
|
.IP \(bu 2
|
570
|
-
|
571
|
-
|
501
|
+
.
|
502
|
+
\fBDefault\fP: memorysize,memoryfree,swapsize,swapfree
|
572
503
|
.UNINDENT
|
573
|
-
|
574
504
|
.SS environment
|
505
|
+
.sp
|
575
506
|
The environment Puppet is running in. For clients (e.g., \fBpuppetd\fP) this determines the environment itself, which is used to find modules and much more. For servers (i.e., \fBpuppetmasterd\fP) this provides the default environment for nodes we know nothing about.
|
576
|
-
|
577
507
|
.INDENT 0.0
|
578
|
-
|
579
508
|
.IP \(bu 2
|
580
|
-
|
581
|
-
|
509
|
+
.
|
510
|
+
\fBDefault\fP: production
|
582
511
|
.UNINDENT
|
583
|
-
|
584
512
|
.SS evaltrace
|
513
|
+
.sp
|
585
514
|
Whether each resource should log when it is being evaluated. This allows you to interactively see exactly what is being done.
|
586
|
-
|
587
515
|
.INDENT 0.0
|
588
|
-
|
589
516
|
.IP \(bu 2
|
590
|
-
|
591
|
-
|
517
|
+
.
|
518
|
+
\fBDefault\fP: false
|
592
519
|
.UNINDENT
|
593
|
-
|
594
520
|
.SS external_nodes
|
521
|
+
.sp
|
595
522
|
An external command that can produce node information. The output must be a YAML dump of a hash, and that hash must have one or both of \fBclasses\fP and \fBparameters\fP, where \fBclasses\fP is an array and \fBparameters\fP is a hash. For unknown nodes, the commands should exit with a non\-zero exit code. This command makes it straightforward to store your node mapping information in other data sources like databases.
|
596
|
-
|
597
523
|
.INDENT 0.0
|
598
|
-
|
599
524
|
.IP \(bu 2
|
600
|
-
|
601
|
-
|
525
|
+
.
|
526
|
+
\fBDefault\fP: none
|
602
527
|
.UNINDENT
|
603
|
-
|
604
528
|
.SS factdest
|
529
|
+
.sp
|
605
530
|
Where Puppet should store facts that it pulls down from the central server.
|
606
|
-
|
607
531
|
.INDENT 0.0
|
608
|
-
|
609
532
|
.IP \(bu 2
|
610
|
-
|
611
|
-
|
533
|
+
.
|
534
|
+
\fBDefault\fP: $vardir/facts/
|
612
535
|
.UNINDENT
|
613
|
-
|
614
536
|
.SS factpath
|
537
|
+
.sp
|
615
538
|
Where Puppet should look for facts. Multiple directories should be colon\-separated, like normal PATH variables.
|
616
|
-
|
617
539
|
.INDENT 0.0
|
618
|
-
|
619
540
|
.IP \(bu 2
|
620
|
-
|
621
|
-
|
541
|
+
.
|
542
|
+
\fBDefault\fP: $vardir/facts/
|
622
543
|
.UNINDENT
|
623
|
-
|
624
544
|
.SS factsignore
|
545
|
+
.sp
|
625
546
|
What files to ignore when pulling down facts.
|
626
|
-
|
627
547
|
.INDENT 0.0
|
628
|
-
|
629
548
|
.IP \(bu 2
|
630
|
-
|
631
|
-
|
549
|
+
.
|
550
|
+
\fBDefault\fP: .svn CVS
|
632
551
|
.UNINDENT
|
633
|
-
|
634
552
|
.SS factsource
|
553
|
+
.sp
|
635
554
|
From where to retrieve facts. The standard Puppet \fBfile\fP type is used for retrieval, so anything that is a valid file source can be used here.
|
636
|
-
|
637
555
|
.INDENT 0.0
|
638
|
-
|
639
556
|
.IP \(bu 2
|
640
|
-
|
641
|
-
|
557
|
+
.
|
558
|
+
\fBDefault\fP: puppet://$server/facts/
|
642
559
|
.UNINDENT
|
643
|
-
|
644
560
|
.SS factsync
|
561
|
+
.sp
|
645
562
|
Whether facts should be synced with the central server.
|
646
|
-
|
647
563
|
.INDENT 0.0
|
648
|
-
|
649
564
|
.IP \(bu 2
|
650
|
-
|
651
|
-
|
565
|
+
.
|
566
|
+
\fBDefault\fP: false
|
652
567
|
.UNINDENT
|
653
|
-
|
654
568
|
.SS fileserverconfig
|
569
|
+
.sp
|
655
570
|
Where the fileserver configuration is stored.
|
656
|
-
|
657
571
|
.INDENT 0.0
|
658
|
-
|
659
572
|
.IP \(bu 2
|
660
|
-
|
661
|
-
|
573
|
+
.
|
574
|
+
\fBDefault\fP: $confdir/fileserver.conf
|
662
575
|
.UNINDENT
|
663
|
-
|
664
576
|
.SS filetimeout
|
577
|
+
.sp
|
665
578
|
The minimum time to wait (in seconds) between checking for updates in configuration files. This timeout determines how quickly Puppet checks whether a file (such as manifests or templates) has changed on disk.
|
666
|
-
|
667
579
|
.INDENT 0.0
|
668
|
-
|
669
580
|
.IP \(bu 2
|
670
|
-
|
671
|
-
|
581
|
+
.
|
582
|
+
\fBDefault\fP: 15
|
672
583
|
.UNINDENT
|
673
|
-
|
674
584
|
.SS genconfig
|
585
|
+
.sp
|
675
586
|
Whether to just print a configuration to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
|
676
|
-
|
677
587
|
.INDENT 0.0
|
678
|
-
|
679
588
|
.IP \(bu 2
|
680
|
-
|
681
|
-
|
589
|
+
.
|
590
|
+
\fBDefault\fP: false
|
682
591
|
.UNINDENT
|
683
|
-
|
684
592
|
.SS genmanifest
|
593
|
+
.sp
|
685
594
|
Whether to just print a manifest to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
|
686
|
-
|
687
595
|
.INDENT 0.0
|
688
|
-
|
689
596
|
.IP \(bu 2
|
690
|
-
|
691
|
-
|
597
|
+
.
|
598
|
+
\fBDefault\fP: false
|
692
599
|
.UNINDENT
|
693
|
-
|
694
600
|
.SS graph
|
601
|
+
.sp
|
695
602
|
Whether to create dot graph files for the different configuration graphs. These dot files can be interpreted by tools like OmniGraffle or dot (which is part of ImageMagick).
|
696
|
-
|
697
603
|
.INDENT 0.0
|
698
|
-
|
699
604
|
.IP \(bu 2
|
700
|
-
|
701
|
-
|
605
|
+
.
|
606
|
+
\fBDefault\fP: false
|
702
607
|
.UNINDENT
|
703
|
-
|
704
608
|
.SS graphdir
|
609
|
+
.sp
|
705
610
|
Where to store dot\-outputted graphs.
|
706
|
-
|
707
611
|
.INDENT 0.0
|
708
|
-
|
709
612
|
.IP \(bu 2
|
710
|
-
|
711
|
-
|
613
|
+
.
|
614
|
+
\fBDefault\fP: $statedir/graphs
|
712
615
|
.UNINDENT
|
713
|
-
|
714
616
|
.SS group
|
617
|
+
.sp
|
715
618
|
The group puppetmasterd should run as.
|
716
|
-
|
717
619
|
.INDENT 0.0
|
718
|
-
|
719
620
|
.IP \(bu 2
|
720
|
-
|
721
|
-
|
621
|
+
.
|
622
|
+
\fBDefault\fP: puppet
|
722
623
|
.UNINDENT
|
723
|
-
|
724
624
|
.SS hostcert
|
625
|
+
.sp
|
725
626
|
Where individual hosts store and look for their certificates.
|
726
|
-
|
727
627
|
.INDENT 0.0
|
728
|
-
|
729
628
|
.IP \(bu 2
|
730
|
-
|
731
|
-
|
629
|
+
.
|
630
|
+
\fBDefault\fP: $certdir/$certname.pem
|
732
631
|
.UNINDENT
|
733
|
-
|
734
632
|
.SS hostcrl
|
735
|
-
|
736
|
-
|
633
|
+
.sp
|
634
|
+
Where the host\(aqs certificate revocation list can be found. This is distinct from the certificate authority\(aqs CRL.
|
737
635
|
.INDENT 0.0
|
738
|
-
|
739
636
|
.IP \(bu 2
|
740
|
-
|
741
|
-
|
637
|
+
.
|
638
|
+
\fBDefault\fP: $ssldir/crl.pem
|
742
639
|
.UNINDENT
|
743
|
-
|
744
640
|
.SS hostcsr
|
641
|
+
.sp
|
745
642
|
Where individual hosts store and look for their certificate requests.
|
746
|
-
|
747
643
|
.INDENT 0.0
|
748
|
-
|
749
644
|
.IP \(bu 2
|
750
|
-
|
751
|
-
|
645
|
+
.
|
646
|
+
\fBDefault\fP: $ssldir/csr_$certname.pem
|
752
647
|
.UNINDENT
|
753
|
-
|
754
648
|
.SS hostprivkey
|
649
|
+
.sp
|
755
650
|
Where individual hosts store and look for their private key.
|
756
|
-
|
757
651
|
.INDENT 0.0
|
758
|
-
|
759
652
|
.IP \(bu 2
|
760
|
-
|
761
|
-
|
653
|
+
.
|
654
|
+
\fBDefault\fP: $privatekeydir/$certname.pem
|
762
655
|
.UNINDENT
|
763
|
-
|
764
656
|
.SS hostpubkey
|
657
|
+
.sp
|
765
658
|
Where individual hosts store and look for their public key.
|
766
|
-
|
767
659
|
.INDENT 0.0
|
768
|
-
|
769
|
-
.IP \(bu 2
|
770
|
-
\fPDefault\fP: $publickeydir/$certname.pem
|
771
|
-
|
772
|
-
.UNINDENT
|
773
|
-
|
774
|
-
.SS http_enable_post_connection_check
|
775
|
-
Boolean; wheter or not puppetd should validate the server SSL certificate against the request hostname.
|
776
|
-
|
777
|
-
.INDENT 0.0
|
778
|
-
|
779
660
|
.IP \(bu 2
|
780
|
-
|
781
|
-
|
661
|
+
.
|
662
|
+
\fBDefault\fP: $publickeydir/$certname.pem
|
782
663
|
.UNINDENT
|
783
|
-
|
784
664
|
.SS http_proxy_host
|
665
|
+
.sp
|
785
666
|
The HTTP proxy host to use for outgoing connections. Note: You may need to use a FQDN for the server hostname when using a proxy.
|
786
|
-
|
787
667
|
.INDENT 0.0
|
788
|
-
|
789
668
|
.IP \(bu 2
|
790
|
-
|
791
|
-
|
669
|
+
.
|
670
|
+
\fBDefault\fP: none
|
792
671
|
.UNINDENT
|
793
|
-
|
794
672
|
.SS http_proxy_port
|
673
|
+
.sp
|
795
674
|
The HTTP proxy port to use for outgoing connections
|
796
|
-
|
797
675
|
.INDENT 0.0
|
798
|
-
|
799
676
|
.IP \(bu 2
|
800
|
-
|
801
|
-
|
677
|
+
.
|
678
|
+
\fBDefault\fP: 3128
|
802
679
|
.UNINDENT
|
803
|
-
|
804
680
|
.SS httplog
|
681
|
+
.sp
|
805
682
|
Where the puppetd web server logs.
|
806
|
-
|
807
683
|
.INDENT 0.0
|
808
|
-
|
809
684
|
.IP \(bu 2
|
810
|
-
|
811
|
-
|
685
|
+
.
|
686
|
+
\fBDefault\fP: $logdir/http.log
|
812
687
|
.UNINDENT
|
813
|
-
|
814
688
|
.SS ignorecache
|
689
|
+
.sp
|
815
690
|
Ignore cache and always recompile the configuration. This is useful for testing new configurations, where the local cache may in fact be stale even if the timestamps are up to date \- if the facts change or if the server changes.
|
816
|
-
|
817
691
|
.INDENT 0.0
|
818
|
-
|
819
692
|
.IP \(bu 2
|
820
|
-
|
821
|
-
|
693
|
+
.
|
694
|
+
\fBDefault\fP: false
|
822
695
|
.UNINDENT
|
823
|
-
|
824
696
|
.SS ignoreimport
|
697
|
+
.sp
|
825
698
|
A parameter that can be used in commit hooks, since it enables you to parse\-check a single file rather than requiring that all files exist.
|
826
|
-
|
827
699
|
.INDENT 0.0
|
828
|
-
|
829
700
|
.IP \(bu 2
|
830
|
-
|
831
|
-
|
701
|
+
.
|
702
|
+
\fBDefault\fP: false
|
832
703
|
.UNINDENT
|
833
|
-
|
834
704
|
.SS ignoreschedules
|
705
|
+
.sp
|
835
706
|
Boolean; whether puppetd should ignore schedules. This is useful for initial puppetd runs.
|
836
|
-
|
837
707
|
.INDENT 0.0
|
838
|
-
|
839
708
|
.IP \(bu 2
|
840
|
-
|
841
|
-
|
709
|
+
.
|
710
|
+
\fBDefault\fP: false
|
842
711
|
.UNINDENT
|
843
|
-
|
844
712
|
.SS keylength
|
713
|
+
.sp
|
845
714
|
The bit length of keys.
|
846
|
-
|
847
715
|
.INDENT 0.0
|
848
|
-
|
849
716
|
.IP \(bu 2
|
850
|
-
|
851
|
-
|
717
|
+
.
|
718
|
+
\fBDefault\fP: 1024
|
852
719
|
.UNINDENT
|
853
|
-
|
854
720
|
.SS ldapattrs
|
855
|
-
|
856
|
-
|
721
|
+
.sp
|
722
|
+
The LDAP attributes to include when querying LDAP for nodes. All returned attributes are set as variables in the top\-level scope. Multiple values should be comma\-separated. The value \(aqall\(aq returns all attributes.
|
857
723
|
.INDENT 0.0
|
858
|
-
|
859
724
|
.IP \(bu 2
|
860
|
-
|
861
|
-
|
725
|
+
.
|
726
|
+
\fBDefault\fP: all
|
862
727
|
.UNINDENT
|
863
|
-
|
864
728
|
.SS ldapbase
|
865
|
-
|
866
|
-
|
867
|
-
|
729
|
+
.sp
|
730
|
+
The search base for LDAP searches. It\(aqs impossible to provide a meaningful default here, although the LDAP libraries might have one already set. Generally, it should be the \(aqou=Hosts\(aq branch under your main directory.
|
868
731
|
.SS ldapclassattrs
|
732
|
+
.sp
|
869
733
|
The LDAP attributes to use to define Puppet classes. Values should be comma\-separated.
|
870
|
-
|
871
734
|
.INDENT 0.0
|
872
|
-
|
873
735
|
.IP \(bu 2
|
874
|
-
|
875
|
-
|
736
|
+
.
|
737
|
+
\fBDefault\fP: puppetclass
|
876
738
|
.UNINDENT
|
877
|
-
|
878
739
|
.SS ldapnodes
|
879
|
-
|
880
|
-
|
740
|
+
.sp
|
741
|
+
Whether to search for node configurations in LDAP. See \fI\%http://puppetlabs.com/trac/puppet/wiki/LDAPNodes\fP for more information.
|
881
742
|
.INDENT 0.0
|
882
|
-
|
883
743
|
.IP \(bu 2
|
884
|
-
|
885
|
-
|
744
|
+
.
|
745
|
+
\fBDefault\fP: false
|
886
746
|
.UNINDENT
|
887
|
-
|
888
747
|
.SS ldapparentattr
|
748
|
+
.sp
|
889
749
|
The attribute to use to define the parent node.
|
890
|
-
|
891
750
|
.INDENT 0.0
|
892
|
-
|
893
751
|
.IP \(bu 2
|
894
|
-
|
895
|
-
|
752
|
+
.
|
753
|
+
\fBDefault\fP: parentnode
|
896
754
|
.UNINDENT
|
897
|
-
|
898
755
|
.SS ldappassword
|
756
|
+
.sp
|
899
757
|
The password to use to connect to LDAP.
|
900
|
-
|
901
|
-
|
902
758
|
.SS ldapport
|
759
|
+
.sp
|
903
760
|
The LDAP port. Only used if \fBldapnodes\fP is enabled.
|
904
|
-
|
905
761
|
.INDENT 0.0
|
906
|
-
|
907
762
|
.IP \(bu 2
|
908
|
-
|
909
|
-
|
763
|
+
.
|
764
|
+
\fBDefault\fP: 389
|
910
765
|
.UNINDENT
|
911
|
-
|
912
766
|
.SS ldapserver
|
767
|
+
.sp
|
913
768
|
The LDAP server. Only used if \fBldapnodes\fP is enabled.
|
914
|
-
|
915
769
|
.INDENT 0.0
|
916
|
-
|
917
770
|
.IP \(bu 2
|
918
|
-
|
919
|
-
|
771
|
+
.
|
772
|
+
\fBDefault\fP: ldap
|
920
773
|
.UNINDENT
|
921
|
-
|
922
774
|
.SS ldapssl
|
775
|
+
.sp
|
923
776
|
Whether SSL should be used when searching for nodes. Defaults to false because SSL usually requires certificates to be set up on the client side.
|
924
|
-
|
925
777
|
.INDENT 0.0
|
926
|
-
|
927
778
|
.IP \(bu 2
|
928
|
-
|
929
|
-
|
779
|
+
.
|
780
|
+
\fBDefault\fP: false
|
930
781
|
.UNINDENT
|
931
|
-
|
932
782
|
.SS ldapstackedattrs
|
783
|
+
.sp
|
933
784
|
The LDAP attributes that should be stacked to arrays by adding the values in all hierarchy elements of the tree. Values should be comma\-separated.
|
934
|
-
|
935
785
|
.INDENT 0.0
|
936
|
-
|
937
786
|
.IP \(bu 2
|
938
|
-
|
939
|
-
|
787
|
+
.
|
788
|
+
\fBDefault\fP: puppetvar
|
940
789
|
.UNINDENT
|
941
|
-
|
942
790
|
.SS ldapstring
|
791
|
+
.sp
|
943
792
|
The search string used to find an LDAP node.
|
944
|
-
|
945
793
|
.INDENT 0.0
|
946
|
-
|
947
794
|
.IP \(bu 2
|
948
|
-
|
949
|
-
|
795
|
+
.
|
796
|
+
\fBDefault\fP: (&(objectclass=puppetClient)(cn=%s))
|
950
797
|
.UNINDENT
|
951
|
-
|
952
798
|
.SS ldaptls
|
799
|
+
.sp
|
953
800
|
Whether TLS should be used when searching for nodes. Defaults to false because TLS usually requires certificates to be set up on the client side.
|
954
|
-
|
955
801
|
.INDENT 0.0
|
956
|
-
|
957
802
|
.IP \(bu 2
|
958
|
-
|
959
|
-
|
803
|
+
.
|
804
|
+
\fBDefault\fP: false
|
960
805
|
.UNINDENT
|
961
|
-
|
962
806
|
.SS ldapuser
|
807
|
+
.sp
|
963
808
|
The user to use to connect to LDAP. Must be specified as a full DN.
|
964
|
-
|
965
|
-
|
966
809
|
.SS lexical
|
810
|
+
.sp
|
967
811
|
Whether to use lexical scoping (vs. dynamic).
|
968
|
-
|
969
812
|
.INDENT 0.0
|
970
|
-
|
971
813
|
.IP \(bu 2
|
972
|
-
|
973
|
-
|
814
|
+
.
|
815
|
+
\fBDefault\fP: false
|
974
816
|
.UNINDENT
|
975
|
-
|
976
817
|
.SS libdir
|
977
|
-
|
978
|
-
|
818
|
+
.sp
|
819
|
+
An extra search path for Puppet. This is only useful for those files that Puppet will load on demand, and is only guaranteed to work for those cases. In fact, the autoload mechanism is responsible for making sure this directory is in Ruby\(aqs search path
|
979
820
|
.INDENT 0.0
|
980
|
-
|
981
821
|
.IP \(bu 2
|
982
|
-
|
983
|
-
|
822
|
+
.
|
823
|
+
\fBDefault\fP: $vardir/lib
|
984
824
|
.UNINDENT
|
985
|
-
|
986
825
|
.SS listen
|
826
|
+
.sp
|
987
827
|
Whether puppetd should listen for connections. If this is true, then by default only the \fBrunner\fP server is started, which allows remote authorized and authenticated nodes to connect and trigger \fBpuppetd\fP runs.
|
988
|
-
|
989
828
|
.INDENT 0.0
|
990
|
-
|
991
829
|
.IP \(bu 2
|
992
|
-
|
993
|
-
|
830
|
+
.
|
831
|
+
\fBDefault\fP: false
|
994
832
|
.UNINDENT
|
995
|
-
|
996
833
|
.SS localcacert
|
834
|
+
.sp
|
997
835
|
Where each client stores the CA certificate.
|
998
|
-
|
999
836
|
.INDENT 0.0
|
1000
|
-
|
1001
837
|
.IP \(bu 2
|
1002
|
-
|
1003
|
-
|
838
|
+
.
|
839
|
+
\fBDefault\fP: $certdir/ca.pem
|
1004
840
|
.UNINDENT
|
1005
|
-
|
1006
841
|
.SS localconfig
|
842
|
+
.sp
|
1007
843
|
Where puppetd caches the local configuration. An extension indicating the cache format is added automatically.
|
1008
|
-
|
1009
844
|
.INDENT 0.0
|
1010
|
-
|
1011
845
|
.IP \(bu 2
|
1012
|
-
|
1013
|
-
|
846
|
+
.
|
847
|
+
\fBDefault\fP: $statedir/localconfig
|
1014
848
|
.UNINDENT
|
1015
|
-
|
1016
849
|
.SS logdir
|
850
|
+
.sp
|
1017
851
|
The Puppet log directory.
|
1018
|
-
|
1019
852
|
.INDENT 0.0
|
1020
|
-
|
1021
853
|
.IP \(bu 2
|
1022
|
-
|
1023
|
-
|
854
|
+
.
|
855
|
+
\fBDefault\fP: $vardir/log
|
1024
856
|
.UNINDENT
|
1025
|
-
|
1026
857
|
.SS manage_internal_file_permissions
|
858
|
+
.sp
|
1027
859
|
Whether Puppet should manage the owner, group, and mode of files it uses internally
|
1028
|
-
|
1029
860
|
.INDENT 0.0
|
1030
|
-
|
1031
861
|
.IP \(bu 2
|
1032
|
-
|
1033
|
-
|
862
|
+
.
|
863
|
+
\fBDefault\fP: true
|
1034
864
|
.UNINDENT
|
1035
|
-
|
1036
865
|
.SS manifest
|
866
|
+
.sp
|
1037
867
|
The entry\-point manifest for puppetmasterd.
|
1038
|
-
|
1039
868
|
.INDENT 0.0
|
1040
|
-
|
1041
869
|
.IP \(bu 2
|
1042
|
-
|
1043
|
-
|
870
|
+
.
|
871
|
+
\fBDefault\fP: $manifestdir/site.pp
|
1044
872
|
.UNINDENT
|
1045
|
-
|
1046
873
|
.SS manifestdir
|
874
|
+
.sp
|
1047
875
|
Where puppetmasterd looks for its manifests.
|
1048
|
-
|
1049
876
|
.INDENT 0.0
|
1050
|
-
|
1051
877
|
.IP \(bu 2
|
1052
|
-
|
1053
|
-
|
878
|
+
.
|
879
|
+
\fBDefault\fP: $confdir/manifests
|
1054
880
|
.UNINDENT
|
1055
|
-
|
1056
881
|
.SS masterhttplog
|
882
|
+
.sp
|
1057
883
|
Where the puppetmasterd web server logs.
|
1058
|
-
|
1059
884
|
.INDENT 0.0
|
1060
|
-
|
1061
885
|
.IP \(bu 2
|
1062
|
-
|
1063
|
-
|
886
|
+
.
|
887
|
+
\fBDefault\fP: $logdir/masterhttp.log
|
1064
888
|
.UNINDENT
|
1065
|
-
|
1066
889
|
.SS masterlog
|
890
|
+
.sp
|
1067
891
|
Where puppetmasterd logs. This is generally not used, since syslog is the default log destination.
|
1068
|
-
|
1069
892
|
.INDENT 0.0
|
1070
|
-
|
1071
893
|
.IP \(bu 2
|
1072
|
-
|
1073
|
-
|
894
|
+
.
|
895
|
+
\fBDefault\fP: $logdir/puppetmaster.log
|
1074
896
|
.UNINDENT
|
1075
|
-
|
1076
897
|
.SS masterport
|
898
|
+
.sp
|
1077
899
|
Which port puppetmasterd listens on.
|
1078
|
-
|
1079
900
|
.INDENT 0.0
|
1080
|
-
|
1081
901
|
.IP \(bu 2
|
1082
|
-
|
1083
|
-
|
902
|
+
.
|
903
|
+
\fBDefault\fP: 8140
|
1084
904
|
.UNINDENT
|
1085
|
-
|
1086
905
|
.SS maximum_uid
|
906
|
+
.sp
|
1087
907
|
The maximum allowed UID. Some platforms use negative UIDs but then ship with tools that do not know how to handle signed ints, so the UIDs show up as huge numbers that can then not be fed back into the system. This is a hackish way to fail in a slightly more useful way when that happens.
|
1088
|
-
|
1089
908
|
.INDENT 0.0
|
1090
|
-
|
1091
909
|
.IP \(bu 2
|
1092
|
-
|
1093
|
-
|
910
|
+
.
|
911
|
+
\fBDefault\fP: 4294967290
|
1094
912
|
.UNINDENT
|
1095
|
-
|
1096
913
|
.SS mkusers
|
914
|
+
.sp
|
1097
915
|
Whether to create the necessary user and group that puppetd will run as.
|
1098
|
-
|
1099
916
|
.INDENT 0.0
|
1100
|
-
|
1101
917
|
.IP \(bu 2
|
1102
|
-
|
1103
|
-
|
918
|
+
.
|
919
|
+
\fBDefault\fP: false
|
1104
920
|
.UNINDENT
|
1105
|
-
|
1106
921
|
.SS modulepath
|
922
|
+
.sp
|
1107
923
|
The search path for modules as a colon\-separated list of directories.
|
1108
|
-
|
1109
924
|
.INDENT 0.0
|
1110
|
-
|
1111
925
|
.IP \(bu 2
|
1112
|
-
|
1113
|
-
|
926
|
+
.
|
927
|
+
\fBDefault\fP: $confdir/modules:/usr/share/puppet/modules
|
1114
928
|
.UNINDENT
|
1115
|
-
|
1116
929
|
.SS name
|
930
|
+
.sp
|
1117
931
|
The name of the service, if we are running as one. The default is essentially $0 without the path or \fB.rb\fP.
|
1118
|
-
|
1119
932
|
.INDENT 0.0
|
1120
|
-
|
1121
933
|
.IP \(bu 2
|
1122
|
-
|
1123
|
-
|
934
|
+
.
|
935
|
+
\fBDefault\fP: puppetdoc
|
1124
936
|
.UNINDENT
|
1125
|
-
|
1126
937
|
.SS node_name
|
1127
|
-
|
1128
|
-
|
938
|
+
.sp
|
939
|
+
How the puppetmaster determines the client\(aqs identity and sets the \(aqhostname\(aq, \(aqfqdn\(aq and \(aqdomain\(aq facts for use in the manifest, in particular for determining which \(aqnode\(aq statement applies to the client. Possible values are \(aqcert\(aq (use the subject\(aqs CN in the client\(aqs certificate) and \(aqfacter\(aq (use the hostname that the client reported in its facts)
|
1129
940
|
.INDENT 0.0
|
1130
|
-
|
1131
941
|
.IP \(bu 2
|
1132
|
-
|
1133
|
-
|
942
|
+
.
|
943
|
+
\fBDefault\fP: cert
|
1134
944
|
.UNINDENT
|
1135
|
-
|
1136
945
|
.SS node_terminus
|
946
|
+
.sp
|
1137
947
|
Where to find information about nodes.
|
1138
|
-
|
1139
948
|
.INDENT 0.0
|
1140
|
-
|
1141
949
|
.IP \(bu 2
|
1142
|
-
|
1143
|
-
|
950
|
+
.
|
951
|
+
\fBDefault\fP: plain
|
1144
952
|
.UNINDENT
|
1145
|
-
|
1146
953
|
.SS noop
|
954
|
+
.sp
|
1147
955
|
Whether puppetd should be run in noop mode.
|
1148
|
-
|
1149
956
|
.INDENT 0.0
|
1150
|
-
|
1151
957
|
.IP \(bu 2
|
1152
|
-
|
1153
|
-
|
958
|
+
.
|
959
|
+
\fBDefault\fP: false
|
1154
960
|
.UNINDENT
|
1155
|
-
|
1156
961
|
.SS paramcheck
|
962
|
+
.sp
|
1157
963
|
Whether to validate parameters during parsing.
|
1158
|
-
|
1159
964
|
.INDENT 0.0
|
1160
|
-
|
1161
965
|
.IP \(bu 2
|
1162
|
-
|
1163
|
-
|
966
|
+
.
|
967
|
+
\fBDefault\fP: true
|
1164
968
|
.UNINDENT
|
1165
|
-
|
1166
969
|
.SS parseonly
|
970
|
+
.sp
|
1167
971
|
Just check the syntax of the manifests.
|
1168
|
-
|
1169
972
|
.INDENT 0.0
|
1170
|
-
|
1171
973
|
.IP \(bu 2
|
1172
|
-
|
1173
|
-
|
974
|
+
.
|
975
|
+
\fBDefault\fP: false
|
1174
976
|
.UNINDENT
|
1175
|
-
|
1176
977
|
.SS passfile
|
978
|
+
.sp
|
1177
979
|
Where puppetd stores the password for its private key. Generally unused.
|
1178
|
-
|
1179
980
|
.INDENT 0.0
|
1180
|
-
|
1181
981
|
.IP \(bu 2
|
1182
|
-
|
1183
|
-
|
982
|
+
.
|
983
|
+
\fBDefault\fP: $privatedir/password
|
1184
984
|
.UNINDENT
|
1185
|
-
|
1186
985
|
.SS path
|
986
|
+
.sp
|
1187
987
|
The shell search path. Defaults to whatever is inherited from the parent process.
|
1188
|
-
|
1189
988
|
.INDENT 0.0
|
1190
|
-
|
1191
989
|
.IP \(bu 2
|
1192
|
-
|
1193
|
-
|
990
|
+
.
|
991
|
+
\fBDefault\fP: none
|
1194
992
|
.UNINDENT
|
1195
|
-
|
1196
993
|
.SS pidfile
|
994
|
+
.sp
|
1197
995
|
The pid file
|
1198
|
-
|
1199
996
|
.INDENT 0.0
|
1200
|
-
|
1201
997
|
.IP \(bu 2
|
1202
|
-
|
1203
|
-
|
998
|
+
.
|
999
|
+
\fBDefault\fP: $rundir/$name.pid
|
1204
1000
|
.UNINDENT
|
1205
|
-
|
1206
1001
|
.SS plugindest
|
1002
|
+
.sp
|
1207
1003
|
Where Puppet should store plugins that it pulls down from the central server.
|
1208
|
-
|
1209
1004
|
.INDENT 0.0
|
1210
|
-
|
1211
1005
|
.IP \(bu 2
|
1212
|
-
|
1213
|
-
|
1006
|
+
.
|
1007
|
+
\fBDefault\fP: $libdir
|
1214
1008
|
.UNINDENT
|
1215
|
-
|
1216
1009
|
.SS pluginsignore
|
1010
|
+
.sp
|
1217
1011
|
What files to ignore when pulling down plugins.
|
1218
|
-
|
1219
1012
|
.INDENT 0.0
|
1220
|
-
|
1221
1013
|
.IP \(bu 2
|
1222
|
-
|
1223
|
-
|
1014
|
+
.
|
1015
|
+
\fBDefault\fP: .svn CVS .git
|
1224
1016
|
.UNINDENT
|
1225
|
-
|
1226
1017
|
.SS pluginsource
|
1018
|
+
.sp
|
1227
1019
|
From where to retrieve plugins. The standard Puppet \fBfile\fP type is used for retrieval, so anything that is a valid file source can be used here.
|
1228
|
-
|
1229
1020
|
.INDENT 0.0
|
1230
|
-
|
1231
1021
|
.IP \(bu 2
|
1232
|
-
|
1233
|
-
|
1022
|
+
.
|
1023
|
+
\fBDefault\fP: puppet://$server/plugins
|
1234
1024
|
.UNINDENT
|
1235
|
-
|
1236
1025
|
.SS pluginsync
|
1026
|
+
.sp
|
1237
1027
|
Whether plugins should be synced with the central server.
|
1238
|
-
|
1239
1028
|
.INDENT 0.0
|
1240
|
-
|
1241
1029
|
.IP \(bu 2
|
1242
|
-
|
1243
|
-
|
1030
|
+
.
|
1031
|
+
\fBDefault\fP: false
|
1244
1032
|
.UNINDENT
|
1245
|
-
|
1033
|
+
.SS postrun_command
|
1034
|
+
.sp
|
1035
|
+
A command to run after every agent run. If this command returns a non\-zero return code, the entire Puppet run will be considered to have failed, even though it might have performed work during the normal run.
|
1246
1036
|
.SS preferred_serialization_format
|
1247
|
-
|
1248
|
-
|
1037
|
+
.sp
|
1038
|
+
The preferred means of serializing ruby instances for passing over the wire. This won\(aqt guarantee that all instances will be serialized using this method, since not all classes can be guaranteed to support this format, but it will be used for all classes that support it.
|
1249
1039
|
.INDENT 0.0
|
1250
|
-
|
1251
1040
|
.IP \(bu 2
|
1252
|
-
|
1253
|
-
|
1041
|
+
.
|
1042
|
+
\fBDefault\fP: pson
|
1254
1043
|
.UNINDENT
|
1255
|
-
|
1044
|
+
.SS prerun_command
|
1045
|
+
.sp
|
1046
|
+
A command to run before every agent run. If this command returns a non\-zero return code, the entire Puppet run will fail.
|
1256
1047
|
.SS privatedir
|
1048
|
+
.sp
|
1257
1049
|
Where the client stores private certificate information.
|
1258
|
-
|
1259
1050
|
.INDENT 0.0
|
1260
|
-
|
1261
1051
|
.IP \(bu 2
|
1262
|
-
|
1263
|
-
|
1052
|
+
.
|
1053
|
+
\fBDefault\fP: $ssldir/private
|
1264
1054
|
.UNINDENT
|
1265
|
-
|
1266
1055
|
.SS privatekeydir
|
1056
|
+
.sp
|
1267
1057
|
The private key directory.
|
1268
|
-
|
1269
1058
|
.INDENT 0.0
|
1270
|
-
|
1271
1059
|
.IP \(bu 2
|
1272
|
-
|
1273
|
-
|
1060
|
+
.
|
1061
|
+
\fBDefault\fP: $ssldir/private_keys
|
1274
1062
|
.UNINDENT
|
1275
|
-
|
1276
1063
|
.SS publickeydir
|
1064
|
+
.sp
|
1277
1065
|
The public key directory.
|
1278
|
-
|
1279
1066
|
.INDENT 0.0
|
1280
|
-
|
1281
1067
|
.IP \(bu 2
|
1282
|
-
|
1283
|
-
|
1068
|
+
.
|
1069
|
+
\fBDefault\fP: $ssldir/public_keys
|
1284
1070
|
.UNINDENT
|
1285
|
-
|
1286
1071
|
.SS puppetdlockfile
|
1072
|
+
.sp
|
1287
1073
|
A lock file to temporarily stop puppetd from doing anything.
|
1288
|
-
|
1289
1074
|
.INDENT 0.0
|
1290
|
-
|
1291
1075
|
.IP \(bu 2
|
1292
|
-
|
1293
|
-
|
1076
|
+
.
|
1077
|
+
\fBDefault\fP: $statedir/puppetdlock
|
1294
1078
|
.UNINDENT
|
1295
|
-
|
1296
1079
|
.SS puppetdlog
|
1080
|
+
.sp
|
1297
1081
|
The log file for puppetd. This is generally not used.
|
1298
|
-
|
1299
1082
|
.INDENT 0.0
|
1300
|
-
|
1301
1083
|
.IP \(bu 2
|
1302
|
-
|
1303
|
-
|
1084
|
+
.
|
1085
|
+
\fBDefault\fP: $logdir/puppetd.log
|
1304
1086
|
.UNINDENT
|
1305
|
-
|
1306
1087
|
.SS puppetport
|
1088
|
+
.sp
|
1307
1089
|
Which port puppetd listens on.
|
1308
|
-
|
1309
1090
|
.INDENT 0.0
|
1310
|
-
|
1311
1091
|
.IP \(bu 2
|
1312
|
-
|
1313
|
-
|
1092
|
+
.
|
1093
|
+
\fBDefault\fP: 8139
|
1314
1094
|
.UNINDENT
|
1315
|
-
|
1316
1095
|
.SS queue_source
|
1096
|
+
.sp
|
1317
1097
|
Which type of queue to use for asynchronous processing. If your stomp server requires authentication, you can include it in the URI as long as your stomp client library is at least 1.1.1
|
1318
|
-
|
1319
1098
|
.INDENT 0.0
|
1320
|
-
|
1321
1099
|
.IP \(bu 2
|
1322
|
-
|
1323
|
-
|
1100
|
+
.
|
1101
|
+
\fBDefault\fP: stomp://localhost:61613/
|
1324
1102
|
.UNINDENT
|
1325
|
-
|
1326
1103
|
.SS queue_type
|
1104
|
+
.sp
|
1327
1105
|
Which type of queue to use for asynchronous processing.
|
1328
|
-
|
1329
1106
|
.INDENT 0.0
|
1330
|
-
|
1331
1107
|
.IP \(bu 2
|
1332
|
-
|
1333
|
-
|
1108
|
+
.
|
1109
|
+
\fBDefault\fP: stomp
|
1334
1110
|
.UNINDENT
|
1335
|
-
|
1336
1111
|
.SS rails_loglevel
|
1112
|
+
.sp
|
1337
1113
|
The log level for Rails connections. The value must be a valid log level within Rails. Production environments normally use \fBinfo\fP and other environments normally use \fBdebug\fP.
|
1338
|
-
|
1339
1114
|
.INDENT 0.0
|
1340
|
-
|
1341
1115
|
.IP \(bu 2
|
1342
|
-
|
1343
|
-
|
1116
|
+
.
|
1117
|
+
\fBDefault\fP: info
|
1344
1118
|
.UNINDENT
|
1345
|
-
|
1346
1119
|
.SS railslog
|
1120
|
+
.sp
|
1347
1121
|
Where Rails\-specific logs are sent
|
1348
|
-
|
1349
1122
|
.INDENT 0.0
|
1350
|
-
|
1351
1123
|
.IP \(bu 2
|
1352
|
-
|
1353
|
-
|
1124
|
+
.
|
1125
|
+
\fBDefault\fP: $logdir/rails.log
|
1354
1126
|
.UNINDENT
|
1355
|
-
|
1356
1127
|
.SS report
|
1128
|
+
.sp
|
1357
1129
|
Whether to send reports after every transaction.
|
1358
|
-
|
1359
1130
|
.INDENT 0.0
|
1360
|
-
|
1361
1131
|
.IP \(bu 2
|
1362
|
-
|
1363
|
-
|
1132
|
+
.
|
1133
|
+
\fBDefault\fP: false
|
1364
1134
|
.UNINDENT
|
1365
|
-
|
1366
1135
|
.SS report_port
|
1136
|
+
.sp
|
1367
1137
|
The port to communicate with the report_server.
|
1368
|
-
|
1369
1138
|
.INDENT 0.0
|
1370
|
-
|
1371
1139
|
.IP \(bu 2
|
1372
|
-
|
1373
|
-
|
1140
|
+
.
|
1141
|
+
\fBDefault\fP: $masterport
|
1374
1142
|
.UNINDENT
|
1375
|
-
|
1376
1143
|
.SS report_server
|
1144
|
+
.sp
|
1377
1145
|
The server to which to send transaction reports.
|
1378
|
-
|
1379
1146
|
.INDENT 0.0
|
1380
|
-
|
1381
1147
|
.IP \(bu 2
|
1382
|
-
|
1383
|
-
|
1148
|
+
.
|
1149
|
+
\fBDefault\fP: $server
|
1384
1150
|
.UNINDENT
|
1385
|
-
|
1386
1151
|
.SS reportdir
|
1152
|
+
.sp
|
1387
1153
|
The directory in which to store reports received from the client. Each client gets a separate subdirectory.
|
1388
|
-
|
1389
1154
|
.INDENT 0.0
|
1390
|
-
|
1391
1155
|
.IP \(bu 2
|
1392
|
-
|
1393
|
-
|
1156
|
+
.
|
1157
|
+
\fBDefault\fP: $vardir/reports
|
1394
1158
|
.UNINDENT
|
1395
|
-
|
1396
1159
|
.SS reportfrom
|
1397
|
-
|
1398
|
-
|
1160
|
+
.sp
|
1161
|
+
The \(aqfrom\(aq email address for the reports.
|
1399
1162
|
.INDENT 0.0
|
1400
|
-
|
1401
1163
|
.IP \(bu 2
|
1402
|
-
|
1403
|
-
|
1164
|
+
.
|
1165
|
+
\fBDefault\fP: \fI\%report@pelin.lovedthanlost.net\fP
|
1404
1166
|
.UNINDENT
|
1405
|
-
|
1406
1167
|
.SS reports
|
1168
|
+
.sp
|
1407
1169
|
The list of reports to generate. All reports are looked for in puppet/reports/<name>.rb, and multiple report names should be comma\-separated (whitespace is okay).
|
1408
|
-
|
1409
1170
|
.INDENT 0.0
|
1410
|
-
|
1411
1171
|
.IP \(bu 2
|
1412
|
-
|
1413
|
-
|
1172
|
+
.
|
1173
|
+
\fBDefault\fP: store
|
1414
1174
|
.UNINDENT
|
1415
|
-
|
1416
1175
|
.SS reportserver
|
1417
|
-
|
1418
|
-
|
1176
|
+
.sp
|
1177
|
+
(Deprecated for \(aqreport_server\(aq) The server to which to send transaction reports.
|
1419
1178
|
.INDENT 0.0
|
1420
|
-
|
1421
1179
|
.IP \(bu 2
|
1422
|
-
|
1423
|
-
|
1180
|
+
.
|
1181
|
+
\fBDefault\fP: $server
|
1424
1182
|
.UNINDENT
|
1425
|
-
|
1426
1183
|
.SS req_bits
|
1184
|
+
.sp
|
1427
1185
|
The bit length of the certificates.
|
1428
|
-
|
1429
1186
|
.INDENT 0.0
|
1430
|
-
|
1431
1187
|
.IP \(bu 2
|
1432
|
-
|
1433
|
-
|
1188
|
+
.
|
1189
|
+
\fBDefault\fP: 2048
|
1434
1190
|
.UNINDENT
|
1435
|
-
|
1436
1191
|
.SS requestdir
|
1192
|
+
.sp
|
1437
1193
|
Where host certificate requests are stored.
|
1438
|
-
|
1439
1194
|
.INDENT 0.0
|
1440
|
-
|
1441
1195
|
.IP \(bu 2
|
1442
|
-
|
1443
|
-
|
1196
|
+
.
|
1197
|
+
\fBDefault\fP: $ssldir/certificate_requests
|
1444
1198
|
.UNINDENT
|
1445
|
-
|
1446
1199
|
.SS rest_authconfig
|
1200
|
+
.sp
|
1447
1201
|
The configuration file that defines the rights to the different rest indirections. This can be used as a fine\-grained authorization system for \fBpuppetmasterd\fP.
|
1448
|
-
|
1449
1202
|
.INDENT 0.0
|
1450
|
-
|
1451
1203
|
.IP \(bu 2
|
1452
|
-
|
1453
|
-
|
1204
|
+
.
|
1205
|
+
\fBDefault\fP: $confdir/auth.conf
|
1454
1206
|
.UNINDENT
|
1455
|
-
|
1456
1207
|
.SS rrddir
|
1208
|
+
.sp
|
1457
1209
|
The directory where RRD database files are stored. Directories for each reporting host will be created under this directory.
|
1458
|
-
|
1459
1210
|
.INDENT 0.0
|
1460
|
-
|
1461
1211
|
.IP \(bu 2
|
1462
|
-
|
1463
|
-
|
1212
|
+
.
|
1213
|
+
\fBDefault\fP: $vardir/rrd
|
1464
1214
|
.UNINDENT
|
1465
|
-
|
1466
1215
|
.SS rrdinterval
|
1216
|
+
.sp
|
1467
1217
|
How often RRD should expect data. This should match how often the hosts report back to the server.
|
1468
|
-
|
1469
1218
|
.INDENT 0.0
|
1470
|
-
|
1471
1219
|
.IP \(bu 2
|
1472
|
-
|
1473
|
-
|
1220
|
+
.
|
1221
|
+
\fBDefault\fP: $runinterval
|
1474
1222
|
.UNINDENT
|
1475
|
-
|
1476
1223
|
.SS rundir
|
1224
|
+
.sp
|
1477
1225
|
Where Puppet PID files are kept.
|
1478
|
-
|
1479
1226
|
.INDENT 0.0
|
1480
|
-
|
1481
1227
|
.IP \(bu 2
|
1482
|
-
|
1483
|
-
|
1228
|
+
.
|
1229
|
+
\fBDefault\fP: $vardir/run
|
1484
1230
|
.UNINDENT
|
1485
|
-
|
1486
1231
|
.SS runinterval
|
1232
|
+
.sp
|
1487
1233
|
How often puppetd applies the client configuration; in seconds.
|
1488
|
-
|
1489
1234
|
.INDENT 0.0
|
1490
|
-
|
1491
1235
|
.IP \(bu 2
|
1492
|
-
|
1493
|
-
|
1236
|
+
.
|
1237
|
+
\fBDefault\fP: 1800
|
1494
1238
|
.UNINDENT
|
1495
|
-
|
1496
1239
|
.SS sendmail
|
1240
|
+
.sp
|
1497
1241
|
Where to find the sendmail binary with which to send email.
|
1498
|
-
|
1499
1242
|
.INDENT 0.0
|
1500
|
-
|
1501
1243
|
.IP \(bu 2
|
1502
|
-
|
1503
|
-
|
1244
|
+
.
|
1245
|
+
\fBDefault\fP: /usr/sbin/sendmail
|
1504
1246
|
.UNINDENT
|
1505
|
-
|
1506
1247
|
.SS serial
|
1248
|
+
.sp
|
1507
1249
|
Where the serial number for certificates is stored.
|
1508
|
-
|
1509
1250
|
.INDENT 0.0
|
1510
|
-
|
1511
1251
|
.IP \(bu 2
|
1512
|
-
|
1513
|
-
|
1252
|
+
.
|
1253
|
+
\fBDefault\fP: $cadir/serial
|
1514
1254
|
.UNINDENT
|
1515
|
-
|
1516
1255
|
.SS server
|
1256
|
+
.sp
|
1517
1257
|
The server to which server puppetd should connect
|
1518
|
-
|
1519
1258
|
.INDENT 0.0
|
1520
|
-
|
1521
1259
|
.IP \(bu 2
|
1522
|
-
|
1523
|
-
|
1260
|
+
.
|
1261
|
+
\fBDefault\fP: puppet
|
1524
1262
|
.UNINDENT
|
1525
|
-
|
1526
1263
|
.SS servertype
|
1264
|
+
.sp
|
1527
1265
|
The type of server to use. Currently supported options are webrick and mongrel. If you use mongrel, you will need a proxy in front of the process or processes, since Mongrel cannot speak SSL.
|
1528
|
-
|
1529
1266
|
.INDENT 0.0
|
1530
|
-
|
1531
1267
|
.IP \(bu 2
|
1532
|
-
|
1533
|
-
|
1268
|
+
.
|
1269
|
+
\fBDefault\fP: webrick
|
1534
1270
|
.UNINDENT
|
1535
|
-
|
1536
1271
|
.SS show_diff
|
1272
|
+
.sp
|
1537
1273
|
Whether to print a contextual diff when files are being replaced. The diff is printed on stdout, so this option is meaningless unless you are running Puppet interactively. This feature currently requires the \fBdiff/lcs\fP Ruby library.
|
1538
|
-
|
1539
1274
|
.INDENT 0.0
|
1540
|
-
|
1541
1275
|
.IP \(bu 2
|
1542
|
-
|
1543
|
-
|
1276
|
+
.
|
1277
|
+
\fBDefault\fP: false
|
1544
1278
|
.UNINDENT
|
1545
|
-
|
1546
1279
|
.SS signeddir
|
1280
|
+
.sp
|
1547
1281
|
Where the CA stores signed certificates.
|
1548
|
-
|
1549
1282
|
.INDENT 0.0
|
1550
|
-
|
1551
1283
|
.IP \(bu 2
|
1552
|
-
|
1553
|
-
|
1284
|
+
.
|
1285
|
+
\fBDefault\fP: $cadir/signed
|
1554
1286
|
.UNINDENT
|
1555
|
-
|
1556
1287
|
.SS smtpserver
|
1288
|
+
.sp
|
1557
1289
|
The server through which to send email reports.
|
1558
|
-
|
1559
1290
|
.INDENT 0.0
|
1560
|
-
|
1561
1291
|
.IP \(bu 2
|
1562
|
-
|
1563
|
-
|
1292
|
+
.
|
1293
|
+
\fBDefault\fP: none
|
1564
1294
|
.UNINDENT
|
1565
|
-
|
1566
1295
|
.SS splay
|
1296
|
+
.sp
|
1567
1297
|
Whether to sleep for a pseudo\-random (but consistent) amount of time before a run.
|
1568
|
-
|
1569
1298
|
.INDENT 0.0
|
1570
|
-
|
1571
1299
|
.IP \(bu 2
|
1572
|
-
|
1573
|
-
|
1300
|
+
.
|
1301
|
+
\fBDefault\fP: false
|
1574
1302
|
.UNINDENT
|
1575
|
-
|
1576
1303
|
.SS splaylimit
|
1304
|
+
.sp
|
1577
1305
|
The maximum time to delay before runs. Defaults to being the same as the run interval.
|
1578
|
-
|
1579
1306
|
.INDENT 0.0
|
1580
|
-
|
1581
1307
|
.IP \(bu 2
|
1582
|
-
|
1583
|
-
|
1308
|
+
.
|
1309
|
+
\fBDefault\fP: $runinterval
|
1584
1310
|
.UNINDENT
|
1585
|
-
|
1586
1311
|
.SS ssl_client_header
|
1587
|
-
|
1588
|
-
|
1312
|
+
.sp
|
1313
|
+
The header containing an authenticated client\(aqs SSL DN. Only used with Mongrel. This header must be set by the proxy to the authenticated client\(aqs SSL DN (e.g., \fB/CN=puppet.puppetlabs.com\fP). See \fI\%http://puppetlabs.com/puppet/trac/wiki/UsingMongrel\fP for more information.
|
1589
1314
|
.INDENT 0.0
|
1590
|
-
|
1591
1315
|
.IP \(bu 2
|
1592
|
-
|
1593
|
-
|
1316
|
+
.
|
1317
|
+
\fBDefault\fP: HTTP_X_CLIENT_DN
|
1594
1318
|
.UNINDENT
|
1595
|
-
|
1596
1319
|
.SS ssl_client_verify_header
|
1597
|
-
|
1598
|
-
|
1320
|
+
.sp
|
1321
|
+
The header containing the status message of the client verification. Only used with Mongrel. This header must be set by the proxy to \(aqSUCCESS\(aq if the client successfully authenticated, and anything else otherwise. See \fI\%http://puppetlabs.com/puppet/trac/wiki/UsingMongrel\fP for more information.
|
1599
1322
|
.INDENT 0.0
|
1600
|
-
|
1601
1323
|
.IP \(bu 2
|
1602
|
-
|
1603
|
-
|
1324
|
+
.
|
1325
|
+
\fBDefault\fP: HTTP_X_CLIENT_VERIFY
|
1604
1326
|
.UNINDENT
|
1605
|
-
|
1606
1327
|
.SS ssldir
|
1328
|
+
.sp
|
1607
1329
|
Where SSL certificates are kept.
|
1608
|
-
|
1609
1330
|
.INDENT 0.0
|
1610
|
-
|
1611
1331
|
.IP \(bu 2
|
1612
|
-
|
1613
|
-
|
1332
|
+
.
|
1333
|
+
\fBDefault\fP: $confdir/ssl
|
1614
1334
|
.UNINDENT
|
1615
|
-
|
1616
1335
|
.SS statedir
|
1336
|
+
.sp
|
1617
1337
|
The directory where Puppet state is stored. Generally, this directory can be removed without causing harm (although it might result in spurious service restarts).
|
1618
|
-
|
1619
1338
|
.INDENT 0.0
|
1620
|
-
|
1621
1339
|
.IP \(bu 2
|
1622
|
-
|
1623
|
-
|
1340
|
+
.
|
1341
|
+
\fBDefault\fP: $vardir/state
|
1624
1342
|
.UNINDENT
|
1625
|
-
|
1626
1343
|
.SS statefile
|
1344
|
+
.sp
|
1627
1345
|
Where puppetd and puppetmasterd store state associated with the running configuration. In the case of puppetmasterd, this file reflects the state discovered through interacting with clients.
|
1628
|
-
|
1629
1346
|
.INDENT 0.0
|
1630
|
-
|
1631
1347
|
.IP \(bu 2
|
1632
|
-
|
1633
|
-
|
1348
|
+
.
|
1349
|
+
\fBDefault\fP: $statedir/state.yaml
|
1634
1350
|
.UNINDENT
|
1635
|
-
|
1636
1351
|
.SS storeconfigs
|
1637
|
-
|
1638
|
-
|
1352
|
+
.sp
|
1353
|
+
Whether to store each client\(aqs configuration. This requires ActiveRecord from Ruby on Rails.
|
1639
1354
|
.INDENT 0.0
|
1640
|
-
|
1641
1355
|
.IP \(bu 2
|
1642
|
-
|
1643
|
-
|
1356
|
+
.
|
1357
|
+
\fBDefault\fP: false
|
1644
1358
|
.UNINDENT
|
1645
|
-
|
1646
1359
|
.SS strict_hostname_checking
|
1360
|
+
.sp
|
1647
1361
|
Whether to only search for the complete hostname as it is in the certificate when searching for node information in the catalogs.
|
1648
|
-
|
1649
1362
|
.INDENT 0.0
|
1650
|
-
|
1651
1363
|
.IP \(bu 2
|
1652
|
-
|
1653
|
-
|
1364
|
+
.
|
1365
|
+
\fBDefault\fP: false
|
1654
1366
|
.UNINDENT
|
1655
|
-
|
1656
1367
|
.SS summarize
|
1368
|
+
.sp
|
1657
1369
|
Whether to print a transaction summary.
|
1658
|
-
|
1659
1370
|
.INDENT 0.0
|
1660
|
-
|
1661
1371
|
.IP \(bu 2
|
1662
|
-
|
1663
|
-
|
1372
|
+
.
|
1373
|
+
\fBDefault\fP: false
|
1664
1374
|
.UNINDENT
|
1665
|
-
|
1666
1375
|
.SS syslogfacility
|
1376
|
+
.sp
|
1667
1377
|
What syslog facility to use when logging to syslog. Syslog has a fixed list of valid facilities, and you must choose one of those; you cannot just make one up.
|
1668
|
-
|
1669
1378
|
.INDENT 0.0
|
1670
|
-
|
1671
1379
|
.IP \(bu 2
|
1672
|
-
|
1673
|
-
|
1380
|
+
.
|
1381
|
+
\fBDefault\fP: daemon
|
1674
1382
|
.UNINDENT
|
1675
|
-
|
1676
1383
|
.SS tagmap
|
1384
|
+
.sp
|
1677
1385
|
The mapping between reporting tags and email addresses.
|
1678
|
-
|
1679
1386
|
.INDENT 0.0
|
1680
|
-
|
1681
1387
|
.IP \(bu 2
|
1682
|
-
|
1683
|
-
|
1388
|
+
.
|
1389
|
+
\fBDefault\fP: $confdir/tagmail.conf
|
1684
1390
|
.UNINDENT
|
1685
|
-
|
1686
1391
|
.SS tags
|
1392
|
+
.sp
|
1687
1393
|
Tags to use to find resources. If this is set, then only resources tagged with the specified tags will be applied. Values must be comma\-separated.
|
1688
|
-
|
1689
|
-
|
1690
1394
|
.SS templatedir
|
1395
|
+
.sp
|
1691
1396
|
Where Puppet looks for template files. Can be a list of colon\-seperated directories.
|
1692
|
-
|
1693
1397
|
.INDENT 0.0
|
1694
|
-
|
1695
1398
|
.IP \(bu 2
|
1696
|
-
|
1697
|
-
|
1399
|
+
.
|
1400
|
+
\fBDefault\fP: $vardir/templates
|
1698
1401
|
.UNINDENT
|
1699
|
-
|
1700
1402
|
.SS thin_storeconfigs
|
1403
|
+
.sp
|
1701
1404
|
Boolean; wether storeconfigs store in the database only the facts and exported resources. If true, then storeconfigs performance will be higher and still allow exported/collected resources, but other usage external to Puppet might not work
|
1702
|
-
|
1703
1405
|
.INDENT 0.0
|
1704
|
-
|
1705
1406
|
.IP \(bu 2
|
1706
|
-
|
1707
|
-
|
1407
|
+
.
|
1408
|
+
\fBDefault\fP: false
|
1708
1409
|
.UNINDENT
|
1709
|
-
|
1710
1410
|
.SS trace
|
1411
|
+
.sp
|
1711
1412
|
Whether to print stack traces on some errors
|
1712
|
-
|
1713
1413
|
.INDENT 0.0
|
1714
|
-
|
1715
1414
|
.IP \(bu 2
|
1716
|
-
|
1717
|
-
|
1415
|
+
.
|
1416
|
+
\fBDefault\fP: false
|
1718
1417
|
.UNINDENT
|
1719
|
-
|
1720
1418
|
.SS typecheck
|
1419
|
+
.sp
|
1721
1420
|
Whether to validate types during parsing.
|
1722
|
-
|
1723
1421
|
.INDENT 0.0
|
1724
|
-
|
1725
1422
|
.IP \(bu 2
|
1726
|
-
|
1727
|
-
|
1423
|
+
.
|
1424
|
+
\fBDefault\fP: true
|
1425
|
+
.UNINDENT
|
1426
|
+
.SS use_cached_catalog
|
1427
|
+
.sp
|
1428
|
+
Whether to only use the cached catalog rather than compiling a new catalog on every run. Puppet can be run with this enabled by default and then selectively disabled when a recompile is desired.
|
1429
|
+
.INDENT 0.0
|
1430
|
+
.IP \(bu 2
|
1431
|
+
.
|
1432
|
+
\fBDefault\fP: false
|
1728
1433
|
.UNINDENT
|
1729
|
-
|
1730
1434
|
.SS usecacheonfailure
|
1435
|
+
.sp
|
1731
1436
|
Whether to use the cached configuration when the remote configuration will not compile. This option is useful for testing new configurations, where you want to fix the broken configuration rather than reverting to a known\-good one.
|
1732
|
-
|
1733
1437
|
.INDENT 0.0
|
1734
|
-
|
1735
1438
|
.IP \(bu 2
|
1736
|
-
|
1737
|
-
|
1439
|
+
.
|
1440
|
+
\fBDefault\fP: true
|
1738
1441
|
.UNINDENT
|
1739
|
-
|
1740
1442
|
.SS user
|
1443
|
+
.sp
|
1741
1444
|
The user puppetmasterd should run as.
|
1742
|
-
|
1743
1445
|
.INDENT 0.0
|
1744
|
-
|
1745
1446
|
.IP \(bu 2
|
1746
|
-
|
1747
|
-
|
1447
|
+
.
|
1448
|
+
\fBDefault\fP: puppet
|
1748
1449
|
.UNINDENT
|
1749
|
-
|
1750
1450
|
.SS vardir
|
1451
|
+
.sp
|
1751
1452
|
Where Puppet stores dynamic and growing data. The default for this parameter is calculated specially, like \fI\%confdir\fP.
|
1752
|
-
|
1753
1453
|
.INDENT 0.0
|
1754
|
-
|
1755
1454
|
.IP \(bu 2
|
1756
|
-
|
1757
|
-
|
1455
|
+
.
|
1456
|
+
\fBDefault\fP: /var/lib/puppet
|
1758
1457
|
.UNINDENT
|
1759
|
-
|
1760
1458
|
.SS yamldir
|
1459
|
+
.sp
|
1761
1460
|
The directory in which YAML data is stored, usually in a subdirectory.
|
1762
|
-
|
1763
1461
|
.INDENT 0.0
|
1764
|
-
|
1765
1462
|
.IP \(bu 2
|
1766
|
-
|
1767
|
-
|
1463
|
+
.
|
1464
|
+
\fBDefault\fP: $vardir/yaml
|
1768
1465
|
.UNINDENT
|
1769
|
-
|
1770
1466
|
.SS zlib
|
1467
|
+
.sp
|
1771
1468
|
Boolean; whether to use the zlib library
|
1772
|
-
|
1773
1469
|
.INDENT 0.0
|
1774
|
-
|
1775
1470
|
.IP \(bu 2
|
1776
|
-
|
1777
|
-
|
1471
|
+
.
|
1472
|
+
\fBDefault\fP: true
|
1778
1473
|
.UNINDENT
|
1779
1474
|
|
1780
1475
|
.sp
|
@@ -1783,8 +1478,8 @@ Boolean; whether to use the zlib library
|
|
1783
1478
|
|
1784
1479
|
.ce 0
|
1785
1480
|
.sp
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
.\" Generated by docutils manpage writer on 2009-12-30 19:31.
|
1481
|
+
.sp
|
1482
|
+
\fIThis page autogenerated on Sun Apr 11 17:57:48 \-0400 2010\fP
|
1483
|
+
.\" Generated by docutils manpage writer.
|
1790
1484
|
.\"
|
1485
|
+
.
|