puppet 0.24.4 → 0.24.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 +170 -0
- data/Rakefile +6 -4
- data/bin/filebucket +3 -2
- data/bin/puppet +7 -4
- data/bin/puppetca +32 -14
- data/bin/puppetd +12 -34
- data/bin/puppetmasterd +3 -2
- data/bin/puppetrun +5 -43
- data/bin/ralsh +2 -2
- data/conf/debian/README.source +2 -0
- data/conf/debian/TODO.Debian +1 -0
- data/conf/debian/changelog +257 -0
- data/conf/debian/compat +1 -0
- data/conf/debian/control +45 -0
- data/conf/debian/copyright +17 -0
- data/conf/debian/docs +1 -0
- data/conf/debian/fileserver.conf +12 -0
- data/conf/debian/puppet.NEWS +63 -0
- data/conf/debian/puppet.conf +8 -0
- data/conf/debian/puppet.dirs +7 -0
- data/conf/debian/puppet.files +6 -0
- data/conf/debian/puppet.init +64 -0
- data/conf/debian/puppet.logrotate +11 -0
- data/conf/debian/puppet.postinst +9 -0
- data/conf/debian/puppet.postrm +21 -0
- data/conf/debian/puppet.preinst +25 -0
- data/conf/debian/puppetmaster.files +4 -0
- data/conf/debian/puppetmaster.init +58 -0
- data/conf/debian/rules +115 -0
- data/conf/debian/watch +2 -0
- data/conf/gentoo/init.d/puppet +1 -1
- data/conf/gentoo/init.d/puppetmaster +32 -31
- data/conf/redhat/client.init +10 -2
- data/conf/redhat/puppet.spec +4 -1
- data/conf/redhat/server.init +9 -1
- data/examples/{code/allatonce → allatonce} +0 -0
- data/examples/{code/assignments → assignments} +0 -0
- data/examples/{code/components → components} +0 -0
- data/examples/{root/etc → etc}/init.d/sleeper +0 -0
- data/examples/{root/etc → etc}/otherfile +0 -0
- data/examples/{root/etc → etc}/puppet/fileserver.conf +0 -0
- data/examples/{root/etc → etc}/puppet/namespaceauth.conf +0 -0
- data/examples/{root/etc → etc}/puppet/puppet.conf +0 -0
- data/examples/{root/etc → etc}/puppet/tagmail.conf +0 -0
- data/examples/{code/execs → execs} +0 -0
- data/examples/{code/file.bl → file.bl} +0 -0
- data/examples/{code/filedefaults → filedefaults} +0 -0
- data/examples/{code/fileparsing → fileparsing} +0 -0
- data/examples/{code/filerecursion → filerecursion} +0 -0
- data/examples/{code/functions → functions} +0 -0
- data/examples/{code/groups → groups} +0 -0
- data/examples/{code/head → head} +0 -0
- data/examples/{code/importing → importing} +0 -0
- data/examples/{code/mac_automount.pp → mac_automount.pp} +0 -0
- data/examples/{code/mac_dscl.pp → mac_dscl.pp} +0 -0
- data/examples/{code/mac_dscl_revert.pp → mac_dscl_revert.pp} +0 -0
- data/examples/{code/mac_netinfo.pp → mac_netinfo.pp} +0 -0
- data/examples/{code/mac_pkgdmg.pp → mac_pkgdmg.pp} +0 -0
- data/examples/{code/modules → modules}/sample-module.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/README.txt +0 -0
- data/examples/{code/modules → modules}/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +0 -0
- data/examples/{code/modules → modules}/sample-module/manifests/init.pp +0 -0
- data/examples/{code/modules → modules}/sample-module/templates/sample.erb +0 -0
- data/examples/{code/nodes → nodes} +0 -0
- data/examples/{code/one → one} +0 -0
- data/examples/{code/relationships → relationships} +0 -0
- data/examples/{code/selectors → selectors} +0 -0
- data/examples/{code/simpletests → simpletests} +0 -0
- data/examples/{code/svncommit → svncommit} +0 -0
- data/ext/autotest/Rakefile +8 -0
- data/ext/autotest/config +43 -0
- data/ext/autotest/readme.rst +16 -0
- data/{examples/root → ext}/bin/sleeper +1 -1
- data/ext/emacs/puppet-mode.el +246 -184
- data/ext/ldap/puppet.schema +7 -2
- data/ext/module_puppet +4 -3
- data/ext/nagios/check_puppet.rb +117 -0
- data/ext/puppetlast +40 -0
- data/install.rb +12 -3
- data/lib/puppet.rb +1 -44
- data/lib/puppet/defaults.rb +23 -10
- data/lib/puppet/dsl.rb +2 -2
- data/lib/puppet/executables/client/certhandler.rb +77 -0
- data/lib/puppet/external/nagios.rb +1 -1
- data/lib/puppet/external/nagios/base.rb +60 -46
- data/lib/puppet/file_serving/indirection_hooks.rb +4 -2
- data/lib/puppet/file_serving/metadata.rb +0 -9
- data/lib/puppet/file_serving/terminus_helper.rb +4 -4
- data/lib/puppet/indirector.rb +26 -28
- data/lib/puppet/indirector/catalog/compiler.rb +6 -28
- data/lib/puppet/indirector/checksum/file.rb +2 -2
- data/lib/puppet/indirector/direct_file_server.rb +7 -7
- data/lib/puppet/indirector/envelope.rb +13 -0
- data/lib/puppet/indirector/exec.rb +2 -2
- data/lib/puppet/indirector/facts/facter.rb +2 -2
- data/lib/puppet/indirector/file.rb +17 -14
- data/lib/puppet/indirector/file_metadata/file.rb +2 -2
- data/lib/puppet/indirector/file_server.rb +14 -14
- data/lib/puppet/indirector/indirection.rb +113 -48
- data/lib/puppet/indirector/ldap.rb +13 -25
- data/lib/puppet/indirector/memory.rb +7 -7
- data/lib/puppet/indirector/module_files.rb +14 -14
- data/lib/puppet/indirector/node/exec.rb +3 -10
- data/lib/puppet/indirector/node/ldap.rb +138 -41
- data/lib/puppet/indirector/node/plain.rb +1 -8
- data/lib/puppet/indirector/node/rest.rb +1 -1
- data/lib/puppet/indirector/plain.rb +2 -2
- data/lib/puppet/indirector/report/processor.rb +2 -2
- data/lib/puppet/indirector/request.rb +42 -0
- data/lib/puppet/indirector/rest.rb +51 -3
- data/lib/puppet/indirector/terminus.rb +0 -27
- data/lib/puppet/indirector/yaml.rb +12 -17
- data/lib/puppet/metatype/attributes.rb +3 -7
- data/lib/puppet/metatype/evaluation.rb +2 -2
- data/lib/puppet/module.rb +6 -2
- data/lib/puppet/network/client/master.rb +29 -81
- data/lib/puppet/network/handler/master.rb +12 -43
- data/lib/puppet/network/http.rb +8 -6
- data/lib/puppet/network/http/handler.rb +42 -32
- data/lib/puppet/network/http/mongrel.rb +8 -9
- data/lib/puppet/network/http/mongrel/rest.rb +42 -15
- data/lib/puppet/network/http/webrick.rb +27 -16
- data/lib/puppet/network/http/webrick/rest.rb +38 -14
- data/lib/puppet/network/http_pool.rb +3 -2
- data/lib/puppet/network/server.rb +24 -22
- data/lib/puppet/network/xmlrpc/client.rb +6 -1
- data/lib/puppet/node.rb +38 -79
- data/lib/puppet/node/catalog.rb +9 -0
- data/lib/puppet/node/facts.rb +9 -1
- data/lib/puppet/parser/ast/function.rb +1 -1
- data/lib/puppet/parser/collector.rb +6 -0
- data/lib/puppet/parser/compiler.rb +1 -1
- data/lib/puppet/parser/functions.rb +25 -1
- data/lib/puppet/parser/interpreter.rb +2 -17
- data/lib/puppet/parser/parser.rb +4 -4
- data/lib/puppet/parser/parser_support.rb +6 -2
- data/lib/puppet/parser/resource.rb +6 -0
- data/lib/puppet/parser/templatewrapper.rb +9 -0
- data/lib/puppet/pgraph.rb +1 -1
- data/lib/puppet/property.rb +0 -1
- data/lib/puppet/provider.rb +9 -95
- data/lib/puppet/provider/confine.rb +77 -0
- data/lib/puppet/provider/confine/exists.rb +22 -0
- data/lib/puppet/provider/confine/false.rb +19 -0
- data/lib/puppet/provider/confine/feature.rb +17 -0
- data/lib/puppet/provider/confine/true.rb +20 -0
- data/lib/puppet/provider/confine/variable.rb +42 -0
- data/lib/puppet/provider/confine_collection.rb +47 -0
- data/lib/puppet/provider/confiner.rb +20 -0
- data/lib/puppet/provider/cron/crontab.rb +6 -2
- data/lib/puppet/provider/group/groupadd.rb +1 -1
- data/lib/puppet/provider/group/ldap.rb +48 -0
- data/lib/puppet/provider/ldap.rb +137 -0
- data/lib/puppet/provider/nameservice.rb +1 -2
- data/lib/puppet/provider/nameservice/objectadd.rb +2 -5
- data/lib/puppet/provider/package/dpkg.rb +16 -1
- data/lib/puppet/provider/package/freebsd.rb +15 -4
- data/lib/puppet/provider/package/gem.rb +33 -12
- data/lib/puppet/provider/package/pkgdmg.rb +1 -60
- data/lib/puppet/provider/package/ports.rb +6 -1
- data/lib/puppet/provider/package/rpm.rb +14 -13
- data/lib/puppet/provider/package/urpmi.rb +3 -3
- data/lib/puppet/provider/service/base.rb +4 -4
- data/lib/puppet/provider/service/debian.rb +1 -1
- data/lib/puppet/provider/service/init.rb +5 -3
- data/lib/puppet/provider/service/redhat.rb +35 -7
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +69 -0
- data/lib/puppet/provider/user/ldap.rb +133 -0
- data/lib/puppet/provider/user/useradd.rb +1 -1
- data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +14 -14
- data/lib/puppet/rails/database/schema.rb +9 -0
- data/lib/puppet/rails/resource.rb +1 -0
- data/lib/puppet/reference/providers.rb +8 -2
- data/lib/puppet/reference/report.rb +23 -0
- data/lib/puppet/reports/rrdgraph.rb +4 -2
- data/lib/puppet/sslcertificates/ca.rb +9 -4
- data/lib/puppet/sslcertificates/support.rb +26 -2
- data/lib/puppet/transaction.rb +11 -16
- data/lib/puppet/transaction/change.rb +94 -0
- data/lib/puppet/transaction/event.rb +21 -0
- data/lib/puppet/transaction/report.rb +4 -0
- data/lib/puppet/type.rb +0 -2
- data/lib/puppet/type/file/ensure.rb +0 -5
- data/lib/puppet/type/file/group.rb +13 -7
- data/lib/puppet/type/file/source.rb +8 -15
- data/lib/puppet/type/file/target.rb +2 -0
- data/lib/puppet/type/group.rb +1 -1
- data/lib/puppet/type/mount.rb +4 -2
- data/lib/puppet/type/nagios_hostescalation.rb +3 -0
- data/lib/puppet/type/nagios_servicegroup.rb +3 -0
- data/lib/puppet/type/ssh_authorized_key.rb +56 -0
- data/lib/puppet/type/user.rb +3 -0
- data/lib/puppet/type/yumrepo.rb +0 -1
- data/lib/puppet/util.rb +1 -1
- data/lib/puppet/util/ldap.rb +5 -0
- data/lib/puppet/util/ldap/connection.rb +69 -0
- data/lib/puppet/util/ldap/generator.rb +45 -0
- data/lib/puppet/util/ldap/manager.rb +281 -0
- data/lib/puppet/util/posix.rb +2 -2
- data/lib/puppet/util/resource_template.rb +61 -0
- data/lib/puppet/util/settings.rb +63 -3
- data/lib/puppet/util/storage.rb +4 -0
- data/lib/puppet/util/warnings.rb +7 -0
- data/man/man8/filebucket.8 +116 -0
- data/man/man8/pi.8 +34 -0
- data/man/man8/puppet.8 +78 -0
- data/man/man8/puppet.conf.8 +1747 -0
- data/man/man8/puppetca.8 +118 -0
- data/man/man8/puppetd.8 +184 -0
- data/man/man8/puppetdoc.8 +62 -0
- data/man/man8/puppetmasterd.8 +87 -0
- data/man/man8/puppetrun.8 +151 -0
- data/man/man8/ralsh.8 +135 -0
- data/test/README +24 -0
- data/test/certmgr/support.rb +28 -1
- data/test/data/failers/badclassnoparam +10 -0
- data/test/data/failers/badclassparam +10 -0
- data/test/data/failers/badcompnoparam +9 -0
- data/test/data/failers/badcompparam +9 -0
- data/test/data/failers/badtypeparam +3 -0
- data/test/data/failers/noobjectrvalue +1 -0
- data/test/data/providers/cron/crontab.allthree +17 -0
- data/test/data/providers/cron/crontab.envNcomment +12 -0
- data/test/data/providers/cron/crontab.envNname +11 -0
- data/test/data/providers/cron/crontab.multirecords +12 -0
- data/test/data/providers/cron/crontab_collections.yaml +44 -0
- data/test/data/providers/cron/crontab_multiple_with_env.yaml +54 -0
- data/test/data/providers/cron/crontab_sample_records.yaml +272 -0
- data/test/data/providers/cron/examples/freebsd +2 -0
- data/test/data/providers/cron/examples/one +14 -0
- data/test/data/providers/cron/examples/openbsd +20 -0
- data/test/data/providers/package/testpackages.yaml +65 -0
- data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +5 -0
- data/test/data/reports/1.yaml +108 -0
- data/test/data/reports/2.yaml +108 -0
- data/test/data/reports/tagmail_failers.conf +3 -0
- data/test/data/reports/tagmail_passers.conf +30 -0
- data/test/data/snippets/aliastest.pp +16 -0
- data/test/data/snippets/argumentdefaults +14 -0
- data/test/data/snippets/casestatement.pp +58 -0
- data/test/data/snippets/classheirarchy.pp +15 -0
- data/test/data/snippets/classincludes.pp +17 -0
- data/test/data/snippets/classpathtest +11 -0
- data/test/data/snippets/collection.pp +10 -0
- data/test/data/snippets/collection_within_virtual_definitions.pp +20 -0
- data/test/data/snippets/componentmetaparams.pp +11 -0
- data/test/data/snippets/componentrequire.pp +8 -0
- data/test/data/snippets/deepclassheirarchy.pp +23 -0
- data/test/data/snippets/defineoverrides.pp +17 -0
- data/test/data/snippets/emptyclass.pp +9 -0
- data/test/data/snippets/emptyexec.pp +3 -0
- data/test/data/snippets/falsevalues.pp +3 -0
- data/test/data/snippets/filecreate +11 -0
- data/test/data/snippets/fqdefinition.pp +5 -0
- data/test/data/snippets/fqparents.pp +11 -0
- data/test/data/snippets/implicititeration +15 -0
- data/test/data/snippets/multipleinstances +7 -0
- data/test/data/snippets/multisubs.pp +13 -0
- data/test/data/snippets/namevartest +9 -0
- data/test/data/snippets/scopetest +13 -0
- data/test/data/snippets/selectorvalues.pp +42 -0
- data/test/data/snippets/simpledefaults +5 -0
- data/test/data/snippets/simpleselector +38 -0
- data/test/data/snippets/singleary.pp +19 -0
- data/test/data/snippets/singlequote.pp +11 -0
- data/test/data/snippets/singleselector.pp +22 -0
- data/test/data/snippets/subclass_name_duplication.pp +11 -0
- data/test/data/snippets/tag.pp +9 -0
- data/test/data/snippets/tagged.pp +35 -0
- data/test/data/snippets/virtualresources.pp +14 -0
- data/test/data/types/hosts/1 +3 -0
- data/test/data/types/hosts/2 +13 -0
- data/test/data/types/hosts/solaris +5 -0
- data/test/data/types/mailalias/file1 +183 -0
- data/test/data/types/mount/freebsd.fstab +7 -0
- data/test/data/types/mount/linux.fstab +11 -0
- data/test/data/types/mount/solaris.fstab +11 -0
- data/test/data/types/port/1 +533 -0
- data/test/data/types/port/darwin +11866 -0
- data/test/data/types/ssh_authorized_key/1 +2 -0
- data/test/data/types/sshkey/1 +21 -0
- data/test/data/types/yumrepos/fedora-devel.repo +26 -0
- data/test/data/types/yumrepos/fedora.repo +9 -0
- data/test/language/parser.rb +8 -1
- data/test/lib/puppettest/runnable_test.rb +3 -0
- data/test/lib/puppettest/support/utils.rb +1 -1
- data/test/lib/rake/puppet_testtask.rb +3 -0
- data/test/lib/stubba.rb +1 -1
- data/test/network/client/ca.rb +1 -0
- data/test/network/client/master.rb +13 -127
- data/test/network/handler/master.rb +61 -80
- data/test/other/provider.rb +0 -45
- data/test/other/transactions.rb +53 -15
- data/test/rails/host.rb +0 -37
- data/test/ral/providers/cron/crontab.rb +32 -3
- data/test/ral/providers/provider.rb +28 -7
- data/test/ral/type/filesources.rb +2 -18
- data/test/ral/type/sshkey.rb +0 -1
- data/test/ral/type/user.rb +6 -0
- data/test/test +241 -0
- metadata +289 -113
- data/examples/root/etc/configfile +0 -0
- data/examples/root/etc/debian-passwd +0 -29
- data/examples/root/etc/debian-syslog.conf +0 -71
- data/lib/puppet/event.rb +0 -28
- data/lib/puppet/network/handler/configuration.rb +0 -184
- data/lib/puppet/network/http/mongrel/xmlrpc.rb +0 -4
- data/lib/puppet/network/http/webrick/xmlrpc.rb +0 -4
- data/lib/puppet/propertychange.rb +0 -141
- data/lib/puppet/provider/interface/redhat.rb +0 -250
- data/lib/puppet/provider/interface/sunos.rb +0 -133
- data/lib/puppet/type/interface.rb +0 -60
- data/lib/puppet/util/variables.rb +0 -38
- data/test/network/handler/configuration.rb +0 -160
- data/test/other/propertychange.rb +0 -140
- data/test/util/loadedfile.rb +0 -121
data/lib/puppet/util/posix.rb
CHANGED
@@ -13,7 +13,7 @@ module Puppet::Util::POSIX
|
|
13
13
|
end
|
14
14
|
prefix = "get" + space.to_s
|
15
15
|
if id.is_a?(Integer)
|
16
|
-
if id >
|
16
|
+
if id > Puppet[:maximum_uid].to_i
|
17
17
|
Puppet.err "Tried to get %s field for silly id %s" % [field, id]
|
18
18
|
return nil
|
19
19
|
end
|
@@ -40,7 +40,7 @@ module Puppet::Util::POSIX
|
|
40
40
|
end
|
41
41
|
if id.is_a?(Integer)
|
42
42
|
integer = true
|
43
|
-
if id >
|
43
|
+
if id > Puppet[:maximum_uid].to_i
|
44
44
|
Puppet.err "Tried to get %s field for silly id %s" % [field, id]
|
45
45
|
return nil
|
46
46
|
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'puppet/util'
|
2
|
+
require 'puppet/util/logging'
|
3
|
+
require 'erb'
|
4
|
+
|
5
|
+
# A template wrapper that evaluates a template in the
|
6
|
+
# context of a resource, allowing the resource attributes
|
7
|
+
# to be looked up from within the template.
|
8
|
+
# This provides functionality essentially equivalent to
|
9
|
+
# the language's template() function. You pass your file
|
10
|
+
# path and the resource you want to use into the initialization
|
11
|
+
# method, then call result() on the instance, and you get back
|
12
|
+
# a chunk of text.
|
13
|
+
# The resource's parameters are available as instance variables
|
14
|
+
# (as opposed to the language, where we use a method_missing trick).
|
15
|
+
# For example, say you have a resource that generates a file. You would
|
16
|
+
# need to implement the following style of `generate` method:
|
17
|
+
#
|
18
|
+
# def generate
|
19
|
+
# template = Puppet::Util::ResourceTemplate.new("/path/to/template", self)
|
20
|
+
#
|
21
|
+
# return Puppet::Type.type(:file).create :path => "/my/file",
|
22
|
+
# :content => template.evaluate
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# This generated file gets added to the catalog (which is what `generate` does),
|
26
|
+
# and its content is the result of the template. You need to use instance
|
27
|
+
# variables in your template, so if your template just needs to have the name
|
28
|
+
# of the generating resource, it would just have:
|
29
|
+
#
|
30
|
+
# <%= @name %>
|
31
|
+
#
|
32
|
+
# Since the ResourceTemplate class sets as instance variables all of the resource's
|
33
|
+
# parameters.
|
34
|
+
#
|
35
|
+
# Note that this example uses the generating resource as its source of
|
36
|
+
# parameters, which is generally most useful, since it allows you to configure
|
37
|
+
# the generated resource via the generating resource.
|
38
|
+
class Puppet::Util::ResourceTemplate
|
39
|
+
include Puppet::Util::Logging
|
40
|
+
|
41
|
+
def evaluate
|
42
|
+
set_resource_variables
|
43
|
+
ERB.new(File.read(@file), 0, "-").result(binding)
|
44
|
+
end
|
45
|
+
|
46
|
+
def initialize(file, resource)
|
47
|
+
raise ArgumentError, "Template %s does not exist" % file unless FileTest.exist?(file)
|
48
|
+
@file = file
|
49
|
+
@resource = resource
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def set_resource_variables
|
55
|
+
@resource.to_hash.each do |param, value|
|
56
|
+
var = "@#{param.to_s}"
|
57
|
+
instance_variable_set(var, value)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
data/lib/puppet/util/settings.rb
CHANGED
@@ -122,7 +122,7 @@ class Puppet::Util::Settings
|
|
122
122
|
if pval = self.value(varname)
|
123
123
|
pval
|
124
124
|
else
|
125
|
-
raise Puppet::DevError, "Could not find value for %s" %
|
125
|
+
raise Puppet::DevError, "Could not find value for %s" % value
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
@@ -217,6 +217,64 @@ class Puppet::Util::Settings
|
|
217
217
|
@used = []
|
218
218
|
end
|
219
219
|
|
220
|
+
# NOTE: ACS ahh the util classes. . .sigh
|
221
|
+
# as part of a fix for 1183, I pulled the logic for the following 5 methods out of the executables and puppet.rb
|
222
|
+
# They probably deserve their own class, but I don't want to do that until I can refactor environments
|
223
|
+
# its a little better than where they were
|
224
|
+
|
225
|
+
# Prints the contents of a config file with the available config elements, or it
|
226
|
+
# prints a single value of a config element.
|
227
|
+
def print_config_options
|
228
|
+
env = value(:environment)
|
229
|
+
val = value(:configprint)
|
230
|
+
if val == "all"
|
231
|
+
hash = {}
|
232
|
+
each do |name, obj|
|
233
|
+
val = value(name,env)
|
234
|
+
val = val.inspect if val == ""
|
235
|
+
hash[name] = val
|
236
|
+
end
|
237
|
+
hash.sort { |a,b| a[0].to_s <=> b[0].to_s }.each do |name, val|
|
238
|
+
puts "%s = %s" % [name, val]
|
239
|
+
end
|
240
|
+
else
|
241
|
+
val.split(/\s*,\s*/).sort.each do |v|
|
242
|
+
if include?(v)
|
243
|
+
#if there is only one value, just print it for back compatibility
|
244
|
+
if v == val
|
245
|
+
puts value(val,env)
|
246
|
+
break
|
247
|
+
end
|
248
|
+
puts "%s = %s" % [v, value(v,env)]
|
249
|
+
else
|
250
|
+
puts "invalid parameter: %s" % v
|
251
|
+
return false
|
252
|
+
end
|
253
|
+
end
|
254
|
+
end
|
255
|
+
true
|
256
|
+
end
|
257
|
+
|
258
|
+
def generate_config
|
259
|
+
puts to_config
|
260
|
+
true
|
261
|
+
end
|
262
|
+
|
263
|
+
def generate_manifest
|
264
|
+
puts to_manifest
|
265
|
+
true
|
266
|
+
end
|
267
|
+
|
268
|
+
def print_configs
|
269
|
+
return print_config_options if value(:configprint) != ""
|
270
|
+
return generate_config if value(:genconfig)
|
271
|
+
return generate_manifest if value(:genmanifest)
|
272
|
+
end
|
273
|
+
|
274
|
+
def print_configs?
|
275
|
+
return (value(:configprint) != "" || value(:genconfig) || value(:genmanifest)) && true
|
276
|
+
end
|
277
|
+
|
220
278
|
# Return a given object's file metadata.
|
221
279
|
def metadata(param)
|
222
280
|
if obj = @config[symbolize(param)] and obj.is_a?(CFile)
|
@@ -673,8 +731,10 @@ Generated on #{Time.now}.
|
|
673
731
|
begin
|
674
732
|
catalog.host_config = false
|
675
733
|
catalog.apply do |transaction|
|
676
|
-
if
|
677
|
-
|
734
|
+
if transaction.any_failed?
|
735
|
+
report = transaction.report
|
736
|
+
failures = report.logs.find_all { |log| log.level == :err }
|
737
|
+
raise "Got %s failure(s) while initializing: %s" % [failures.length, failures.collect { |l| l.to_s }.join("; ")]
|
678
738
|
end
|
679
739
|
end
|
680
740
|
ensure
|
data/lib/puppet/util/storage.rb
CHANGED
data/lib/puppet/util/warnings.rb
CHANGED
@@ -0,0 +1,116 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.SH SYNOPSIS
|
8
|
+
A stand\-alone Puppet filebucket client.
|
9
|
+
|
10
|
+
|
11
|
+
.SH USAGE
|
12
|
+
|
13
|
+
.\" visit_block_quote
|
14
|
+
|
15
|
+
.TP
|
16
|
+
.B filebucket [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
17
|
+
[\-l|\-\-local] [\-r|\-\-remote]
|
18
|
+
[\-s|\-\-server <server>] [\-b|\-\-bucket <directory>] <file> <file> ...
|
19
|
+
|
20
|
+
|
21
|
+
.\" depart_block_quote
|
22
|
+
|
23
|
+
.SH DESCRIPTION
|
24
|
+
This is a stand\-alone filebucket client for sending files to a local or
|
25
|
+
central filebucket.
|
26
|
+
|
27
|
+
|
28
|
+
.SH USAGE
|
29
|
+
This client can operate in three modes, with only one mode per call:
|
30
|
+
|
31
|
+
|
32
|
+
.TP
|
33
|
+
.B backup: Send one or more files to the specified file bucket. Each sent
|
34
|
+
file is printed with its resulting md5 sum.
|
35
|
+
|
36
|
+
|
37
|
+
.TP
|
38
|
+
.B get: Return the text associated with an md5 sum. The text is printed
|
39
|
+
to stdout, and only one file can be retrieved at a time.
|
40
|
+
|
41
|
+
|
42
|
+
.TP
|
43
|
+
.B restore: Given a file path and an md5 sum, store the content associated
|
44
|
+
with the sum into the specified file path. You can specify an
|
45
|
+
entirely new path to this argument; you are not restricted to
|
46
|
+
restoring the content to its original location.
|
47
|
+
|
48
|
+
Note that +filebucket+ defaults to using a network\-based filebucket
|
49
|
+
available on the server named +puppet+. To use this, you\'ll have to be
|
50
|
+
running as a user with valid Puppet certificates. Alternatively, you can
|
51
|
+
use your local file bucket by specifying +\-\-local+.
|
52
|
+
|
53
|
+
|
54
|
+
.SH EXAMPLE
|
55
|
+
|
56
|
+
.\" visit_block_quote
|
57
|
+
$ filebucket backup /etc/passwd
|
58
|
+
/etc/passwd: 429b225650b912a2ee067b0a4cf1e949
|
59
|
+
$ filebucket restore /tmp/passwd 429b225650b912a2ee067b0a4cf1e949
|
60
|
+
$
|
61
|
+
|
62
|
+
|
63
|
+
.\" depart_block_quote
|
64
|
+
|
65
|
+
.SH OPTIONS
|
66
|
+
Note that any configuration parameter that\'s valid in the configuration
|
67
|
+
file is also a valid long argument. For example, \'ssldir\' is a valid
|
68
|
+
configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
|
69
|
+
argument.
|
70
|
+
|
71
|
+
See the configuration file documentation at
|
72
|
+
http://reductivelabs.com/projects/puppet/reference/configref.html for
|
73
|
+
the full list of acceptable parameters. A commented list of all
|
74
|
+
configuration options can also be generated by running puppet with
|
75
|
+
\'\-\-genconfig\'.
|
76
|
+
|
77
|
+
debug: Enable full debugging.
|
78
|
+
|
79
|
+
help: Print this help message
|
80
|
+
|
81
|
+
|
82
|
+
.TP
|
83
|
+
.B local: Use the local filebucket. This will use the default
|
84
|
+
configuration information.
|
85
|
+
|
86
|
+
|
87
|
+
.TP
|
88
|
+
.B remote: Use a remote filebucket. This will use the default
|
89
|
+
configuration information.
|
90
|
+
|
91
|
+
server: The server to send the file to, instead of locally.
|
92
|
+
|
93
|
+
verbose: Print extra information.
|
94
|
+
|
95
|
+
version: Print version information.
|
96
|
+
|
97
|
+
|
98
|
+
.SH EXAMPLE
|
99
|
+
|
100
|
+
.\" visit_block_quote
|
101
|
+
filebucket \-b /tmp/filebucket /my/file
|
102
|
+
|
103
|
+
|
104
|
+
.\" depart_block_quote
|
105
|
+
|
106
|
+
.SH AUTHOR
|
107
|
+
Luke Kanies
|
108
|
+
|
109
|
+
|
110
|
+
.SH COPYRIGHT
|
111
|
+
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
112
|
+
License
|
113
|
+
|
114
|
+
|
115
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
116
|
+
.\"
|
data/man/man8/pi.8
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.TP
|
8
|
+
.B bin/pi [options] [type]
|
9
|
+
|
10
|
+
.TP
|
11
|
+
.B Print documentation for puppet types and their parameters
|
12
|
+
|
13
|
+
.TP
|
14
|
+
.B \-l , \-\-list
|
15
|
+
List all types
|
16
|
+
|
17
|
+
|
18
|
+
.TP
|
19
|
+
.B \-p , \-\-providers
|
20
|
+
Describe providers in detail
|
21
|
+
|
22
|
+
|
23
|
+
.TP
|
24
|
+
.B \-s , \-\-short
|
25
|
+
Only list parameters without detail
|
26
|
+
|
27
|
+
|
28
|
+
.TP
|
29
|
+
.B \-m , \-\-meta
|
30
|
+
Include metaparams
|
31
|
+
|
32
|
+
|
33
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
34
|
+
.\"
|
data/man/man8/puppet.8
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
.TH "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
\-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
|
7
|
+
.SH SYNOPSIS
|
8
|
+
Run a stand\-alone +puppet+ script.
|
9
|
+
|
10
|
+
|
11
|
+
.SH USAGE
|
12
|
+
|
13
|
+
.\" visit_block_quote
|
14
|
+
|
15
|
+
.TP
|
16
|
+
.B puppet [\-h|\-\-help] [\-V|\-\-version] [\-d|\-\-debug] [\-v|\-\-verbose]
|
17
|
+
[\-l|\-\-logdest <file>] <file>
|
18
|
+
|
19
|
+
|
20
|
+
.\" depart_block_quote
|
21
|
+
|
22
|
+
.SH DESCRIPTION
|
23
|
+
This is the standalone puppet execution script; use it to execute
|
24
|
+
individual scripts that you write. If you need to execute site\-wide
|
25
|
+
scripts, use +puppetd+ and +puppetmasterd+.
|
26
|
+
|
27
|
+
|
28
|
+
.SH OPTIONS
|
29
|
+
Note that any configuration parameter that\'s valid in the configuration
|
30
|
+
file is also a valid long argument. For example, \'ssldir\' is a valid
|
31
|
+
configuration parameter, so you can specify \'\-\-ssldir <directory>\' as an
|
32
|
+
argument.
|
33
|
+
|
34
|
+
See the configuration file documentation at
|
35
|
+
http://reductivelabs.com/projects/puppet/reference/configref.html for
|
36
|
+
the full list of acceptable parameters. A commented list of all
|
37
|
+
configuration options can also be generated by running puppet with
|
38
|
+
\'\-\-genconfig\'.
|
39
|
+
|
40
|
+
debug: Enable full debugging.
|
41
|
+
|
42
|
+
help: Print this help message
|
43
|
+
|
44
|
+
|
45
|
+
.TP
|
46
|
+
.B loadclasses: Load any stored classes. +puppetd+ caches configured
|
47
|
+
classes (usually at /etc/puppet/classes.txt), and setting
|
48
|
+
this option causes all of those classes to be set in your
|
49
|
+
+puppet+ manifest.
|
50
|
+
|
51
|
+
|
52
|
+
.TP
|
53
|
+
.B logdest: Where to send messages. Choose between syslog, the console,
|
54
|
+
and a log file. Defaults to sending messages to the
|
55
|
+
console.
|
56
|
+
|
57
|
+
verbose: Print extra information.
|
58
|
+
|
59
|
+
|
60
|
+
.SH EXAMPLE
|
61
|
+
|
62
|
+
.\" visit_block_quote
|
63
|
+
puppet \-l /tmp/script.log script.pp
|
64
|
+
|
65
|
+
|
66
|
+
.\" depart_block_quote
|
67
|
+
|
68
|
+
.SH AUTHOR
|
69
|
+
Luke Kanies
|
70
|
+
|
71
|
+
|
72
|
+
.SH COPYRIGHT
|
73
|
+
Copyright (c) 2005 Reductive Labs, LLC Licensed under the GNU Public
|
74
|
+
License
|
75
|
+
|
76
|
+
|
77
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
78
|
+
.\"
|
@@ -0,0 +1,1747 @@
|
|
1
|
+
.TH Configuration Reference "" "" ""
|
2
|
+
.SH NAME
|
3
|
+
Configuration Reference \-
|
4
|
+
|
5
|
+
.\" Man page generated from reStructeredText.
|
6
|
+
This page is autogenerated; any changes will get overwritten
|
7
|
+
.I (last generated on Mon May 05 09:33:01 +1000 2008)
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
.\" topic: Contents
|
12
|
+
.\"
|
13
|
+
.\" Specifying Configuration Parameters
|
14
|
+
.\"
|
15
|
+
.\" Signals
|
16
|
+
.\"
|
17
|
+
.\" Configuration Parameter Reference
|
18
|
+
|
19
|
+
.SH Specifying Configuration Parameters
|
20
|
+
|
21
|
+
.SS On The Command\-Line
|
22
|
+
Every Puppet executable (with the exception of
|
23
|
+
.\" visit_literal
|
24
|
+
puppetdoc
|
25
|
+
.\" depart_literal
|
26
|
+
) accepts all of
|
27
|
+
the parameters below, but not all of the arguments make sense for every executable.
|
28
|
+
Each parameter has a section listed with it in parentheses; often, that section
|
29
|
+
will map to an executable (e.g.,
|
30
|
+
.\" visit_literal
|
31
|
+
puppetd
|
32
|
+
.\" depart_literal
|
33
|
+
), in which case it probably only
|
34
|
+
makes sense for that one executable. If
|
35
|
+
.\" visit_literal
|
36
|
+
main
|
37
|
+
.\" depart_literal
|
38
|
+
is listed as the section,
|
39
|
+
it is most likely an option that is valid for everyone.
|
40
|
+
|
41
|
+
I have tried to be as thorough as possible in the descriptions of the
|
42
|
+
arguments, so it should be obvious whether an argument is appropriate or not.
|
43
|
+
|
44
|
+
These parameters can be supplied to the executables either as command\-line
|
45
|
+
options or in the configuration file. For instance, the command\-line
|
46
|
+
invocation below would set the configuration directory to
|
47
|
+
.\" visit_literal
|
48
|
+
/private/puppet
|
49
|
+
.\" depart_literal
|
50
|
+
:
|
51
|
+
|
52
|
+
|
53
|
+
.nf
|
54
|
+
$ puppetd \-\-confdir=/private/puppet
|
55
|
+
.fi
|
56
|
+
Note that boolean options are turned on and off with a slightly different
|
57
|
+
syntax on the command line:
|
58
|
+
|
59
|
+
|
60
|
+
.nf
|
61
|
+
$ puppetd \-\-storeconfigs
|
62
|
+
|
63
|
+
$ puppetd \-\-no\-storeconfigs
|
64
|
+
.fi
|
65
|
+
The invocations above will enable and disable, respectively, the storage of
|
66
|
+
the client configuration.
|
67
|
+
|
68
|
+
|
69
|
+
.SS Configuration Files
|
70
|
+
As mentioned above, the configuration parameters can also be stored in a
|
71
|
+
configuration file, located in the configuration directory. As root, the
|
72
|
+
default configuration directory is
|
73
|
+
.\" visit_literal
|
74
|
+
/etc/puppet
|
75
|
+
.\" depart_literal
|
76
|
+
, and as a regular user, the
|
77
|
+
default configuration directory is
|
78
|
+
.\" visit_literal
|
79
|
+
~user/.puppet
|
80
|
+
.\" depart_literal
|
81
|
+
. As of 0.23.0, all
|
82
|
+
executables look for
|
83
|
+
.\" visit_literal
|
84
|
+
puppet.conf
|
85
|
+
.\" depart_literal
|
86
|
+
in their configuration directory
|
87
|
+
(although they previously looked for separate files). For example,
|
88
|
+
|
89
|
+
.\" visit_literal
|
90
|
+
puppet.conf
|
91
|
+
.\" depart_literal
|
92
|
+
is located at
|
93
|
+
.\" visit_literal
|
94
|
+
/etc/puppet/puppet.conf
|
95
|
+
.\" depart_literal
|
96
|
+
as root and
|
97
|
+
|
98
|
+
.\" visit_literal
|
99
|
+
~user/.puppet/puppet.conf
|
100
|
+
.\" depart_literal
|
101
|
+
as a regular user by default.
|
102
|
+
|
103
|
+
All executables will set any parameters set within the
|
104
|
+
.\" visit_literal
|
105
|
+
main
|
106
|
+
.\" depart_literal
|
107
|
+
section,
|
108
|
+
while each executable will also look for a section named for the executable
|
109
|
+
and load those parameters. For example,
|
110
|
+
.\" visit_literal
|
111
|
+
puppetd
|
112
|
+
.\" depart_literal
|
113
|
+
will look for a
|
114
|
+
section named
|
115
|
+
.\" visit_literal
|
116
|
+
puppetd
|
117
|
+
.\" depart_literal
|
118
|
+
, and
|
119
|
+
.\" visit_literal
|
120
|
+
puppetmasterd
|
121
|
+
.\" depart_literal
|
122
|
+
looks for a section
|
123
|
+
named
|
124
|
+
.\" visit_literal
|
125
|
+
puppetmasterd
|
126
|
+
.\" depart_literal
|
127
|
+
. This allows you to use a single configuration file
|
128
|
+
to customize the settings for all of your executables.
|
129
|
+
|
130
|
+
|
131
|
+
.SS File Format
|
132
|
+
The file follows INI\-style formatting. Here is an example of a very simple
|
133
|
+
|
134
|
+
.\" visit_literal
|
135
|
+
puppet.conf
|
136
|
+
.\" depart_literal
|
137
|
+
file:
|
138
|
+
|
139
|
+
|
140
|
+
.nf
|
141
|
+
[main]
|
142
|
+
confdir = /private/puppet
|
143
|
+
storeconfigs = true
|
144
|
+
.fi
|
145
|
+
Note that boolean parameters must be explicitly specified as
|
146
|
+
.I true
|
147
|
+
or
|
148
|
+
|
149
|
+
.I false
|
150
|
+
as seen above.
|
151
|
+
|
152
|
+
If you need to change file parameters (e.g., reset the mode or owner), do
|
153
|
+
so within curly braces on the same line:
|
154
|
+
|
155
|
+
|
156
|
+
.nf
|
157
|
+
[main]
|
158
|
+
myfile = /tmp/whatever {owner = root, mode = 644}
|
159
|
+
.fi
|
160
|
+
If you\'re starting out with a fresh configuration, you may wish to let
|
161
|
+
the executable generate a template configuration file for you by invoking
|
162
|
+
the executable in question with the
|
163
|
+
.I \-\-genconfig
|
164
|
+
command. The executable
|
165
|
+
will print a template configuration to standard output, which can be
|
166
|
+
redirected to a file like so:
|
167
|
+
|
168
|
+
|
169
|
+
.nf
|
170
|
+
$ puppetd \-\-genconfig > /etc/puppet/puppet.conf
|
171
|
+
.fi
|
172
|
+
Note that this invocation will replace the contents of any pre\-existing
|
173
|
+
|
174
|
+
.I puppet.conf
|
175
|
+
file, so make a backup of your present config if it contains
|
176
|
+
valuable information.
|
177
|
+
|
178
|
+
All parameters will be under a single section heading matching the name of
|
179
|
+
the process used to generate the configuraiton (\'puppetd\', in this case).
|
180
|
+
|
181
|
+
Like the
|
182
|
+
.I \-\-genconfig
|
183
|
+
argument, the executables also accept a
|
184
|
+
.I \-\-genmanifest
|
185
|
+
|
186
|
+
argument, which will generate a manifest that can be used to manage all of
|
187
|
+
Puppet\'s directories and files and prints it to standard output. This can
|
188
|
+
likewise be redirected to a file:
|
189
|
+
|
190
|
+
|
191
|
+
.nf
|
192
|
+
$ puppetd \-\-genmanifest > /etc/puppet/manifests/site.pp
|
193
|
+
.fi
|
194
|
+
Puppet can also create user and group accounts for itself (one
|
195
|
+
.I puppet
|
196
|
+
group
|
197
|
+
and one
|
198
|
+
.I puppet
|
199
|
+
user) if it is invoked as
|
200
|
+
.I root
|
201
|
+
with the
|
202
|
+
.I \-\-mkusers
|
203
|
+
argument:
|
204
|
+
|
205
|
+
|
206
|
+
.nf
|
207
|
+
$ puppetd \-\-mkusers
|
208
|
+
.fi
|
209
|
+
|
210
|
+
.SH Signals
|
211
|
+
The
|
212
|
+
.\" visit_literal
|
213
|
+
puppetd
|
214
|
+
.\" depart_literal
|
215
|
+
and
|
216
|
+
.\" visit_literal
|
217
|
+
puppetmasterd
|
218
|
+
.\" depart_literal
|
219
|
+
executables catch some signals for special
|
220
|
+
handling. Both daemons catch (
|
221
|
+
.\" visit_literal
|
222
|
+
SIGHUP
|
223
|
+
.\" depart_literal
|
224
|
+
), which forces the server to restart
|
225
|
+
tself. Predictably, interrupt and terminate (
|
226
|
+
.\" visit_literal
|
227
|
+
SIGINT
|
228
|
+
.\" depart_literal
|
229
|
+
and
|
230
|
+
.\" visit_literal
|
231
|
+
SIGHUP
|
232
|
+
.\" depart_literal
|
233
|
+
) will shut
|
234
|
+
down the server, whether it be an instance of
|
235
|
+
.\" visit_literal
|
236
|
+
puppetd
|
237
|
+
.\" depart_literal
|
238
|
+
or
|
239
|
+
.\" visit_literal
|
240
|
+
puppetmasterd
|
241
|
+
.\" depart_literal
|
242
|
+
.
|
243
|
+
|
244
|
+
Sending the
|
245
|
+
.\" visit_literal
|
246
|
+
SIGUSR1
|
247
|
+
.\" depart_literal
|
248
|
+
signal to an instance of
|
249
|
+
.\" visit_literal
|
250
|
+
puppetd
|
251
|
+
.\" depart_literal
|
252
|
+
will cause it to
|
253
|
+
immediately begin a new configuration transaction with the server. This
|
254
|
+
signal has no effect on
|
255
|
+
.\" visit_literal
|
256
|
+
puppetmasterd
|
257
|
+
.\" depart_literal
|
258
|
+
.
|
259
|
+
|
260
|
+
|
261
|
+
.SH Configuration Parameter Reference
|
262
|
+
Below is a list of all documented parameters. Not all of them are valid with all
|
263
|
+
Puppet executables, but the executables will ignore any inappropriate values.
|
264
|
+
|
265
|
+
|
266
|
+
.SS authconfig
|
267
|
+
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
|
268
|
+
.\" visit_literal
|
269
|
+
puppetd
|
270
|
+
.\" depart_literal
|
271
|
+
and
|
272
|
+
.\" visit_literal
|
273
|
+
puppetmasterd
|
274
|
+
.\" depart_literal
|
275
|
+
.
|
276
|
+
|
277
|
+
|
278
|
+
.TP 2
|
279
|
+
\(bu
|
280
|
+
Default: $confdir/namespaceauth.conf
|
281
|
+
|
282
|
+
|
283
|
+
.SS autoflush
|
284
|
+
Whether log files should always flush to disk.
|
285
|
+
|
286
|
+
|
287
|
+
.TP 2
|
288
|
+
\(bu
|
289
|
+
Default: false
|
290
|
+
|
291
|
+
|
292
|
+
.SS autosign
|
293
|
+
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.
|
294
|
+
|
295
|
+
|
296
|
+
.TP 2
|
297
|
+
\(bu
|
298
|
+
Default: $confdir/autosign.conf
|
299
|
+
|
300
|
+
|
301
|
+
.SS bindaddress
|
302
|
+
The address to bind to. Mongrel servers default to 127.0.0.1 and WEBrick defaults to 0.0.0.0.
|
303
|
+
|
304
|
+
|
305
|
+
.SS bucketdir
|
306
|
+
Where FileBucket files are stored.
|
307
|
+
|
308
|
+
|
309
|
+
.TP 2
|
310
|
+
\(bu
|
311
|
+
Default: $vardir/bucket
|
312
|
+
|
313
|
+
|
314
|
+
.SS ca
|
315
|
+
Wether the master should function as a certificate authority.
|
316
|
+
|
317
|
+
|
318
|
+
.TP 2
|
319
|
+
\(bu
|
320
|
+
Default: true
|
321
|
+
|
322
|
+
|
323
|
+
.SS ca_days
|
324
|
+
How long a certificate should be valid. This parameter is deprecated, use ca_ttl instead
|
325
|
+
|
326
|
+
|
327
|
+
.SS ca_md
|
328
|
+
The type of hash used in certificates.
|
329
|
+
|
330
|
+
|
331
|
+
.TP 2
|
332
|
+
\(bu
|
333
|
+
Default: md5
|
334
|
+
|
335
|
+
|
336
|
+
.SS ca_port
|
337
|
+
The port to use for the certificate authority.
|
338
|
+
|
339
|
+
|
340
|
+
.TP 2
|
341
|
+
\(bu
|
342
|
+
Default: $masterport
|
343
|
+
|
344
|
+
|
345
|
+
.SS ca_server
|
346
|
+
The server to use for certificate authority requests. It\'s a separate server because it cannot and does not need to horizontally scale.
|
347
|
+
|
348
|
+
|
349
|
+
.TP 2
|
350
|
+
\(bu
|
351
|
+
Default: $server
|
352
|
+
|
353
|
+
|
354
|
+
.SS ca_ttl
|
355
|
+
The default TTL for new certificates; valid values must be an integer, optionally followed by one of the units \'y\' (years of 365 days), \'d\' (days), \'h\' (hours), or \'s\' (seconds). The unit defaults to seconds. If this parameter is set, ca_days is ignored. Examples are \'3600\' (one hour) and \'1825d\', which is the same as \'5y\' (5 years)
|
356
|
+
|
357
|
+
|
358
|
+
.TP 2
|
359
|
+
\(bu
|
360
|
+
Default: 5y
|
361
|
+
|
362
|
+
|
363
|
+
.SS cacert
|
364
|
+
The CA certificate.
|
365
|
+
|
366
|
+
|
367
|
+
.TP 2
|
368
|
+
\(bu
|
369
|
+
Default: $cadir/ca_crt.pem
|
370
|
+
|
371
|
+
|
372
|
+
.SS cacrl
|
373
|
+
The certificate revocation list (CRL) for the CA. Set this to \'false\' if you do not want to use a CRL.
|
374
|
+
|
375
|
+
|
376
|
+
.TP 2
|
377
|
+
\(bu
|
378
|
+
Default: $cadir/ca_crl.pem
|
379
|
+
|
380
|
+
|
381
|
+
.SS cadir
|
382
|
+
The root directory for the certificate authority.
|
383
|
+
|
384
|
+
|
385
|
+
.TP 2
|
386
|
+
\(bu
|
387
|
+
Default: $ssldir/ca
|
388
|
+
|
389
|
+
|
390
|
+
.SS cakey
|
391
|
+
The CA private key.
|
392
|
+
|
393
|
+
|
394
|
+
.TP 2
|
395
|
+
\(bu
|
396
|
+
Default: $cadir/ca_key.pem
|
397
|
+
|
398
|
+
|
399
|
+
.SS capass
|
400
|
+
Where the CA stores the password for the private key
|
401
|
+
|
402
|
+
|
403
|
+
.TP 2
|
404
|
+
\(bu
|
405
|
+
Default: $caprivatedir/ca.pass
|
406
|
+
|
407
|
+
|
408
|
+
.SS caprivatedir
|
409
|
+
Where the CA stores private certificate information.
|
410
|
+
|
411
|
+
|
412
|
+
.TP 2
|
413
|
+
\(bu
|
414
|
+
Default: $cadir/private
|
415
|
+
|
416
|
+
|
417
|
+
.SS capub
|
418
|
+
The CA public key.
|
419
|
+
|
420
|
+
|
421
|
+
.TP 2
|
422
|
+
\(bu
|
423
|
+
Default: $cadir/ca_pub.pem
|
424
|
+
|
425
|
+
|
426
|
+
.SS casesensitive
|
427
|
+
Whether matching in case statements and selectors should be case\-sensitive. Case insensitivity is handled by downcasing all values before comparison.
|
428
|
+
|
429
|
+
|
430
|
+
.TP 2
|
431
|
+
\(bu
|
432
|
+
Default: false
|
433
|
+
|
434
|
+
|
435
|
+
.SS cert_inventory
|
436
|
+
A Complete listing of all certificates
|
437
|
+
|
438
|
+
|
439
|
+
.TP 2
|
440
|
+
\(bu
|
441
|
+
Default: $cadir/inventory.txt
|
442
|
+
|
443
|
+
|
444
|
+
.SS certdir
|
445
|
+
The certificate directory.
|
446
|
+
|
447
|
+
|
448
|
+
.TP 2
|
449
|
+
\(bu
|
450
|
+
Default: $ssldir/certs
|
451
|
+
|
452
|
+
|
453
|
+
.SS certdnsnames
|
454
|
+
The DNS names on the Server certificate as a colon\-separated list. If it\'s 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 \'puppet\'.
|
455
|
+
|
456
|
+
|
457
|
+
.SS certname
|
458
|
+
The name to use when handling certificates. Defaults to the fully qualified domain name.
|
459
|
+
|
460
|
+
|
461
|
+
.TP 2
|
462
|
+
\(bu
|
463
|
+
Default: absinthe.lovedthanlost.net
|
464
|
+
|
465
|
+
|
466
|
+
.SS classfile
|
467
|
+
The file in which puppetd stores a list of the classes associated with the retrieved configuration. Can be loaded in the separate
|
468
|
+
.\" visit_literal
|
469
|
+
puppet
|
470
|
+
.\" depart_literal
|
471
|
+
executable using the
|
472
|
+
.\" visit_literal
|
473
|
+
\-\-loadclasses
|
474
|
+
.\" depart_literal
|
475
|
+
option.
|
476
|
+
|
477
|
+
|
478
|
+
.TP 2
|
479
|
+
\(bu
|
480
|
+
Default: $statedir/classes.txt
|
481
|
+
|
482
|
+
|
483
|
+
.SS clientbucketdir
|
484
|
+
Where FileBucket files are stored locally.
|
485
|
+
|
486
|
+
|
487
|
+
.TP 2
|
488
|
+
\(bu
|
489
|
+
Default: $vardir/clientbucket
|
490
|
+
|
491
|
+
|
492
|
+
.SS code
|
493
|
+
Code to parse directly. This is essentially only used by
|
494
|
+
.\" visit_literal
|
495
|
+
puppet
|
496
|
+
.\" depart_literal
|
497
|
+
, and should only be set if you\'re writing your own Puppet executable
|
498
|
+
|
499
|
+
|
500
|
+
.SS color
|
501
|
+
Whether to use colors when logging to the console. Valid values are
|
502
|
+
.\" visit_literal
|
503
|
+
ansi
|
504
|
+
.\" depart_literal
|
505
|
+
(equivalent to
|
506
|
+
.\" visit_literal
|
507
|
+
true
|
508
|
+
.\" depart_literal
|
509
|
+
),
|
510
|
+
.\" visit_literal
|
511
|
+
html
|
512
|
+
.\" depart_literal
|
513
|
+
(mostly used during testing with TextMate), and
|
514
|
+
.\" visit_literal
|
515
|
+
false
|
516
|
+
.\" depart_literal
|
517
|
+
, which produces no color.
|
518
|
+
|
519
|
+
|
520
|
+
.TP 2
|
521
|
+
\(bu
|
522
|
+
Default: ansi
|
523
|
+
|
524
|
+
|
525
|
+
.SS confdir
|
526
|
+
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
|
527
|
+
.\" visit_literal
|
528
|
+
puppetmasterd
|
529
|
+
.\" depart_literal
|
530
|
+
is supposed to run as, it defaults to a system directory, but if it\'s running as any other user, it defaults to being in
|
531
|
+
.\" visit_literal
|
532
|
+
~
|
533
|
+
.\" depart_literal
|
534
|
+
.
|
535
|
+
|
536
|
+
|
537
|
+
.TP 2
|
538
|
+
\(bu
|
539
|
+
Default: /etc/puppet
|
540
|
+
|
541
|
+
|
542
|
+
.SS config
|
543
|
+
The configuration file for puppetdoc.
|
544
|
+
|
545
|
+
|
546
|
+
.TP 2
|
547
|
+
\(bu
|
548
|
+
Default: $confdir/puppet.conf
|
549
|
+
|
550
|
+
|
551
|
+
.SS configprint
|
552
|
+
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 \'all\'. This feature is only available in Puppet versions higher than 0.18.4.
|
553
|
+
|
554
|
+
|
555
|
+
.SS configtimeout
|
556
|
+
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.
|
557
|
+
|
558
|
+
|
559
|
+
.TP 2
|
560
|
+
\(bu
|
561
|
+
Default: 120
|
562
|
+
|
563
|
+
|
564
|
+
.SS csrdir
|
565
|
+
Where the CA stores certificate requests
|
566
|
+
|
567
|
+
|
568
|
+
.TP 2
|
569
|
+
\(bu
|
570
|
+
Default: $cadir/requests
|
571
|
+
|
572
|
+
|
573
|
+
.SS daemonize
|
574
|
+
Send the process into the background. This is the default.
|
575
|
+
|
576
|
+
|
577
|
+
.TP 2
|
578
|
+
\(bu
|
579
|
+
Default: true
|
580
|
+
|
581
|
+
|
582
|
+
.SS dbadapter
|
583
|
+
The type of database to use.
|
584
|
+
|
585
|
+
|
586
|
+
.TP 2
|
587
|
+
\(bu
|
588
|
+
Default: sqlite3
|
589
|
+
|
590
|
+
|
591
|
+
.SS dblocation
|
592
|
+
The database cache for client configurations. Used for querying within the language.
|
593
|
+
|
594
|
+
|
595
|
+
.TP 2
|
596
|
+
\(bu
|
597
|
+
Default: $statedir/clientconfigs.sqlite3
|
598
|
+
|
599
|
+
|
600
|
+
.SS dbmigrate
|
601
|
+
Whether to automatically migrate the database.
|
602
|
+
|
603
|
+
|
604
|
+
.TP 2
|
605
|
+
\(bu
|
606
|
+
Default: false
|
607
|
+
|
608
|
+
|
609
|
+
.SS dbname
|
610
|
+
The name of the database to use.
|
611
|
+
|
612
|
+
|
613
|
+
.TP 2
|
614
|
+
\(bu
|
615
|
+
Default: puppet
|
616
|
+
|
617
|
+
|
618
|
+
.SS dbpassword
|
619
|
+
The database password for Client caching. Only used when networked databases are used.
|
620
|
+
|
621
|
+
|
622
|
+
.TP 2
|
623
|
+
\(bu
|
624
|
+
Default: puppet
|
625
|
+
|
626
|
+
|
627
|
+
.SS dbserver
|
628
|
+
The database server for Client caching. Only used when networked databases are used.
|
629
|
+
|
630
|
+
|
631
|
+
.TP 2
|
632
|
+
\(bu
|
633
|
+
Default: localhost
|
634
|
+
|
635
|
+
|
636
|
+
.SS dbsocket
|
637
|
+
The database socket location. Only used when networked databases are used. Will be ignored if the value is an empty string.
|
638
|
+
|
639
|
+
|
640
|
+
.SS dbuser
|
641
|
+
The database user for Client caching. Only used when networked databases are used.
|
642
|
+
|
643
|
+
|
644
|
+
.TP 2
|
645
|
+
\(bu
|
646
|
+
Default: puppet
|
647
|
+
|
648
|
+
|
649
|
+
.SS diff
|
650
|
+
Which diff command to use when printing differences between files.
|
651
|
+
|
652
|
+
|
653
|
+
.TP 2
|
654
|
+
\(bu
|
655
|
+
Default: diff
|
656
|
+
|
657
|
+
|
658
|
+
.SS diff_args
|
659
|
+
Which arguments to pass to the diff command when printing differences between files.
|
660
|
+
|
661
|
+
|
662
|
+
.SS downcasefacts
|
663
|
+
Whether facts should be made all lowercase when sent to the server.
|
664
|
+
|
665
|
+
|
666
|
+
.TP 2
|
667
|
+
\(bu
|
668
|
+
Default: false
|
669
|
+
|
670
|
+
|
671
|
+
.SS dynamicfacts
|
672
|
+
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.
|
673
|
+
|
674
|
+
|
675
|
+
.TP 2
|
676
|
+
\(bu
|
677
|
+
Default: memorysize,memoryfree,swapsize,swapfree
|
678
|
+
|
679
|
+
|
680
|
+
.SS environment
|
681
|
+
The environment Puppet is running in. For clients (e.g.,
|
682
|
+
.\" visit_literal
|
683
|
+
puppetd
|
684
|
+
.\" depart_literal
|
685
|
+
) this determines the environment itself, which is used to find modules and much more. For servers (i.e.,
|
686
|
+
.\" visit_literal
|
687
|
+
puppetmasterd
|
688
|
+
.\" depart_literal
|
689
|
+
) this provides the default environment for nodes we know nothing about.
|
690
|
+
|
691
|
+
|
692
|
+
.TP 2
|
693
|
+
\(bu
|
694
|
+
Default: production
|
695
|
+
|
696
|
+
|
697
|
+
.SS environments
|
698
|
+
The valid environments for Puppet clients. This is more useful as a server\-side setting than client, but any environment chosen must be in this list. Values should be separated by a comma.
|
699
|
+
|
700
|
+
|
701
|
+
.TP 2
|
702
|
+
\(bu
|
703
|
+
Default: production,development
|
704
|
+
|
705
|
+
|
706
|
+
.SS evaltrace
|
707
|
+
Whether each resource should log when it is being evaluated. This allows you to interactively see exactly what is being done.
|
708
|
+
|
709
|
+
|
710
|
+
.TP 2
|
711
|
+
\(bu
|
712
|
+
Default: false
|
713
|
+
|
714
|
+
|
715
|
+
.SS external_nodes
|
716
|
+
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
|
717
|
+
.\" visit_literal
|
718
|
+
classes
|
719
|
+
.\" depart_literal
|
720
|
+
and
|
721
|
+
.\" visit_literal
|
722
|
+
parameters
|
723
|
+
.\" depart_literal
|
724
|
+
, where
|
725
|
+
.\" visit_literal
|
726
|
+
classes
|
727
|
+
.\" depart_literal
|
728
|
+
is an array and
|
729
|
+
.\" visit_literal
|
730
|
+
parameters
|
731
|
+
.\" depart_literal
|
732
|
+
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.
|
733
|
+
|
734
|
+
|
735
|
+
.TP 2
|
736
|
+
\(bu
|
737
|
+
Default: none
|
738
|
+
|
739
|
+
|
740
|
+
.SS factdest
|
741
|
+
Where Puppet should store facts that it pulls down from the central server.
|
742
|
+
|
743
|
+
|
744
|
+
.TP 2
|
745
|
+
\(bu
|
746
|
+
Default: $vardir/facts
|
747
|
+
|
748
|
+
|
749
|
+
.SS factpath
|
750
|
+
Where Puppet should look for facts. Multiple directories should be colon\-separated, like normal PATH variables.
|
751
|
+
|
752
|
+
|
753
|
+
.TP 2
|
754
|
+
\(bu
|
755
|
+
Default: $vardir/facts
|
756
|
+
|
757
|
+
|
758
|
+
.SS factsignore
|
759
|
+
What files to ignore when pulling down facts.
|
760
|
+
|
761
|
+
|
762
|
+
.TP 2
|
763
|
+
\(bu
|
764
|
+
Default: .svn CVS
|
765
|
+
|
766
|
+
|
767
|
+
.SS factsource
|
768
|
+
From where to retrieve facts. The standard Puppet
|
769
|
+
.\" visit_literal
|
770
|
+
file
|
771
|
+
.\" depart_literal
|
772
|
+
type is used for retrieval, so anything that is a valid file source can be used here.
|
773
|
+
|
774
|
+
|
775
|
+
.TP 2
|
776
|
+
\(bu
|
777
|
+
Default: puppet://$server/facts
|
778
|
+
|
779
|
+
|
780
|
+
.SS factsync
|
781
|
+
Whether facts should be synced with the central server.
|
782
|
+
|
783
|
+
|
784
|
+
.TP 2
|
785
|
+
\(bu
|
786
|
+
Default: false
|
787
|
+
|
788
|
+
|
789
|
+
.SS fileserverconfig
|
790
|
+
Where the fileserver configuration is stored.
|
791
|
+
|
792
|
+
|
793
|
+
.TP 2
|
794
|
+
\(bu
|
795
|
+
Default: $confdir/fileserver.conf
|
796
|
+
|
797
|
+
|
798
|
+
.SS filetimeout
|
799
|
+
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.
|
800
|
+
|
801
|
+
|
802
|
+
.TP 2
|
803
|
+
\(bu
|
804
|
+
Default: 15
|
805
|
+
|
806
|
+
|
807
|
+
.SS genconfig
|
808
|
+
Whether to just print a configuration to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
|
809
|
+
|
810
|
+
|
811
|
+
.TP 2
|
812
|
+
\(bu
|
813
|
+
Default: false
|
814
|
+
|
815
|
+
|
816
|
+
.SS genmanifest
|
817
|
+
Whether to just print a manifest to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
|
818
|
+
|
819
|
+
|
820
|
+
.TP 2
|
821
|
+
\(bu
|
822
|
+
Default: false
|
823
|
+
|
824
|
+
|
825
|
+
.SS graph
|
826
|
+
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).
|
827
|
+
|
828
|
+
|
829
|
+
.TP 2
|
830
|
+
\(bu
|
831
|
+
Default: false
|
832
|
+
|
833
|
+
|
834
|
+
.SS graphdir
|
835
|
+
Where to store dot\-outputted graphs.
|
836
|
+
|
837
|
+
|
838
|
+
.TP 2
|
839
|
+
\(bu
|
840
|
+
Default: $statedir/graphs
|
841
|
+
|
842
|
+
|
843
|
+
.SS group
|
844
|
+
The group puppetmasterd should run as.
|
845
|
+
|
846
|
+
|
847
|
+
.TP 2
|
848
|
+
\(bu
|
849
|
+
Default: puppet
|
850
|
+
|
851
|
+
|
852
|
+
.SS hostcert
|
853
|
+
Where individual hosts store and look for their certificates.
|
854
|
+
|
855
|
+
|
856
|
+
.TP 2
|
857
|
+
\(bu
|
858
|
+
Default: $certdir/$certname.pem
|
859
|
+
|
860
|
+
|
861
|
+
.SS hostcsr
|
862
|
+
Where individual hosts store and look for their certificates.
|
863
|
+
|
864
|
+
|
865
|
+
.TP 2
|
866
|
+
\(bu
|
867
|
+
Default: $ssldir/csr_$certname.pem
|
868
|
+
|
869
|
+
|
870
|
+
.SS hostprivkey
|
871
|
+
Where individual hosts store and look for their private key.
|
872
|
+
|
873
|
+
|
874
|
+
.TP 2
|
875
|
+
\(bu
|
876
|
+
Default: $privatekeydir/$certname.pem
|
877
|
+
|
878
|
+
|
879
|
+
.SS hostpubkey
|
880
|
+
Where individual hosts store and look for their public key.
|
881
|
+
|
882
|
+
|
883
|
+
.TP 2
|
884
|
+
\(bu
|
885
|
+
Default: $publickeydir/$certname.pem
|
886
|
+
|
887
|
+
|
888
|
+
.SS http_enable_post_connection_check
|
889
|
+
Boolean; wheter or not puppetd should validate the server SSL certificate against the request hostname.
|
890
|
+
|
891
|
+
|
892
|
+
.TP 2
|
893
|
+
\(bu
|
894
|
+
Default: true
|
895
|
+
|
896
|
+
|
897
|
+
.SS http_proxy_host
|
898
|
+
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.
|
899
|
+
|
900
|
+
|
901
|
+
.TP 2
|
902
|
+
\(bu
|
903
|
+
Default: none
|
904
|
+
|
905
|
+
|
906
|
+
.SS http_proxy_port
|
907
|
+
The HTTP proxy port to use for outgoing connections
|
908
|
+
|
909
|
+
|
910
|
+
.TP 2
|
911
|
+
\(bu
|
912
|
+
Default: 3128
|
913
|
+
|
914
|
+
|
915
|
+
.SS httplog
|
916
|
+
Where the puppetd web server logs.
|
917
|
+
|
918
|
+
|
919
|
+
.TP 2
|
920
|
+
\(bu
|
921
|
+
Default: $logdir/http.log
|
922
|
+
|
923
|
+
|
924
|
+
.SS ignorecache
|
925
|
+
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.
|
926
|
+
|
927
|
+
|
928
|
+
.TP 2
|
929
|
+
\(bu
|
930
|
+
Default: false
|
931
|
+
|
932
|
+
|
933
|
+
.SS ignoreimport
|
934
|
+
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.
|
935
|
+
|
936
|
+
|
937
|
+
.TP 2
|
938
|
+
\(bu
|
939
|
+
Default: false
|
940
|
+
|
941
|
+
|
942
|
+
.SS ignoreschedules
|
943
|
+
Boolean; whether puppetd should ignore schedules. This is useful for initial puppetd runs.
|
944
|
+
|
945
|
+
|
946
|
+
.TP 2
|
947
|
+
\(bu
|
948
|
+
Default: false
|
949
|
+
|
950
|
+
|
951
|
+
.SS keylength
|
952
|
+
The bit length of keys.
|
953
|
+
|
954
|
+
|
955
|
+
.TP 2
|
956
|
+
\(bu
|
957
|
+
Default: 1024
|
958
|
+
|
959
|
+
|
960
|
+
.SS ldapattrs
|
961
|
+
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 \'all\' returns all attributes.
|
962
|
+
|
963
|
+
|
964
|
+
.TP 2
|
965
|
+
\(bu
|
966
|
+
Default: all
|
967
|
+
|
968
|
+
|
969
|
+
.SS ldapbase
|
970
|
+
The search base for LDAP searches. It\'s impossible to provide a meaningful default here, although the LDAP libraries might have one already set. Generally, it should be the \'ou=Hosts\' branch under your main directory.
|
971
|
+
|
972
|
+
|
973
|
+
.SS ldapclassattrs
|
974
|
+
The LDAP attributes to use to define Puppet classes. Values should be comma\-separated.
|
975
|
+
|
976
|
+
|
977
|
+
.TP 2
|
978
|
+
\(bu
|
979
|
+
Default: puppetclass
|
980
|
+
|
981
|
+
|
982
|
+
.SS ldapnodes
|
983
|
+
Whether to search for node configurations in LDAP. See http://reductivelabs.com/puppet/trac/wiki/LdapNodes/ for more information.
|
984
|
+
|
985
|
+
|
986
|
+
.TP 2
|
987
|
+
\(bu
|
988
|
+
Default: false
|
989
|
+
|
990
|
+
|
991
|
+
.SS ldapparentattr
|
992
|
+
The attribute to use to define the parent node.
|
993
|
+
|
994
|
+
|
995
|
+
.TP 2
|
996
|
+
\(bu
|
997
|
+
Default: parentnode
|
998
|
+
|
999
|
+
|
1000
|
+
.SS ldappassword
|
1001
|
+
The password to use to connect to LDAP.
|
1002
|
+
|
1003
|
+
|
1004
|
+
.SS ldapport
|
1005
|
+
The LDAP port. Only used if
|
1006
|
+
.\" visit_literal
|
1007
|
+
ldapnodes
|
1008
|
+
.\" depart_literal
|
1009
|
+
is enabled.
|
1010
|
+
|
1011
|
+
|
1012
|
+
.TP 2
|
1013
|
+
\(bu
|
1014
|
+
Default: 389
|
1015
|
+
|
1016
|
+
|
1017
|
+
.SS ldapserver
|
1018
|
+
The LDAP server. Only used if
|
1019
|
+
.\" visit_literal
|
1020
|
+
ldapnodes
|
1021
|
+
.\" depart_literal
|
1022
|
+
is enabled.
|
1023
|
+
|
1024
|
+
|
1025
|
+
.TP 2
|
1026
|
+
\(bu
|
1027
|
+
Default: ldap
|
1028
|
+
|
1029
|
+
|
1030
|
+
.SS ldapssl
|
1031
|
+
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.
|
1032
|
+
|
1033
|
+
|
1034
|
+
.TP 2
|
1035
|
+
\(bu
|
1036
|
+
Default: false
|
1037
|
+
|
1038
|
+
|
1039
|
+
.SS ldapstring
|
1040
|
+
The search string used to find an LDAP node.
|
1041
|
+
|
1042
|
+
|
1043
|
+
.TP 2
|
1044
|
+
\(bu
|
1045
|
+
Default: (&(objectclass=puppetClient)(cn=%s))
|
1046
|
+
|
1047
|
+
|
1048
|
+
.SS ldaptls
|
1049
|
+
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.
|
1050
|
+
|
1051
|
+
|
1052
|
+
.TP 2
|
1053
|
+
\(bu
|
1054
|
+
Default: false
|
1055
|
+
|
1056
|
+
|
1057
|
+
.SS ldapuser
|
1058
|
+
The user to use to connect to LDAP. Must be specified as a full DN.
|
1059
|
+
|
1060
|
+
|
1061
|
+
.SS lexical
|
1062
|
+
Whether to use lexical scoping (vs. dynamic).
|
1063
|
+
|
1064
|
+
|
1065
|
+
.TP 2
|
1066
|
+
\(bu
|
1067
|
+
Default: false
|
1068
|
+
|
1069
|
+
|
1070
|
+
.SS libdir
|
1071
|
+
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\'s search path
|
1072
|
+
|
1073
|
+
|
1074
|
+
.TP 2
|
1075
|
+
\(bu
|
1076
|
+
Default: $vardir/lib
|
1077
|
+
|
1078
|
+
|
1079
|
+
.SS listen
|
1080
|
+
Whether puppetd should listen for connections. If this is true, then by default only the
|
1081
|
+
.\" visit_literal
|
1082
|
+
runner
|
1083
|
+
.\" depart_literal
|
1084
|
+
server is started, which allows remote authorized and authenticated nodes to connect and trigger
|
1085
|
+
.\" visit_literal
|
1086
|
+
puppetd
|
1087
|
+
.\" depart_literal
|
1088
|
+
runs.
|
1089
|
+
|
1090
|
+
|
1091
|
+
.TP 2
|
1092
|
+
\(bu
|
1093
|
+
Default: false
|
1094
|
+
|
1095
|
+
|
1096
|
+
.SS localcacert
|
1097
|
+
Where each client stores the CA certificate.
|
1098
|
+
|
1099
|
+
|
1100
|
+
.TP 2
|
1101
|
+
\(bu
|
1102
|
+
Default: $certdir/ca.pem
|
1103
|
+
|
1104
|
+
|
1105
|
+
.SS localconfig
|
1106
|
+
Where puppetd caches the local configuration. An extension indicating the cache format is added automatically.
|
1107
|
+
|
1108
|
+
|
1109
|
+
.TP 2
|
1110
|
+
\(bu
|
1111
|
+
Default: $statedir/localconfig
|
1112
|
+
|
1113
|
+
|
1114
|
+
.SS logdir
|
1115
|
+
The Puppet log directory.
|
1116
|
+
|
1117
|
+
|
1118
|
+
.TP 2
|
1119
|
+
\(bu
|
1120
|
+
Default: $vardir/log
|
1121
|
+
|
1122
|
+
|
1123
|
+
.SS manifest
|
1124
|
+
The entry\-point manifest for puppetmasterd.
|
1125
|
+
|
1126
|
+
|
1127
|
+
.TP 2
|
1128
|
+
\(bu
|
1129
|
+
Default: $manifestdir/site.pp
|
1130
|
+
|
1131
|
+
|
1132
|
+
.SS manifestdir
|
1133
|
+
Where puppetmasterd looks for its manifests.
|
1134
|
+
|
1135
|
+
|
1136
|
+
.TP 2
|
1137
|
+
\(bu
|
1138
|
+
Default: $confdir/manifests
|
1139
|
+
|
1140
|
+
|
1141
|
+
.SS masterhttplog
|
1142
|
+
Where the puppetmasterd web server logs.
|
1143
|
+
|
1144
|
+
|
1145
|
+
.TP 2
|
1146
|
+
\(bu
|
1147
|
+
Default: $logdir/masterhttp.log
|
1148
|
+
|
1149
|
+
|
1150
|
+
.SS masterlog
|
1151
|
+
Where puppetmasterd logs. This is generally not used, since syslog is the default log destination.
|
1152
|
+
|
1153
|
+
|
1154
|
+
.TP 2
|
1155
|
+
\(bu
|
1156
|
+
Default: $logdir/puppetmaster.log
|
1157
|
+
|
1158
|
+
|
1159
|
+
.SS masterport
|
1160
|
+
Which port puppetmasterd listens on.
|
1161
|
+
|
1162
|
+
|
1163
|
+
.TP 2
|
1164
|
+
\(bu
|
1165
|
+
Default: 8140
|
1166
|
+
|
1167
|
+
|
1168
|
+
.SS maximum_uid
|
1169
|
+
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.
|
1170
|
+
|
1171
|
+
|
1172
|
+
.TP 2
|
1173
|
+
\(bu
|
1174
|
+
Default: 4294967290
|
1175
|
+
|
1176
|
+
|
1177
|
+
.SS mkusers
|
1178
|
+
Whether to create the necessary user and group that puppetd will run as.
|
1179
|
+
|
1180
|
+
|
1181
|
+
.TP 2
|
1182
|
+
\(bu
|
1183
|
+
Default: false
|
1184
|
+
|
1185
|
+
|
1186
|
+
.SS modulepath
|
1187
|
+
The search path for modules as a colon\-separated list of directories.
|
1188
|
+
|
1189
|
+
|
1190
|
+
.TP 2
|
1191
|
+
\(bu
|
1192
|
+
Default: $confdir/modules:/usr/share/puppet/modules
|
1193
|
+
|
1194
|
+
|
1195
|
+
.SS name
|
1196
|
+
The name of the service, if we are running as one. The default is essentially $0 without the path or
|
1197
|
+
.\" visit_literal
|
1198
|
+
.rb
|
1199
|
+
.\" depart_literal
|
1200
|
+
.
|
1201
|
+
|
1202
|
+
|
1203
|
+
.TP 2
|
1204
|
+
\(bu
|
1205
|
+
Default: puppetdoc
|
1206
|
+
|
1207
|
+
|
1208
|
+
.SS node_name
|
1209
|
+
How the puppetmaster determines the client\'s identity and sets the \'hostname\', \'fqdn\' and \'domain\' facts for use in the manifest, in particular for determining which \'node\' statement applies to the client. Possible values are \'cert\' (use the subject\'s CN in the client\'s certificate) and \'facter\' (use the hostname that the client reported in its facts)
|
1210
|
+
|
1211
|
+
|
1212
|
+
.TP 2
|
1213
|
+
\(bu
|
1214
|
+
Default: cert
|
1215
|
+
|
1216
|
+
|
1217
|
+
.SS node_terminus
|
1218
|
+
Where to find information about nodes.
|
1219
|
+
|
1220
|
+
|
1221
|
+
.TP 2
|
1222
|
+
\(bu
|
1223
|
+
Default: plain
|
1224
|
+
|
1225
|
+
|
1226
|
+
.SS noop
|
1227
|
+
Whether puppetd should be run in noop mode.
|
1228
|
+
|
1229
|
+
|
1230
|
+
.TP 2
|
1231
|
+
\(bu
|
1232
|
+
Default: false
|
1233
|
+
|
1234
|
+
|
1235
|
+
.SS paramcheck
|
1236
|
+
Whether to validate parameters during parsing.
|
1237
|
+
|
1238
|
+
|
1239
|
+
.TP 2
|
1240
|
+
\(bu
|
1241
|
+
Default: true
|
1242
|
+
|
1243
|
+
|
1244
|
+
.SS parseonly
|
1245
|
+
Just check the syntax of the manifests.
|
1246
|
+
|
1247
|
+
|
1248
|
+
.TP 2
|
1249
|
+
\(bu
|
1250
|
+
Default: false
|
1251
|
+
|
1252
|
+
|
1253
|
+
.SS passfile
|
1254
|
+
Where puppetd stores the password for its private key. Generally unused.
|
1255
|
+
|
1256
|
+
|
1257
|
+
.TP 2
|
1258
|
+
\(bu
|
1259
|
+
Default: $privatedir/password
|
1260
|
+
|
1261
|
+
|
1262
|
+
.SS path
|
1263
|
+
The shell search path. Defaults to whatever is inherited from the parent process.
|
1264
|
+
|
1265
|
+
|
1266
|
+
.TP 2
|
1267
|
+
\(bu
|
1268
|
+
Default: none
|
1269
|
+
|
1270
|
+
|
1271
|
+
.SS pidfile
|
1272
|
+
The pid file
|
1273
|
+
|
1274
|
+
|
1275
|
+
.SS plugindest
|
1276
|
+
Where Puppet should store plugins that it pulls down from the central server.
|
1277
|
+
|
1278
|
+
|
1279
|
+
.TP 2
|
1280
|
+
\(bu
|
1281
|
+
Default: $libdir
|
1282
|
+
|
1283
|
+
|
1284
|
+
.SS pluginpath
|
1285
|
+
Where Puppet should look for plugins. Multiple directories should be colon\-separated, like normal PATH variables. As of 0.23.1, this option is deprecated; download your custom libraries to the $libdir instead.
|
1286
|
+
|
1287
|
+
|
1288
|
+
.TP 2
|
1289
|
+
\(bu
|
1290
|
+
Default: $vardir/plugins
|
1291
|
+
|
1292
|
+
|
1293
|
+
.SS pluginsignore
|
1294
|
+
What files to ignore when pulling down plugins.
|
1295
|
+
|
1296
|
+
|
1297
|
+
.TP 2
|
1298
|
+
\(bu
|
1299
|
+
Default: .svn CVS
|
1300
|
+
|
1301
|
+
|
1302
|
+
.SS pluginsource
|
1303
|
+
From where to retrieve plugins. The standard Puppet
|
1304
|
+
.\" visit_literal
|
1305
|
+
file
|
1306
|
+
.\" depart_literal
|
1307
|
+
type is used for retrieval, so anything that is a valid file source can be used here.
|
1308
|
+
|
1309
|
+
|
1310
|
+
.TP 2
|
1311
|
+
\(bu
|
1312
|
+
Default: puppet://$server/plugins
|
1313
|
+
|
1314
|
+
|
1315
|
+
.SS pluginsync
|
1316
|
+
Whether plugins should be synced with the central server.
|
1317
|
+
|
1318
|
+
|
1319
|
+
.TP 2
|
1320
|
+
\(bu
|
1321
|
+
Default: false
|
1322
|
+
|
1323
|
+
|
1324
|
+
.SS privatedir
|
1325
|
+
Where the client stores private certificate information.
|
1326
|
+
|
1327
|
+
|
1328
|
+
.TP 2
|
1329
|
+
\(bu
|
1330
|
+
Default: $ssldir/private
|
1331
|
+
|
1332
|
+
|
1333
|
+
.SS privatekeydir
|
1334
|
+
The private key directory.
|
1335
|
+
|
1336
|
+
|
1337
|
+
.TP 2
|
1338
|
+
\(bu
|
1339
|
+
Default: $ssldir/private_keys
|
1340
|
+
|
1341
|
+
|
1342
|
+
.SS publickeydir
|
1343
|
+
The public key directory.
|
1344
|
+
|
1345
|
+
|
1346
|
+
.TP 2
|
1347
|
+
\(bu
|
1348
|
+
Default: $ssldir/public_keys
|
1349
|
+
|
1350
|
+
|
1351
|
+
.SS puppetdlockfile
|
1352
|
+
A lock file to temporarily stop puppetd from doing anything.
|
1353
|
+
|
1354
|
+
|
1355
|
+
.TP 2
|
1356
|
+
\(bu
|
1357
|
+
Default: $statedir/puppetdlock
|
1358
|
+
|
1359
|
+
|
1360
|
+
.SS puppetdlog
|
1361
|
+
The log file for puppetd. This is generally not used.
|
1362
|
+
|
1363
|
+
|
1364
|
+
.TP 2
|
1365
|
+
\(bu
|
1366
|
+
Default: $logdir/puppetd.log
|
1367
|
+
|
1368
|
+
|
1369
|
+
.SS puppetport
|
1370
|
+
Which port puppetd listens on.
|
1371
|
+
|
1372
|
+
|
1373
|
+
.TP 2
|
1374
|
+
\(bu
|
1375
|
+
Default: 8139
|
1376
|
+
|
1377
|
+
|
1378
|
+
.SS rails_loglevel
|
1379
|
+
The log level for Rails connections. The value must be a valid log level within Rails. Production environments normally use
|
1380
|
+
.\" visit_literal
|
1381
|
+
info
|
1382
|
+
.\" depart_literal
|
1383
|
+
and other environments normally use
|
1384
|
+
.\" visit_literal
|
1385
|
+
debug
|
1386
|
+
.\" depart_literal
|
1387
|
+
.
|
1388
|
+
|
1389
|
+
|
1390
|
+
.TP 2
|
1391
|
+
\(bu
|
1392
|
+
Default: info
|
1393
|
+
|
1394
|
+
|
1395
|
+
.SS railslog
|
1396
|
+
Where Rails\-specific logs are sent
|
1397
|
+
|
1398
|
+
|
1399
|
+
.TP 2
|
1400
|
+
\(bu
|
1401
|
+
Default: $logdir/rails.log
|
1402
|
+
|
1403
|
+
|
1404
|
+
.SS report
|
1405
|
+
Whether to send reports after every transaction.
|
1406
|
+
|
1407
|
+
|
1408
|
+
.TP 2
|
1409
|
+
\(bu
|
1410
|
+
Default: false
|
1411
|
+
|
1412
|
+
|
1413
|
+
.SS reportdir
|
1414
|
+
The directory in which to store reports received from the client. Each client gets a separate subdirectory.
|
1415
|
+
|
1416
|
+
|
1417
|
+
.TP 2
|
1418
|
+
\(bu
|
1419
|
+
Default: $vardir/reports
|
1420
|
+
|
1421
|
+
|
1422
|
+
.SS reportfrom
|
1423
|
+
The \'from\' email address for the reports.
|
1424
|
+
|
1425
|
+
|
1426
|
+
.TP 2
|
1427
|
+
\(bu
|
1428
|
+
Default: report@absinthe.lovedthanlost.net
|
1429
|
+
|
1430
|
+
|
1431
|
+
.SS reports
|
1432
|
+
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).
|
1433
|
+
|
1434
|
+
|
1435
|
+
.TP 2
|
1436
|
+
\(bu
|
1437
|
+
Default: store
|
1438
|
+
|
1439
|
+
|
1440
|
+
.SS reportserver
|
1441
|
+
The server to which to send transaction reports.
|
1442
|
+
|
1443
|
+
|
1444
|
+
.TP 2
|
1445
|
+
\(bu
|
1446
|
+
Default: $server
|
1447
|
+
|
1448
|
+
|
1449
|
+
.SS req_bits
|
1450
|
+
The bit length of the certificates.
|
1451
|
+
|
1452
|
+
|
1453
|
+
.TP 2
|
1454
|
+
\(bu
|
1455
|
+
Default: 2048
|
1456
|
+
|
1457
|
+
|
1458
|
+
.SS rrddir
|
1459
|
+
The directory where RRD database files are stored. Directories for each reporting host will be created under this directory.
|
1460
|
+
|
1461
|
+
|
1462
|
+
.TP 2
|
1463
|
+
\(bu
|
1464
|
+
Default: $vardir/rrd
|
1465
|
+
|
1466
|
+
|
1467
|
+
.SS rrdgraph
|
1468
|
+
Whether RRD information should be graphed.
|
1469
|
+
|
1470
|
+
|
1471
|
+
.TP 2
|
1472
|
+
\(bu
|
1473
|
+
Default: false
|
1474
|
+
|
1475
|
+
|
1476
|
+
.SS rrdinterval
|
1477
|
+
How often RRD should expect data. This should match how often the hosts report back to the server.
|
1478
|
+
|
1479
|
+
|
1480
|
+
.TP 2
|
1481
|
+
\(bu
|
1482
|
+
Default: $runinterval
|
1483
|
+
|
1484
|
+
|
1485
|
+
.SS rundir
|
1486
|
+
Where Puppet PID files are kept.
|
1487
|
+
|
1488
|
+
|
1489
|
+
.TP 2
|
1490
|
+
\(bu
|
1491
|
+
Default: $vardir/run
|
1492
|
+
|
1493
|
+
|
1494
|
+
.SS runinterval
|
1495
|
+
How often puppetd applies the client configuration; in seconds.
|
1496
|
+
|
1497
|
+
|
1498
|
+
.TP 2
|
1499
|
+
\(bu
|
1500
|
+
Default: 1800
|
1501
|
+
|
1502
|
+
|
1503
|
+
.SS sendmail
|
1504
|
+
Where to find the sendmail binary with which to send email.
|
1505
|
+
|
1506
|
+
|
1507
|
+
.SS serial
|
1508
|
+
Where the serial number for certificates is stored.
|
1509
|
+
|
1510
|
+
|
1511
|
+
.TP 2
|
1512
|
+
\(bu
|
1513
|
+
Default: $cadir/serial
|
1514
|
+
|
1515
|
+
|
1516
|
+
.SS server
|
1517
|
+
The server to which server puppetd should connect
|
1518
|
+
|
1519
|
+
|
1520
|
+
.TP 2
|
1521
|
+
\(bu
|
1522
|
+
Default: puppet
|
1523
|
+
|
1524
|
+
|
1525
|
+
.SS servertype
|
1526
|
+
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.
|
1527
|
+
|
1528
|
+
|
1529
|
+
.TP 2
|
1530
|
+
\(bu
|
1531
|
+
Default: webrick
|
1532
|
+
|
1533
|
+
|
1534
|
+
.SS show_diff
|
1535
|
+
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
|
1536
|
+
.\" visit_literal
|
1537
|
+
diff/lcs
|
1538
|
+
.\" depart_literal
|
1539
|
+
Ruby library.
|
1540
|
+
|
1541
|
+
|
1542
|
+
.TP 2
|
1543
|
+
\(bu
|
1544
|
+
Default: false
|
1545
|
+
|
1546
|
+
|
1547
|
+
.SS signeddir
|
1548
|
+
Where the CA stores signed certificates.
|
1549
|
+
|
1550
|
+
|
1551
|
+
.TP 2
|
1552
|
+
\(bu
|
1553
|
+
Default: $cadir/signed
|
1554
|
+
|
1555
|
+
|
1556
|
+
.SS smtpserver
|
1557
|
+
The server through which to send email reports.
|
1558
|
+
|
1559
|
+
|
1560
|
+
.TP 2
|
1561
|
+
\(bu
|
1562
|
+
Default: none
|
1563
|
+
|
1564
|
+
|
1565
|
+
.SS splay
|
1566
|
+
Whether to sleep for a pseudo\-random (but consistent) amount of time before a run.
|
1567
|
+
|
1568
|
+
|
1569
|
+
.TP 2
|
1570
|
+
\(bu
|
1571
|
+
Default: false
|
1572
|
+
|
1573
|
+
|
1574
|
+
.SS splaylimit
|
1575
|
+
The maximum time to delay before runs. Defaults to being the same as the run interval.
|
1576
|
+
|
1577
|
+
|
1578
|
+
.TP 2
|
1579
|
+
\(bu
|
1580
|
+
Default: $runinterval
|
1581
|
+
|
1582
|
+
|
1583
|
+
.SS ssl_client_header
|
1584
|
+
The header containing an authenticated client\'s SSL DN. Only used with Mongrel. This header must be set by the proxy to the authenticated client\'s SSL DN (e.g.,
|
1585
|
+
.\" visit_literal
|
1586
|
+
/CN=puppet.reductivelabs.com
|
1587
|
+
.\" depart_literal
|
1588
|
+
). See http://reductivelabs.com/puppet/trac/wiki/UsingMongrel for more information.
|
1589
|
+
|
1590
|
+
|
1591
|
+
.TP 2
|
1592
|
+
\(bu
|
1593
|
+
Default: HTTP_X_CLIENT_DN
|
1594
|
+
|
1595
|
+
|
1596
|
+
.SS ssl_client_verify_header
|
1597
|
+
The header containing the status message of the client verification. Only used with Mongrel. This header must be set by the proxy to \'SUCCESS\' if the client successfully authenticated, and anything else otherwise. See http://reductivelabs.com/puppet/trac/wiki/UsingMongrel for more information.
|
1598
|
+
|
1599
|
+
|
1600
|
+
.TP 2
|
1601
|
+
\(bu
|
1602
|
+
Default: HTTP_X_CLIENT_VERIFY
|
1603
|
+
|
1604
|
+
|
1605
|
+
.SS ssldir
|
1606
|
+
Where SSL certificates are kept.
|
1607
|
+
|
1608
|
+
|
1609
|
+
.TP 2
|
1610
|
+
\(bu
|
1611
|
+
Default: $confdir/ssl
|
1612
|
+
|
1613
|
+
|
1614
|
+
.SS statedir
|
1615
|
+
The directory where Puppet state is stored. Generally, this directory can be removed without causing harm (although it might result in spurious service restarts).
|
1616
|
+
|
1617
|
+
|
1618
|
+
.TP 2
|
1619
|
+
\(bu
|
1620
|
+
Default: $vardir/state
|
1621
|
+
|
1622
|
+
|
1623
|
+
.SS statefile
|
1624
|
+
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.
|
1625
|
+
|
1626
|
+
|
1627
|
+
.TP 2
|
1628
|
+
\(bu
|
1629
|
+
Default: $statedir/state.yaml
|
1630
|
+
|
1631
|
+
|
1632
|
+
.SS storeconfigs
|
1633
|
+
Whether to store each client\'s configuration. This requires ActiveRecord from Ruby on Rails.
|
1634
|
+
|
1635
|
+
|
1636
|
+
.TP 2
|
1637
|
+
\(bu
|
1638
|
+
Default: false
|
1639
|
+
|
1640
|
+
|
1641
|
+
.SS summarize
|
1642
|
+
Whether to print a transaction summary.
|
1643
|
+
|
1644
|
+
|
1645
|
+
.TP 2
|
1646
|
+
\(bu
|
1647
|
+
Default: false
|
1648
|
+
|
1649
|
+
|
1650
|
+
.SS syslogfacility
|
1651
|
+
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.
|
1652
|
+
|
1653
|
+
|
1654
|
+
.TP 2
|
1655
|
+
\(bu
|
1656
|
+
Default: daemon
|
1657
|
+
|
1658
|
+
|
1659
|
+
.SS tagmap
|
1660
|
+
The mapping between reporting tags and email addresses.
|
1661
|
+
|
1662
|
+
|
1663
|
+
.TP 2
|
1664
|
+
\(bu
|
1665
|
+
Default: $confdir/tagmail.conf
|
1666
|
+
|
1667
|
+
|
1668
|
+
.SS tags
|
1669
|
+
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.
|
1670
|
+
|
1671
|
+
|
1672
|
+
.SS templatedir
|
1673
|
+
Where Puppet looks for template files.
|
1674
|
+
|
1675
|
+
|
1676
|
+
.TP 2
|
1677
|
+
\(bu
|
1678
|
+
Default: $vardir/templates
|
1679
|
+
|
1680
|
+
|
1681
|
+
.SS trace
|
1682
|
+
Whether to print stack traces on some errors
|
1683
|
+
|
1684
|
+
|
1685
|
+
.TP 2
|
1686
|
+
\(bu
|
1687
|
+
Default: false
|
1688
|
+
|
1689
|
+
|
1690
|
+
.SS typecheck
|
1691
|
+
Whether to validate types during parsing.
|
1692
|
+
|
1693
|
+
|
1694
|
+
.TP 2
|
1695
|
+
\(bu
|
1696
|
+
Default: true
|
1697
|
+
|
1698
|
+
|
1699
|
+
.SS usecacheonfailure
|
1700
|
+
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.
|
1701
|
+
|
1702
|
+
|
1703
|
+
.TP 2
|
1704
|
+
\(bu
|
1705
|
+
Default: true
|
1706
|
+
|
1707
|
+
|
1708
|
+
.SS user
|
1709
|
+
The user puppetmasterd should run as.
|
1710
|
+
|
1711
|
+
|
1712
|
+
.TP 2
|
1713
|
+
\(bu
|
1714
|
+
Default: puppet
|
1715
|
+
|
1716
|
+
|
1717
|
+
.SS vardir
|
1718
|
+
Where Puppet stores dynamic and growing data. The default for this parameter is calculated specially, like confdir.
|
1719
|
+
|
1720
|
+
|
1721
|
+
.TP 2
|
1722
|
+
\(bu
|
1723
|
+
Default: /var/puppet
|
1724
|
+
|
1725
|
+
|
1726
|
+
.SS yamldir
|
1727
|
+
The directory in which YAML data is stored, usually in a subdirectory.
|
1728
|
+
|
1729
|
+
|
1730
|
+
.TP 2
|
1731
|
+
\(bu
|
1732
|
+
Default: $vardir/yaml
|
1733
|
+
|
1734
|
+
|
1735
|
+
.sp
|
1736
|
+
.ce
|
1737
|
+
----
|
1738
|
+
|
1739
|
+
.ce 0
|
1740
|
+
.sp
|
1741
|
+
|
1742
|
+
.I This page autogenerated on Mon May 05 09:33:01 +1000 2008
|
1743
|
+
|
1744
|
+
|
1745
|
+
|
1746
|
+
.\" Generated by docutils manpage writer on 2008-05-05 09:33.
|
1747
|
+
.\"
|