puppet 2.6.0 → 2.6.1

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.

Files changed (246) hide show
  1. data/CHANGELOG +123 -0
  2. data/conf/redhat/puppet.spec +8 -2
  3. data/conf/solaris/smf/svc-puppetd +1 -1
  4. data/conf/solaris/smf/svc-puppetmasterd +1 -1
  5. data/conf/suse/client.init +4 -4
  6. data/conf/suse/fileserver.conf +12 -0
  7. data/conf/suse/logrotate +10 -0
  8. data/conf/suse/puppet.conf +25 -0
  9. data/conf/suse/puppet.spec +114 -49
  10. data/conf/suse/ruby-env.patch +17 -0
  11. data/conf/suse/server.init +4 -4
  12. data/ext/logcheck/puppet +23 -23
  13. data/ext/puppet-load.rb +357 -0
  14. data/ext/puppetstoredconfigclean.rb +3 -3
  15. data/ext/rack/files/config.ru +3 -5
  16. data/ext/vim/syntax/puppet.vim +6 -5
  17. data/install.rb +12 -11
  18. data/lib/puppet.rb +1 -1
  19. data/lib/puppet/agent.rb +3 -1
  20. data/lib/puppet/application.rb +2 -3
  21. data/lib/puppet/application/agent.rb +4 -0
  22. data/lib/puppet/application/apply.rb +14 -6
  23. data/lib/puppet/application/describe.rb +1 -1
  24. data/lib/puppet/application/doc.rb +2 -36
  25. data/lib/puppet/application/master.rb +0 -3
  26. data/lib/puppet/application/queue.rb +1 -0
  27. data/lib/puppet/configurer.rb +4 -0
  28. data/lib/puppet/daemon.rb +1 -1
  29. data/lib/puppet/defaults.rb +38 -44
  30. data/lib/puppet/file_serving/indirection_hooks.rb +2 -2
  31. data/lib/puppet/indirector/facts/memory.rb +1 -1
  32. data/lib/puppet/indirector/node/exec.rb +1 -1
  33. data/lib/puppet/indirector/node/ldap.rb +9 -53
  34. data/lib/puppet/indirector/node/memory.rb +1 -1
  35. data/lib/puppet/indirector/yaml.rb +6 -9
  36. data/lib/puppet/network/format_handler.rb +6 -0
  37. data/lib/puppet/network/formats.rb +4 -4
  38. data/lib/puppet/network/http/handler.rb +1 -1
  39. data/lib/puppet/network/http/rack.rb +3 -0
  40. data/lib/puppet/network/http/rack/rest.rb +1 -1
  41. data/lib/puppet/network/rest_authconfig.rb +6 -3
  42. data/lib/puppet/node/environment.rb +15 -5
  43. data/lib/puppet/parameter/value_collection.rb +3 -3
  44. data/lib/puppet/parser/ast/function.rb +0 -1
  45. data/lib/puppet/parser/ast/leaf.rb +1 -1
  46. data/lib/puppet/parser/ast/resource.rb +4 -3
  47. data/lib/puppet/parser/ast/resource_reference.rb +9 -2
  48. data/lib/puppet/parser/compiler.rb +12 -14
  49. data/lib/puppet/parser/files.rb +1 -1
  50. data/lib/puppet/parser/functions.rb +2 -2
  51. data/lib/puppet/parser/functions/defined.rb +1 -1
  52. data/lib/puppet/parser/functions/extlookup.rb +157 -0
  53. data/lib/puppet/parser/functions/file.rb +1 -1
  54. data/lib/puppet/parser/functions/inline_template.rb +6 -5
  55. data/lib/puppet/parser/functions/md5.rb +5 -0
  56. data/lib/puppet/parser/functions/realize.rb +1 -1
  57. data/lib/puppet/parser/functions/regsubst.rb +19 -19
  58. data/lib/puppet/parser/functions/require.rb +2 -3
  59. data/lib/puppet/parser/functions/split.rb +1 -1
  60. data/lib/puppet/parser/functions/sprintf.rb +1 -1
  61. data/lib/puppet/parser/functions/template.rb +4 -2
  62. data/lib/puppet/parser/functions/versioncmp.rb +12 -12
  63. data/lib/puppet/parser/lexer.rb +13 -14
  64. data/lib/puppet/parser/resource.rb +2 -7
  65. data/lib/puppet/parser/resource/param.rb +1 -1
  66. data/lib/puppet/parser/scope.rb +35 -0
  67. data/lib/puppet/parser/type_loader.rb +1 -1
  68. data/lib/puppet/property.rb +5 -5
  69. data/lib/puppet/provider.rb +3 -3
  70. data/lib/puppet/provider/group/groupadd.rb +1 -1
  71. data/lib/puppet/provider/group/ldap.rb +3 -3
  72. data/lib/puppet/provider/group/pw.rb +1 -1
  73. data/lib/puppet/provider/package/apple.rb +1 -1
  74. data/lib/puppet/provider/package/apt.rb +5 -1
  75. data/lib/puppet/provider/package/aptitude.rb +1 -1
  76. data/lib/puppet/provider/package/aptrpm.rb +1 -1
  77. data/lib/puppet/provider/package/blastwave.rb +1 -1
  78. data/lib/puppet/provider/package/dpkg.rb +2 -2
  79. data/lib/puppet/provider/package/fink.rb +1 -1
  80. data/lib/puppet/provider/package/gem.rb +1 -1
  81. data/lib/puppet/provider/package/openbsd.rb +1 -1
  82. data/lib/puppet/provider/package/rpm.rb +1 -1
  83. data/lib/puppet/provider/package/rug.rb +1 -1
  84. data/lib/puppet/provider/package/sunfreeware.rb +2 -2
  85. data/lib/puppet/provider/package/up2date.rb +1 -1
  86. data/lib/puppet/provider/package/urpmi.rb +1 -1
  87. data/lib/puppet/provider/package/yum.rb +1 -1
  88. data/lib/puppet/provider/package/zypper.rb +1 -1
  89. data/lib/puppet/provider/service/base.rb +1 -1
  90. data/lib/puppet/provider/service/bsd.rb +2 -2
  91. data/lib/puppet/provider/service/debian.rb +2 -2
  92. data/lib/puppet/provider/service/gentoo.rb +2 -2
  93. data/lib/puppet/provider/service/init.rb +2 -2
  94. data/lib/puppet/provider/service/redhat.rb +2 -2
  95. data/lib/puppet/provider/user/ldap.rb +3 -3
  96. data/lib/puppet/provider/user/pw.rb +1 -1
  97. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  98. data/lib/puppet/provider/user/useradd.rb +1 -1
  99. data/lib/puppet/rails/host.rb +1 -0
  100. data/lib/puppet/reference/configuration.rb +37 -34
  101. data/lib/puppet/reference/indirection.rb +3 -4
  102. data/lib/puppet/reference/metaparameter.rb +0 -8
  103. data/lib/puppet/reference/network.rb +6 -4
  104. data/lib/puppet/reference/providers.rb +4 -4
  105. data/lib/puppet/reference/report.rb +5 -6
  106. data/lib/puppet/reference/type.rb +14 -14
  107. data/lib/puppet/reports/http.rb +1 -1
  108. data/lib/puppet/reports/rrdgraph.rb +8 -9
  109. data/lib/puppet/reports/store.rb +2 -2
  110. data/lib/puppet/reports/tagmail.rb +12 -13
  111. data/lib/puppet/resource.rb +15 -115
  112. data/lib/puppet/resource/catalog.rb +1 -1
  113. data/lib/puppet/resource/type.rb +26 -3
  114. data/lib/puppet/resource/type_collection.rb +3 -6
  115. data/lib/puppet/simple_graph.rb +4 -5
  116. data/lib/puppet/transaction/resource_harness.rb +1 -1
  117. data/lib/puppet/type.rb +100 -92
  118. data/lib/puppet/type/augeas.rb +44 -45
  119. data/lib/puppet/type/computer.rb +2 -2
  120. data/lib/puppet/type/cron.rb +29 -29
  121. data/lib/puppet/type/exec.rb +66 -67
  122. data/lib/puppet/type/file.rb +25 -25
  123. data/lib/puppet/type/file/content.rb +7 -1
  124. data/lib/puppet/type/file/ensure.rb +13 -13
  125. data/lib/puppet/type/file/mode.rb +6 -6
  126. data/lib/puppet/type/file/selcontext.rb +5 -5
  127. data/lib/puppet/type/file/source.rb +36 -26
  128. data/lib/puppet/type/filebucket.rb +5 -6
  129. data/lib/puppet/type/group.rb +1 -2
  130. data/lib/puppet/type/host.rb +3 -6
  131. data/lib/puppet/type/k5login.rb +3 -3
  132. data/lib/puppet/type/macauthorization.rb +1 -2
  133. data/lib/puppet/type/mailalias.rb +0 -1
  134. data/lib/puppet/type/maillist.rb +0 -1
  135. data/lib/puppet/type/mcx.rb +9 -9
  136. data/lib/puppet/type/mount.rb +9 -10
  137. data/lib/puppet/type/notify.rb +0 -1
  138. data/lib/puppet/type/package.rb +34 -36
  139. data/lib/puppet/type/resources.rb +1 -5
  140. data/lib/puppet/type/schedule.rb +9 -12
  141. data/lib/puppet/type/selboolean.rb +2 -7
  142. data/lib/puppet/type/selmodule.rb +3 -4
  143. data/lib/puppet/type/service.rb +9 -9
  144. data/lib/puppet/type/ssh_authorized_key.rb +2 -3
  145. data/lib/puppet/type/sshkey.rb +4 -7
  146. data/lib/puppet/type/stage.rb +5 -4
  147. data/lib/puppet/type/tidy.rb +3 -3
  148. data/lib/puppet/type/user.rb +1 -2
  149. data/lib/puppet/type/whit.rb +7 -0
  150. data/lib/puppet/type/yumrepo.rb +16 -3
  151. data/lib/puppet/type/zfs.rb +1 -2
  152. data/lib/puppet/type/zone.rb +28 -28
  153. data/lib/puppet/type/zpool.rb +10 -5
  154. data/lib/puppet/util/autoload.rb +17 -5
  155. data/lib/puppet/util/cacher.rb +15 -10
  156. data/lib/puppet/util/command_line/puppetdoc +5 -5
  157. data/lib/puppet/util/command_line/puppetrun +0 -2
  158. data/lib/puppet/util/command_line/ralsh +13 -13
  159. data/lib/puppet/util/docs.rb +5 -12
  160. data/lib/puppet/util/monkey_patches.rb +5 -2
  161. data/lib/puppet/util/nagios_maker.rb +4 -5
  162. data/lib/puppet/util/provider_features.rb +2 -2
  163. data/lib/puppet/util/rdoc.rb +1 -1
  164. data/lib/puppet/util/rdoc/parser.rb +5 -3
  165. data/lib/puppet/util/reference.rb +3 -52
  166. data/man/man5/puppet.conf.5 +2072 -1526
  167. data/man/man8/filebucket.8 +104 -106
  168. data/man/man8/pi.8 +14 -47
  169. data/man/man8/puppet.8 +8 -9
  170. data/man/man8/puppetca.8 +168 -129
  171. data/man/man8/puppetd.8 +282 -226
  172. data/man/man8/puppetdoc.8 +103 -103
  173. data/man/man8/puppetmasterd.8 +51 -71
  174. data/man/man8/puppetqd.8 +18 -53
  175. data/man/man8/puppetrun.8 +163 -143
  176. data/man/man8/ralsh.8 +77 -114
  177. data/spec/integration/indirector/bucket_file/rest_spec.rb +1 -0
  178. data/spec/integration/indirector/certificate/rest_spec.rb +1 -0
  179. data/spec/integration/indirector/certificate_request/rest_spec.rb +1 -0
  180. data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +1 -0
  181. data/spec/integration/indirector/report/rest_spec.rb +1 -0
  182. data/spec/integration/indirector/rest_spec.rb +1 -0
  183. data/spec/integration/network/server/webrick_spec.rb +1 -0
  184. data/spec/integration/parser/compiler_spec.rb +43 -0
  185. data/spec/integration/provider/mailalias/aliases_spec.rb +5 -5
  186. data/spec/integration/ssl/certificate_authority_spec.rb +1 -0
  187. data/spec/integration/ssl/certificate_request_spec.rb +1 -0
  188. data/spec/integration/ssl/certificate_revocation_list_spec.rb +1 -0
  189. data/spec/integration/ssl/host_spec.rb +1 -0
  190. data/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb +0 -1
  191. data/spec/monkey_patches/publicize_methods.rb +11 -0
  192. data/spec/shared_behaviours/file_serving.rb +12 -1
  193. data/spec/spec_helper.rb +6 -25
  194. data/spec/unit/application/apply_spec.rb +22 -4
  195. data/spec/unit/application/cert_spec.rb +1 -1
  196. data/spec/unit/application/doc_spec.rb +0 -19
  197. data/spec/unit/application/master_spec.rb +1 -1
  198. data/spec/unit/application_spec.rb +2 -12
  199. data/spec/unit/indirector/node/ldap_spec.rb +19 -21
  200. data/spec/unit/indirector/yaml_spec.rb +18 -6
  201. data/spec/unit/network/http/rack/rest_spec.rb +3 -3
  202. data/spec/unit/network/http/webrick/rest_spec.rb +1 -0
  203. data/spec/unit/node/environment_spec.rb +32 -3
  204. data/spec/unit/node/facts_spec.rb +13 -2
  205. data/spec/unit/parameter/value_collection_spec.rb +2 -2
  206. data/spec/unit/parser/ast/leaf_spec.rb +4 -0
  207. data/spec/unit/parser/ast/resource_reference_spec.rb +0 -5
  208. data/spec/unit/parser/ast/resource_spec.rb +7 -0
  209. data/spec/unit/parser/compiler_spec.rb +12 -1
  210. data/spec/unit/parser/files_spec.rb +3 -3
  211. data/spec/unit/parser/functions/extlookup_spec.rb +95 -0
  212. data/spec/unit/parser/functions/include_spec.rb +33 -0
  213. data/spec/unit/parser/functions/require_spec.rb +1 -1
  214. data/spec/unit/parser/functions/tag_spec.rb +1 -0
  215. data/spec/unit/parser/lexer_spec.rb +10 -1
  216. data/spec/unit/parser/resource_spec.rb +3 -9
  217. data/spec/unit/parser/type_loader_spec.rb +1 -1
  218. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +4 -2
  219. data/spec/unit/rails/resource_spec.rb +1 -1
  220. data/spec/unit/reports/tagmail_spec.rb +2 -2
  221. data/spec/unit/resource/catalog_spec.rb +1 -1
  222. data/spec/unit/resource/type_collection_spec.rb +35 -0
  223. data/spec/unit/resource/type_spec.rb +19 -1
  224. data/spec/unit/resource_spec.rb +0 -36
  225. data/spec/unit/simple_graph_spec.rb +12 -2
  226. data/spec/unit/transaction/resource_harness_spec.rb +1 -1
  227. data/spec/unit/type/file/content_spec.rb +2 -1
  228. data/spec/unit/type/schedule_spec.rb +1 -1
  229. data/spec/unit/type/service_spec.rb +8 -0
  230. data/spec/unit/type/user_spec.rb +5 -0
  231. data/spec/unit/util/backups_spec.rb +0 -1
  232. data/spec/unit/util/rdoc/parser_spec.rb +3 -3
  233. data/spec/unit/util/rdoc_spec.rb +13 -0
  234. data/test/certmgr/support.rb +2 -1
  235. data/test/language/parser.rb +6 -6
  236. data/test/lib/puppettest.rb +3 -23
  237. data/test/lib/puppettest/fakes.rb +1 -1
  238. data/test/lib/puppettest/support/assertions.rb +0 -2
  239. data/test/lib/puppettest/support/utils.rb +25 -20
  240. data/test/ral/manager/attributes.rb +4 -1
  241. metadata +15 -9
  242. data/conf/suse/puppet.suse.patch +0 -16
  243. data/ext/extlookup.rb +0 -181
  244. data/ext/puppetlast +0 -16
  245. data/tasks/rake/tracdocs.rake +0 -8
  246. data/test/lib/mocha_standalone.rb +0 -2
@@ -131,11 +131,23 @@ class Puppet::Util::Autoload
131
131
  # We have to require this late in the process because otherwise we might have
132
132
  # load order issues.
133
133
  require 'puppet/node/environment'
134
- Puppet::Node::Environment.new(env).modulepath.collect do |dir|
135
- Dir.entries(dir).reject { |f| f =~ /^\./ }.collect { |f| File.join(dir, f) }
136
- end.flatten.collect { |d| [File.join(d, "plugins"), File.join(d, "lib")] }.flatten.find_all do |d|
137
- FileTest.directory?(d)
138
- end
134
+
135
+ real_env = Puppet::Node::Environment.new(env)
136
+
137
+ # We're using a per-thread cache of said module directories, so that
138
+ # we don't scan the filesystem each time we try to load something with
139
+ # this autoload instance. But since we don't want to cache for the eternity
140
+ # this env_module_directories gets reset after the compilation on the master.
141
+ # This is also reset after an agent ran.
142
+ # One of the side effect of this change is that this module directories list will be
143
+ # shared among all autoload that we have running at a time. But that won't be an issue
144
+ # as by definition those directories are shared by all autoload.
145
+ Thread.current[:env_module_directories] ||= {}
146
+ Thread.current[:env_module_directories][real_env] ||= real_env.modulepath.collect do |dir|
147
+ Dir.entries(dir).reject { |f| f =~ /^\./ }.collect { |f| File.join(dir, f) }
148
+ end.flatten.collect { |d| [File.join(d, "plugins"), File.join(d, "lib")] }.flatten.find_all do |d|
149
+ FileTest.directory?(d)
150
+ end
139
151
  end
140
152
 
141
153
  def search_directories(env=nil)
@@ -1,3 +1,5 @@
1
+ require 'monitor'
2
+
1
3
  module Puppet::Util::Cacher
2
4
  module Expirer
3
5
  attr_reader :timestamp
@@ -49,7 +51,7 @@ module Puppet::Util::Cacher
49
51
  define_method(name.to_s + "=") do |value|
50
52
  # Make sure the cache timestamp is set
51
53
  cache_timestamp
52
- value_cache[name] = value
54
+ value_cache.synchronize { value_cache[name] = value }
53
55
  end
54
56
 
55
57
  if ttl = options[:ttl]
@@ -70,6 +72,7 @@ module Puppet::Util::Cacher
70
72
 
71
73
  # Methods that get added to instances.
72
74
  module InstanceMethods
75
+
73
76
  def expire
74
77
  # Only expire if we have an expirer. This is
75
78
  # mostly so that we can comfortably handle cases
@@ -92,15 +95,17 @@ module Puppet::Util::Cacher
92
95
  end
93
96
 
94
97
  def cached_value(name)
95
- # Allow a nil expirer, in which case we regenerate the value every time.
96
- if expired_by_expirer?(name)
97
- value_cache.clear
98
- @cache_timestamp = Time.now
99
- elsif expired_by_ttl?(name)
100
- value_cache.delete(name)
98
+ value_cache.synchronize do
99
+ # Allow a nil expirer, in which case we regenerate the value every time.
100
+ if expired_by_expirer?(name)
101
+ value_cache.clear
102
+ @cache_timestamp = Time.now
103
+ elsif expired_by_ttl?(name)
104
+ value_cache.delete(name)
105
+ end
106
+ value_cache[name] = send("init_#{name}") unless value_cache.include?(name)
107
+ value_cache[name]
101
108
  end
102
- value_cache[name] = send("init_#{name}") unless value_cache.include?(name)
103
- value_cache[name]
104
109
  end
105
110
 
106
111
  def expired_by_expirer?(name)
@@ -121,7 +126,7 @@ module Puppet::Util::Cacher
121
126
  end
122
127
 
123
128
  def value_cache
124
- @value_cache ||= {}
129
+ @value_cache ||= {}.extend(MonitorMixin)
125
130
  end
126
131
  end
127
132
  end
@@ -8,15 +8,15 @@
8
8
  #
9
9
  # = Usage
10
10
  #
11
- # puppet doc [-a|--all] [-h|--help] [-o|--outputdir <rdoc outputdir>] [-m|--mode <text|pdf|markdown|trac|rdoc>]
11
+ # puppet doc [-a|--all] [-h|--help] [-o|--outputdir <rdoc outputdir>] [-m|--mode <text|pdf|rdoc>]
12
12
  # [-r|--reference <[type]|configuration|..>] [--charset CHARSET] [manifest-file]
13
13
  #
14
14
  # = Description
15
15
  #
16
- # If mode is not 'rdoc', then this command generates a restructured-text document describing all installed
16
+ # If mode is not 'rdoc', then this command generates a Markdown document describing all installed
17
17
  # Puppet types or all allowable arguments to puppet executables. It is largely
18
18
  # meant for internal use and is used to generate the reference document
19
- # available on the Reductive Labs web site.
19
+ # available on the Puppet Labs web site.
20
20
  #
21
21
  # In 'rdoc' mode, this command generates an html RDoc hierarchy describing the manifests that
22
22
  # are in 'manifestdir' and 'modulepath' configuration directives.
@@ -37,7 +37,7 @@
37
37
  # Specifies the directory where to output the rdoc documentation in 'rdoc' mode.
38
38
  #
39
39
  # mode::
40
- # Determine the output mode. Valid modes are 'text', 'trac', 'pdf', 'markdown' and 'rdoc'. The 'pdf' and 'markdown' modes create PDF or Markdown formatted files in the /tmp directory. Note that 'trac' mode only works on Reductive Labs servers. The default mode is 'text'. In 'rdoc' mode you must provide 'manifests-path'
40
+ # Determine the output mode. Valid modes are 'text', 'trac', 'pdf' and 'rdoc'. The 'pdf' mode creates PDF formatted files in the /tmp directory. The default mode is 'text'. In 'rdoc' mode you must provide 'manifests-path'
41
41
  #
42
42
  # reference::
43
43
  # Build a particular reference. Get a list of references by running +puppet doc --list+.
@@ -53,7 +53,7 @@
53
53
  # or
54
54
  # $ puppet doc /etc/puppet/manifests/site.pp
55
55
  # or
56
- # $ puppet doc -m markdown -r configuration
56
+ # $ puppet doc -m pdf -r configuration
57
57
  #
58
58
  # = Author
59
59
  #
@@ -54,8 +54,6 @@
54
54
  # This is what you would install on your Puppet master; non-master hosts could
55
55
  # leave off the 'fileserver' and 'puppetmaster' namespaces.
56
56
  #
57
- # Expect more documentation on this eventually.
58
- #
59
57
  # = Options
60
58
  #
61
59
  # Note that any configuration parameter that's valid in the configuration file
@@ -59,23 +59,23 @@
59
59
  # types:
60
60
  # List all available types.
61
61
  #
62
- # verbose::
62
+ # verbose:
63
63
  # Print extra information.
64
64
  #
65
65
  # = Example
66
66
  #
67
- # This example uses ``puppet resource`` to return Puppet configuration for the user ``luke``::
68
- #
69
- # $ puppet resource user luke
70
- # user { 'luke':
71
- # home => '/home/luke',
72
- # uid => '100',
73
- # ensure => 'present',
74
- # comment => 'Luke Kanies,,,',
75
- # gid => '1000',
76
- # shell => '/bin/bash',
77
- # groups => ['sysadmin','audio','video','puppet']
78
- # }
67
+ # This example uses `puppet resource` to return Puppet configuration for the user `luke`:
68
+ #
69
+ # $ puppet resource user luke
70
+ # user { 'luke':
71
+ # home => '/home/luke',
72
+ # uid => '100',
73
+ # ensure => 'present',
74
+ # comment => 'Luke Kanies,,,',
75
+ # gid => '1000',
76
+ # shell => '/bin/bash',
77
+ # groups => ['sysadmin','audio','video','puppet']
78
+ # }
79
79
  #
80
80
  # = Author
81
81
  #
@@ -47,25 +47,19 @@ module Puppet::Util::Docs
47
47
  lengths[i] = value.to_s.length if value.to_s.length > lengths[i]
48
48
  end
49
49
 
50
- # Add the top header row
51
- str += lengths.collect { |num| "=" * num }.join(" ") + "\n"
50
+ # Add the header names
51
+ str += headers.zip(lengths).collect { |value, num| pad(value, num) }.join(" | ") + " |" + "\n"
52
52
 
53
- # And the header names
54
- str += headers.zip(lengths).collect { |value, num| pad(value, num) }.join(" ") + "\n"
55
-
56
- # And the second header row
57
- str += lengths.collect { |num| "=" * num }.join(" ") + "\n"
53
+ # And the header row
54
+ str += lengths.collect { |num| "-" * num }.join(" | ") + " |" + "\n"
58
55
 
59
56
  # Now each data row
60
57
  data.sort { |a, b| a[0].to_s <=> b[0].to_s }.each do |name, rows|
61
58
  str += [name, rows].flatten.zip(lengths).collect do |value, length|
62
59
  pad(value, length)
63
- end.join(" ") + "\n"
60
+ end.join(" | ") + " |" + "\n"
64
61
  end
65
62
 
66
- # And the bottom line row
67
- str += lengths.collect { |num| "=" * num }.join(" ") + "\n"
68
-
69
63
  str + "\n"
70
64
  end
71
65
 
@@ -111,4 +105,3 @@ module Puppet::Util::Docs
111
105
 
112
106
  module_function :scrub
113
107
  end
114
-
@@ -1,4 +1,7 @@
1
- Process.maxgroups = 1024
1
+
2
+ unless defined? JRUBY_VERSION
3
+ Process.maxgroups = 1024
4
+ end
2
5
 
3
6
  module RDoc
4
7
  def self.caller(skip=nil)
@@ -22,7 +25,7 @@ end
22
25
 
23
26
  [Object, Exception, Integer, Struct, Date, Time, Range, Regexp, Hash, Array, Float, String, FalseClass, TrueClass, Symbol, NilClass, Class].each { |cls|
24
27
  cls.class_eval do
25
- def to_yaml
28
+ def to_yaml(ignored=nil)
26
29
  ZAML.dump(self)
27
30
  end
28
31
  end
@@ -45,17 +45,16 @@ module Puppet::Util::NagiosMaker
45
45
  provider.nagios_type
46
46
 
47
47
  type.desc "The Nagios type #{name.to_s}. This resource type is autogenerated using the
48
- model developed in Naginator_, and all of the Nagios types are generated using the
48
+ model developed in Naginator, and all of the Nagios types are generated using the
49
49
  same code and the same library.
50
50
 
51
51
  This type generates Nagios configuration statements in Nagios-parseable configuration
52
- files. By default, the statements will be added to ``#{target}``, but
53
- you can send them to a different file by setting their ``target`` attribute.
52
+ files. By default, the statements will be added to `#{target}`, but
53
+ you can send them to a different file by setting their `target` attribute.
54
54
 
55
- You can purge Nagios resources using the ``resources`` type, but *only*
55
+ You can purge Nagios resources using the `resources` type, but *only*
56
56
  in the default file locations. This is an architectural limitation.
57
57
 
58
- .. _naginator: http://projects.reductivelabs.com/projects/naginator
59
58
  "
60
59
  end
61
60
  end
@@ -72,7 +72,7 @@ module Puppet::Util::ProviderFeatures
72
72
  names = @features.keys.sort { |a,b| a.to_s <=> b.to_s }
73
73
  names.each do |name|
74
74
  doc = @features[name].docs.gsub(/\n\s+/, " ")
75
- str += "- **#{name}**: #{doc}\n"
75
+ str += "- *#{name}*: #{doc}\n"
76
76
  end
77
77
 
78
78
  if providers.length > 0
@@ -83,7 +83,7 @@ module Puppet::Util::ProviderFeatures
83
83
  prov = provider(provname)
84
84
  names.each do |name|
85
85
  if prov.feature?(name)
86
- data[provname] << "**X**"
86
+ data[provname] << "*X*"
87
87
  else
88
88
  data[provname] << ""
89
89
  end
@@ -41,7 +41,7 @@ module Puppet::Util::RDoc
41
41
  def manifestdoc(files)
42
42
  Puppet[:ignoreimport] = true
43
43
  files.select { |f| FileTest.file?(f) }.each do |f|
44
- parser = Puppet::Parser::Parser.new(:environment => Puppet[:environment])
44
+ parser = Puppet::Parser::Parser.new(Puppet::Node::Environment.new(Puppet[:environment]))
45
45
  parser.file = f
46
46
  ast = parser.parse
47
47
  output(f, ast)
@@ -15,6 +15,8 @@ module RDoc
15
15
  class Parser
16
16
  extend ParserFactory
17
17
 
18
+ SITE = "__site__"
19
+
18
20
  attr_accessor :ast, :input_file_name, :top_level
19
21
 
20
22
  # parser registration into RDoc
@@ -74,7 +76,7 @@ class Parser
74
76
 
75
77
  # split_module tries to find if +path+ belongs to the module path
76
78
  # if it does, it returns the module name, otherwise if we are sure
77
- # it is part of the global manifest path, "<site>" is returned.
79
+ # it is part of the global manifest path, "__site__" is returned.
78
80
  # And finally if this path couldn't be mapped anywhere, nil is returned.
79
81
  def split_module(path)
80
82
  # find a module
@@ -105,7 +107,7 @@ class Parser
105
107
  end
106
108
  # we are under a global manifests
107
109
  Puppet.debug "rdoc: global manifests"
108
- "<site>"
110
+ SITE
109
111
  end
110
112
 
111
113
  # create documentation for the top level +container+
@@ -128,7 +130,7 @@ class Parser
128
130
  Puppet.debug "rdoc: scanning for #{name}"
129
131
 
130
132
  container.module_name = name
131
- container.global=true if name == "<site>"
133
+ container.global=true if name == SITE
132
134
 
133
135
  @stats.num_modules += 1
134
136
  container, name = get_class_or_module(container,name)
@@ -15,7 +15,7 @@ class Puppet::Util::Reference
15
15
  end
16
16
 
17
17
  def self.modes
18
- %w{pdf trac text markdown}
18
+ %w{pdf text}
19
19
  end
20
20
 
21
21
  def self.newreference(name, options = {}, &block)
@@ -32,7 +32,7 @@ class Puppet::Util::Reference
32
32
  section = reference(name) or raise "Could not find section #{name}"
33
33
  depth = section.depth if section.depth < depth
34
34
  end
35
- text = ".. contents:: :depth: 2\n\n"
35
+ text = "{:toc}\n\n"
36
36
  end
37
37
 
38
38
  def self.pdf(text)
@@ -67,32 +67,6 @@ class Puppet::Util::Reference
67
67
 
68
68
  end
69
69
 
70
- def self.markdown(name, text)
71
- puts "Creating markdown for #{name} reference."
72
- dir = "/tmp/#{Puppet::PUPPETVERSION}"
73
- FileUtils.mkdir(dir) unless File.directory?(dir)
74
- Puppet::Util.secure_open(dir + "/#{name}.rst", "w") do |f|
75
- f.puts text
76
- end
77
- pandoc = %x{which pandoc}
78
- if $CHILD_STATUS != 0 or pandoc =~ /no /
79
- pandoc = %x{which pandoc}
80
- end
81
- if $CHILD_STATUS != 0 or pandoc =~ /no /
82
- raise "Could not find pandoc"
83
- end
84
- pandoc.chomp!
85
- cmd = %{#{pandoc} -s -r rst -w markdown #{dir}/#{name}.rst -o #{dir}/#{name}.mdwn}
86
- output = %x{#{cmd}}
87
- unless $CHILD_STATUS == 0
88
- $stderr.puts "Pandoc failed to create #{name} reference."
89
- $stderr.puts output
90
- exit(1)
91
- end
92
-
93
- File.unlink(dir + "/#{name}.rst")
94
- end
95
-
96
70
  def self.references
97
71
  instance_loader(:reference).loadall
98
72
  loaded_instances(:reference).sort { |a,b| a.to_s <=> b.to_s }
@@ -167,7 +141,7 @@ class Puppet::Util::Reference
167
141
  # First the header
168
142
  text = h(@title, 1)
169
143
  text += "\n\n**This page is autogenerated; any changes will get overwritten** *(last generated on #{Time.now.to_s})*\n\n"
170
- text += ".. contents:: :depth: #{@depth}\n\n" if withcontents
144
+ text += "{:toc}\n\n" if withcontents
171
145
 
172
146
  text += @header
173
147
 
@@ -181,27 +155,4 @@ class Puppet::Util::Reference
181
155
  def to_text(withcontents = true)
182
156
  strip_trac(to_rest(withcontents))
183
157
  end
184
-
185
- def to_trac(with_contents = true)
186
- "{{{\n#!rst\n#{self.to_rest(with_contents)}\n}}}"
187
- end
188
-
189
- def trac
190
- Puppet::Util.secure_open("/tmp/puppetdoc.txt", "w") do |f|
191
- f.puts self.to_trac
192
- end
193
-
194
- puts "Writing #{@name} reference to trac as #{@page}"
195
- cmd = %{sudo trac-admin /opt/rl/trac/puppet wiki import %s /tmp/puppetdoc.txt} % self.page
196
- output = %x{#{cmd}}
197
- unless $CHILD_STATUS == 0
198
- $stderr.puts "trac-admin failed"
199
- $stderr.puts output
200
- exit(1)
201
- end
202
- unless output =~ /^\s+/
203
- $stderr.puts output
204
- end
205
- end
206
158
  end
207
-
@@ -1,1557 +1,2103 @@
1
- .TH CONFIGURATION REFERENCE "" "" ""
2
- .SH NAME
3
- Configuration Reference \-
4
- .\" Man page generated from reStructeredText.
5
- .
6
- .sp
7
- \fBThis page is autogenerated; any changes will get overwritten\fP \fI(last generated on Wed Jul 14 14:33:09 \-0700 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
21
- .SS On The Command\-Line
22
- .sp
23
- Every Puppet executable (with the exception of \fBpuppetdoc\fP) accepts all of
24
- the parameters below, but not all of the arguments make sense for every executable.
25
- .sp
26
- I have tried to be as thorough as possible in the descriptions of the
27
- arguments, so it should be obvious whether an argument is appropriate or not.
28
- .sp
29
- These parameters can be supplied to the executables either as command\-line
30
- options or in the configuration file. For instance, the command\-line
31
- invocation below would set the configuration directory to \fB/private/puppet\fP:
32
- .sp
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "PUPPETCONF" "5" "August 2010" "" ""
5
+ \fBThis page is autogenerated; any changes will get overwritten\fR \fI(last generated on Sat Aug 28 14:00:20 \-0700 2010)\fR
6
+ .
7
+ .P
8
+ {:toc}
9
+ .
10
+ .SH "Specifying Configuration Parameters"
11
+ On The Command\-Line +++++++++++++++++++ Every Puppet executable (with the exception of \fBpuppetdoc\fR) accepts all of the parameters below, but not all of the arguments make sense for every executable\.
12
+ .
13
+ .P
14
+ I have tried to be as thorough as possible in the descriptions of the arguments, so it should be obvious whether an argument is appropriate or not\.
15
+ .
16
+ .P
17
+ These parameters can be supplied to the executables either as command\-line options or in the configuration file\. For instance, the command\-line invocation below would set the configuration directory to \fB/private/puppet\fR:
18
+ .
19
+ .IP "" 4
20
+ .
33
21
  .nf
34
- .ft C
22
+
35
23
  $ puppet agent \-\-confdir=/private/puppet
36
- .ft P
24
+ .
37
25
  .fi
38
- .sp
39
- Note that boolean options are turned on and off with a slightly different
40
- syntax on the command line:
41
- .sp
26
+ .
27
+ .IP "" 0
28
+ .
29
+ .P
30
+ Note that boolean options are turned on and off with a slightly different syntax on the command line:
31
+ .
32
+ .IP "" 4
33
+ .
42
34
  .nf
43
- .ft C
35
+
44
36
  $ puppet agent \-\-storeconfigs
45
37
 
46
38
  $ puppet agent \-\-no\-storeconfigs
47
- .ft P
39
+ .
48
40
  .fi
49
- .sp
50
- The invocations above will enable and disable, respectively, the storage of
51
- the client configuration.
52
- .SS Configuration Files
53
- .sp
54
- As mentioned above, the configuration parameters can also be stored in a
55
- configuration file, located in the configuration directory. As root, the
56
- default configuration directory is \fB/etc/puppet\fP, and as a regular user, the
57
- default configuration directory is \fB~user/.puppet\fP. As of 0.23.0, all
58
- executables look for \fBpuppet.conf\fP in their configuration directory
59
- (although they previously looked for separate files). For example,
60
- \fBpuppet.conf\fP is located at \fB/etc/puppet/puppet.conf\fP as root and
61
- \fB~user/.puppet/puppet.conf\fP as a regular user by default.
62
- .sp
63
- All executables will set any parameters set within the \fBmain\fP section,
64
- and each executable will also use one of the \fBmaster\fP, \fBagent\fP, or
65
- \fBuser\fP sections.
66
- .SS File Format
67
- .sp
68
- The file follows INI\-style formatting. Here is an example of a very simple
69
- \fBpuppet.conf\fP file:
70
- .sp
41
+ .
42
+ .IP "" 0
43
+ .
44
+ .P
45
+ The invocations above will enable and disable, respectively, the storage of the client configuration\.
46
+ .
47
+ .P
48
+ Configuration Files +++++++++++++++++++
49
+ .
50
+ .P
51
+ As mentioned above, the configuration parameters can also be stored in a configuration file, located in the configuration directory\. As root, the default configuration directory is \fB/etc/puppet\fR, and as a regular user, the default configuration directory is \fB~user/\.puppet\fR\. As of 0\.23\.0, all executables look for \fBpuppet\.conf\fR in their configuration directory (although they previously looked for separate files)\. For example, \fBpuppet\.conf\fR is located at \fB/etc/puppet/puppet\.conf\fR as \fBroot\fR and \fB~user/\.puppet/puppet\.conf\fR as a regular user by default\.
52
+ .
53
+ .P
54
+ All executables will set any parameters set within the \fB[main]\fR section, and each executable will also use one of the \fB[master]\fR, \fB[agent]\fR\.
55
+ .
56
+ .P
57
+ File Format \'\'\'\'\'\'\'\'\'\'\'
58
+ .
59
+ .P
60
+ The file follows INI\-style formatting\. Here is an example of a very simple \fBpuppet\.conf\fR file:
61
+ .
62
+ .IP "" 4
63
+ .
71
64
  .nf
72
- .ft C
65
+
73
66
  [main]
74
67
  confdir = /private/puppet
75
68
  storeconfigs = true
76
- .ft P
69
+ .
77
70
  .fi
78
- .sp
79
- Note that boolean parameters must be explicitly specified as \fItrue\fP or
80
- \fIfalse\fP as seen above.
81
- .sp
82
- If you need to change file parameters (e.g., reset the mode or owner), do
83
- so within curly braces on the same line:
84
- .sp
71
+ .
72
+ .IP "" 0
73
+ .
74
+ .P
75
+ Note that boolean parameters must be explicitly specified as \fBtrue\fR or \fBfalse\fR as seen above\.
76
+ .
77
+ .P
78
+ If you need to change file parameters (e\.g\., reset the mode or owner), do so within curly braces on the same line:
79
+ .
80
+ .IP "" 4
81
+ .
85
82
  .nf
86
- .ft C
83
+
87
84
  [main]
88
85
  myfile = /tmp/whatever {owner = root, mode = 644}
89
- .ft P
86
+ .
90
87
  .fi
91
- .sp
92
- If you\(aqre starting out with a fresh configuration, you may wish to let
93
- the executable generate a template configuration file for you by invoking
94
- the executable in question with the \fI\-\-genconfig\fP command. The executable
95
- will print a template configuration to standard output, which can be
96
- redirected to a file like so:
97
- .sp
88
+ .
89
+ .IP "" 0
90
+ .
91
+ .P
92
+ If you\'re starting out with a fresh configuration, you may wish to let the executable generate a template configuration file for you by invoking the executable in question with the \fB\-\-genconfig\fR command\. The executable will print a template configuration to standard output, which can be redirected to a file like so:
93
+ .
94
+ .IP "" 4
95
+ .
98
96
  .nf
99
- .ft C
100
- $ puppet agent \-\-genconfig > /etc/puppet/puppet.conf
101
- .ft P
97
+
98
+ $ puppet agent \-\-genconfig > /etc/puppet/puppet\.conf
99
+ .
102
100
  .fi
103
- .sp
104
- Note that this invocation will replace the contents of any pre\-existing
105
- \fIpuppet.conf\fP file, so make a backup of your present config if it contains
106
- valuable information.
107
- .sp
108
- Like the \fI\-\-genconfig\fP argument, the executables also accept a \fI\-\-genmanifest\fP
109
- argument, which will generate a manifest that can be used to manage all of
110
- Puppet\(aqs directories and files and prints it to standard output. This can
111
- likewise be redirected to a file:
112
- .sp
101
+ .
102
+ .IP "" 0
103
+ .
104
+ .P
105
+ Note that this invocation will replace the contents of any pre\-existing \fBpuppet\.conf\fR file, so make a backup of your present config if it contains valuable information\.
106
+ .
107
+ .P
108
+ Like the \fB\-\-genconfig\fR argument, the executables also accept a \fB\-\-genmanifest\fR argument, which will generate a manifest that can be used to manage all of Puppet\'s directories and files and prints it to standard output\. This can likewise be redirected to a file:
109
+ .
110
+ .IP "" 4
111
+ .
113
112
  .nf
114
- .ft C
115
- $ puppet agent \-\-genmanifest > /etc/puppet/manifests/site.pp
116
- .ft P
113
+
114
+ $ puppet agent \-\-genmanifest > /etc/puppet/manifests/site\.pp
115
+ .
117
116
  .fi
118
- .sp
119
- Puppet can also create user and group accounts for itself (one \fIpuppet\fP group
120
- and one \fIpuppet\fP user) if it is invoked as \fIroot\fP with the \fI\-\-mkusers\fP argument:
121
- .sp
117
+ .
118
+ .IP "" 0
119
+ .
120
+ .P
121
+ Puppet can also create user and group accounts for itself (one \fBpuppet\fR group and one \fBpuppet\fR user) if it is invoked as \fBroot\fR with the \fB\-\-mkusers\fR argument:
122
+ .
123
+ .IP "" 4
124
+ .
122
125
  .nf
123
- .ft C
126
+
124
127
  $ puppet agent \-\-mkusers
125
- .ft P
128
+ .
126
129
  .fi
127
- .SH SIGNALS
128
- .sp
129
- The \fBpuppet agent\fP and \fBpuppet master\fP executables catch some signals for special
130
- handling. Both daemons catch (\fBSIGHUP\fP), which forces the server to restart
131
- tself. Predictably, interrupt and terminate (\fBSIGINT\fP and \fBSIGTERM\fP) will shut
132
- down the server, whether it be an instance of \fBpuppet agent\fP or \fBpuppet master\fP.
133
- .sp
134
- Sending the \fBSIGUSR1\fP signal to an instance of \fBpuppet agent\fP will cause it to
135
- immediately begin a new configuration transaction with the server. This
136
- signal has no effect on \fBpuppet master\fP.
137
- .SH CONFIGURATION PARAMETER REFERENCE
138
- .sp
139
- Below is a list of all documented parameters. Not all of them are valid with all
140
- Puppet executables, but the executables will ignore any inappropriate values.
141
- .SS async_storeconfigs
142
- .sp
143
- 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.
144
- .INDENT 0.0
145
- .IP \(bu 2
146
- .
147
- \fBDefault\fP: false
148
- .UNINDENT
149
- .SS authconfig
150
- .sp
151
- 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 \fBpuppet agent\fP and \fBpuppet master\fP.
152
- .INDENT 0.0
153
- .IP \(bu 2
154
- .
155
- \fBDefault\fP: $confdir/namespaceauth.conf
156
- .UNINDENT
157
- .SS autoflush
158
- .sp
159
- Whether log files should always flush to disk.
160
- .INDENT 0.0
161
- .IP \(bu 2
162
- .
163
- \fBDefault\fP: false
164
- .UNINDENT
165
- .SS autosign
166
- .sp
167
- 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.
168
- .INDENT 0.0
169
- .IP \(bu 2
170
- .
171
- \fBDefault\fP: $confdir/autosign.conf
172
- .UNINDENT
173
- .SS bindaddress
174
- .sp
175
- The address a listening server should bind to. Mongrel servers default to 127.0.0.1 and WEBrick defaults to 0.0.0.0.
176
- .SS bucketdir
177
- .sp
178
- Where FileBucket files are stored.
179
- .INDENT 0.0
180
- .IP \(bu 2
181
- .
182
- \fBDefault\fP: $vardir/bucket
183
- .UNINDENT
184
- .SS ca
185
- .sp
186
- Wether the master should function as a certificate authority.
187
- .INDENT 0.0
188
- .IP \(bu 2
189
- .
190
- \fBDefault\fP: true
191
- .UNINDENT
192
- .SS ca_days
193
- .sp
194
- How long a certificate should be valid. This parameter is deprecated, use ca_ttl instead
195
- .SS ca_md
196
- .sp
197
- The type of hash used in certificates.
198
- .INDENT 0.0
199
- .IP \(bu 2
200
- .
201
- \fBDefault\fP: md5
202
- .UNINDENT
203
- .SS ca_name
204
- .sp
205
- The name to use the Certificate Authority certificate.
206
- .INDENT 0.0
207
- .IP \(bu 2
208
- .
209
- \fBDefault\fP: $certname
210
- .UNINDENT
211
- .SS ca_port
212
- .sp
213
- The port to use for the certificate authority.
214
- .INDENT 0.0
215
- .IP \(bu 2
216
- .
217
- \fBDefault\fP: $masterport
218
- .UNINDENT
219
- .SS ca_server
220
- .sp
221
- The server to use for certificate authority requests. It\(aqs a separate server because it cannot and does not need to horizontally scale.
222
- .INDENT 0.0
223
- .IP \(bu 2
224
- .
225
- \fBDefault\fP: $server
226
- .UNINDENT
227
- .SS ca_ttl
228
- .sp
229
- 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)
230
- .INDENT 0.0
231
- .IP \(bu 2
232
- .
233
- \fBDefault\fP: 5y
234
- .UNINDENT
235
- .SS cacert
236
- .sp
237
- The CA certificate.
238
- .INDENT 0.0
239
- .IP \(bu 2
240
- .
241
- \fBDefault\fP: $cadir/ca_crt.pem
242
- .UNINDENT
243
- .SS cacrl
244
- .sp
245
- The certificate revocation list (CRL) for the CA. Will be used if present but otherwise ignored.
246
- .INDENT 0.0
247
- .IP \(bu 2
248
- .
249
- \fBDefault\fP: $cadir/ca_crl.pem
250
- .UNINDENT
251
- .SS cadir
252
- .sp
253
- The root directory for the certificate authority.
254
- .INDENT 0.0
255
- .IP \(bu 2
256
- .
257
- \fBDefault\fP: $ssldir/ca
258
- .UNINDENT
259
- .SS cakey
260
- .sp
261
- The CA private key.
262
- .INDENT 0.0
263
- .IP \(bu 2
264
- .
265
- \fBDefault\fP: $cadir/ca_key.pem
266
- .UNINDENT
267
- .SS capass
268
- .sp
130
+ .
131
+ .IP "" 0
132
+ .
133
+ .SH "Signals"
134
+ The \fBpuppet agent\fR and \fBpuppet master\fR executables catch some signals for special handling\. Both daemons catch (\fBSIGHUP\fR), which forces the server to restart tself\. Predictably, interrupt and terminate (\fBSIGINT\fR and \fBSIGTERM\fR) will shut down the server, whether it be an instance of \fBpuppet agent\fR or \fBpuppet master\fR\.
135
+ .
136
+ .P
137
+ Sending the \fBSIGUSR1\fR signal to an instance of \fBpuppet agent\fR will cause it to immediately begin a new configuration transaction with the server\. This signal has no effect on \fBpuppet master\fR\.
138
+ .
139
+ .SH "Configuration Parameter Reference"
140
+ Below is a list of all documented parameters\. Not all of them are valid with all Puppet executables, but the executables will ignore any inappropriate values\.
141
+ .
142
+ .P
143
+ async_storeconfigs ++++++++++++++++++
144
+ .
145
+ .P
146
+ Whether to use a queueing system to provide asynchronous database integration\. Requires that \fBpuppetqd\fR be running and that \'PSON\' support for ruby be installed\.
147
+ .
148
+ .IP "\(bu" 4
149
+ \fIDefault\fR: false
150
+ .
151
+ .IP "" 0
152
+ .
153
+ .P
154
+ authconfig ++++++++++
155
+ .
156
+ .P
157
+ 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 \fBpuppet agent\fR and \fBpuppet master\fR\.
158
+ .
159
+ .IP "\(bu" 4
160
+ \fIDefault\fR: $confdir/namespaceauth\.conf
161
+ .
162
+ .IP "" 0
163
+ .
164
+ .P
165
+ autoflush +++++++++
166
+ .
167
+ .P
168
+ Whether log files should always flush to disk\.
169
+ .
170
+ .IP "\(bu" 4
171
+ \fIDefault\fR: false
172
+ .
173
+ .IP "" 0
174
+ .
175
+ .P
176
+ autosign ++++++++
177
+ .
178
+ .P
179
+ 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\.
180
+ .
181
+ .IP "\(bu" 4
182
+ \fIDefault\fR: $confdir/autosign\.conf
183
+ .
184
+ .IP "" 0
185
+ .
186
+ .P
187
+ bindaddress +++++++++++
188
+ .
189
+ .P
190
+ The address a listening server should bind to\. Mongrel servers default to 127\.0\.0\.1 and WEBrick defaults to 0\.0\.0\.0\.
191
+ .
192
+ .P
193
+ bucketdir +++++++++
194
+ .
195
+ .P
196
+ Where FileBucket files are stored\.
197
+ .
198
+ .IP "\(bu" 4
199
+ \fIDefault\fR: $vardir/bucket
200
+ .
201
+ .IP "" 0
202
+ .
203
+ .P
204
+ ca ++
205
+ .
206
+ .P
207
+ Wether the master should function as a certificate authority\.
208
+ .
209
+ .IP "\(bu" 4
210
+ \fIDefault\fR: true
211
+ .
212
+ .IP "" 0
213
+ .
214
+ .P
215
+ ca_days +++++++
216
+ .
217
+ .P
218
+ How long a certificate should be valid\. This parameter is deprecated, use ca_ttl instead
219
+ .
220
+ .P
221
+ ca_md +++++
222
+ .
223
+ .P
224
+ The type of hash used in certificates\.
225
+ .
226
+ .IP "\(bu" 4
227
+ \fIDefault\fR: md5
228
+ .
229
+ .IP "" 0
230
+ .
231
+ .P
232
+ ca_name +++++++
233
+ .
234
+ .P
235
+ The name to use the Certificate Authority certificate\.
236
+ .
237
+ .IP "\(bu" 4
238
+ \fIDefault\fR: $certname
239
+ .
240
+ .IP "" 0
241
+ .
242
+ .P
243
+ ca_port +++++++
244
+ .
245
+ .P
246
+ The port to use for the certificate authority\.
247
+ .
248
+ .IP "\(bu" 4
249
+ \fIDefault\fR: $masterport
250
+ .
251
+ .IP "" 0
252
+ .
253
+ .P
254
+ ca_server +++++++++
255
+ .
256
+ .P
257
+ The server to use for certificate authority requests\. It\'s a separate server because it cannot and does not need to horizontally scale\.
258
+ .
259
+ .IP "\(bu" 4
260
+ \fIDefault\fR: $server
261
+ .
262
+ .IP "" 0
263
+ .
264
+ .P
265
+ ca_ttl ++++++
266
+ .
267
+ .P
268
+ 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)
269
+ .
270
+ .IP "\(bu" 4
271
+ \fIDefault\fR: 5y
272
+ .
273
+ .IP "" 0
274
+ .
275
+ .P
276
+ cacert ++++++
277
+ .
278
+ .P
279
+ The CA certificate\.
280
+ .
281
+ .IP "\(bu" 4
282
+ \fIDefault\fR: $cadir/ca_crt\.pem
283
+ .
284
+ .IP "" 0
285
+ .
286
+ .P
287
+ cacrl +++++
288
+ .
289
+ .P
290
+ The certificate revocation list (CRL) for the CA\. Will be used if present but otherwise ignored\.
291
+ .
292
+ .IP "\(bu" 4
293
+ \fIDefault\fR: $cadir/ca_crl\.pem
294
+ .
295
+ .IP "" 0
296
+ .
297
+ .P
298
+ cadir +++++
299
+ .
300
+ .P
301
+ The root directory for the certificate authority\.
302
+ .
303
+ .IP "\(bu" 4
304
+ \fIDefault\fR: $ssldir/ca
305
+ .
306
+ .IP "" 0
307
+ .
308
+ .P
309
+ cakey +++++
310
+ .
311
+ .P
312
+ The CA private key\.
313
+ .
314
+ .IP "\(bu" 4
315
+ \fIDefault\fR: $cadir/ca_key\.pem
316
+ .
317
+ .IP "" 0
318
+ .
319
+ .P
320
+ capass ++++++
321
+ .
322
+ .P
269
323
  Where the CA stores the password for the private key
270
- .INDENT 0.0
271
- .IP \(bu 2
272
- .
273
- \fBDefault\fP: $caprivatedir/ca.pass
274
- .UNINDENT
275
- .SS caprivatedir
276
- .sp
277
- Where the CA stores private certificate information.
278
- .INDENT 0.0
279
- .IP \(bu 2
280
- .
281
- \fBDefault\fP: $cadir/private
282
- .UNINDENT
283
- .SS capub
284
- .sp
285
- The CA public key.
286
- .INDENT 0.0
287
- .IP \(bu 2
288
- .
289
- \fBDefault\fP: $cadir/ca_pub.pem
290
- .UNINDENT
291
- .SS catalog_format
292
- .sp
293
- (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.
294
- .SS catalog_terminus
295
- .sp
296
- 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.
297
- .INDENT 0.0
298
- .IP \(bu 2
299
- .
300
- \fBDefault\fP: compiler
301
- .UNINDENT
302
- .SS cert_inventory
303
- .sp
324
+ .
325
+ .IP "\(bu" 4
326
+ \fIDefault\fR: $caprivatedir/ca\.pass
327
+ .
328
+ .IP "" 0
329
+ .
330
+ .P
331
+ caprivatedir ++++++++++++
332
+ .
333
+ .P
334
+ Where the CA stores private certificate information\.
335
+ .
336
+ .IP "\(bu" 4
337
+ \fIDefault\fR: $cadir/private
338
+ .
339
+ .IP "" 0
340
+ .
341
+ .P
342
+ capub +++++
343
+ .
344
+ .P
345
+ The CA public key\.
346
+ .
347
+ .IP "\(bu" 4
348
+ \fIDefault\fR: $cadir/ca_pub\.pem
349
+ .
350
+ .IP "" 0
351
+ .
352
+ .P
353
+ catalog_format ++++++++++++++
354
+ .
355
+ .P
356
+ (Deprecated for \'preferred_serialization_format\') What format to use to dump the catalog\. Only supports \'marshal\' and \'yaml\'\. Only matters on the client, since it asks the server for a specific format\.
357
+ .
358
+ .P
359
+ catalog_terminus ++++++++++++++++
360
+ .
361
+ .P
362
+ Where to get node catalogs\. This is useful to change if, for instance, you\'d like to pre\-compile catalogs and store them in memcached or some other easily\-accessed store\.
363
+ .
364
+ .IP "\(bu" 4
365
+ \fIDefault\fR: compiler
366
+ .
367
+ .IP "" 0
368
+ .
369
+ .P
370
+ cert_inventory ++++++++++++++
371
+ .
372
+ .P
304
373
  A Complete listing of all certificates
305
- .INDENT 0.0
306
- .IP \(bu 2
307
- .
308
- \fBDefault\fP: $cadir/inventory.txt
309
- .UNINDENT
310
- .SS certdir
311
- .sp
312
- The certificate directory.
313
- .INDENT 0.0
314
- .IP \(bu 2
315
- .
316
- \fBDefault\fP: $ssldir/certs
317
- .UNINDENT
318
- .SS certdnsnames
319
- .sp
320
- 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.
321
- .SS certificate_revocation
322
- .sp
323
- Whether certificate revocation should be supported by downloading a Certificate Revocation List (CRL) to all clients. If enabled, CA chaining will almost definitely not work.
324
- .INDENT 0.0
325
- .IP \(bu 2
326
- .
327
- \fBDefault\fP: true
328
- .UNINDENT
329
- .SS certname
330
- .sp
331
- The name to use when handling certificates. Defaults to the fully qualified domain name.
332
- .INDENT 0.0
333
- .IP \(bu 2
334
- .
335
- \fBDefault\fP: pelin.lovedthanlost.net
336
- .UNINDENT
337
- .SS classfile
338
- .sp
339
- The file in which puppet agent 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.
340
- .INDENT 0.0
341
- .IP \(bu 2
342
- .
343
- \fBDefault\fP: $statedir/classes.txt
344
- .UNINDENT
345
- .SS client_datadir
346
- .sp
347
- The directory in which serialized data is stored on the client.
348
- .INDENT 0.0
349
- .IP \(bu 2
350
- .
351
- \fBDefault\fP: $vardir/client_data
352
- .UNINDENT
353
- .SS clientbucketdir
354
- .sp
355
- Where FileBucket files are stored locally.
356
- .INDENT 0.0
357
- .IP \(bu 2
358
- .
359
- \fBDefault\fP: $vardir/clientbucket
360
- .UNINDENT
361
- .SS clientyamldir
362
- .sp
363
- The directory in which client\-side YAML data is stored.
364
- .INDENT 0.0
365
- .IP \(bu 2
366
- .
367
- \fBDefault\fP: $vardir/client_yaml
368
- .UNINDENT
369
- .SS code
370
- .sp
371
- 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
372
- .SS color
373
- .sp
374
- 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.
375
- .INDENT 0.0
376
- .IP \(bu 2
377
- .
378
- \fBDefault\fP: ansi
379
- .UNINDENT
380
- .SS confdir
381
- .sp
382
- The main Puppet configuration directory. The default for this parameter is calculated based on the user. If the process is running as root or the user that \fBpuppet master\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.
383
- .INDENT 0.0
384
- .IP \(bu 2
385
- .
386
- \fBDefault\fP: /etc/puppet
387
- .UNINDENT
388
- .SS config
389
- .sp
390
- The configuration file for doc.
391
- .INDENT 0.0
392
- .IP \(bu 2
393
- .
394
- \fBDefault\fP: $confdir/puppet.conf
395
- .UNINDENT
396
- .SS config_version
397
- .sp
398
- 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.
399
- .SS configprint
400
- .sp
401
- 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.
402
- .SS configtimeout
403
- .sp
404
- 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.
405
- .INDENT 0.0
406
- .IP \(bu 2
407
- .
408
- \fBDefault\fP: 120
409
- .UNINDENT
410
- .SS couchdb_url
411
- .sp
374
+ .
375
+ .IP "\(bu" 4
376
+ \fIDefault\fR: $cadir/inventory\.txt
377
+ .
378
+ .IP "" 0
379
+ .
380
+ .P
381
+ certdir +++++++
382
+ .
383
+ .P
384
+ The certificate directory\.
385
+ .
386
+ .IP "\(bu" 4
387
+ \fIDefault\fR: $ssldir/certs
388
+ .
389
+ .IP "" 0
390
+ .
391
+ .P
392
+ certdnsnames ++++++++++++
393
+ .
394
+ .P
395
+ 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\'\.
396
+ .
397
+ .P
398
+ certificate_revocation ++++++++++++++++++++++
399
+ .
400
+ .P
401
+ Whether certificate revocation should be supported by downloading a Certificate Revocation List (CRL) to all clients\. If enabled, CA chaining will almost definitely not work\.
402
+ .
403
+ .IP "\(bu" 4
404
+ \fIDefault\fR: true
405
+ .
406
+ .IP "" 0
407
+ .
408
+ .P
409
+ certname ++++++++
410
+ .
411
+ .P
412
+ The name to use when handling certificates\. Defaults to the fully qualified domain name\.
413
+ .
414
+ .IP "\(bu" 4
415
+ \fIDefault\fR: pelin\.members\.linode\.com
416
+ .
417
+ .IP "" 0
418
+ .
419
+ .P
420
+ classfile +++++++++
421
+ .
422
+ .P
423
+ The file in which puppet agent stores a list of the classes associated with the retrieved configuration\. Can be loaded in the separate \fBpuppet\fR executable using the \fB\-\-loadclasses\fR option\.
424
+ .
425
+ .IP "\(bu" 4
426
+ \fIDefault\fR: $statedir/classes\.txt
427
+ .
428
+ .IP "" 0
429
+ .
430
+ .P
431
+ client_datadir ++++++++++++++
432
+ .
433
+ .P
434
+ The directory in which serialized data is stored on the client\.
435
+ .
436
+ .IP "\(bu" 4
437
+ \fIDefault\fR: $vardir/client_data
438
+ .
439
+ .IP "" 0
440
+ .
441
+ .P
442
+ clientbucketdir +++++++++++++++
443
+ .
444
+ .P
445
+ Where FileBucket files are stored locally\.
446
+ .
447
+ .IP "\(bu" 4
448
+ \fIDefault\fR: $vardir/clientbucket
449
+ .
450
+ .IP "" 0
451
+ .
452
+ .P
453
+ clientyamldir +++++++++++++
454
+ .
455
+ .P
456
+ The directory in which client\-side YAML data is stored\.
457
+ .
458
+ .IP "\(bu" 4
459
+ \fIDefault\fR: $vardir/client_yaml
460
+ .
461
+ .IP "" 0
462
+ .
463
+ .P
464
+ code ++++
465
+ .
466
+ .P
467
+ Code to parse directly\. This is essentially only used by \fBpuppet\fR, and should only be set if you\'re writing your own Puppet executable
468
+ .
469
+ .P
470
+ color +++++
471
+ .
472
+ .P
473
+ Whether to use colors when logging to the console\. Valid values are \fBansi\fR (equivalent to \fBtrue\fR), \fBhtml\fR (mostly used during testing with TextMate), and \fBfalse\fR, which produces no color\.
474
+ .
475
+ .IP "\(bu" 4
476
+ \fIDefault\fR: ansi
477
+ .
478
+ .IP "" 0
479
+ .
480
+ .P
481
+ confdir +++++++
482
+ .
483
+ .P
484
+ The main Puppet configuration directory\. The default for this parameter is calculated based on the user\. If the process is running as root or the user that \fBpuppet master\fR 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 \fB~\fR\.
485
+ .
486
+ .IP "\(bu" 4
487
+ \fIDefault\fR: /etc/puppet
488
+ .
489
+ .IP "" 0
490
+ .
491
+ .P
492
+ config ++++++
493
+ .
494
+ .P
495
+ The configuration file for doc\.
496
+ .
497
+ .IP "\(bu" 4
498
+ \fIDefault\fR: $confdir/puppet\.conf
499
+ .
500
+ .IP "" 0
501
+ .
502
+ .P
503
+ config_version ++++++++++++++
504
+ .
505
+ .P
506
+ 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\.
507
+ .
508
+ .P
509
+ configprint +++++++++++
510
+ .
511
+ .P
512
+ 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\.
513
+ .
514
+ .P
515
+ configtimeout +++++++++++++
516
+ .
517
+ .P
518
+ 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\.
519
+ .
520
+ .IP "\(bu" 4
521
+ \fIDefault\fR: 120
522
+ .
523
+ .IP "" 0
524
+ .
525
+ .P
526
+ couchdb_url +++++++++++
527
+ .
528
+ .P
412
529
  The url where the puppet couchdb database will be created
413
- .INDENT 0.0
414
- .IP \(bu 2
415
530
  .
416
- \fBDefault\fP: \fI\%http://127.0.0.1:5984/puppet\fP
417
- .UNINDENT
418
- .SS csrdir
419
- .sp
531
+ .IP "\(bu" 4
532
+ \fIDefault\fR: http://127\.0\.0\.1:5984/puppet
533
+ .
534
+ .IP "" 0
535
+ .
536
+ .P
537
+ csrdir ++++++
538
+ .
539
+ .P
420
540
  Where the CA stores certificate requests
421
- .INDENT 0.0
422
- .IP \(bu 2
423
- .
424
- \fBDefault\fP: $cadir/requests
425
- .UNINDENT
426
- .SS daemonize
427
- .sp
428
- Send the process into the background. This is the default.
429
- .INDENT 0.0
430
- .IP \(bu 2
431
- .
432
- \fBDefault\fP: true
433
- .UNINDENT
434
- .SS dbadapter
435
- .sp
436
- The type of database to use.
437
- .INDENT 0.0
438
- .IP \(bu 2
439
- .
440
- \fBDefault\fP: sqlite3
441
- .UNINDENT
442
- .SS dbconnections
443
- .sp
444
- The number of database connections. Only used when networked databases are used. Will be ignored if the value is an empty string or is less than 1.
445
- .INDENT 0.0
446
- .IP \(bu 2
447
- .
448
- \fBDefault\fP: 0
449
- .UNINDENT
450
- .SS dblocation
451
- .sp
452
- The database cache for client configurations. Used for querying within the language.
453
- .INDENT 0.0
454
- .IP \(bu 2
455
- .
456
- \fBDefault\fP: $statedir/clientconfigs.sqlite3
457
- .UNINDENT
458
- .SS dbmigrate
459
- .sp
460
- Whether to automatically migrate the database.
461
- .INDENT 0.0
462
- .IP \(bu 2
463
- .
464
- \fBDefault\fP: false
465
- .UNINDENT
466
- .SS dbname
467
- .sp
468
- The name of the database to use.
469
- .INDENT 0.0
470
- .IP \(bu 2
471
- .
472
- \fBDefault\fP: puppet
473
- .UNINDENT
474
- .SS dbpassword
475
- .sp
476
- The database password for caching. Only used when networked databases are used.
477
- .INDENT 0.0
478
- .IP \(bu 2
479
- .
480
- \fBDefault\fP: puppet
481
- .UNINDENT
482
- .SS dbport
483
- .sp
484
- The database password for caching. Only used when networked databases are used.
485
- .SS dbserver
486
- .sp
487
- The database server for caching. Only used when networked databases are used.
488
- .INDENT 0.0
489
- .IP \(bu 2
490
- .
491
- \fBDefault\fP: localhost
492
- .UNINDENT
493
- .SS dbsocket
494
- .sp
495
- The database socket location. Only used when networked databases are used. Will be ignored if the value is an empty string.
496
- .SS dbuser
497
- .sp
498
- The database user for caching. Only used when networked databases are used.
499
- .INDENT 0.0
500
- .IP \(bu 2
501
- .
502
- \fBDefault\fP: puppet
503
- .UNINDENT
504
- .SS diff
505
- .sp
506
- Which diff command to use when printing differences between files.
507
- .INDENT 0.0
508
- .IP \(bu 2
509
- .
510
- \fBDefault\fP: diff
511
- .UNINDENT
512
- .SS diff_args
513
- .sp
514
- Which arguments to pass to the diff command when printing differences between files.
515
- .INDENT 0.0
516
- .IP \(bu 2
517
- .
518
- \fBDefault\fP: \-u
519
- .UNINDENT
520
- .SS downcasefacts
521
- .sp
522
- Whether facts should be made all lowercase when sent to the server.
523
- .INDENT 0.0
524
- .IP \(bu 2
525
- .
526
- \fBDefault\fP: false
527
- .UNINDENT
528
- .SS dynamicfacts
529
- .sp
530
- 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.
531
- .INDENT 0.0
532
- .IP \(bu 2
533
- .
534
- \fBDefault\fP: memorysize,memoryfree,swapsize,swapfree
535
- .UNINDENT
536
- .SS environment
537
- .sp
538
- The environment Puppet is running in. For clients (e.g., \fBpuppet agent\fP) this determines the environment itself, which is used to find modules and much more. For servers (i.e., \fBpuppet master\fP) this provides the default environment for nodes we know nothing about.
539
- .INDENT 0.0
540
- .IP \(bu 2
541
- .
542
- \fBDefault\fP: production
543
- .UNINDENT
544
- .SS evaltrace
545
- .sp
546
- Whether each resource should log when it is being evaluated. This allows you to interactively see exactly what is being done.
547
- .INDENT 0.0
548
- .IP \(bu 2
549
- .
550
- \fBDefault\fP: false
551
- .UNINDENT
552
- .SS external_nodes
553
- .sp
554
- 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.
555
- .INDENT 0.0
556
- .IP \(bu 2
557
- .
558
- \fBDefault\fP: none
559
- .UNINDENT
560
- .SS factdest
561
- .sp
562
- Where Puppet should store facts that it pulls down from the central server.
563
- .INDENT 0.0
564
- .IP \(bu 2
565
- .
566
- \fBDefault\fP: $vardir/facts/
567
- .UNINDENT
568
- .SS factpath
569
- .sp
570
- Where Puppet should look for facts. Multiple directories should be colon\-separated, like normal PATH variables.
571
- .INDENT 0.0
572
- .IP \(bu 2
573
- .
574
- \fBDefault\fP: $vardir/lib/facter/${\fI\%File::PATH_SEPARATOR\fP}$vardir/facts
575
- .UNINDENT
576
- .SS facts_terminus
577
- .sp
578
- Where to get node facts.
579
- .INDENT 0.0
580
- .IP \(bu 2
581
- .
582
- \fBDefault\fP: facter
583
- .UNINDENT
584
- .SS factsignore
585
- .sp
586
- What files to ignore when pulling down facts.
587
- .INDENT 0.0
588
- .IP \(bu 2
589
- .
590
- \fBDefault\fP: .svn CVS
591
- .UNINDENT
592
- .SS factsource
593
- .sp
594
- 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.
595
- .INDENT 0.0
596
- .IP \(bu 2
597
- .
598
- \fBDefault\fP: puppet://$server/facts/
599
- .UNINDENT
600
- .SS factsync
601
- .sp
602
- Whether facts should be synced with the central server.
603
- .INDENT 0.0
604
- .IP \(bu 2
605
- .
606
- \fBDefault\fP: false
607
- .UNINDENT
608
- .SS fileserverconfig
609
- .sp
610
- Where the fileserver configuration is stored.
611
- .INDENT 0.0
612
- .IP \(bu 2
613
- .
614
- \fBDefault\fP: $confdir/fileserver.conf
615
- .UNINDENT
616
- .SS filetimeout
617
- .sp
618
- 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.
619
- .INDENT 0.0
620
- .IP \(bu 2
621
- .
622
- \fBDefault\fP: 15
623
- .UNINDENT
624
- .SS freeze_main
625
- .sp
626
- Freezes the \(aqmain\(aq class, disallowing any code to be added to it. This essentially means that you can\(aqt have any code outside of a node, class, or definition other than in the site manifest.
627
- .INDENT 0.0
628
- .IP \(bu 2
629
- .
630
- \fBDefault\fP: false
631
- .UNINDENT
632
- .SS genconfig
633
- .sp
634
- Whether to just print a configuration to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
635
- .INDENT 0.0
636
- .IP \(bu 2
637
- .
638
- \fBDefault\fP: false
639
- .UNINDENT
640
- .SS genmanifest
641
- .sp
642
- Whether to just print a manifest to stdout and exit. Only makes sense when used interactively. Takes into account arguments specified on the CLI.
643
- .INDENT 0.0
644
- .IP \(bu 2
645
- .
646
- \fBDefault\fP: false
647
- .UNINDENT
648
- .SS graph
649
- .sp
650
- 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).
651
- .INDENT 0.0
652
- .IP \(bu 2
653
- .
654
- \fBDefault\fP: false
655
- .UNINDENT
656
- .SS graphdir
657
- .sp
658
- Where to store dot\-outputted graphs.
659
- .INDENT 0.0
660
- .IP \(bu 2
661
- .
662
- \fBDefault\fP: $statedir/graphs
663
- .UNINDENT
664
- .SS group
665
- .sp
666
- The group puppet master should run as.
667
- .INDENT 0.0
668
- .IP \(bu 2
669
- .
670
- \fBDefault\fP: puppet
671
- .UNINDENT
672
- .SS hostcert
673
- .sp
674
- Where individual hosts store and look for their certificates.
675
- .INDENT 0.0
676
- .IP \(bu 2
677
- .
678
- \fBDefault\fP: $certdir/$certname.pem
679
- .UNINDENT
680
- .SS hostcrl
681
- .sp
682
- Where the host\(aqs certificate revocation list can be found. This is distinct from the certificate authority\(aqs CRL.
683
- .INDENT 0.0
684
- .IP \(bu 2
685
- .
686
- \fBDefault\fP: $ssldir/crl.pem
687
- .UNINDENT
688
- .SS hostcsr
689
- .sp
690
- Where individual hosts store and look for their certificate requests.
691
- .INDENT 0.0
692
- .IP \(bu 2
693
- .
694
- \fBDefault\fP: $ssldir/csr_$certname.pem
695
- .UNINDENT
696
- .SS hostprivkey
697
- .sp
698
- Where individual hosts store and look for their private key.
699
- .INDENT 0.0
700
- .IP \(bu 2
701
- .
702
- \fBDefault\fP: $privatekeydir/$certname.pem
703
- .UNINDENT
704
- .SS hostpubkey
705
- .sp
706
- Where individual hosts store and look for their public key.
707
- .INDENT 0.0
708
- .IP \(bu 2
709
- .
710
- \fBDefault\fP: $publickeydir/$certname.pem
711
- .UNINDENT
712
- .SS http_compression
713
- .sp
714
- Allow http compression in REST communication with the master. This setting might improve performance for agent \-> master communications over slow WANs. Your puppetmaster needs to support compression (usually by activating some settings in a reverse\-proxy in front of the puppetmaster, which rules out webrick). It is harmless to activate this settings if your master doesn\(aqt support compression, but if it supports it, this setting might reduce performance on high\-speed LANs.
715
- .INDENT 0.0
716
- .IP \(bu 2
717
- .
718
- \fBDefault\fP: false
719
- .UNINDENT
720
- .SS http_proxy_host
721
- .sp
722
- 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.
723
- .INDENT 0.0
724
- .IP \(bu 2
725
- .
726
- \fBDefault\fP: none
727
- .UNINDENT
728
- .SS http_proxy_port
729
- .sp
730
- The HTTP proxy port to use for outgoing connections
731
- .INDENT 0.0
732
- .IP \(bu 2
733
- .
734
- \fBDefault\fP: 3128
735
- .UNINDENT
736
- .SS httplog
737
- .sp
738
- Where the puppet agent web server logs.
739
- .INDENT 0.0
740
- .IP \(bu 2
741
- .
742
- \fBDefault\fP: $logdir/http.log
743
- .UNINDENT
744
- .SS ignorecache
745
- .sp
746
- 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.
747
- .INDENT 0.0
748
- .IP \(bu 2
749
- .
750
- \fBDefault\fP: false
751
- .UNINDENT
752
- .SS ignoreimport
753
- .sp
754
- 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.
755
- .INDENT 0.0
756
- .IP \(bu 2
757
- .
758
- \fBDefault\fP: false
759
- .UNINDENT
760
- .SS ignoreschedules
761
- .sp
762
- Boolean; whether puppet agent should ignore schedules. This is useful for initial puppet agent runs.
763
- .INDENT 0.0
764
- .IP \(bu 2
765
- .
766
- \fBDefault\fP: false
767
- .UNINDENT
768
- .SS keylength
769
- .sp
770
- The bit length of keys.
771
- .INDENT 0.0
772
- .IP \(bu 2
773
- .
774
- \fBDefault\fP: 1024
775
- .UNINDENT
776
- .SS ldapattrs
777
- .sp
778
- 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.
779
- .INDENT 0.0
780
- .IP \(bu 2
781
- .
782
- \fBDefault\fP: all
783
- .UNINDENT
784
- .SS ldapbase
785
- .sp
786
- 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.
787
- .SS ldapclassattrs
788
- .sp
789
- The LDAP attributes to use to define Puppet classes. Values should be comma\-separated.
790
- .INDENT 0.0
791
- .IP \(bu 2
792
- .
793
- \fBDefault\fP: puppetclass
794
- .UNINDENT
795
- .SS ldapnodes
796
- .sp
797
- Whether to search for node configurations in LDAP. See \fI\%http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes\fP for more information.
798
- .INDENT 0.0
799
- .IP \(bu 2
800
- .
801
- \fBDefault\fP: false
802
- .UNINDENT
803
- .SS ldapparentattr
804
- .sp
805
- The attribute to use to define the parent node.
806
- .INDENT 0.0
807
- .IP \(bu 2
808
- .
809
- \fBDefault\fP: parentnode
810
- .UNINDENT
811
- .SS ldappassword
812
- .sp
813
- The password to use to connect to LDAP.
814
- .SS ldapport
815
- .sp
816
- The LDAP port. Only used if \fBldapnodes\fP is enabled.
817
- .INDENT 0.0
818
- .IP \(bu 2
819
- .
820
- \fBDefault\fP: 389
821
- .UNINDENT
822
- .SS ldapserver
823
- .sp
824
- The LDAP server. Only used if \fBldapnodes\fP is enabled.
825
- .INDENT 0.0
826
- .IP \(bu 2
827
- .
828
- \fBDefault\fP: ldap
829
- .UNINDENT
830
- .SS ldapssl
831
- .sp
832
- 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.
833
- .INDENT 0.0
834
- .IP \(bu 2
835
- .
836
- \fBDefault\fP: false
837
- .UNINDENT
838
- .SS ldapstackedattrs
839
- .sp
840
- 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.
841
- .INDENT 0.0
842
- .IP \(bu 2
843
- .
844
- \fBDefault\fP: puppetvar
845
- .UNINDENT
846
- .SS ldapstring
847
- .sp
848
- The search string used to find an LDAP node.
849
- .INDENT 0.0
850
- .IP \(bu 2
851
- .
852
- \fBDefault\fP: (&(objectclass=puppetClient)(cn=%s))
853
- .UNINDENT
854
- .SS ldaptls
855
- .sp
856
- 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.
857
- .INDENT 0.0
858
- .IP \(bu 2
859
- .
860
- \fBDefault\fP: false
861
- .UNINDENT
862
- .SS ldapuser
863
- .sp
864
- The user to use to connect to LDAP. Must be specified as a full DN.
865
- .SS lexical
866
- .sp
867
- Whether to use lexical scoping (vs. dynamic).
868
- .INDENT 0.0
869
- .IP \(bu 2
870
- .
871
- \fBDefault\fP: false
872
- .UNINDENT
873
- .SS libdir
874
- .sp
875
- 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
876
- .INDENT 0.0
877
- .IP \(bu 2
878
- .
879
- \fBDefault\fP: $vardir/lib
880
- .UNINDENT
881
- .SS listen
882
- .sp
883
- Whether puppet agent 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 \fBpuppet agent\fP runs.
884
- .INDENT 0.0
885
- .IP \(bu 2
886
- .
887
- \fBDefault\fP: false
888
- .UNINDENT
889
- .SS localcacert
890
- .sp
891
- Where each client stores the CA certificate.
892
- .INDENT 0.0
893
- .IP \(bu 2
894
- .
895
- \fBDefault\fP: $certdir/ca.pem
896
- .UNINDENT
897
- .SS localconfig
898
- .sp
899
- Where puppet agent caches the local configuration. An extension indicating the cache format is added automatically.
900
- .INDENT 0.0
901
- .IP \(bu 2
902
- .
903
- \fBDefault\fP: $statedir/localconfig
904
- .UNINDENT
905
- .SS logdir
906
- .sp
907
- The Puppet log directory.
908
- .INDENT 0.0
909
- .IP \(bu 2
910
- .
911
- \fBDefault\fP: $vardir/log
912
- .UNINDENT
913
- .SS manage_internal_file_permissions
914
- .sp
915
- Whether Puppet should manage the owner, group, and mode of files it uses internally
916
- .INDENT 0.0
917
- .IP \(bu 2
918
- .
919
- \fBDefault\fP: true
920
- .UNINDENT
921
- .SS manifest
922
- .sp
923
- The entry\-point manifest for puppet master.
924
- .INDENT 0.0
925
- .IP \(bu 2
926
- .
927
- \fBDefault\fP: $manifestdir/site.pp
928
- .UNINDENT
929
- .SS manifestdir
930
- .sp
931
- Where puppet master looks for its manifests.
932
- .INDENT 0.0
933
- .IP \(bu 2
934
- .
935
- \fBDefault\fP: $confdir/manifests
936
- .UNINDENT
937
- .SS masterhttplog
938
- .sp
939
- Where the puppet master web server logs.
940
- .INDENT 0.0
941
- .IP \(bu 2
942
- .
943
- \fBDefault\fP: $logdir/masterhttp.log
944
- .UNINDENT
945
- .SS masterlog
946
- .sp
947
- Where puppet master logs. This is generally not used, since syslog is the default log destination.
948
- .INDENT 0.0
949
- .IP \(bu 2
950
- .
951
- \fBDefault\fP: $logdir/puppetmaster.log
952
- .UNINDENT
953
- .SS masterport
954
- .sp
955
- Which port puppet master listens on.
956
- .INDENT 0.0
957
- .IP \(bu 2
958
- .
959
- \fBDefault\fP: 8140
960
- .UNINDENT
961
- .SS maximum_uid
962
- .sp
963
- 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.
964
- .INDENT 0.0
965
- .IP \(bu 2
966
- .
967
- \fBDefault\fP: 4294967290
968
- .UNINDENT
969
- .SS mkusers
970
- .sp
971
- Whether to create the necessary user and group that puppet agent will run as.
972
- .INDENT 0.0
973
- .IP \(bu 2
974
- .
975
- \fBDefault\fP: false
976
- .UNINDENT
977
- .SS mode
978
- .sp
979
- The effective \(aqrun mode\(aq of the application: master, agent, or user.
980
- .INDENT 0.0
981
- .IP \(bu 2
982
- .
983
- \fBDefault\fP: master
984
- .UNINDENT
985
- .SS modulepath
986
- .sp
987
- The search path for modules as a colon\-separated list of directories.
988
- .INDENT 0.0
989
- .IP \(bu 2
990
- .
991
- \fBDefault\fP: $confdir/modules:/usr/share/puppet/modules
992
- .UNINDENT
993
- .SS name
994
- .sp
995
- The name of the application, if we are running as one. The default is essentially $0 without the path or \fB.rb\fP.
996
- .INDENT 0.0
997
- .IP \(bu 2
998
- .
999
- \fBDefault\fP: doc
1000
- .UNINDENT
1001
- .SS node_name
1002
- .sp
1003
- 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)
1004
- .INDENT 0.0
1005
- .IP \(bu 2
1006
- .
1007
- \fBDefault\fP: cert
1008
- .UNINDENT
1009
- .SS node_terminus
1010
- .sp
1011
- Where to find information about nodes.
1012
- .INDENT 0.0
1013
- .IP \(bu 2
1014
- .
1015
- \fBDefault\fP: plain
1016
- .UNINDENT
1017
- .SS noop
1018
- .sp
1019
- Whether puppet agent should be run in noop mode.
1020
- .INDENT 0.0
1021
- .IP \(bu 2
1022
- .
1023
- \fBDefault\fP: false
1024
- .UNINDENT
1025
- .SS onetime
1026
- .sp
1027
- Run the configuration once, rather than as a long\-running daemon. This is useful for interactively running puppetd.
1028
- .INDENT 0.0
1029
- .IP \(bu 2
1030
- .
1031
- \fBDefault\fP: false
1032
- .UNINDENT
1033
- .SS parseonly
1034
- .sp
1035
- Just check the syntax of the manifests.
1036
- .INDENT 0.0
1037
- .IP \(bu 2
1038
- .
1039
- \fBDefault\fP: false
1040
- .UNINDENT
1041
- .SS passfile
1042
- .sp
1043
- Where puppet agent stores the password for its private key. Generally unused.
1044
- .INDENT 0.0
1045
- .IP \(bu 2
1046
- .
1047
- \fBDefault\fP: $privatedir/password
1048
- .UNINDENT
1049
- .SS path
1050
- .sp
1051
- The shell search path. Defaults to whatever is inherited from the parent process.
1052
- .INDENT 0.0
1053
- .IP \(bu 2
1054
- .
1055
- \fBDefault\fP: none
1056
- .UNINDENT
1057
- .SS pidfile
1058
- .sp
1059
- The pid file
1060
- .INDENT 0.0
1061
- .IP \(bu 2
1062
- .
1063
- \fBDefault\fP: $rundir/$name.pid
1064
- .UNINDENT
1065
- .SS plugindest
1066
- .sp
1067
- Where Puppet should store plugins that it pulls down from the central server.
1068
- .INDENT 0.0
1069
- .IP \(bu 2
1070
- .
1071
- \fBDefault\fP: $libdir
1072
- .UNINDENT
1073
- .SS pluginsignore
1074
- .sp
1075
- What files to ignore when pulling down plugins.
1076
- .INDENT 0.0
1077
- .IP \(bu 2
1078
- .
1079
- \fBDefault\fP: .svn CVS .git
1080
- .UNINDENT
1081
- .SS pluginsource
1082
- .sp
1083
- 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.
1084
- .INDENT 0.0
1085
- .IP \(bu 2
1086
- .
1087
- \fBDefault\fP: puppet://$server/plugins
1088
- .UNINDENT
1089
- .SS pluginsync
1090
- .sp
1091
- Whether plugins should be synced with the central server.
1092
- .INDENT 0.0
1093
- .IP \(bu 2
1094
- .
1095
- \fBDefault\fP: false
1096
- .UNINDENT
1097
- .SS postrun_command
1098
- .sp
1099
- 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.
1100
- .SS preferred_serialization_format
1101
- .sp
1102
- 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.
1103
- .INDENT 0.0
1104
- .IP \(bu 2
1105
- .
1106
- \fBDefault\fP: pson
1107
- .UNINDENT
1108
- .SS prerun_command
1109
- .sp
1110
- A command to run before every agent run. If this command returns a non\-zero return code, the entire Puppet run will fail.
1111
- .SS privatedir
1112
- .sp
1113
- Where the client stores private certificate information.
1114
- .INDENT 0.0
1115
- .IP \(bu 2
1116
- .
1117
- \fBDefault\fP: $ssldir/private
1118
- .UNINDENT
1119
- .SS privatekeydir
1120
- .sp
1121
- The private key directory.
1122
- .INDENT 0.0
1123
- .IP \(bu 2
1124
- .
1125
- \fBDefault\fP: $ssldir/private_keys
1126
- .UNINDENT
1127
- .SS publickeydir
1128
- .sp
1129
- The public key directory.
1130
- .INDENT 0.0
1131
- .IP \(bu 2
1132
- .
1133
- \fBDefault\fP: $ssldir/public_keys
1134
- .UNINDENT
1135
- .SS puppetdlockfile
1136
- .sp
1137
- A lock file to temporarily stop puppet agent from doing anything.
1138
- .INDENT 0.0
1139
- .IP \(bu 2
1140
- .
1141
- \fBDefault\fP: $statedir/puppetdlock
1142
- .UNINDENT
1143
- .SS puppetdlog
1144
- .sp
1145
- The log file for puppet agent. This is generally not used.
1146
- .INDENT 0.0
1147
- .IP \(bu 2
1148
- .
1149
- \fBDefault\fP: $logdir/puppetd.log
1150
- .UNINDENT
1151
- .SS puppetport
1152
- .sp
1153
- Which port puppet agent listens on.
1154
- .INDENT 0.0
1155
- .IP \(bu 2
1156
- .
1157
- \fBDefault\fP: 8139
1158
- .UNINDENT
1159
- .SS queue_source
1160
- .sp
1161
- 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
1162
- .INDENT 0.0
1163
- .IP \(bu 2
1164
- .
1165
- \fBDefault\fP: stomp://localhost:61613/
1166
- .UNINDENT
1167
- .SS queue_type
1168
- .sp
1169
- Which type of queue to use for asynchronous processing.
1170
- .INDENT 0.0
1171
- .IP \(bu 2
1172
- .
1173
- \fBDefault\fP: stomp
1174
- .UNINDENT
1175
- .SS rails_loglevel
1176
- .sp
1177
- 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.
1178
- .INDENT 0.0
1179
- .IP \(bu 2
1180
- .
1181
- \fBDefault\fP: info
1182
- .UNINDENT
1183
- .SS railslog
1184
- .sp
1185
- Where Rails\-specific logs are sent
1186
- .INDENT 0.0
1187
- .IP \(bu 2
1188
- .
1189
- \fBDefault\fP: $logdir/rails.log
1190
- .UNINDENT
1191
- .SS report
1192
- .sp
1193
- Whether to send reports after every transaction.
1194
- .INDENT 0.0
1195
- .IP \(bu 2
1196
- .
1197
- \fBDefault\fP: false
1198
- .UNINDENT
1199
- .SS report_port
1200
- .sp
1201
- The port to communicate with the report_server.
1202
- .INDENT 0.0
1203
- .IP \(bu 2
1204
- .
1205
- \fBDefault\fP: $masterport
1206
- .UNINDENT
1207
- .SS report_server
1208
- .sp
1209
- The server to which to send transaction reports.
1210
- .INDENT 0.0
1211
- .IP \(bu 2
1212
- .
1213
- \fBDefault\fP: $server
1214
- .UNINDENT
1215
- .SS reportdir
1216
- .sp
1217
- The directory in which to store reports received from the client. Each client gets a separate subdirectory.
1218
- .INDENT 0.0
1219
- .IP \(bu 2
1220
- .
1221
- \fBDefault\fP: $vardir/reports
1222
- .UNINDENT
1223
- .SS reportfrom
1224
- .sp
1225
- The \(aqfrom\(aq email address for the reports.
1226
- .INDENT 0.0
1227
- .IP \(bu 2
1228
- .
1229
- \fBDefault\fP: \fI\%report@pelin.lovedthanlost.net\fP
1230
- .UNINDENT
1231
- .SS reports
1232
- .sp
1233
- 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).
1234
- .INDENT 0.0
1235
- .IP \(bu 2
1236
- .
1237
- \fBDefault\fP: store
1238
- .UNINDENT
1239
- .SS reportserver
1240
- .sp
1241
- (Deprecated for \(aqreport_server\(aq) The server to which to send transaction reports.
1242
- .INDENT 0.0
1243
- .IP \(bu 2
1244
- .
1245
- \fBDefault\fP: $server
1246
- .UNINDENT
1247
- .SS reporturl
1248
- .sp
1249
- The URL used by the http reports processor to send reports
1250
- .INDENT 0.0
1251
- .IP \(bu 2
1252
- .
1253
- \fBDefault\fP: \fI\%http://localhost:3000/reports\fP
1254
- .UNINDENT
1255
- .SS req_bits
1256
- .sp
1257
- The bit length of the certificates.
1258
- .INDENT 0.0
1259
- .IP \(bu 2
1260
- .
1261
- \fBDefault\fP: 2048
1262
- .UNINDENT
1263
- .SS requestdir
1264
- .sp
1265
- Where host certificate requests are stored.
1266
- .INDENT 0.0
1267
- .IP \(bu 2
1268
- .
1269
- \fBDefault\fP: $ssldir/certificate_requests
1270
- .UNINDENT
1271
- .SS rest_authconfig
1272
- .sp
1273
- The configuration file that defines the rights to the different rest indirections. This can be used as a fine\-grained authorization system for \fBpuppet master\fP.
1274
- .INDENT 0.0
1275
- .IP \(bu 2
1276
- .
1277
- \fBDefault\fP: $confdir/auth.conf
1278
- .UNINDENT
1279
- .SS rrddir
1280
- .sp
1281
- The directory where RRD database files are stored. Directories for each reporting host will be created under this directory.
1282
- .INDENT 0.0
1283
- .IP \(bu 2
1284
- .
1285
- \fBDefault\fP: $vardir/rrd
1286
- .UNINDENT
1287
- .SS rrdinterval
1288
- .sp
1289
- How often RRD should expect data. This should match how often the hosts report back to the server.
1290
- .INDENT 0.0
1291
- .IP \(bu 2
1292
- .
1293
- \fBDefault\fP: $runinterval
1294
- .UNINDENT
1295
- .SS rundir
1296
- .sp
1297
- Where Puppet PID files are kept.
1298
- .INDENT 0.0
1299
- .IP \(bu 2
1300
- .
1301
- \fBDefault\fP: $vardir/run
1302
- .UNINDENT
1303
- .SS runinterval
1304
- .sp
1305
- How often puppet agent applies the client configuration; in seconds.
1306
- .INDENT 0.0
1307
- .IP \(bu 2
1308
- .
1309
- \fBDefault\fP: 1800
1310
- .UNINDENT
1311
- .SS sendmail
1312
- .sp
1313
- Where to find the sendmail binary with which to send email.
1314
- .INDENT 0.0
1315
- .IP \(bu 2
1316
- .
1317
- \fBDefault\fP: /usr/sbin/sendmail
1318
- .UNINDENT
1319
- .SS serial
1320
- .sp
1321
- Where the serial number for certificates is stored.
1322
- .INDENT 0.0
1323
- .IP \(bu 2
1324
- .
1325
- \fBDefault\fP: $cadir/serial
1326
- .UNINDENT
1327
- .SS server
1328
- .sp
1329
- The server to which server puppet agent should connect
1330
- .INDENT 0.0
1331
- .IP \(bu 2
1332
- .
1333
- \fBDefault\fP: puppet
1334
- .UNINDENT
1335
- .SS server_datadir
1336
- .sp
1337
- The directory in which serialized data is stored, usually in a subdirectory.
1338
- .INDENT 0.0
1339
- .IP \(bu 2
1340
- .
1341
- \fBDefault\fP: $vardir/server_data
1342
- .UNINDENT
1343
- .SS servertype
1344
- .sp
1345
- 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.
1346
- .INDENT 0.0
1347
- .IP \(bu 2
1348
- .
1349
- \fBDefault\fP: webrick
1350
- .UNINDENT
1351
- .SS show_diff
1352
- .sp
1353
- 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.
1354
- .INDENT 0.0
1355
- .IP \(bu 2
1356
- .
1357
- \fBDefault\fP: false
1358
- .UNINDENT
1359
- .SS signeddir
1360
- .sp
1361
- Where the CA stores signed certificates.
1362
- .INDENT 0.0
1363
- .IP \(bu 2
1364
- .
1365
- \fBDefault\fP: $cadir/signed
1366
- .UNINDENT
1367
- .SS smtpserver
1368
- .sp
1369
- The server through which to send email reports.
1370
- .INDENT 0.0
1371
- .IP \(bu 2
1372
- .
1373
- \fBDefault\fP: none
1374
- .UNINDENT
1375
- .SS splay
1376
- .sp
1377
- Whether to sleep for a pseudo\-random (but consistent) amount of time before a run.
1378
- .INDENT 0.0
1379
- .IP \(bu 2
1380
- .
1381
- \fBDefault\fP: false
1382
- .UNINDENT
1383
- .SS splaylimit
1384
- .sp
1385
- The maximum time to delay before runs. Defaults to being the same as the run interval.
1386
- .INDENT 0.0
1387
- .IP \(bu 2
1388
- .
1389
- \fBDefault\fP: $runinterval
1390
- .UNINDENT
1391
- .SS ssl_client_header
1392
- .sp
1393
- 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://projects.puppetlabs.com/projects/puppet/wiki/Using_Mongrel\fP for more information.
1394
- .INDENT 0.0
1395
- .IP \(bu 2
1396
- .
1397
- \fBDefault\fP: HTTP_X_CLIENT_DN
1398
- .UNINDENT
1399
- .SS ssl_client_verify_header
1400
- .sp
1401
- 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://projects.puppetlabs.com/projects/puppet/wiki/Using_Mongrel\fP for more information.
1402
- .INDENT 0.0
1403
- .IP \(bu 2
1404
- .
1405
- \fBDefault\fP: HTTP_X_CLIENT_VERIFY
1406
- .UNINDENT
1407
- .SS ssldir
1408
- .sp
1409
- Where SSL certificates are kept.
1410
- .INDENT 0.0
1411
- .IP \(bu 2
1412
- .
1413
- \fBDefault\fP: $confdir/ssl
1414
- .UNINDENT
1415
- .SS statedir
1416
- .sp
1417
- The directory where Puppet state is stored. Generally, this directory can be removed without causing harm (although it might result in spurious service restarts).
1418
- .INDENT 0.0
1419
- .IP \(bu 2
1420
- .
1421
- \fBDefault\fP: $vardir/state
1422
- .UNINDENT
1423
- .SS statefile
1424
- .sp
1425
- Where puppet agent and puppet master store state associated with the running configuration. In the case of puppet master, this file reflects the state discovered through interacting with clients.
1426
- .INDENT 0.0
1427
- .IP \(bu 2
1428
- .
1429
- \fBDefault\fP: $statedir/state.yaml
1430
- .UNINDENT
1431
- .SS storeconfigs
1432
- .sp
1433
- Whether to store each client\(aqs configuration. This requires ActiveRecord from Ruby on Rails.
1434
- .INDENT 0.0
1435
- .IP \(bu 2
1436
- .
1437
- \fBDefault\fP: false
1438
- .UNINDENT
1439
- .SS strict_hostname_checking
1440
- .sp
1441
- Whether to only search for the complete hostname as it is in the certificate when searching for node information in the catalogs.
1442
- .INDENT 0.0
1443
- .IP \(bu 2
1444
- .
1445
- \fBDefault\fP: false
1446
- .UNINDENT
1447
- .SS summarize
1448
- .sp
1449
- Whether to print a transaction summary.
1450
- .INDENT 0.0
1451
- .IP \(bu 2
1452
- .
1453
- \fBDefault\fP: false
1454
- .UNINDENT
1455
- .SS syslogfacility
1456
- .sp
1457
- 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.
1458
- .INDENT 0.0
1459
- .IP \(bu 2
1460
- .
1461
- \fBDefault\fP: daemon
1462
- .UNINDENT
1463
- .SS tagmap
1464
- .sp
1465
- The mapping between reporting tags and email addresses.
1466
- .INDENT 0.0
1467
- .IP \(bu 2
1468
- .
1469
- \fBDefault\fP: $confdir/tagmail.conf
1470
- .UNINDENT
1471
- .SS tags
1472
- .sp
1473
- 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.
1474
- .SS templatedir
1475
- .sp
1476
- Where Puppet looks for template files. Can be a list of colon\-seperated directories.
1477
- .INDENT 0.0
1478
- .IP \(bu 2
1479
- .
1480
- \fBDefault\fP: $vardir/templates
1481
- .UNINDENT
1482
- .SS thin_storeconfigs
1483
- .sp
1484
- 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
1485
- .INDENT 0.0
1486
- .IP \(bu 2
1487
- .
1488
- \fBDefault\fP: false
1489
- .UNINDENT
1490
- .SS trace
1491
- .sp
1492
- Whether to print stack traces on some errors
1493
- .INDENT 0.0
1494
- .IP \(bu 2
1495
- .
1496
- \fBDefault\fP: false
1497
- .UNINDENT
1498
- .SS use_cached_catalog
1499
- .sp
1500
- 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.
1501
- .INDENT 0.0
1502
- .IP \(bu 2
1503
- .
1504
- \fBDefault\fP: false
1505
- .UNINDENT
1506
- .SS usecacheonfailure
1507
- .sp
1508
- 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.
1509
- .INDENT 0.0
1510
- .IP \(bu 2
1511
- .
1512
- \fBDefault\fP: true
1513
- .UNINDENT
1514
- .SS user
1515
- .sp
1516
- The user puppet master should run as.
1517
- .INDENT 0.0
1518
- .IP \(bu 2
1519
- .
1520
- \fBDefault\fP: puppet
1521
- .UNINDENT
1522
- .SS vardir
1523
- .sp
1524
- Where Puppet stores dynamic and growing data. The default for this parameter is calculated specially, like \fI\%confdir\fP.
1525
- .INDENT 0.0
1526
- .IP \(bu 2
1527
- .
1528
- \fBDefault\fP: /var/lib/puppet
1529
- .UNINDENT
1530
- .SS yamldir
1531
- .sp
1532
- The directory in which YAML data is stored, usually in a subdirectory.
1533
- .INDENT 0.0
1534
- .IP \(bu 2
1535
- .
1536
- \fBDefault\fP: $vardir/yaml
1537
- .UNINDENT
1538
- .SS zlib
1539
- .sp
1540
- Boolean; whether to use the zlib library
1541
- .INDENT 0.0
1542
- .IP \(bu 2
1543
541
  .
1544
- \fBDefault\fP: true
1545
- .UNINDENT
1546
-
1547
- .sp
1548
- .ce
1549
- ----
1550
-
1551
- .ce 0
1552
- .sp
1553
- .sp
1554
- \fIThis page autogenerated on Wed Jul 14 14:33:09 \-0700 2010\fP
1555
- .\" Generated by docutils manpage writer.
1556
- .\"
542
+ .IP "\(bu" 4
543
+ \fIDefault\fR: $cadir/requests
544
+ .
545
+ .IP "" 0
546
+ .
547
+ .P
548
+ daemonize +++++++++
549
+ .
550
+ .P
551
+ Send the process into the background\. This is the default\.
552
+ .
553
+ .IP "\(bu" 4
554
+ \fIDefault\fR: true
555
+ .
556
+ .IP "" 0
557
+ .
558
+ .P
559
+ dbadapter +++++++++
560
+ .
561
+ .P
562
+ The type of database to use\.
563
+ .
564
+ .IP "\(bu" 4
565
+ \fIDefault\fR: sqlite3
566
+ .
567
+ .IP "" 0
568
+ .
569
+ .P
570
+ dbconnections +++++++++++++
571
+ .
572
+ .P
573
+ The number of database connections\. Only used when networked databases are used\. Will be ignored if the value is an empty string or is less than 1\.
574
+ .
575
+ .IP "\(bu" 4
576
+ \fIDefault\fR: 0
577
+ .
578
+ .IP "" 0
579
+ .
580
+ .P
581
+ dblocation ++++++++++
582
+ .
583
+ .P
584
+ The database cache for client configurations\. Used for querying within the language\.
585
+ .
586
+ .IP "\(bu" 4
587
+ \fIDefault\fR: $statedir/clientconfigs\.sqlite3
588
+ .
589
+ .IP "" 0
590
+ .
591
+ .P
592
+ dbmigrate +++++++++
593
+ .
594
+ .P
595
+ Whether to automatically migrate the database\.
596
+ .
597
+ .IP "\(bu" 4
598
+ \fIDefault\fR: false
599
+ .
600
+ .IP "" 0
601
+ .
602
+ .P
603
+ dbname ++++++
604
+ .
605
+ .P
606
+ The name of the database to use\.
607
+ .
608
+ .IP "\(bu" 4
609
+ \fIDefault\fR: puppet
610
+ .
611
+ .IP "" 0
612
+ .
613
+ .P
614
+ dbpassword ++++++++++
615
+ .
616
+ .P
617
+ The database password for caching\. Only used when networked databases are used\.
618
+ .
619
+ .IP "\(bu" 4
620
+ \fIDefault\fR: puppet
621
+ .
622
+ .IP "" 0
623
+ .
624
+ .P
625
+ dbport ++++++
626
+ .
627
+ .P
628
+ The database password for caching\. Only used when networked databases are used\.
629
+ .
630
+ .P
631
+ dbserver ++++++++
632
+ .
633
+ .P
634
+ The database server for caching\. Only used when networked databases are used\.
635
+ .
636
+ .IP "\(bu" 4
637
+ \fIDefault\fR: localhost
638
+ .
639
+ .IP "" 0
640
+ .
641
+ .P
642
+ dbsocket ++++++++
643
+ .
644
+ .P
645
+ The database socket location\. Only used when networked databases are used\. Will be ignored if the value is an empty string\.
646
+ .
647
+ .P
648
+ dbuser ++++++
649
+ .
650
+ .P
651
+ The database user for caching\. Only used when networked databases are used\.
652
+ .
653
+ .IP "\(bu" 4
654
+ \fIDefault\fR: puppet
655
+ .
656
+ .IP "" 0
657
+ .
658
+ .P
659
+ diff ++++
660
+ .
661
+ .P
662
+ Which diff command to use when printing differences between files\.
663
+ .
664
+ .IP "\(bu" 4
665
+ \fIDefault\fR: diff
666
+ .
667
+ .IP "" 0
668
+ .
669
+ .P
670
+ diff_args +++++++++
671
+ .
672
+ .P
673
+ Which arguments to pass to the diff command when printing differences between files\.
674
+ .
675
+ .IP "\(bu" 4
676
+ \fIDefault\fR: \-u
677
+ .
678
+ .IP "" 0
679
+ .
680
+ .P
681
+ downcasefacts +++++++++++++
682
+ .
683
+ .P
684
+ Whether facts should be made all lowercase when sent to the server\.
685
+ .
686
+ .IP "\(bu" 4
687
+ \fIDefault\fR: false
688
+ .
689
+ .IP "" 0
690
+ .
691
+ .P
692
+ dynamicfacts ++++++++++++
693
+ .
694
+ .P
695
+ 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\.
696
+ .
697
+ .IP "\(bu" 4
698
+ \fIDefault\fR: memorysize,memoryfree,swapsize,swapfree
699
+ .
700
+ .IP "" 0
701
+ .
702
+ .P
703
+ environment +++++++++++
704
+ .
705
+ .P
706
+ The environment Puppet is running in\. For clients (e\.g\., \fBpuppet agent\fR) this determines the environment itself, which is used to find modules and much more\. For servers (i\.e\., \fBpuppet master\fR) this provides the default environment for nodes we know nothing about\.
707
+ .
708
+ .IP "\(bu" 4
709
+ \fIDefault\fR: production
710
+ .
711
+ .IP "" 0
712
+ .
713
+ .P
714
+ evaltrace +++++++++
715
+ .
716
+ .P
717
+ Whether each resource should log when it is being evaluated\. This allows you to interactively see exactly what is being done\.
718
+ .
719
+ .IP "\(bu" 4
720
+ \fIDefault\fR: false
721
+ .
722
+ .IP "" 0
723
+ .
724
+ .P
725
+ external_nodes ++++++++++++++
726
+ .
727
+ .P
728
+ 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\fR and \fBparameters\fR, where \fBclasses\fR is an array and \fBparameters\fR 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\.
729
+ .
730
+ .IP "\(bu" 4
731
+ \fIDefault\fR: none
732
+ .
733
+ .IP "" 0
734
+ .
735
+ .P
736
+ factdest ++++++++
737
+ .
738
+ .P
739
+ Where Puppet should store facts that it pulls down from the central server\.
740
+ .
741
+ .IP "\(bu" 4
742
+ \fIDefault\fR: $vardir/facts/
743
+ .
744
+ .IP "" 0
745
+ .
746
+ .P
747
+ factpath ++++++++
748
+ .
749
+ .P
750
+ Where Puppet should look for facts\. Multiple directories should be colon\-separated, like normal PATH variables\.
751
+ .
752
+ .IP "\(bu" 4
753
+ \fIDefault\fR: $vardir/lib/facter:$vardir/facts
754
+ .
755
+ .IP "" 0
756
+ .
757
+ .P
758
+ facts_terminus ++++++++++++++
759
+ .
760
+ .P
761
+ The node facts terminus\.
762
+ .
763
+ .IP "\(bu" 4
764
+ \fIDefault\fR: facter
765
+ .
766
+ .IP "" 0
767
+ .
768
+ .P
769
+ factsignore +++++++++++
770
+ .
771
+ .P
772
+ What files to ignore when pulling down facts\.
773
+ .
774
+ .IP "\(bu" 4
775
+ \fIDefault\fR: \.svn CVS
776
+ .
777
+ .IP "" 0
778
+ .
779
+ .P
780
+ factsource ++++++++++
781
+ .
782
+ .P
783
+ From where to retrieve facts\. The standard Puppet \fBfile\fR type is used for retrieval, so anything that is a valid file source can be used here\.
784
+ .
785
+ .IP "\(bu" 4
786
+ \fIDefault\fR: puppet://$server/facts/
787
+ .
788
+ .IP "" 0
789
+ .
790
+ .P
791
+ factsync ++++++++
792
+ .
793
+ .P
794
+ Whether facts should be synced with the central server\.
795
+ .
796
+ .IP "\(bu" 4
797
+ \fIDefault\fR: false
798
+ .
799
+ .IP "" 0
800
+ .
801
+ .P
802
+ fileserverconfig ++++++++++++++++
803
+ .
804
+ .P
805
+ Where the fileserver configuration is stored\.
806
+ .
807
+ .IP "\(bu" 4
808
+ \fIDefault\fR: $confdir/fileserver\.conf
809
+ .
810
+ .IP "" 0
811
+ .
812
+ .P
813
+ filetimeout +++++++++++
814
+ .
815
+ .P
816
+ 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\.
817
+ .
818
+ .IP "\(bu" 4
819
+ \fIDefault\fR: 15
820
+ .
821
+ .IP "" 0
822
+ .
823
+ .P
824
+ freeze_main +++++++++++
825
+ .
826
+ .P
827
+ Freezes the \'main\' class, disallowing any code to be added to it\. This essentially means that you can\'t have any code outside of a node, class, or definition other than in the site manifest\.
828
+ .
829
+ .IP "\(bu" 4
830
+ \fIDefault\fR: false
831
+ .
832
+ .IP "" 0
833
+ .
834
+ .P
835
+ genconfig +++++++++
836
+ .
837
+ .P
838
+ Whether to just print a configuration to stdout and exit\. Only makes sense when used interactively\. Takes into account arguments specified on the CLI\.
839
+ .
840
+ .IP "\(bu" 4
841
+ \fIDefault\fR: false
842
+ .
843
+ .IP "" 0
844
+ .
845
+ .P
846
+ genmanifest +++++++++++
847
+ .
848
+ .P
849
+ Whether to just print a manifest to stdout and exit\. Only makes sense when used interactively\. Takes into account arguments specified on the CLI\.
850
+ .
851
+ .IP "\(bu" 4
852
+ \fIDefault\fR: false
853
+ .
854
+ .IP "" 0
855
+ .
856
+ .P
857
+ graph +++++
858
+ .
859
+ .P
860
+ 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)\.
861
+ .
862
+ .IP "\(bu" 4
863
+ \fIDefault\fR: false
864
+ .
865
+ .IP "" 0
866
+ .
867
+ .P
868
+ graphdir ++++++++
869
+ .
870
+ .P
871
+ Where to store dot\-outputted graphs\.
872
+ .
873
+ .IP "\(bu" 4
874
+ \fIDefault\fR: $statedir/graphs
875
+ .
876
+ .IP "" 0
877
+ .
878
+ .P
879
+ group +++++
880
+ .
881
+ .P
882
+ The group puppet master should run as\.
883
+ .
884
+ .IP "\(bu" 4
885
+ \fIDefault\fR: puppet
886
+ .
887
+ .IP "" 0
888
+ .
889
+ .P
890
+ hostcert ++++++++
891
+ .
892
+ .P
893
+ Where individual hosts store and look for their certificates\.
894
+ .
895
+ .IP "\(bu" 4
896
+ \fIDefault\fR: $certdir/$certname\.pem
897
+ .
898
+ .IP "" 0
899
+ .
900
+ .P
901
+ hostcrl +++++++
902
+ .
903
+ .P
904
+ Where the host\'s certificate revocation list can be found\. This is distinct from the certificate authority\'s CRL\.
905
+ .
906
+ .IP "\(bu" 4
907
+ \fIDefault\fR: $ssldir/crl\.pem
908
+ .
909
+ .IP "" 0
910
+ .
911
+ .P
912
+ hostcsr +++++++
913
+ .
914
+ .P
915
+ Where individual hosts store and look for their certificate requests\.
916
+ .
917
+ .IP "\(bu" 4
918
+ \fIDefault\fR: $ssldir/csr_$certname\.pem
919
+ .
920
+ .IP "" 0
921
+ .
922
+ .P
923
+ hostprivkey +++++++++++
924
+ .
925
+ .P
926
+ Where individual hosts store and look for their private key\.
927
+ .
928
+ .IP "\(bu" 4
929
+ \fIDefault\fR: $privatekeydir/$certname\.pem
930
+ .
931
+ .IP "" 0
932
+ .
933
+ .P
934
+ hostpubkey ++++++++++
935
+ .
936
+ .P
937
+ Where individual hosts store and look for their public key\.
938
+ .
939
+ .IP "\(bu" 4
940
+ \fIDefault\fR: $publickeydir/$certname\.pem
941
+ .
942
+ .IP "" 0
943
+ .
944
+ .P
945
+ http_compression ++++++++++++++++
946
+ .
947
+ .P
948
+ Allow http compression in REST communication with the master\. This setting might improve performance for agent \-> master communications over slow WANs\. Your puppetmaster needs to support compression (usually by activating some settings in a reverse\-proxy in front of the puppetmaster, which rules out webrick)\. It is harmless to activate this settings if your master doesn\'t support compression, but if it supports it, this setting might reduce performance on high\-speed LANs\.
949
+ .
950
+ .IP "\(bu" 4
951
+ \fIDefault\fR: false
952
+ .
953
+ .IP "" 0
954
+ .
955
+ .P
956
+ http_proxy_host +++++++++++++++
957
+ .
958
+ .P
959
+ 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\.
960
+ .
961
+ .IP "\(bu" 4
962
+ \fIDefault\fR: none
963
+ .
964
+ .IP "" 0
965
+ .
966
+ .P
967
+ http_proxy_port +++++++++++++++
968
+ .
969
+ .P
970
+ The HTTP proxy port to use for outgoing connections
971
+ .
972
+ .IP "\(bu" 4
973
+ \fIDefault\fR: 3128
974
+ .
975
+ .IP "" 0
976
+ .
977
+ .P
978
+ httplog +++++++
979
+ .
980
+ .P
981
+ Where the puppet agent web server logs\.
982
+ .
983
+ .IP "\(bu" 4
984
+ \fIDefault\fR: $logdir/http\.log
985
+ .
986
+ .IP "" 0
987
+ .
988
+ .P
989
+ ignorecache +++++++++++
990
+ .
991
+ .P
992
+ 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\.
993
+ .
994
+ .IP "\(bu" 4
995
+ \fIDefault\fR: false
996
+ .
997
+ .IP "" 0
998
+ .
999
+ .P
1000
+ ignoreimport ++++++++++++
1001
+ .
1002
+ .P
1003
+ 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\.
1004
+ .
1005
+ .IP "\(bu" 4
1006
+ \fIDefault\fR: false
1007
+ .
1008
+ .IP "" 0
1009
+ .
1010
+ .P
1011
+ ignoreschedules +++++++++++++++
1012
+ .
1013
+ .P
1014
+ Boolean; whether puppet agent should ignore schedules\. This is useful for initial puppet agent runs\.
1015
+ .
1016
+ .IP "\(bu" 4
1017
+ \fIDefault\fR: false
1018
+ .
1019
+ .IP "" 0
1020
+ .
1021
+ .P
1022
+ keylength +++++++++
1023
+ .
1024
+ .P
1025
+ The bit length of keys\.
1026
+ .
1027
+ .IP "\(bu" 4
1028
+ \fIDefault\fR: 1024
1029
+ .
1030
+ .IP "" 0
1031
+ .
1032
+ .P
1033
+ ldapattrs +++++++++
1034
+ .
1035
+ .P
1036
+ 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\.
1037
+ .
1038
+ .IP "\(bu" 4
1039
+ \fIDefault\fR: all
1040
+ .
1041
+ .IP "" 0
1042
+ .
1043
+ .P
1044
+ ldapbase ++++++++
1045
+ .
1046
+ .P
1047
+ 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\.
1048
+ .
1049
+ .P
1050
+ ldapclassattrs ++++++++++++++
1051
+ .
1052
+ .P
1053
+ The LDAP attributes to use to define Puppet classes\. Values should be comma\-separated\.
1054
+ .
1055
+ .IP "\(bu" 4
1056
+ \fIDefault\fR: puppetclass
1057
+ .
1058
+ .IP "" 0
1059
+ .
1060
+ .P
1061
+ ldapnodes +++++++++
1062
+ .
1063
+ .P
1064
+ Whether to search for node configurations in LDAP\. See http://projects\.puppetlabs\.com/projects/puppet/wiki/LDAP_Nodes for more information\.
1065
+ .
1066
+ .IP "\(bu" 4
1067
+ \fIDefault\fR: false
1068
+ .
1069
+ .IP "" 0
1070
+ .
1071
+ .P
1072
+ ldapparentattr ++++++++++++++
1073
+ .
1074
+ .P
1075
+ The attribute to use to define the parent node\.
1076
+ .
1077
+ .IP "\(bu" 4
1078
+ \fIDefault\fR: parentnode
1079
+ .
1080
+ .IP "" 0
1081
+ .
1082
+ .P
1083
+ ldappassword ++++++++++++
1084
+ .
1085
+ .P
1086
+ The password to use to connect to LDAP\.
1087
+ .
1088
+ .P
1089
+ ldapport ++++++++
1090
+ .
1091
+ .P
1092
+ The LDAP port\. Only used if \fBldapnodes\fR is enabled\.
1093
+ .
1094
+ .IP "\(bu" 4
1095
+ \fIDefault\fR: 389
1096
+ .
1097
+ .IP "" 0
1098
+ .
1099
+ .P
1100
+ ldapserver ++++++++++
1101
+ .
1102
+ .P
1103
+ The LDAP server\. Only used if \fBldapnodes\fR is enabled\.
1104
+ .
1105
+ .IP "\(bu" 4
1106
+ \fIDefault\fR: ldap
1107
+ .
1108
+ .IP "" 0
1109
+ .
1110
+ .P
1111
+ ldapssl +++++++
1112
+ .
1113
+ .P
1114
+ 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\.
1115
+ .
1116
+ .IP "\(bu" 4
1117
+ \fIDefault\fR: false
1118
+ .
1119
+ .IP "" 0
1120
+ .
1121
+ .P
1122
+ ldapstackedattrs ++++++++++++++++
1123
+ .
1124
+ .P
1125
+ 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\.
1126
+ .
1127
+ .IP "\(bu" 4
1128
+ \fIDefault\fR: puppetvar
1129
+ .
1130
+ .IP "" 0
1131
+ .
1132
+ .P
1133
+ ldapstring ++++++++++
1134
+ .
1135
+ .P
1136
+ The search string used to find an LDAP node\.
1137
+ .
1138
+ .IP "\(bu" 4
1139
+ \fIDefault\fR: (&(objectclass=puppetClient)(cn=%s))
1140
+ .
1141
+ .IP "" 0
1142
+ .
1143
+ .P
1144
+ ldaptls +++++++
1145
+ .
1146
+ .P
1147
+ 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\.
1148
+ .
1149
+ .IP "\(bu" 4
1150
+ \fIDefault\fR: false
1151
+ .
1152
+ .IP "" 0
1153
+ .
1154
+ .P
1155
+ ldapuser ++++++++
1156
+ .
1157
+ .P
1158
+ The user to use to connect to LDAP\. Must be specified as a full DN\.
1159
+ .
1160
+ .P
1161
+ lexical +++++++
1162
+ .
1163
+ .P
1164
+ Whether to use lexical scoping (vs\. dynamic)\.
1165
+ .
1166
+ .IP "\(bu" 4
1167
+ \fIDefault\fR: false
1168
+ .
1169
+ .IP "" 0
1170
+ .
1171
+ .P
1172
+ libdir ++++++
1173
+ .
1174
+ .P
1175
+ 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
1176
+ .
1177
+ .IP "\(bu" 4
1178
+ \fIDefault\fR: $vardir/lib
1179
+ .
1180
+ .IP "" 0
1181
+ .
1182
+ .P
1183
+ listen ++++++
1184
+ .
1185
+ .P
1186
+ Whether puppet agent should listen for connections\. If this is true, then by default only the \fBrunner\fR server is started, which allows remote authorized and authenticated nodes to connect and trigger \fBpuppet agent\fR runs\.
1187
+ .
1188
+ .IP "\(bu" 4
1189
+ \fIDefault\fR: false
1190
+ .
1191
+ .IP "" 0
1192
+ .
1193
+ .P
1194
+ localcacert +++++++++++
1195
+ .
1196
+ .P
1197
+ Where each client stores the CA certificate\.
1198
+ .
1199
+ .IP "\(bu" 4
1200
+ \fIDefault\fR: $certdir/ca\.pem
1201
+ .
1202
+ .IP "" 0
1203
+ .
1204
+ .P
1205
+ localconfig +++++++++++
1206
+ .
1207
+ .P
1208
+ Where puppet agent caches the local configuration\. An extension indicating the cache format is added automatically\.
1209
+ .
1210
+ .IP "\(bu" 4
1211
+ \fIDefault\fR: $statedir/localconfig
1212
+ .
1213
+ .IP "" 0
1214
+ .
1215
+ .P
1216
+ logdir ++++++
1217
+ .
1218
+ .P
1219
+ The Puppet log directory\.
1220
+ .
1221
+ .IP "\(bu" 4
1222
+ \fIDefault\fR: $vardir/log
1223
+ .
1224
+ .IP "" 0
1225
+ .
1226
+ .P
1227
+ manage_internal_file_permissions ++++++++++++++++++++++++++++++++
1228
+ .
1229
+ .P
1230
+ Whether Puppet should manage the owner, group, and mode of files it uses internally
1231
+ .
1232
+ .IP "\(bu" 4
1233
+ \fIDefault\fR: true
1234
+ .
1235
+ .IP "" 0
1236
+ .
1237
+ .P
1238
+ manifest ++++++++
1239
+ .
1240
+ .P
1241
+ The entry\-point manifest for puppet master\.
1242
+ .
1243
+ .IP "\(bu" 4
1244
+ \fIDefault\fR: $manifestdir/site\.pp
1245
+ .
1246
+ .IP "" 0
1247
+ .
1248
+ .P
1249
+ manifestdir +++++++++++
1250
+ .
1251
+ .P
1252
+ Where puppet master looks for its manifests\.
1253
+ .
1254
+ .IP "\(bu" 4
1255
+ \fIDefault\fR: $confdir/manifests
1256
+ .
1257
+ .IP "" 0
1258
+ .
1259
+ .P
1260
+ masterhttplog +++++++++++++
1261
+ .
1262
+ .P
1263
+ Where the puppet master web server logs\.
1264
+ .
1265
+ .IP "\(bu" 4
1266
+ \fIDefault\fR: $logdir/masterhttp\.log
1267
+ .
1268
+ .IP "" 0
1269
+ .
1270
+ .P
1271
+ masterlog +++++++++
1272
+ .
1273
+ .P
1274
+ Where puppet master logs\. This is generally not used, since syslog is the default log destination\.
1275
+ .
1276
+ .IP "\(bu" 4
1277
+ \fIDefault\fR: $logdir/puppetmaster\.log
1278
+ .
1279
+ .IP "" 0
1280
+ .
1281
+ .P
1282
+ masterport ++++++++++
1283
+ .
1284
+ .P
1285
+ Which port puppet master listens on\.
1286
+ .
1287
+ .IP "\(bu" 4
1288
+ \fIDefault\fR: 8140
1289
+ .
1290
+ .IP "" 0
1291
+ .
1292
+ .P
1293
+ maximum_uid +++++++++++
1294
+ .
1295
+ .P
1296
+ 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\.
1297
+ .
1298
+ .IP "\(bu" 4
1299
+ \fIDefault\fR: 4294967290
1300
+ .
1301
+ .IP "" 0
1302
+ .
1303
+ .P
1304
+ mkusers +++++++
1305
+ .
1306
+ .P
1307
+ Whether to create the necessary user and group that puppet agent will run as\.
1308
+ .
1309
+ .IP "\(bu" 4
1310
+ \fIDefault\fR: false
1311
+ .
1312
+ .IP "" 0
1313
+ .
1314
+ .P
1315
+ modulepath ++++++++++
1316
+ .
1317
+ .P
1318
+ The search path for modules as a colon\-separated list of directories\.
1319
+ .
1320
+ .IP "\(bu" 4
1321
+ \fIDefault\fR: $confdir/modules:/usr/share/puppet/modules
1322
+ .
1323
+ .IP "" 0
1324
+ .
1325
+ .P
1326
+ name ++++
1327
+ .
1328
+ .P
1329
+ The name of the application, if we are running as one\. The default is essentially $0 without the path or \fB\.rb\fR\.
1330
+ .
1331
+ .IP "\(bu" 4
1332
+ \fIDefault\fR: doc
1333
+ .
1334
+ .IP "" 0
1335
+ .
1336
+ .P
1337
+ node_name +++++++++
1338
+ .
1339
+ .P
1340
+ 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)
1341
+ .
1342
+ .IP "\(bu" 4
1343
+ \fIDefault\fR: cert
1344
+ .
1345
+ .IP "" 0
1346
+ .
1347
+ .P
1348
+ node_terminus +++++++++++++
1349
+ .
1350
+ .P
1351
+ Where to find information about nodes\.
1352
+ .
1353
+ .IP "\(bu" 4
1354
+ \fIDefault\fR: plain
1355
+ .
1356
+ .IP "" 0
1357
+ .
1358
+ .P
1359
+ noop ++++
1360
+ .
1361
+ .P
1362
+ Whether puppet agent should be run in noop mode\.
1363
+ .
1364
+ .IP "\(bu" 4
1365
+ \fIDefault\fR: false
1366
+ .
1367
+ .IP "" 0
1368
+ .
1369
+ .P
1370
+ onetime +++++++
1371
+ .
1372
+ .P
1373
+ Run the configuration once, rather than as a long\-running daemon\. This is useful for interactively running puppetd\.
1374
+ .
1375
+ .IP "\(bu" 4
1376
+ \fIDefault\fR: false
1377
+ .
1378
+ .IP "" 0
1379
+ .
1380
+ .P
1381
+ parseonly +++++++++
1382
+ .
1383
+ .P
1384
+ Just check the syntax of the manifests\.
1385
+ .
1386
+ .IP "\(bu" 4
1387
+ \fIDefault\fR: false
1388
+ .
1389
+ .IP "" 0
1390
+ .
1391
+ .P
1392
+ passfile ++++++++
1393
+ .
1394
+ .P
1395
+ Where puppet agent stores the password for its private key\. Generally unused\.
1396
+ .
1397
+ .IP "\(bu" 4
1398
+ \fIDefault\fR: $privatedir/password
1399
+ .
1400
+ .IP "" 0
1401
+ .
1402
+ .P
1403
+ path ++++
1404
+ .
1405
+ .P
1406
+ The shell search path\. Defaults to whatever is inherited from the parent process\.
1407
+ .
1408
+ .IP "\(bu" 4
1409
+ \fIDefault\fR: none
1410
+ .
1411
+ .IP "" 0
1412
+ .
1413
+ .P
1414
+ pidfile +++++++
1415
+ .
1416
+ .P
1417
+ The pid file
1418
+ .
1419
+ .IP "\(bu" 4
1420
+ \fIDefault\fR: $rundir/$name\.pid
1421
+ .
1422
+ .IP "" 0
1423
+ .
1424
+ .P
1425
+ plugindest ++++++++++
1426
+ .
1427
+ .P
1428
+ Where Puppet should store plugins that it pulls down from the central server\.
1429
+ .
1430
+ .IP "\(bu" 4
1431
+ \fIDefault\fR: $libdir
1432
+ .
1433
+ .IP "" 0
1434
+ .
1435
+ .P
1436
+ pluginsignore +++++++++++++
1437
+ .
1438
+ .P
1439
+ What files to ignore when pulling down plugins\.
1440
+ .
1441
+ .IP "\(bu" 4
1442
+ \fIDefault\fR: \.svn CVS \.git
1443
+ .
1444
+ .IP "" 0
1445
+ .
1446
+ .P
1447
+ pluginsource ++++++++++++
1448
+ .
1449
+ .P
1450
+ From where to retrieve plugins\. The standard Puppet \fBfile\fR type is used for retrieval, so anything that is a valid file source can be used here\.
1451
+ .
1452
+ .IP "\(bu" 4
1453
+ \fIDefault\fR: puppet://$server/plugins
1454
+ .
1455
+ .IP "" 0
1456
+ .
1457
+ .P
1458
+ pluginsync ++++++++++
1459
+ .
1460
+ .P
1461
+ Whether plugins should be synced with the central server\.
1462
+ .
1463
+ .IP "\(bu" 4
1464
+ \fIDefault\fR: false
1465
+ .
1466
+ .IP "" 0
1467
+ .
1468
+ .P
1469
+ postrun_command +++++++++++++++
1470
+ .
1471
+ .P
1472
+ 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\.
1473
+ .
1474
+ .P
1475
+ preferred_serialization_format ++++++++++++++++++++++++++++++
1476
+ .
1477
+ .P
1478
+ The preferred means of serializing ruby instances for passing over the wire\. This won\'t 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\.
1479
+ .
1480
+ .IP "\(bu" 4
1481
+ \fIDefault\fR: pson
1482
+ .
1483
+ .IP "" 0
1484
+ .
1485
+ .P
1486
+ prerun_command ++++++++++++++
1487
+ .
1488
+ .P
1489
+ A command to run before every agent run\. If this command returns a non\-zero return code, the entire Puppet run will fail\.
1490
+ .
1491
+ .P
1492
+ privatedir ++++++++++
1493
+ .
1494
+ .P
1495
+ Where the client stores private certificate information\.
1496
+ .
1497
+ .IP "\(bu" 4
1498
+ \fIDefault\fR: $ssldir/private
1499
+ .
1500
+ .IP "" 0
1501
+ .
1502
+ .P
1503
+ privatekeydir +++++++++++++
1504
+ .
1505
+ .P
1506
+ The private key directory\.
1507
+ .
1508
+ .IP "\(bu" 4
1509
+ \fIDefault\fR: $ssldir/private_keys
1510
+ .
1511
+ .IP "" 0
1512
+ .
1513
+ .P
1514
+ publickeydir ++++++++++++
1515
+ .
1516
+ .P
1517
+ The public key directory\.
1518
+ .
1519
+ .IP "\(bu" 4
1520
+ \fIDefault\fR: $ssldir/public_keys
1521
+ .
1522
+ .IP "" 0
1523
+ .
1524
+ .P
1525
+ puppetdlockfile +++++++++++++++
1526
+ .
1527
+ .P
1528
+ A lock file to temporarily stop puppet agent from doing anything\.
1529
+ .
1530
+ .IP "\(bu" 4
1531
+ \fIDefault\fR: $statedir/puppetdlock
1532
+ .
1533
+ .IP "" 0
1534
+ .
1535
+ .P
1536
+ puppetdlog ++++++++++
1537
+ .
1538
+ .P
1539
+ The log file for puppet agent\. This is generally not used\.
1540
+ .
1541
+ .IP "\(bu" 4
1542
+ \fIDefault\fR: $logdir/puppetd\.log
1543
+ .
1544
+ .IP "" 0
1545
+ .
1546
+ .P
1547
+ puppetport ++++++++++
1548
+ .
1549
+ .P
1550
+ Which port puppet agent listens on\.
1551
+ .
1552
+ .IP "\(bu" 4
1553
+ \fIDefault\fR: 8139
1554
+ .
1555
+ .IP "" 0
1556
+ .
1557
+ .P
1558
+ queue_source ++++++++++++
1559
+ .
1560
+ .P
1561
+ 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
1562
+ .
1563
+ .IP "\(bu" 4
1564
+ \fIDefault\fR: stomp://localhost:61613/
1565
+ .
1566
+ .IP "" 0
1567
+ .
1568
+ .P
1569
+ queue_type ++++++++++
1570
+ .
1571
+ .P
1572
+ Which type of queue to use for asynchronous processing\.
1573
+ .
1574
+ .IP "\(bu" 4
1575
+ \fIDefault\fR: stomp
1576
+ .
1577
+ .IP "" 0
1578
+ .
1579
+ .P
1580
+ rails_loglevel ++++++++++++++
1581
+ .
1582
+ .P
1583
+ The log level for Rails connections\. The value must be a valid log level within Rails\. Production environments normally use \fBinfo\fR and other environments normally use \fBdebug\fR\.
1584
+ .
1585
+ .IP "\(bu" 4
1586
+ \fIDefault\fR: info
1587
+ .
1588
+ .IP "" 0
1589
+ .
1590
+ .P
1591
+ railslog ++++++++
1592
+ .
1593
+ .P
1594
+ Where Rails\-specific logs are sent
1595
+ .
1596
+ .IP "\(bu" 4
1597
+ \fIDefault\fR: $logdir/rails\.log
1598
+ .
1599
+ .IP "" 0
1600
+ .
1601
+ .P
1602
+ report ++++++
1603
+ .
1604
+ .P
1605
+ Whether to send reports after every transaction\.
1606
+ .
1607
+ .IP "\(bu" 4
1608
+ \fIDefault\fR: false
1609
+ .
1610
+ .IP "" 0
1611
+ .
1612
+ .P
1613
+ report_port +++++++++++
1614
+ .
1615
+ .P
1616
+ The port to communicate with the report_server\.
1617
+ .
1618
+ .IP "\(bu" 4
1619
+ \fIDefault\fR: $masterport
1620
+ .
1621
+ .IP "" 0
1622
+ .
1623
+ .P
1624
+ report_server +++++++++++++
1625
+ .
1626
+ .P
1627
+ The server to which to send transaction reports\.
1628
+ .
1629
+ .IP "\(bu" 4
1630
+ \fIDefault\fR: $server
1631
+ .
1632
+ .IP "" 0
1633
+ .
1634
+ .P
1635
+ reportdir +++++++++
1636
+ .
1637
+ .P
1638
+ The directory in which to store reports received from the client\. Each client gets a separate subdirectory\.
1639
+ .
1640
+ .IP "\(bu" 4
1641
+ \fIDefault\fR: $vardir/reports
1642
+ .
1643
+ .IP "" 0
1644
+ .
1645
+ .P
1646
+ reportfrom ++++++++++
1647
+ .
1648
+ .P
1649
+ The \'from\' email address for the reports\.
1650
+ .
1651
+ .IP "\(bu" 4
1652
+ \fIDefault\fR: report@pelin\.members\.linode\.com
1653
+ .
1654
+ .IP "" 0
1655
+ .
1656
+ .P
1657
+ reports +++++++
1658
+ .
1659
+ .P
1660
+ The list of reports to generate\. All reports are looked for in \fBpuppet/reports/name\.rb\fR, and multiple report names should be comma\-separated (whitespace is okay)\.
1661
+ .
1662
+ .IP "\(bu" 4
1663
+ \fIDefault\fR: store
1664
+ .
1665
+ .IP "" 0
1666
+ .
1667
+ .P
1668
+ reportserver ++++++++++++
1669
+ .
1670
+ .P
1671
+ (Deprecated for \'report_server\') The server to which to send transaction reports\.
1672
+ .
1673
+ .IP "\(bu" 4
1674
+ \fIDefault\fR: $server
1675
+ .
1676
+ .IP "" 0
1677
+ .
1678
+ .P
1679
+ reporturl +++++++++
1680
+ .
1681
+ .P
1682
+ The URL used by the http reports processor to send reports
1683
+ .
1684
+ .IP "\(bu" 4
1685
+ \fIDefault\fR: http://localhost:3000/reports
1686
+ .
1687
+ .IP "" 0
1688
+ .
1689
+ .P
1690
+ req_bits ++++++++
1691
+ .
1692
+ .P
1693
+ The bit length of the certificates\.
1694
+ .
1695
+ .IP "\(bu" 4
1696
+ \fIDefault\fR: 2048
1697
+ .
1698
+ .IP "" 0
1699
+ .
1700
+ .P
1701
+ requestdir ++++++++++
1702
+ .
1703
+ .P
1704
+ Where host certificate requests are stored\.
1705
+ .
1706
+ .IP "\(bu" 4
1707
+ \fIDefault\fR: $ssldir/certificate_requests
1708
+ .
1709
+ .IP "" 0
1710
+ .
1711
+ .P
1712
+ rest_authconfig +++++++++++++++
1713
+ .
1714
+ .P
1715
+ The configuration file that defines the rights to the different rest indirections\. This can be used as a fine\-grained authorization system for \fBpuppet master\fR\.
1716
+ .
1717
+ .IP "\(bu" 4
1718
+ \fIDefault\fR: $confdir/auth\.conf
1719
+ .
1720
+ .IP "" 0
1721
+ .
1722
+ .P
1723
+ rrddir ++++++
1724
+ .
1725
+ .P
1726
+ The directory where RRD database files are stored\. Directories for each reporting host will be created under this directory\.
1727
+ .
1728
+ .IP "\(bu" 4
1729
+ \fIDefault\fR: $vardir/rrd
1730
+ .
1731
+ .IP "" 0
1732
+ .
1733
+ .P
1734
+ rrdinterval +++++++++++
1735
+ .
1736
+ .P
1737
+ How often RRD should expect data\. This should match how often the hosts report back to the server\.
1738
+ .
1739
+ .IP "\(bu" 4
1740
+ \fIDefault\fR: $runinterval
1741
+ .
1742
+ .IP "" 0
1743
+ .
1744
+ .P
1745
+ run_mode ++++++++
1746
+ .
1747
+ .P
1748
+ The effective \'run mode\' of the application: master, agent, or user\.
1749
+ .
1750
+ .IP "\(bu" 4
1751
+ \fIDefault\fR: master
1752
+ .
1753
+ .IP "" 0
1754
+ .
1755
+ .P
1756
+ rundir ++++++
1757
+ .
1758
+ .P
1759
+ Where Puppet PID files are kept\.
1760
+ .
1761
+ .IP "\(bu" 4
1762
+ \fIDefault\fR: $vardir/run
1763
+ .
1764
+ .IP "" 0
1765
+ .
1766
+ .P
1767
+ runinterval +++++++++++
1768
+ .
1769
+ .P
1770
+ How often puppet agent applies the client configuration; in seconds\.
1771
+ .
1772
+ .IP "\(bu" 4
1773
+ \fIDefault\fR: 1800
1774
+ .
1775
+ .IP "" 0
1776
+ .
1777
+ .P
1778
+ sendmail ++++++++
1779
+ .
1780
+ .P
1781
+ Where to find the sendmail binary with which to send email\.
1782
+ .
1783
+ .IP "\(bu" 4
1784
+ \fIDefault\fR: /usr/sbin/sendmail
1785
+ .
1786
+ .IP "" 0
1787
+ .
1788
+ .P
1789
+ serial ++++++
1790
+ .
1791
+ .P
1792
+ Where the serial number for certificates is stored\.
1793
+ .
1794
+ .IP "\(bu" 4
1795
+ \fIDefault\fR: $cadir/serial
1796
+ .
1797
+ .IP "" 0
1798
+ .
1799
+ .P
1800
+ server ++++++
1801
+ .
1802
+ .P
1803
+ The server to which server puppet agent should connect
1804
+ .
1805
+ .IP "\(bu" 4
1806
+ \fIDefault\fR: puppet
1807
+ .
1808
+ .IP "" 0
1809
+ .
1810
+ .P
1811
+ server_datadir ++++++++++++++
1812
+ .
1813
+ .P
1814
+ The directory in which serialized data is stored, usually in a subdirectory\.
1815
+ .
1816
+ .IP "\(bu" 4
1817
+ \fIDefault\fR: $vardir/server_data
1818
+ .
1819
+ .IP "" 0
1820
+ .
1821
+ .P
1822
+ servertype ++++++++++
1823
+ .
1824
+ .P
1825
+ 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\.
1826
+ .
1827
+ .IP "\(bu" 4
1828
+ \fIDefault\fR: webrick
1829
+ .
1830
+ .IP "" 0
1831
+ .
1832
+ .P
1833
+ show_diff +++++++++
1834
+ .
1835
+ .P
1836
+ 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\fR Ruby library\.
1837
+ .
1838
+ .IP "\(bu" 4
1839
+ \fIDefault\fR: false
1840
+ .
1841
+ .IP "" 0
1842
+ .
1843
+ .P
1844
+ signeddir +++++++++
1845
+ .
1846
+ .P
1847
+ Where the CA stores signed certificates\.
1848
+ .
1849
+ .IP "\(bu" 4
1850
+ \fIDefault\fR: $cadir/signed
1851
+ .
1852
+ .IP "" 0
1853
+ .
1854
+ .P
1855
+ smtpserver ++++++++++
1856
+ .
1857
+ .P
1858
+ The server through which to send email reports\.
1859
+ .
1860
+ .IP "\(bu" 4
1861
+ \fIDefault\fR: none
1862
+ .
1863
+ .IP "" 0
1864
+ .
1865
+ .P
1866
+ splay +++++
1867
+ .
1868
+ .P
1869
+ Whether to sleep for a pseudo\-random (but consistent) amount of time before a run\.
1870
+ .
1871
+ .IP "\(bu" 4
1872
+ \fIDefault\fR: false
1873
+ .
1874
+ .IP "" 0
1875
+ .
1876
+ .P
1877
+ splaylimit ++++++++++
1878
+ .
1879
+ .P
1880
+ The maximum time to delay before runs\. Defaults to being the same as the run interval\.
1881
+ .
1882
+ .IP "\(bu" 4
1883
+ \fIDefault\fR: $runinterval
1884
+ .
1885
+ .IP "" 0
1886
+ .
1887
+ .P
1888
+ ssl_client_header +++++++++++++++++
1889
+ .
1890
+ .P
1891
+ 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\., \fB/CN=puppet\.puppetlabs\.com\fR)\. See http://projects\.puppetlabs\.com/projects/puppet/wiki/Using_Mongrel for more information\.
1892
+ .
1893
+ .IP "\(bu" 4
1894
+ \fIDefault\fR: HTTP_X_CLIENT_DN
1895
+ .
1896
+ .IP "" 0
1897
+ .
1898
+ .P
1899
+ ssl_client_verify_header ++++++++++++++++++++++++
1900
+ .
1901
+ .P
1902
+ 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://projects\.puppetlabs\.com/projects/puppet/wiki/Using_Mongrel for more information\.
1903
+ .
1904
+ .IP "\(bu" 4
1905
+ \fIDefault\fR: HTTP_X_CLIENT_VERIFY
1906
+ .
1907
+ .IP "" 0
1908
+ .
1909
+ .P
1910
+ ssldir ++++++
1911
+ .
1912
+ .P
1913
+ Where SSL certificates are kept\.
1914
+ .
1915
+ .IP "\(bu" 4
1916
+ \fIDefault\fR: $confdir/ssl
1917
+ .
1918
+ .IP "" 0
1919
+ .
1920
+ .P
1921
+ statedir ++++++++
1922
+ .
1923
+ .P
1924
+ The directory where Puppet state is stored\. Generally, this directory can be removed without causing harm (although it might result in spurious service restarts)\.
1925
+ .
1926
+ .IP "\(bu" 4
1927
+ \fIDefault\fR: $vardir/state
1928
+ .
1929
+ .IP "" 0
1930
+ .
1931
+ .P
1932
+ statefile +++++++++
1933
+ .
1934
+ .P
1935
+ Where puppet agent and puppet master store state associated with the running configuration\. In the case of puppet master, this file reflects the state discovered through interacting with clients\.
1936
+ .
1937
+ .IP "\(bu" 4
1938
+ \fIDefault\fR: $statedir/state\.yaml
1939
+ .
1940
+ .IP "" 0
1941
+ .
1942
+ .P
1943
+ storeconfigs ++++++++++++
1944
+ .
1945
+ .P
1946
+ Whether to store each client\'s configuration\. This requires ActiveRecord from Ruby on Rails\.
1947
+ .
1948
+ .IP "\(bu" 4
1949
+ \fIDefault\fR: false
1950
+ .
1951
+ .IP "" 0
1952
+ .
1953
+ .P
1954
+ strict_hostname_checking ++++++++++++++++++++++++
1955
+ .
1956
+ .P
1957
+ Whether to only search for the complete hostname as it is in the certificate when searching for node information in the catalogs\.
1958
+ .
1959
+ .IP "\(bu" 4
1960
+ \fIDefault\fR: false
1961
+ .
1962
+ .IP "" 0
1963
+ .
1964
+ .P
1965
+ summarize +++++++++
1966
+ .
1967
+ .P
1968
+ Whether to print a transaction summary\.
1969
+ .
1970
+ .IP "\(bu" 4
1971
+ \fIDefault\fR: false
1972
+ .
1973
+ .IP "" 0
1974
+ .
1975
+ .P
1976
+ syslogfacility ++++++++++++++
1977
+ .
1978
+ .P
1979
+ 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\.
1980
+ .
1981
+ .IP "\(bu" 4
1982
+ \fIDefault\fR: daemon
1983
+ .
1984
+ .IP "" 0
1985
+ .
1986
+ .P
1987
+ tagmap ++++++
1988
+ .
1989
+ .P
1990
+ The mapping between reporting tags and email addresses\.
1991
+ .
1992
+ .IP "\(bu" 4
1993
+ \fIDefault\fR: $confdir/tagmail\.conf
1994
+ .
1995
+ .IP "" 0
1996
+ .
1997
+ .P
1998
+ tags ++++
1999
+ .
2000
+ .P
2001
+ 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\.
2002
+ .
2003
+ .P
2004
+ templatedir +++++++++++
2005
+ .
2006
+ .P
2007
+ Where Puppet looks for template files\. Can be a list of colon\-seperated directories\.
2008
+ .
2009
+ .IP "\(bu" 4
2010
+ \fIDefault\fR: $vardir/templates
2011
+ .
2012
+ .IP "" 0
2013
+ .
2014
+ .P
2015
+ thin_storeconfigs +++++++++++++++++
2016
+ .
2017
+ .P
2018
+ 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
2019
+ .
2020
+ .IP "\(bu" 4
2021
+ \fIDefault\fR: false
2022
+ .
2023
+ .IP "" 0
2024
+ .
2025
+ .P
2026
+ trace +++++
2027
+ .
2028
+ .P
2029
+ Whether to print stack traces on some errors
2030
+ .
2031
+ .IP "\(bu" 4
2032
+ \fIDefault\fR: false
2033
+ .
2034
+ .IP "" 0
2035
+ .
2036
+ .P
2037
+ use_cached_catalog ++++++++++++++++++
2038
+ .
2039
+ .P
2040
+ 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\.
2041
+ .
2042
+ .IP "\(bu" 4
2043
+ \fIDefault\fR: false
2044
+ .
2045
+ .IP "" 0
2046
+ .
2047
+ .P
2048
+ usecacheonfailure +++++++++++++++++
2049
+ .
2050
+ .P
2051
+ 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\.
2052
+ .
2053
+ .IP "\(bu" 4
2054
+ \fIDefault\fR: true
2055
+ .
2056
+ .IP "" 0
2057
+ .
2058
+ .P
2059
+ user ++++
2060
+ .
2061
+ .P
2062
+ The user puppet master should run as\.
2063
+ .
2064
+ .IP "\(bu" 4
2065
+ \fIDefault\fR: puppet
2066
+ .
2067
+ .IP "" 0
2068
+ .
2069
+ .P
2070
+ vardir ++++++
2071
+ .
2072
+ .P
2073
+ Where Puppet stores dynamic and growing data\. The default for this parameter is calculated specially, like \fBconfdir\fR_\.
2074
+ .
2075
+ .IP "\(bu" 4
2076
+ \fIDefault\fR: /var/lib/puppet
2077
+ .
2078
+ .IP "" 0
2079
+ .
2080
+ .P
2081
+ yamldir +++++++
2082
+ .
2083
+ .P
2084
+ The directory in which YAML data is stored, usually in a subdirectory\.
2085
+ .
2086
+ .IP "\(bu" 4
2087
+ \fIDefault\fR: $vardir/yaml
2088
+ .
2089
+ .IP "" 0
2090
+ .
2091
+ .P
2092
+ zlib ++++
2093
+ .
2094
+ .P
2095
+ Boolean; whether to use the zlib library
2096
+ .
2097
+ .IP "\(bu" 4
2098
+ \fIDefault\fR: true
2099
+ .
2100
+ .IP "" 0
1557
2101
  .
2102
+ .P
2103
+ \fIThis page autogenerated on Sat Aug 28 14:00:20 \-0700 2010\fR