puppet 2.6.18 → 2.7.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 (1050) hide show
  1. data/CHANGELOG +733 -187
  2. data/LICENSE +13 -13
  3. data/README.md +5 -9
  4. data/Rakefile +1 -1
  5. data/conf/auth.conf +8 -3
  6. data/conf/redhat/puppet.spec +21 -110
  7. data/conf/solaris/pkginfo +3 -4
  8. data/conf/suse/puppet.spec +1 -1
  9. data/ext/cert_inspector +140 -0
  10. data/ext/nagios/naggen +12 -5
  11. data/ext/puppet-test +11 -5
  12. data/ext/vim/README +1 -2
  13. data/ext/yaml_nodes.rb +11 -5
  14. data/install.rb +1 -54
  15. data/lib/puppet.rb +6 -10
  16. data/lib/puppet/application.rb +23 -32
  17. data/lib/puppet/application/agent.rb +228 -7
  18. data/lib/puppet/application/apply.rb +108 -36
  19. data/lib/puppet/application/catalog.rb +4 -0
  20. data/lib/puppet/application/cert.rb +128 -17
  21. data/lib/puppet/application/certificate.rb +18 -0
  22. data/lib/puppet/application/certificate_request.rb +4 -0
  23. data/lib/puppet/application/certificate_revocation_list.rb +4 -0
  24. data/lib/puppet/application/config.rb +4 -0
  25. data/lib/puppet/application/describe.rb +53 -0
  26. data/lib/puppet/application/device.rb +255 -0
  27. data/lib/puppet/application/doc.rb +92 -6
  28. data/lib/puppet/application/face_base.rb +246 -0
  29. data/lib/puppet/application/facts.rb +4 -0
  30. data/lib/puppet/application/file.rb +4 -0
  31. data/lib/puppet/application/filebucket.rb +102 -0
  32. data/lib/puppet/application/help.rb +4 -0
  33. data/lib/puppet/application/indirection_base.rb +4 -0
  34. data/lib/puppet/application/inspect.rb +21 -23
  35. data/lib/puppet/application/key.rb +4 -0
  36. data/lib/puppet/application/kick.rb +131 -4
  37. data/lib/puppet/application/man.rb +4 -0
  38. data/lib/puppet/application/master.rb +108 -40
  39. data/lib/puppet/application/node.rb +4 -0
  40. data/lib/puppet/application/parser.rb +5 -0
  41. data/lib/puppet/application/plugin.rb +3 -0
  42. data/lib/puppet/application/queue.rb +75 -13
  43. data/lib/puppet/application/report.rb +4 -0
  44. data/lib/puppet/application/resource.rb +115 -23
  45. data/lib/puppet/application/resource_type.rb +4 -0
  46. data/lib/puppet/application/secret_agent.rb +6 -0
  47. data/lib/puppet/application/status.rb +4 -0
  48. data/lib/puppet/configurer.rb +57 -61
  49. data/lib/puppet/configurer/fact_handler.rb +1 -6
  50. data/lib/puppet/daemon.rb +2 -2
  51. data/lib/puppet/defaults.rb +30 -88
  52. data/lib/puppet/dsl/resource_type_api.rb +19 -31
  53. data/lib/puppet/external/nagios/parser.rb +1 -1
  54. data/lib/puppet/face.rb +12 -0
  55. data/lib/puppet/face/catalog.rb +130 -0
  56. data/lib/puppet/face/catalog/select.rb +49 -0
  57. data/lib/puppet/face/certificate.rb +115 -0
  58. data/lib/puppet/face/certificate_request.rb +55 -0
  59. data/lib/puppet/face/certificate_revocation_list.rb +60 -0
  60. data/lib/puppet/face/config.rb +45 -0
  61. data/lib/puppet/face/facts.rb +81 -0
  62. data/lib/puppet/face/file.rb +47 -0
  63. data/lib/puppet/face/file/download.rb +54 -0
  64. data/lib/puppet/face/file/store.rb +21 -0
  65. data/lib/puppet/face/help.rb +131 -0
  66. data/lib/puppet/face/help/action.erb +53 -0
  67. data/lib/puppet/face/help/face.erb +79 -0
  68. data/lib/puppet/face/help/global.erb +19 -0
  69. data/lib/puppet/face/help/man.erb +136 -0
  70. data/lib/puppet/face/key.rb +15 -0
  71. data/lib/puppet/face/man.rb +93 -0
  72. data/lib/puppet/face/node.rb +43 -0
  73. data/lib/puppet/face/parser.rb +42 -0
  74. data/lib/puppet/face/plugin.rb +55 -0
  75. data/lib/puppet/face/report.rb +56 -0
  76. data/lib/puppet/face/resource.rb +53 -0
  77. data/lib/puppet/face/resource_type.rb +81 -0
  78. data/lib/puppet/face/secret_agent.rb +54 -0
  79. data/lib/puppet/face/status.rb +52 -0
  80. data/lib/puppet/feature/ssh.rb +4 -0
  81. data/lib/puppet/file_bucket/dipper.rb +3 -3
  82. data/lib/puppet/file_bucket/file.rb +6 -5
  83. data/lib/puppet/file_bucket/file/indirection_hooks.rb +9 -0
  84. data/lib/puppet/file_serving/configuration.rb +1 -2
  85. data/lib/puppet/file_serving/content.rb +2 -1
  86. data/lib/puppet/file_serving/{terminus_selector.rb → indirection_hooks.rb} +3 -2
  87. data/lib/puppet/file_serving/metadata.rb +2 -1
  88. data/lib/puppet/file_serving/mount/modules.rb +5 -4
  89. data/lib/puppet/indirector.rb +16 -43
  90. data/lib/puppet/indirector/catalog/active_record.rb +1 -1
  91. data/lib/puppet/indirector/catalog/compiler.rb +5 -15
  92. data/lib/puppet/indirector/catalog/static_compiler.rb +137 -0
  93. data/lib/puppet/indirector/certificate_request/ca.rb +8 -0
  94. data/lib/puppet/indirector/certificate_status.rb +4 -0
  95. data/lib/puppet/indirector/certificate_status/file.rb +82 -0
  96. data/lib/puppet/indirector/certificate_status/rest.rb +10 -0
  97. data/lib/puppet/indirector/couch.rb +5 -3
  98. data/lib/puppet/indirector/exec.rb +3 -3
  99. data/lib/puppet/indirector/face.rb +127 -0
  100. data/lib/puppet/indirector/facts/network_device.rb +25 -0
  101. data/lib/puppet/indirector/file.rb +79 -0
  102. data/lib/puppet/indirector/file_bucket_file/file.rb +0 -4
  103. data/lib/puppet/indirector/indirection.rb +1 -2
  104. data/lib/puppet/indirector/inventory/yaml.rb +81 -0
  105. data/lib/puppet/indirector/report/processor.rb +0 -2
  106. data/lib/puppet/indirector/request.rb +0 -4
  107. data/lib/puppet/indirector/resource/ral.rb +0 -4
  108. data/lib/puppet/indirector/resource_type/parser.rb +19 -3
  109. data/lib/puppet/indirector/rest.rb +11 -5
  110. data/lib/puppet/indirector/run/local.rb +0 -4
  111. data/lib/puppet/indirector/ssl_file.rb +1 -5
  112. data/lib/puppet/indirector/terminus.rb +3 -26
  113. data/lib/puppet/indirector/yaml.rb +0 -5
  114. data/lib/puppet/interface.rb +156 -0
  115. data/lib/puppet/interface/action.rb +284 -0
  116. data/lib/puppet/interface/action_builder.rb +74 -0
  117. data/lib/puppet/interface/action_manager.rb +70 -0
  118. data/lib/puppet/interface/documentation.rb +230 -0
  119. data/lib/puppet/interface/face_collection.rb +137 -0
  120. data/lib/puppet/interface/option.rb +108 -0
  121. data/lib/puppet/interface/option_builder.rb +54 -0
  122. data/lib/puppet/interface/option_manager.rb +67 -0
  123. data/lib/puppet/metatype/manager.rb +20 -7
  124. data/lib/puppet/module.rb +1 -1
  125. data/lib/puppet/network/client.rb +179 -0
  126. data/lib/puppet/network/client/ca.rb +56 -0
  127. data/lib/puppet/network/client/file.rb +6 -0
  128. data/lib/puppet/network/client/proxy.rb +27 -0
  129. data/lib/puppet/network/client/report.rb +26 -0
  130. data/lib/puppet/network/client/runner.rb +10 -0
  131. data/lib/puppet/network/client/status.rb +4 -0
  132. data/lib/puppet/network/format.rb +1 -1
  133. data/lib/puppet/network/formats.rb +63 -0
  134. data/lib/puppet/network/handler/ca.rb +106 -16
  135. data/lib/puppet/network/handler/filebucket.rb +2 -4
  136. data/lib/puppet/network/handler/fileserver.rb +3 -2
  137. data/lib/puppet/network/handler/master.rb +5 -3
  138. data/lib/puppet/network/handler/report.rb +0 -2
  139. data/lib/puppet/network/handler/runner.rb +0 -2
  140. data/lib/puppet/network/handler/status.rb +0 -2
  141. data/lib/puppet/network/http/api/v1.rb +11 -3
  142. data/lib/puppet/network/http/handler.rb +26 -35
  143. data/lib/puppet/network/http/rack/rest.rb +2 -7
  144. data/lib/puppet/network/http/webrick.rb +1 -2
  145. data/lib/puppet/network/http_pool.rb +8 -17
  146. data/lib/puppet/network/http_server/mongrel.rb +1 -0
  147. data/lib/puppet/network/http_server/webrick.rb +155 -0
  148. data/lib/puppet/network/rest_authconfig.rb +4 -3
  149. data/lib/puppet/network/rest_authorization.rb +2 -2
  150. data/lib/puppet/network/rights.rb +4 -9
  151. data/lib/puppet/network/server.rb +1 -1
  152. data/lib/puppet/network/xmlrpc/client.rb +211 -0
  153. data/lib/puppet/node.rb +2 -1
  154. data/lib/puppet/node/environment.rb +30 -3
  155. data/lib/puppet/node/facts.rb +15 -15
  156. data/lib/puppet/node/inventory.rb +7 -0
  157. data/lib/puppet/parser/ast.rb +6 -2
  158. data/lib/puppet/parser/ast/astarray.rb +12 -23
  159. data/lib/puppet/parser/ast/caseopt.rb +12 -24
  160. data/lib/puppet/parser/ast/definition.rb +17 -0
  161. data/lib/puppet/parser/ast/hostclass.rb +29 -0
  162. data/lib/puppet/parser/ast/leaf.rb +2 -2
  163. data/lib/puppet/parser/ast/node.rb +20 -0
  164. data/lib/puppet/parser/ast/resource.rb +42 -50
  165. data/lib/puppet/parser/ast/resource_instance.rb +9 -0
  166. data/lib/puppet/parser/ast/resource_override.rb +2 -3
  167. data/lib/puppet/parser/ast/resource_reference.rb +1 -1
  168. data/lib/puppet/parser/ast/top_level_construct.rb +4 -0
  169. data/lib/puppet/parser/ast/vardef.rb +1 -1
  170. data/lib/puppet/parser/compiler.rb +16 -17
  171. data/lib/puppet/parser/functions/create_resources.rb +47 -0
  172. data/lib/puppet/parser/functions/extlookup.rb +2 -7
  173. data/lib/puppet/parser/functions/fqdn_rand.rb +2 -2
  174. data/lib/puppet/parser/functions/sha1.rb +1 -1
  175. data/lib/puppet/parser/grammar.ra +67 -144
  176. data/lib/puppet/parser/lexer.rb +1 -1
  177. data/lib/puppet/parser/parser.rb +1190 -1262
  178. data/lib/puppet/parser/parser_support.rb +48 -73
  179. data/lib/puppet/parser/resource.rb +2 -19
  180. data/lib/puppet/parser/scope.rb +33 -103
  181. data/lib/puppet/parser/templatewrapper.rb +21 -22
  182. data/lib/puppet/parser/type_loader.rb +60 -35
  183. data/lib/puppet/provider/aixobject.rb +393 -0
  184. data/lib/puppet/provider/augeas/augeas.rb +37 -15
  185. data/lib/puppet/provider/cisco.rb +9 -0
  186. data/lib/puppet/provider/cron/crontab.rb +1 -7
  187. data/lib/puppet/provider/exec/posix.rb +3 -6
  188. data/lib/puppet/provider/exec/shell.rb +2 -11
  189. data/lib/puppet/provider/file/posix.rb +1 -1
  190. data/lib/puppet/provider/file/win32.rb +1 -1
  191. data/lib/puppet/provider/group/aix.rb +141 -0
  192. data/lib/puppet/provider/group/directoryservice.rb +0 -14
  193. data/lib/puppet/provider/host/parsed.rb +23 -55
  194. data/lib/puppet/provider/interface/base.rb +0 -0
  195. data/lib/puppet/provider/interface/cisco.rb +27 -0
  196. data/lib/puppet/provider/mcx/mcxcontent.rb +57 -96
  197. data/lib/puppet/provider/mount/parsed.rb +1 -1
  198. data/lib/puppet/provider/naginator.rb +1 -9
  199. data/lib/puppet/provider/nameservice/directoryservice.rb +41 -26
  200. data/lib/puppet/provider/network_device.rb +68 -0
  201. data/lib/puppet/provider/package/appdmg.rb +13 -13
  202. data/lib/puppet/provider/package/aptitude.rb +0 -1
  203. data/lib/puppet/provider/package/pip.rb +109 -0
  204. data/lib/puppet/provider/package/pkgdmg.rb +24 -32
  205. data/lib/puppet/provider/package/pkgutil.rb +175 -0
  206. data/lib/puppet/provider/package/yum.rb +8 -1
  207. data/lib/puppet/provider/service/daemontools.rb +1 -1
  208. data/lib/puppet/provider/service/launchd.rb +1 -1
  209. data/lib/puppet/provider/service/smf.rb +3 -3
  210. data/lib/puppet/provider/service/upstart.rb +73 -0
  211. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -10
  212. data/lib/puppet/provider/user/aix.rb +353 -0
  213. data/lib/puppet/provider/user/directoryservice.rb +0 -14
  214. data/lib/puppet/provider/user/user_role_add.rb +17 -32
  215. data/lib/puppet/provider/vlan/cisco.rb +28 -0
  216. data/lib/puppet/provider/zfs/solaris.rb +1 -1
  217. data/lib/puppet/provider/zone/solaris.rb +3 -0
  218. data/lib/puppet/provider/zpool/solaris.rb +7 -5
  219. data/lib/puppet/rails.rb +1 -1
  220. data/lib/puppet/rails/benchmark.rb +1 -1
  221. data/lib/puppet/rails/fact_name.rb +1 -0
  222. data/lib/puppet/rails/host.rb +0 -7
  223. data/lib/puppet/reference/configuration.rb +26 -101
  224. data/lib/puppet/reports/store.rb +3 -7
  225. data/lib/puppet/resource.rb +1 -1
  226. data/lib/puppet/resource/catalog.rb +86 -36
  227. data/lib/puppet/resource/type.rb +10 -15
  228. data/lib/puppet/resource/type_collection.rb +55 -63
  229. data/lib/puppet/simple_graph.rb +370 -269
  230. data/lib/puppet/ssl/base.rb +0 -8
  231. data/lib/puppet/ssl/certificate.rb +0 -6
  232. data/lib/puppet/ssl/certificate_authority.rb +24 -109
  233. data/lib/puppet/ssl/certificate_authority/interface.rb +19 -66
  234. data/lib/puppet/ssl/certificate_factory.rb +91 -112
  235. data/lib/puppet/ssl/certificate_request.rb +15 -98
  236. data/lib/puppet/ssl/certificate_revocation_list.rb +1 -1
  237. data/lib/puppet/ssl/host.rb +85 -51
  238. data/lib/puppet/ssl/inventory.rb +1 -1
  239. data/lib/puppet/sslcertificates.rb +146 -0
  240. data/lib/puppet/sslcertificates/ca.rb +375 -0
  241. data/lib/puppet/sslcertificates/certificate.rb +255 -0
  242. data/lib/puppet/sslcertificates/inventory.rb +38 -0
  243. data/lib/puppet/sslcertificates/support.rb +146 -0
  244. data/lib/puppet/status.rb +1 -1
  245. data/lib/puppet/transaction.rb +163 -94
  246. data/lib/puppet/transaction/event.rb +1 -1
  247. data/lib/puppet/transaction/event_manager.rb +19 -3
  248. data/lib/puppet/transaction/report.rb +9 -3
  249. data/lib/puppet/type.rb +107 -62
  250. data/lib/puppet/type/augeas.rb +10 -14
  251. data/lib/puppet/type/cron.rb +13 -14
  252. data/lib/puppet/type/exec.rb +0 -9
  253. data/lib/puppet/type/file.rb +20 -29
  254. data/lib/puppet/type/file/ctime.rb +1 -1
  255. data/lib/puppet/type/file/ensure.rb +1 -1
  256. data/lib/puppet/type/file/group.rb +1 -1
  257. data/lib/puppet/type/file/mode.rb +1 -1
  258. data/lib/puppet/type/file/mtime.rb +1 -1
  259. data/lib/puppet/type/file/selcontext.rb +1 -1
  260. data/lib/puppet/type/file/source.rb +3 -3
  261. data/lib/puppet/type/file/type.rb +1 -1
  262. data/lib/puppet/type/group.rb +36 -0
  263. data/lib/puppet/type/host.rb +18 -43
  264. data/lib/puppet/type/interface.rb +109 -0
  265. data/lib/puppet/type/k5login.rb +1 -4
  266. data/lib/puppet/type/macauthorization.rb +3 -3
  267. data/lib/puppet/type/mcx.rb +2 -21
  268. data/lib/puppet/type/router.rb +14 -0
  269. data/lib/puppet/type/schedule.rb +2 -0
  270. data/lib/puppet/type/service.rb +2 -0
  271. data/lib/puppet/type/sshkey.rb +6 -1
  272. data/lib/puppet/type/tidy.rb +12 -12
  273. data/lib/puppet/type/user.rb +36 -9
  274. data/lib/puppet/type/vlan.rb +26 -0
  275. data/lib/puppet/type/whit.rb +13 -1
  276. data/lib/puppet/type/zfs.rb +100 -8
  277. data/lib/puppet/type/zone.rb +45 -1
  278. data/lib/puppet/type/zpool.rb +1 -0
  279. data/lib/puppet/util.rb +63 -91
  280. data/lib/puppet/util/autoload.rb +16 -14
  281. data/lib/puppet/util/classgen.rb +13 -1
  282. data/lib/puppet/util/command_line.rb +109 -22
  283. data/lib/puppet/util/log.rb +1 -0
  284. data/lib/puppet/util/log/destinations.rb +16 -4
  285. data/lib/puppet/util/logging.rb +11 -0
  286. data/lib/puppet/util/monkey_patches.rb +7 -77
  287. data/lib/puppet/util/network_device.rb +17 -0
  288. data/lib/puppet/util/network_device/base.rb +27 -0
  289. data/lib/puppet/util/network_device/cisco.rb +4 -0
  290. data/lib/puppet/util/network_device/cisco/device.rb +256 -0
  291. data/lib/puppet/util/network_device/cisco/facts.rb +72 -0
  292. data/lib/puppet/util/network_device/cisco/interface.rb +82 -0
  293. data/lib/puppet/util/network_device/config.rb +93 -0
  294. data/lib/puppet/util/network_device/ipcalc.rb +68 -0
  295. data/lib/puppet/util/network_device/transport.rb +3 -0
  296. data/lib/puppet/util/network_device/transport/base.rb +26 -0
  297. data/lib/puppet/util/network_device/transport/ssh.rb +121 -0
  298. data/lib/puppet/util/network_device/transport/telnet.rb +42 -0
  299. data/lib/puppet/util/rdoc.rb +4 -10
  300. data/lib/puppet/util/rdoc/parser.rb +34 -23
  301. data/lib/puppet/util/reference.rb +7 -8
  302. data/lib/puppet/util/selinux.rb +2 -2
  303. data/lib/puppet/util/settings.rb +1 -6
  304. data/lib/puppet/util/settings/file_setting.rb +0 -1
  305. data/lib/puppet/util/suidmanager.rb +30 -79
  306. data/lib/puppet/util/zaml.rb +41 -40
  307. data/man/man5/puppet.conf.5 +291 -873
  308. data/man/man8/filebucket.8 +47 -71
  309. data/man/man8/pi.8 +44 -10
  310. data/man/man8/puppet-agent.8 +154 -0
  311. data/man/man8/puppet-apply.8 +75 -0
  312. data/man/man8/puppet-catalog.8 +286 -0
  313. data/man/man8/puppet-cert.8 +97 -0
  314. data/man/man8/puppet-certificate.8 +229 -0
  315. data/man/man8/puppet-certificate_request.8 +168 -0
  316. data/man/man8/puppet-certificate_revocation_list.8 +165 -0
  317. data/man/man8/puppet-config.8 +80 -0
  318. data/man/man8/puppet-describe.8 +51 -0
  319. data/man/man8/puppet-device.8 +86 -0
  320. data/man/man8/puppet-doc.8 +101 -0
  321. data/man/man8/puppet-facts.8 +217 -0
  322. data/man/man8/puppet-file.8 +225 -0
  323. data/man/man8/puppet-filebucket.8 +81 -0
  324. data/man/man8/puppet-help.8 +71 -0
  325. data/man/man8/puppet-inspect.8 +28 -0
  326. data/man/man8/puppet-key.8 +126 -0
  327. data/man/man8/puppet-kick.8 +95 -0
  328. data/man/man8/puppet-man.8 +74 -0
  329. data/man/man8/puppet-master.8 +74 -0
  330. data/man/man8/puppet-node.8 +171 -0
  331. data/man/man8/puppet-parser.8 +71 -0
  332. data/man/man8/puppet-plugin.8 +77 -0
  333. data/man/man8/puppet-queue.8 +55 -0
  334. data/man/man8/puppet-report.8 +187 -0
  335. data/man/man8/puppet-resource.8 +84 -0
  336. data/man/man8/puppet-resource_type.8 +214 -0
  337. data/man/man8/puppet-secret_agent.8 +74 -0
  338. data/man/man8/puppet-status.8 +150 -0
  339. data/man/man8/puppet.8 +2 -2
  340. data/man/man8/puppetca.8 +64 -136
  341. data/man/man8/puppetd.8 +99 -228
  342. data/man/man8/puppetdoc.8 +41 -48
  343. data/man/man8/puppetmasterd.8 +54 -32
  344. data/man/man8/puppetqd.8 +45 -10
  345. data/man/man8/puppetrun.8 +56 -134
  346. data/man/man8/ralsh.8 +48 -49
  347. data/spec/fixtures/faulty_face/puppet/face/syntax.rb +8 -0
  348. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +28 -0
  349. data/spec/fixtures/unit/parser/lexer/aliastest.pp +16 -0
  350. data/spec/fixtures/unit/parser/lexer/append.pp +11 -0
  351. data/spec/fixtures/unit/parser/lexer/argumentdefaults.pp +14 -0
  352. data/spec/fixtures/unit/parser/lexer/arithmetic_expression.pp +8 -0
  353. data/spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp +3 -0
  354. data/spec/fixtures/unit/parser/lexer/casestatement.pp +65 -0
  355. data/spec/fixtures/unit/parser/lexer/classheirarchy.pp +15 -0
  356. data/spec/fixtures/unit/parser/lexer/classincludes.pp +17 -0
  357. data/spec/fixtures/unit/parser/lexer/classpathtest.pp +11 -0
  358. data/spec/fixtures/unit/parser/lexer/collection.pp +10 -0
  359. data/spec/fixtures/unit/parser/lexer/collection_override.pp +8 -0
  360. data/spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp +20 -0
  361. data/spec/fixtures/unit/parser/lexer/componentmetaparams.pp +11 -0
  362. data/spec/fixtures/unit/parser/lexer/componentrequire.pp +8 -0
  363. data/spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp +23 -0
  364. data/spec/fixtures/unit/parser/lexer/defineoverrides.pp +17 -0
  365. data/spec/fixtures/unit/parser/lexer/emptyclass.pp +9 -0
  366. data/spec/fixtures/unit/parser/lexer/emptyexec.pp +3 -0
  367. data/spec/fixtures/unit/parser/lexer/emptyifelse.pp +9 -0
  368. data/spec/fixtures/unit/parser/lexer/falsevalues.pp +3 -0
  369. data/spec/fixtures/unit/parser/lexer/filecreate.pp +11 -0
  370. data/spec/fixtures/unit/parser/lexer/fqdefinition.pp +5 -0
  371. data/spec/fixtures/unit/parser/lexer/fqparents.pp +11 -0
  372. data/spec/fixtures/unit/parser/lexer/funccomma.pp +5 -0
  373. data/spec/fixtures/unit/parser/lexer/hash.pp +33 -0
  374. data/spec/fixtures/unit/parser/lexer/ifexpression.pp +12 -0
  375. data/spec/fixtures/unit/parser/lexer/implicititeration.pp +15 -0
  376. data/spec/fixtures/unit/parser/lexer/multilinecomments.pp +10 -0
  377. data/spec/fixtures/unit/parser/lexer/multipleclass.pp +9 -0
  378. data/spec/fixtures/unit/parser/lexer/multipleinstances.pp +7 -0
  379. data/spec/fixtures/unit/parser/lexer/multisubs.pp +13 -0
  380. data/spec/fixtures/unit/parser/lexer/namevartest.pp +9 -0
  381. data/spec/fixtures/unit/parser/lexer/scopetest.pp +13 -0
  382. data/spec/fixtures/unit/parser/lexer/selectorvalues.pp +49 -0
  383. data/spec/fixtures/unit/parser/lexer/simpledefaults.pp +5 -0
  384. data/spec/fixtures/unit/parser/lexer/simpleselector.pp +38 -0
  385. data/spec/fixtures/unit/parser/lexer/singleary.pp +19 -0
  386. data/spec/fixtures/unit/parser/lexer/singlequote.pp +11 -0
  387. data/spec/fixtures/unit/parser/lexer/singleselector.pp +22 -0
  388. data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +11 -0
  389. data/spec/fixtures/unit/parser/lexer/tag.pp +9 -0
  390. data/spec/fixtures/unit/parser/lexer/tagged.pp +35 -0
  391. data/spec/fixtures/unit/parser/lexer/virtualresources.pp +14 -0
  392. data/spec/fixtures/unit/provider/host/parsed/valid_hosts +19 -0
  393. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +144 -0
  394. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -0
  395. data/spec/fixtures/unit/provider/mount/parsed/darwin.mount +6 -0
  396. data/spec/fixtures/unit/provider/mount/parsed/freebsd.fstab +8 -0
  397. data/spec/fixtures/unit/provider/mount/parsed/freebsd.mount +3 -0
  398. data/spec/fixtures/unit/provider/mount/parsed/hpux.mount +17 -0
  399. data/spec/fixtures/unit/provider/mount/parsed/linux.fstab +11 -0
  400. data/spec/fixtures/unit/provider/mount/parsed/linux.mount +5 -0
  401. data/spec/fixtures/unit/provider/mount/parsed/netbsd.fstab +9 -0
  402. data/spec/fixtures/unit/provider/mount/parsed/netbsd.mount +8 -0
  403. data/spec/fixtures/unit/provider/mount/parsed/openbsd.fstab +4 -0
  404. data/spec/fixtures/unit/provider/mount/parsed/openbsd.mount +4 -0
  405. data/spec/fixtures/unit/provider/mount/parsed/solaris.fstab +11 -0
  406. data/spec/fixtures/unit/provider/mount/parsed/solaris.mount +6 -0
  407. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys +7 -0
  408. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1 +3 -0
  409. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2 +1 -0
  410. data/spec/fixtures/unit/reports/tagmail/tagmail_failers.conf +3 -0
  411. data/spec/fixtures/unit/reports/tagmail/tagmail_passers.conf +30 -0
  412. data/spec/fixtures/unit/util/rdoc/basic.pp +16 -0
  413. data/spec/integration/application/apply_spec.rb +2 -5
  414. data/spec/integration/application/doc_spec.rb +5 -6
  415. data/spec/integration/configurer_spec.rb +10 -6
  416. data/spec/integration/defaults_spec.rb +18 -52
  417. data/spec/integration/faces/documentation_spec.rb +55 -0
  418. data/spec/integration/file_serving/content_spec.rb +10 -3
  419. data/spec/integration/file_serving/fileset_spec.rb +2 -3
  420. data/spec/integration/file_serving/metadata_spec.rb +10 -3
  421. data/spec/integration/file_serving/terminus_helper_spec.rb +2 -3
  422. data/spec/integration/indirector/catalog/compiler_spec.rb +7 -12
  423. data/spec/integration/indirector/catalog/queue_spec.rb +3 -4
  424. data/spec/integration/indirector/direct_file_server_spec.rb +2 -2
  425. data/spec/integration/indirector/file_content/file_server_spec.rb +7 -7
  426. data/spec/integration/indirector/file_metadata/file_server_spec.rb +2 -2
  427. data/spec/integration/indirector/node/ldap_spec.rb +3 -4
  428. data/spec/integration/network/client_spec.rb +18 -0
  429. data/spec/integration/network/formats_spec.rb +3 -4
  430. data/spec/integration/network/handler_spec.rb +3 -4
  431. data/spec/integration/network/server/mongrel_spec.rb +3 -4
  432. data/spec/integration/network/server/webrick_spec.rb +4 -4
  433. data/spec/integration/node/environment_spec.rb +2 -3
  434. data/spec/integration/node/facts_spec.rb +6 -6
  435. data/spec/integration/node_spec.rb +16 -16
  436. data/spec/integration/parser/collector_spec.rb +3 -4
  437. data/spec/integration/parser/compiler_spec.rb +43 -3
  438. data/spec/integration/parser/functions/require_spec.rb +2 -3
  439. data/spec/integration/parser/functions_spec.rb +3 -4
  440. data/spec/integration/parser/parser_spec.rb +7 -6
  441. data/spec/integration/parser/ruby_manifest_spec.rb +2 -3
  442. data/spec/integration/provider/mailalias/aliases_spec.rb +5 -19
  443. data/spec/integration/provider/mount_spec.rb +2 -2
  444. data/spec/integration/provider/package_spec.rb +3 -4
  445. data/spec/integration/provider/service/init_spec.rb +4 -6
  446. data/spec/integration/reference/providers_spec.rb +2 -3
  447. data/spec/integration/reports_spec.rb +2 -2
  448. data/spec/integration/resource/catalog_spec.rb +6 -7
  449. data/spec/integration/resource/type_collection_spec.rb +2 -3
  450. data/spec/integration/ssl/certificate_authority_spec.rb +7 -7
  451. data/spec/integration/ssl/certificate_request_spec.rb +7 -7
  452. data/spec/integration/ssl/certificate_revocation_list_spec.rb +2 -2
  453. data/spec/integration/ssl/host_spec.rb +4 -4
  454. data/spec/integration/transaction/report_spec.rb +3 -3
  455. data/spec/integration/transaction_spec.rb +61 -6
  456. data/spec/integration/type/file_spec.rb +10 -8
  457. data/spec/integration/type/package_spec.rb +2 -3
  458. data/spec/integration/type/tidy_spec.rb +2 -3
  459. data/spec/integration/type_spec.rb +2 -14
  460. data/spec/integration/util/autoload_spec.rb +2 -3
  461. data/spec/integration/util/feature_spec.rb +2 -3
  462. data/spec/integration/util/file_locking_spec.rb +3 -4
  463. data/spec/integration/util/rdoc/parser_spec.rb +3 -4
  464. data/spec/integration/util/settings_spec.rb +2 -3
  465. data/spec/lib/matchers/json.rb +111 -0
  466. data/spec/lib/puppet/face/basetest.rb +46 -0
  467. data/spec/lib/puppet/face/huzzah.rb +7 -0
  468. data/spec/lib/puppet/face/version_matching.rb +12 -0
  469. data/spec/lib/puppet_spec/files.rb +38 -5
  470. data/spec/lib/puppet_spec/fixtures.rb +28 -0
  471. data/spec/lib/puppet_spec/matchers.rb +87 -0
  472. data/spec/lib/puppet_spec/verbose.rb +0 -0
  473. data/spec/monkey_patches/alias_should_to_must.rb +0 -0
  474. data/spec/monkey_patches/publicize_methods.rb +0 -0
  475. data/spec/shared_behaviours/all_parsedfile_providers.rb +21 -0
  476. data/spec/shared_behaviours/an_indirector_face.rb +6 -0
  477. data/spec/shared_behaviours/documentation_on_faces.rb +263 -0
  478. data/spec/shared_behaviours/file_server_terminus.rb +1 -1
  479. data/spec/shared_behaviours/file_serving.rb +61 -70
  480. data/spec/shared_behaviours/memory_terminus.rb +0 -0
  481. data/spec/shared_behaviours/path_parameters.rb +0 -0
  482. data/spec/shared_behaviours/things_that_declare_options.rb +150 -0
  483. data/spec/spec.opts +0 -2
  484. data/spec/spec_helper.rb +33 -75
  485. data/spec/unit/agent/locker_spec.rb +2 -3
  486. data/spec/unit/agent_spec.rb +2 -2
  487. data/spec/unit/application/agent_spec.rb +51 -76
  488. data/spec/unit/application/apply_spec.rb +86 -150
  489. data/spec/unit/application/cert_spec.rb +8 -30
  490. data/spec/unit/application/certificate_spec.rb +20 -0
  491. data/spec/unit/application/config_spec.rb +9 -0
  492. data/spec/unit/application/describe_spec.rb +2 -3
  493. data/spec/unit/application/device_spec.rb +342 -0
  494. data/spec/unit/application/doc_spec.rb +11 -18
  495. data/spec/unit/application/face_base_spec.rb +360 -0
  496. data/spec/unit/application/facts_spec.rb +27 -0
  497. data/spec/unit/application/filebucket_spec.rb +7 -18
  498. data/spec/unit/application/indirection_base_spec.rb +42 -0
  499. data/spec/unit/application/inspect_spec.rb +7 -13
  500. data/spec/unit/application/kick_spec.rb +15 -38
  501. data/spec/unit/application/master_spec.rb +25 -81
  502. data/spec/unit/application/queue_spec.rb +12 -22
  503. data/spec/unit/application/resource_spec.rb +19 -53
  504. data/spec/unit/application/secret_agent_spec.rb +32 -0
  505. data/spec/unit/application_spec.rb +65 -34
  506. data/spec/unit/configurer/downloader_spec.rb +2 -3
  507. data/spec/unit/configurer/fact_handler_spec.rb +39 -46
  508. data/spec/unit/configurer/plugin_handler_spec.rb +2 -3
  509. data/spec/unit/configurer_spec.rb +329 -411
  510. data/spec/unit/daemon_spec.rb +7 -14
  511. data/spec/unit/dsl/resource_api_spec.rb +2 -3
  512. data/spec/unit/dsl/resource_type_api_spec.rb +24 -37
  513. data/spec/unit/face/catalog_spec.rb +7 -0
  514. data/spec/unit/face/certificate_request_spec.rb +7 -0
  515. data/spec/unit/face/certificate_revocation_list_spec.rb +7 -0
  516. data/spec/unit/face/certificate_spec.rb +23 -0
  517. data/spec/unit/face/config_spec.rb +24 -0
  518. data/spec/unit/face/facts_spec.rb +23 -0
  519. data/spec/unit/face/file_spec.rb +12 -0
  520. data/spec/unit/face/help_spec.rb +129 -0
  521. data/spec/unit/face/key_spec.rb +7 -0
  522. data/spec/unit/face/node_spec.rb +7 -0
  523. data/spec/unit/face/plugin_spec.rb +10 -0
  524. data/spec/unit/face/report_spec.rb +7 -0
  525. data/spec/unit/face/resource_spec.rb +7 -0
  526. data/spec/unit/face/resource_type_spec.rb +7 -0
  527. data/spec/unit/face/secret_agent_spec.rb +25 -0
  528. data/spec/unit/face_spec.rb +1 -0
  529. data/spec/unit/file_bucket/dipper_spec.rb +7 -8
  530. data/spec/unit/file_bucket/file_spec.rb +7 -16
  531. data/spec/unit/file_collection/lookup_spec.rb +2 -3
  532. data/spec/unit/file_collection_spec.rb +2 -3
  533. data/spec/unit/file_serving/base_spec.rb +2 -3
  534. data/spec/unit/file_serving/configuration/parser_spec.rb +2 -3
  535. data/spec/unit/file_serving/configuration_spec.rb +31 -40
  536. data/spec/unit/file_serving/content_spec.rb +6 -3
  537. data/spec/unit/file_serving/fileset_spec.rb +2 -3
  538. data/spec/unit/file_serving/{terminus_selector_spec.rb → indirection_hooks_spec.rb} +14 -13
  539. data/spec/unit/file_serving/metadata_spec.rb +6 -3
  540. data/spec/unit/file_serving/mount/file_spec.rb +2 -3
  541. data/spec/unit/file_serving/mount/modules_spec.rb +2 -11
  542. data/spec/unit/file_serving/mount/plugins_spec.rb +2 -3
  543. data/spec/unit/file_serving/mount_spec.rb +2 -3
  544. data/spec/unit/file_serving/terminus_helper_spec.rb +2 -2
  545. data/spec/unit/indirector/active_record_spec.rb +5 -7
  546. data/spec/unit/indirector/catalog/active_record_spec.rb +2 -3
  547. data/spec/unit/indirector/catalog/compiler_spec.rb +30 -50
  548. data/spec/unit/indirector/catalog/queue_spec.rb +2 -3
  549. data/spec/unit/indirector/catalog/rest_spec.rb +2 -3
  550. data/spec/unit/indirector/catalog/yaml_spec.rb +2 -3
  551. data/spec/unit/indirector/certificate/ca_spec.rb +2 -2
  552. data/spec/unit/indirector/certificate/file_spec.rb +2 -2
  553. data/spec/unit/indirector/certificate/rest_spec.rb +2 -3
  554. data/spec/unit/indirector/certificate_request/ca_spec.rb +47 -2
  555. data/spec/unit/indirector/certificate_request/file_spec.rb +2 -2
  556. data/spec/unit/indirector/certificate_request/rest_spec.rb +2 -3
  557. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +2 -2
  558. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +2 -2
  559. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +2 -3
  560. data/spec/unit/indirector/certificate_status/file_spec.rb +187 -0
  561. data/spec/unit/indirector/certificate_status/rest_spec.rb +14 -0
  562. data/spec/unit/indirector/code_spec.rb +6 -8
  563. data/spec/unit/indirector/direct_file_server_spec.rb +6 -7
  564. data/spec/unit/indirector/envelope_spec.rb +2 -3
  565. data/spec/unit/indirector/exec_spec.rb +12 -13
  566. data/spec/unit/indirector/face_spec.rb +68 -0
  567. data/spec/unit/indirector/facts/active_record_spec.rb +2 -3
  568. data/spec/unit/indirector/facts/couch_spec.rb +71 -66
  569. data/spec/unit/indirector/facts/facter_spec.rb +2 -2
  570. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +20 -20
  571. data/spec/unit/indirector/facts/network_device_spec.rb +89 -0
  572. data/spec/unit/indirector/facts/rest_spec.rb +2 -3
  573. data/spec/unit/indirector/facts/yaml_spec.rb +2 -3
  574. data/spec/unit/indirector/file_bucket_file/file_spec.rb +17 -18
  575. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +2 -3
  576. data/spec/unit/indirector/file_content/file_server_spec.rb +2 -2
  577. data/spec/unit/indirector/file_content/file_spec.rb +2 -2
  578. data/spec/unit/indirector/file_content/rest_spec.rb +2 -3
  579. data/spec/unit/indirector/file_metadata/file_server_spec.rb +2 -2
  580. data/spec/unit/indirector/file_metadata/file_spec.rb +2 -2
  581. data/spec/unit/indirector/file_metadata/rest_spec.rb +2 -3
  582. data/spec/unit/indirector/file_server_spec.rb +8 -7
  583. data/spec/unit/indirector/file_spec.rb +179 -0
  584. data/spec/unit/indirector/indirection_spec.rb +3 -24
  585. data/spec/unit/indirector/inventory/yaml_spec.rb +220 -0
  586. data/spec/unit/indirector/key/ca_spec.rb +2 -2
  587. data/spec/unit/indirector/key/file_spec.rb +2 -2
  588. data/spec/unit/indirector/ldap_spec.rb +6 -8
  589. data/spec/unit/indirector/memory_spec.rb +5 -7
  590. data/spec/unit/indirector/node/active_record_spec.rb +2 -3
  591. data/spec/unit/indirector/node/exec_spec.rb +3 -4
  592. data/spec/unit/indirector/node/ldap_spec.rb +3 -4
  593. data/spec/unit/indirector/node/memory_spec.rb +2 -3
  594. data/spec/unit/indirector/node/plain_spec.rb +2 -3
  595. data/spec/unit/indirector/node/rest_spec.rb +2 -3
  596. data/spec/unit/indirector/node/yaml_spec.rb +2 -3
  597. data/spec/unit/indirector/plain_spec.rb +5 -7
  598. data/spec/unit/indirector/queue_spec.rb +11 -14
  599. data/spec/unit/indirector/report/processor_spec.rb +7 -9
  600. data/spec/unit/indirector/report/rest_spec.rb +2 -3
  601. data/spec/unit/indirector/report/yaml_spec.rb +3 -4
  602. data/spec/unit/indirector/request_spec.rb +3 -25
  603. data/spec/unit/indirector/resource/ral_spec.rb +3 -4
  604. data/spec/unit/indirector/resource/rest_spec.rb +2 -3
  605. data/spec/unit/indirector/resource_type/parser_spec.rb +87 -13
  606. data/spec/unit/indirector/resource_type/rest_spec.rb +2 -3
  607. data/spec/unit/indirector/rest_spec.rb +45 -16
  608. data/spec/unit/indirector/run/local_spec.rb +2 -3
  609. data/spec/unit/indirector/run/rest_spec.rb +2 -3
  610. data/spec/unit/indirector/ssl_file_spec.rb +9 -27
  611. data/spec/unit/indirector/status/rest_spec.rb +2 -3
  612. data/spec/unit/indirector/terminus_spec.rb +180 -187
  613. data/spec/unit/indirector/yaml_spec.rb +9 -23
  614. data/spec/unit/indirector_spec.rb +61 -79
  615. data/spec/unit/interface/action_builder_spec.rb +214 -0
  616. data/spec/unit/interface/action_manager_spec.rb +282 -0
  617. data/spec/unit/interface/action_spec.rb +545 -0
  618. data/spec/unit/interface/documentation_spec.rb +34 -0
  619. data/spec/unit/interface/face_collection_spec.rb +180 -0
  620. data/spec/unit/interface/option_builder_spec.rb +77 -0
  621. data/spec/unit/interface/option_spec.rb +100 -0
  622. data/spec/unit/interface_spec.rb +228 -0
  623. data/spec/unit/module_spec.rb +34 -10
  624. data/spec/unit/network/authconfig_spec.rb +3 -4
  625. data/spec/unit/network/authstore_spec.rb +3 -4
  626. data/spec/unit/network/client_spec.rb +45 -0
  627. data/spec/unit/network/format_handler_spec.rb +2 -3
  628. data/spec/unit/network/format_spec.rb +2 -3
  629. data/spec/unit/network/formats_spec.rb +107 -3
  630. data/spec/unit/network/handler/fileserver_spec.rb +3 -4
  631. data/spec/unit/network/http/api/v1_spec.rb +61 -27
  632. data/spec/unit/network/http/compression_spec.rb +2 -3
  633. data/spec/unit/network/http/handler_spec.rb +78 -109
  634. data/spec/unit/network/http/mongrel/rest_spec.rb +3 -4
  635. data/spec/unit/network/http/mongrel_spec.rb +6 -6
  636. data/spec/unit/network/http/rack/rest_spec.rb +2 -20
  637. data/spec/unit/network/http/rack/xmlrpc_spec.rb +2 -3
  638. data/spec/unit/network/http/rack_spec.rb +2 -3
  639. data/spec/unit/network/http/webrick/rest_spec.rb +3 -4
  640. data/spec/unit/network/http/webrick_spec.rb +4 -8
  641. data/spec/unit/network/http_pool_spec.rb +82 -95
  642. data/spec/unit/network/http_spec.rb +2 -2
  643. data/spec/unit/network/rest_authconfig_spec.rb +9 -42
  644. data/spec/unit/network/rights_spec.rb +6 -7
  645. data/spec/unit/network/server_spec.rb +2 -2
  646. data/spec/unit/network/xmlrpc/client_spec.rb +172 -0
  647. data/spec/unit/node/environment_spec.rb +63 -7
  648. data/spec/unit/node/facts_spec.rb +9 -13
  649. data/spec/unit/node_spec.rb +5 -13
  650. data/spec/unit/other/selinux_spec.rb +2 -3
  651. data/spec/unit/other/transbucket_spec.rb +2 -3
  652. data/spec/unit/other/transobject_spec.rb +2 -3
  653. data/spec/unit/parameter/path_spec.rb +2 -2
  654. data/spec/unit/parameter/value_collection_spec.rb +2 -3
  655. data/spec/unit/parameter/value_spec.rb +2 -3
  656. data/spec/unit/parameter_spec.rb +2 -3
  657. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +2 -13
  658. data/spec/unit/parser/ast/astarray_spec.rb +18 -36
  659. data/spec/unit/parser/ast/asthash_spec.rb +4 -4
  660. data/spec/unit/parser/ast/boolean_operator_spec.rb +2 -3
  661. data/spec/unit/parser/ast/casestatement_spec.rb +17 -14
  662. data/spec/unit/parser/ast/collection_spec.rb +2 -3
  663. data/spec/unit/parser/ast/collexpr_spec.rb +2 -3
  664. data/spec/unit/parser/ast/comparison_operator_spec.rb +4 -5
  665. data/spec/unit/parser/ast/definition_spec.rb +21 -0
  666. data/spec/unit/parser/ast/function_spec.rb +3 -4
  667. data/spec/unit/parser/ast/hostclass_spec.rb +72 -0
  668. data/spec/unit/parser/ast/ifstatement_spec.rb +2 -3
  669. data/spec/unit/parser/ast/in_operator_spec.rb +2 -3
  670. data/spec/unit/parser/ast/leaf_spec.rb +23 -19
  671. data/spec/unit/parser/ast/match_operator_spec.rb +2 -3
  672. data/spec/unit/parser/ast/minus_spec.rb +2 -3
  673. data/spec/unit/parser/ast/node_spec.rb +30 -0
  674. data/spec/unit/parser/ast/nop_spec.rb +2 -3
  675. data/spec/unit/parser/ast/not_spec.rb +2 -3
  676. data/spec/unit/parser/ast/relationship_spec.rb +2 -3
  677. data/spec/unit/parser/ast/resource_defaults_spec.rb +2 -3
  678. data/spec/unit/parser/ast/resource_override_spec.rb +2 -3
  679. data/spec/unit/parser/ast/resource_reference_spec.rb +21 -8
  680. data/spec/unit/parser/ast/resource_spec.rb +24 -13
  681. data/spec/unit/parser/ast/selector_spec.rb +3 -4
  682. data/spec/unit/parser/ast/vardef_spec.rb +15 -9
  683. data/spec/unit/parser/ast_spec.rb +2 -3
  684. data/spec/unit/parser/collector_spec.rb +2 -3
  685. data/spec/unit/parser/compiler_spec.rb +62 -35
  686. data/spec/unit/parser/files_spec.rb +2 -3
  687. data/spec/unit/parser/functions/create_resources_spec.rb +137 -0
  688. data/spec/unit/parser/functions/defined_spec.rb +5 -3
  689. data/spec/unit/parser/functions/extlookup_spec.rb +10 -10
  690. data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -13
  691. data/spec/unit/parser/functions/generate_spec.rb +5 -3
  692. data/spec/unit/parser/functions/include_spec.rb +5 -3
  693. data/spec/unit/parser/functions/inline_template_spec.rb +6 -17
  694. data/spec/unit/parser/functions/realize_spec.rb +5 -3
  695. data/spec/unit/parser/functions/regsubst_spec.rb +5 -3
  696. data/spec/unit/parser/functions/require_spec.rb +5 -3
  697. data/spec/unit/parser/functions/shellquote_spec.rb +8 -6
  698. data/spec/unit/parser/functions/split_spec.rb +5 -3
  699. data/spec/unit/parser/functions/sprintf_spec.rb +5 -3
  700. data/spec/unit/parser/functions/tag_spec.rb +5 -3
  701. data/spec/unit/parser/functions/template_spec.rb +6 -21
  702. data/spec/unit/parser/functions/versioncmp_spec.rb +5 -3
  703. data/spec/unit/parser/functions_spec.rb +2 -3
  704. data/spec/unit/parser/lexer_spec.rb +3 -7
  705. data/spec/unit/parser/parser_spec.rb +71 -90
  706. data/spec/unit/parser/relationship_spec.rb +2 -3
  707. data/spec/unit/parser/resource_spec.rb +6 -65
  708. data/spec/unit/parser/scope_spec.rb +28 -179
  709. data/spec/unit/parser/templatewrapper_spec.rb +25 -43
  710. data/spec/unit/parser/type_loader_spec.rb +120 -78
  711. data/spec/unit/property/ensure_spec.rb +2 -3
  712. data/spec/unit/property/keyvalue_spec.rb +4 -8
  713. data/spec/unit/property/list_spec.rb +2 -3
  714. data/spec/unit/property/ordered_list_spec.rb +2 -3
  715. data/spec/unit/property_spec.rb +2 -3
  716. data/spec/unit/provider/augeas/augeas_spec.rb +80 -3
  717. data/spec/unit/provider/cisco_spec.rb +16 -0
  718. data/spec/unit/provider/confine/exists_spec.rb +2 -3
  719. data/spec/unit/provider/confine/false_spec.rb +2 -3
  720. data/spec/unit/provider/confine/feature_spec.rb +2 -3
  721. data/spec/unit/provider/confine/true_spec.rb +2 -3
  722. data/spec/unit/provider/confine/variable_spec.rb +2 -3
  723. data/spec/unit/provider/confine_collection_spec.rb +2 -3
  724. data/spec/unit/provider/confine_spec.rb +2 -3
  725. data/spec/unit/provider/confiner_spec.rb +2 -3
  726. data/spec/unit/provider/exec/posix_spec.rb +2 -2
  727. data/spec/unit/provider/exec/shell_spec.rb +2 -2
  728. data/spec/unit/provider/group/groupadd_spec.rb +2 -3
  729. data/spec/unit/provider/group/ldap_spec.rb +2 -2
  730. data/spec/unit/provider/host/parsed_spec.rb +197 -0
  731. data/spec/unit/provider/interface/cisco_spec.rb +58 -0
  732. data/spec/unit/provider/ldap_spec.rb +2 -2
  733. data/spec/unit/provider/macauthorization_spec.rb +2 -2
  734. data/spec/unit/provider/mcx/mcxcontent_spec.rb +2 -21
  735. data/spec/unit/provider/mount/parsed_spec.rb +61 -86
  736. data/spec/unit/provider/mount_spec.rb +2 -3
  737. data/spec/unit/provider/naginator_spec.rb +2 -3
  738. data/spec/unit/provider/nameservice/directoryservice_spec.rb +2 -63
  739. data/spec/unit/provider/network_device_spec.rb +153 -0
  740. data/spec/unit/provider/package/aix_spec.rb +2 -3
  741. data/spec/unit/provider/package/apt_spec.rb +2 -3
  742. data/spec/unit/provider/package/dpkg_spec.rb +2 -3
  743. data/spec/unit/provider/package/freebsd_spec.rb +2 -3
  744. data/spec/unit/provider/package/gem_spec.rb +2 -3
  745. data/spec/unit/provider/package/hpux_spec.rb +2 -3
  746. data/spec/unit/provider/package/macports_spec.rb +2 -2
  747. data/spec/unit/provider/package/nim_spec.rb +2 -3
  748. data/spec/unit/provider/package/pip_spec.rb +180 -0
  749. data/spec/unit/provider/package/pkg_spec.rb +2 -3
  750. data/spec/unit/provider/package/pkgdmg_spec.rb +49 -56
  751. data/spec/unit/provider/package/pkgutil_spec.rb +182 -0
  752. data/spec/unit/provider/package/yum_spec.rb +66 -0
  753. data/spec/unit/provider/package/zypper_spec.rb +2 -3
  754. data/spec/unit/provider/parsedfile_spec.rb +2 -3
  755. data/spec/unit/provider/selboolean_spec.rb +2 -3
  756. data/spec/unit/provider/selmodule_spec.rb +2 -2
  757. data/spec/unit/provider/service/daemontools_spec.rb +2 -2
  758. data/spec/unit/provider/service/debian_spec.rb +2 -2
  759. data/spec/unit/provider/service/freebsd_spec.rb +2 -3
  760. data/spec/unit/provider/service/init_spec.rb +3 -3
  761. data/spec/unit/provider/service/launchd_spec.rb +2 -2
  762. data/spec/unit/provider/service/redhat_spec.rb +2 -2
  763. data/spec/unit/provider/service/runit_spec.rb +2 -2
  764. data/spec/unit/provider/service/smf_spec.rb +137 -0
  765. data/spec/unit/provider/service/src_spec.rb +7 -7
  766. data/spec/unit/provider/service/upstart.rb +48 -0
  767. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +28 -47
  768. data/spec/unit/provider/sshkey/parsed_spec.rb +2 -3
  769. data/spec/unit/provider/user/hpux_spec.rb +2 -3
  770. data/spec/unit/provider/user/ldap_spec.rb +2 -2
  771. data/spec/unit/provider/user/user_role_add_spec.rb +15 -53
  772. data/spec/unit/provider/user/useradd_spec.rb +2 -3
  773. data/spec/unit/provider/vlan/cisco_spec.rb +56 -0
  774. data/spec/unit/provider/zfs/solaris_spec.rb +4 -4
  775. data/spec/unit/provider/zone/solaris_spec.rb +2 -3
  776. data/spec/unit/provider/zpool/solaris_spec.rb +33 -4
  777. data/spec/unit/provider_spec.rb +2 -3
  778. data/spec/unit/puppet/provider/README.markdown +4 -0
  779. data/spec/unit/puppet/type/README.markdown +4 -0
  780. data/spec/unit/puppet_spec.rb +2 -2
  781. data/spec/unit/rails/host_spec.rb +2 -11
  782. data/spec/unit/rails/param_value_spec.rb +2 -3
  783. data/spec/unit/rails/resource_spec.rb +2 -3
  784. data/spec/unit/rails_spec.rb +2 -3
  785. data/spec/unit/relationship_spec.rb +2 -2
  786. data/spec/unit/reports/http_spec.rb +2 -3
  787. data/spec/unit/reports/rrdgraph_spec.rb +2 -3
  788. data/spec/unit/reports/store_spec.rb +2 -17
  789. data/spec/unit/reports/tagmail_spec.rb +4 -8
  790. data/spec/unit/reports_spec.rb +2 -3
  791. data/spec/unit/resource/catalog_spec.rb +15 -74
  792. data/spec/unit/resource/status_spec.rb +3 -4
  793. data/spec/unit/resource/type_collection_helper_spec.rb +2 -3
  794. data/spec/unit/resource/type_collection_spec.rb +69 -81
  795. data/spec/unit/resource/type_spec.rb +26 -44
  796. data/spec/unit/resource_spec.rb +3 -4
  797. data/spec/unit/run_spec.rb +2 -3
  798. data/spec/unit/simple_graph_spec.rb +434 -80
  799. data/spec/unit/ssl/base_spec.rb +3 -4
  800. data/spec/unit/ssl/certificate_authority/interface_spec.rb +56 -96
  801. data/spec/unit/ssl/certificate_authority_spec.rb +71 -246
  802. data/spec/unit/ssl/certificate_factory_spec.rb +72 -93
  803. data/spec/unit/ssl/certificate_request_spec.rb +11 -76
  804. data/spec/unit/ssl/certificate_revocation_list_spec.rb +4 -5
  805. data/spec/unit/ssl/certificate_spec.rb +2 -34
  806. data/spec/unit/ssl/host_spec.rb +202 -207
  807. data/spec/unit/ssl/inventory_spec.rb +4 -5
  808. data/spec/unit/ssl/key_spec.rb +2 -3
  809. data/spec/unit/sslcertificates/ca_spec.rb +110 -0
  810. data/spec/unit/status_spec.rb +8 -5
  811. data/spec/unit/transaction/event_manager_spec.rb +2 -3
  812. data/spec/unit/transaction/event_spec.rb +7 -8
  813. data/spec/unit/transaction/report_spec.rb +25 -14
  814. data/spec/unit/transaction/resource_harness_spec.rb +2 -4
  815. data/spec/unit/transaction_spec.rb +31 -28
  816. data/spec/unit/transportable_spec.rb +0 -0
  817. data/spec/unit/type/augeas_spec.rb +3 -4
  818. data/spec/unit/type/component_spec.rb +2 -3
  819. data/spec/unit/type/computer_spec.rb +2 -3
  820. data/spec/unit/type/cron_spec.rb +12 -3
  821. data/spec/unit/type/exec_spec.rb +2 -32
  822. data/spec/unit/type/file/checksum_spec.rb +2 -3
  823. data/spec/unit/type/file/content_spec.rb +2 -3
  824. data/spec/unit/type/file/ctime.rb +2 -3
  825. data/spec/unit/type/file/ensure_spec.rb +2 -3
  826. data/spec/unit/type/file/group_spec.rb +2 -3
  827. data/spec/unit/type/file/mtime.rb +2 -3
  828. data/spec/unit/type/file/owner_spec.rb +2 -3
  829. data/spec/unit/type/file/selinux_spec.rb +2 -3
  830. data/spec/unit/type/file/source_spec.rb +9 -10
  831. data/spec/unit/type/file/type.rb +2 -3
  832. data/spec/unit/type/file_spec.rb +15 -30
  833. data/spec/unit/type/filebucket_spec.rb +2 -3
  834. data/spec/unit/type/group_spec.rb +4 -5
  835. data/spec/unit/type/host_spec.rb +129 -0
  836. data/spec/unit/type/interface_spec.rb +98 -0
  837. data/spec/unit/type/macauthorization_spec.rb +2 -3
  838. data/spec/unit/type/maillist_spec.rb +2 -3
  839. data/spec/unit/type/mcx_spec.rb +2 -23
  840. data/spec/unit/type/mount_spec.rb +41 -18
  841. data/spec/unit/type/nagios_spec.rb +2 -3
  842. data/spec/unit/type/noop_metaparam_spec.rb +2 -3
  843. data/spec/unit/type/package_spec.rb +2 -3
  844. data/spec/unit/type/resources_spec.rb +3 -4
  845. data/spec/unit/type/schedule_spec.rb +19 -12
  846. data/spec/unit/type/selboolean_spec.rb +2 -3
  847. data/spec/unit/type/selmodule_spec.rb +2 -3
  848. data/spec/unit/type/service_spec.rb +6 -3
  849. data/spec/unit/type/ssh_authorized_key_spec.rb +2 -3
  850. data/spec/unit/type/sshkey_spec.rb +70 -0
  851. data/spec/unit/type/stage_spec.rb +2 -3
  852. data/spec/unit/type/tidy_spec.rb +4 -4
  853. data/spec/unit/type/user_spec.rb +2 -11
  854. data/spec/unit/type/vlan_spec.rb +45 -0
  855. data/spec/unit/type/whit_spec.rb +4 -5
  856. data/spec/unit/type/zfs_spec.rb +2 -3
  857. data/spec/unit/type/zone_spec.rb +22 -3
  858. data/spec/unit/type/zpool_spec.rb +2 -3
  859. data/spec/unit/type_spec.rb +2 -69
  860. data/spec/unit/util/autoload/file_cache_spec.rb +2 -3
  861. data/spec/unit/util/autoload_spec.rb +6 -7
  862. data/spec/unit/util/backups_spec.rb +2 -3
  863. data/spec/unit/util/cache_accumulator_spec.rb +2 -3
  864. data/spec/unit/util/cacher_spec.rb +3 -4
  865. data/spec/unit/util/checksums_spec.rb +2 -2
  866. data/spec/unit/util/command_line_spec.rb +11 -8
  867. data/spec/unit/util/constant_inflector_spec.rb +2 -2
  868. data/spec/unit/util/errors_spec.rb +2 -3
  869. data/spec/unit/util/execution_spec.rb +2 -3
  870. data/spec/unit/util/execution_stub_spec.rb +2 -3
  871. data/spec/unit/util/feature_spec.rb +2 -3
  872. data/spec/unit/util/file_locking_spec.rb +4 -5
  873. data/spec/unit/util/filetype_spec.rb +2 -3
  874. data/spec/unit/util/inline_docs_spec.rb +2 -3
  875. data/spec/unit/util/ldap/connection_spec.rb +2 -2
  876. data/spec/unit/util/ldap/generator_spec.rb +2 -2
  877. data/spec/unit/util/ldap/manager_spec.rb +2 -2
  878. data/spec/unit/util/loadedfile_spec.rb +2 -3
  879. data/spec/unit/util/log/destinations_spec.rb +2 -3
  880. data/spec/unit/util/log_spec.rb +6 -7
  881. data/spec/unit/util/logging_spec.rb +27 -3
  882. data/spec/unit/util/metric_spec.rb +2 -3
  883. data/spec/unit/util/monkey_patches_spec.rb +48 -10
  884. data/spec/unit/util/nagios_maker_spec.rb +2 -2
  885. data/spec/unit/util/network_device/cisco/device_spec.rb +408 -0
  886. data/spec/unit/util/network_device/cisco/facts_spec.rb +63 -0
  887. data/spec/unit/util/network_device/cisco/interface_spec.rb +89 -0
  888. data/spec/unit/util/network_device/config_spec.rb +102 -0
  889. data/spec/unit/util/network_device/ipcalc_spec.rb +63 -0
  890. data/spec/unit/util/network_device/transport/base_spec.rb +42 -0
  891. data/spec/unit/util/network_device/transport/ssh_spec.rb +219 -0
  892. data/spec/unit/util/network_device/transport/telnet_spec.rb +76 -0
  893. data/spec/unit/util/network_device_spec.rb +50 -0
  894. data/spec/unit/util/package_spec.rb +2 -3
  895. data/spec/unit/util/posix_spec.rb +2 -3
  896. data/spec/unit/util/pson_spec.rb +3 -4
  897. data/spec/unit/util/queue/stomp_spec.rb +4 -5
  898. data/spec/unit/util/queue_spec.rb +2 -3
  899. data/spec/unit/util/rdoc/parser_spec.rb +17 -12
  900. data/spec/unit/util/rdoc_spec.rb +19 -58
  901. data/spec/unit/util/reference_serializer_spec.rb +2 -3
  902. data/spec/unit/util/resource_template_spec.rb +2 -3
  903. data/spec/unit/util/run_mode_spec.rb +2 -3
  904. data/spec/unit/util/selinux_spec.rb +4 -5
  905. data/spec/unit/util/settings/file_setting_spec.rb +2 -7
  906. data/spec/unit/util/settings_spec.rb +2 -24
  907. data/spec/unit/util/storage_spec.rb +2 -3
  908. data/spec/unit/util/tagging_spec.rb +2 -2
  909. data/spec/unit/util/user_attr_spec.rb +2 -3
  910. data/spec/unit/util/warnings_spec.rb +2 -3
  911. data/spec/unit/util/zaml_spec.rb +23 -53
  912. data/spec/watchr.rb +146 -0
  913. data/tasks/rake/gem.rake +5 -4
  914. data/tasks/rake/git_workflow.rake +62 -51
  915. data/tasks/rake/manpages.rake +69 -0
  916. data/test/certmgr/certmgr.rb +308 -0
  917. data/test/certmgr/inventory.rb +69 -0
  918. data/test/certmgr/support.rb +105 -0
  919. data/test/data/providers/host/parsed/valid_hosts +19 -0
  920. data/test/language/ast.rb +1 -1
  921. data/test/language/ast/variable.rb +1 -1
  922. data/test/language/functions.rb +8 -9
  923. data/test/language/parser.rb +44 -52
  924. data/test/language/scope.rb +13 -24
  925. data/test/language/snippets.rb +11 -2
  926. data/test/language/transportable.rb +1 -1
  927. data/test/lib/puppettest.rb +2 -2
  928. data/test/lib/puppettest/exetest.rb +1 -1
  929. data/test/lib/puppettest/parsertesting.rb +5 -8
  930. data/test/lib/puppettest/servertest.rb +1 -0
  931. data/test/lib/puppettest/support/assertions.rb +6 -1
  932. data/test/lib/puppettest/support/utils.rb +0 -19
  933. data/test/network/authconfig.rb +1 -1
  934. data/test/network/authorization.rb +1 -1
  935. data/test/network/authstore.rb +1 -1
  936. data/test/network/client/ca.rb +69 -0
  937. data/test/network/client/dipper.rb +34 -0
  938. data/test/network/client_request.rb +1 -1
  939. data/test/network/handler/ca.rb +273 -0
  940. data/test/network/handler/fileserver.rb +1 -1
  941. data/test/network/handler/master.rb +13 -9
  942. data/test/network/handler/report.rb +1 -1
  943. data/test/network/handler/runner.rb +1 -1
  944. data/test/network/rights.rb +1 -1
  945. data/test/network/server/mongrel_test.rb +99 -0
  946. data/test/network/server/webrick.rb +128 -0
  947. data/test/network/xmlrpc/client.rb +45 -0
  948. data/test/network/xmlrpc/processor.rb +1 -1
  949. data/test/network/xmlrpc/server.rb +1 -1
  950. data/test/network/xmlrpc/webrick_servlet.rb +1 -1
  951. data/test/other/provider.rb +1 -1
  952. data/test/other/puppet.rb +1 -1
  953. data/test/other/relationships.rb +11 -18
  954. data/test/other/report.rb +1 -1
  955. data/test/other/transactions.rb +2 -35
  956. data/test/puppet/defaults.rb +1 -1
  957. data/test/puppet/errortest.rb +1 -1
  958. data/test/puppet/tc_suidmanager.rb +120 -0
  959. data/test/rails/rails.rb +2 -1
  960. data/test/rails/railsparameter.rb +2 -2
  961. data/test/ral/manager/attributes.rb +1 -1
  962. data/test/ral/manager/instances.rb +1 -1
  963. data/test/ral/manager/manager.rb +1 -1
  964. data/test/ral/manager/provider.rb +1 -1
  965. data/test/ral/manager/type.rb +1 -1
  966. data/test/ral/providers/cron/crontab.rb +1 -1
  967. data/test/ral/providers/group.rb +1 -1
  968. data/test/ral/providers/host/parsed.rb +1 -203
  969. data/test/ral/providers/mailalias/aliases.rb +1 -1
  970. data/test/ral/providers/nameservice.rb +1 -1
  971. data/test/ral/providers/package.rb +1 -1
  972. data/test/ral/providers/package/aptitude.rb +1 -1
  973. data/test/ral/providers/package/aptrpm.rb +1 -1
  974. data/test/ral/providers/parsedfile.rb +1 -1
  975. data/test/ral/providers/port/parsed.rb +1 -1
  976. data/test/ral/providers/provider.rb +1 -1
  977. data/test/ral/providers/service/base.rb +1 -1
  978. data/test/ral/providers/sshkey/parsed.rb +1 -1
  979. data/test/ral/providers/user.rb +1 -1
  980. data/test/ral/providers/user/useradd.rb +1 -1
  981. data/test/ral/type/cron.rb +1 -1
  982. data/test/ral/type/exec.rb +1 -42
  983. data/test/ral/type/file.rb +1 -1
  984. data/test/ral/type/file/target.rb +6 -19
  985. data/test/ral/type/fileignoresource.rb +1 -1
  986. data/test/ral/type/filesources.rb +61 -1
  987. data/test/ral/type/host.rb +1 -1
  988. data/test/ral/type/mailalias.rb +1 -1
  989. data/test/ral/type/port.rb +1 -1
  990. data/test/ral/type/resources.rb +1 -1
  991. data/test/ral/type/service.rb +1 -1
  992. data/test/ral/type/sshkey.rb +1 -1
  993. data/test/ral/type/user.rb +1 -1
  994. data/test/ral/type/yumrepo.rb +1 -1
  995. data/test/ral/type/zone.rb +1 -1
  996. data/test/test +2 -2
  997. data/test/util/classgen.rb +1 -1
  998. data/test/util/execution.rb +1 -1
  999. data/test/util/fileparsing.rb +1 -1
  1000. data/test/util/inifile.rb +1 -1
  1001. data/test/util/instance_loader.rb +1 -1
  1002. data/test/util/log.rb +1 -1
  1003. data/test/util/metrics.rb +1 -1
  1004. data/test/util/package.rb +1 -1
  1005. data/test/util/pidlock.rb +1 -1
  1006. data/test/util/settings.rb +1 -1
  1007. data/test/util/storage.rb +1 -1
  1008. data/test/util/subclass_loader.rb +1 -1
  1009. data/test/util/utiltest.rb +1 -1
  1010. metadata +312 -48
  1011. data/CHANGELOG.old +0 -1705
  1012. data/CONTRIBUTING.md +0 -299
  1013. data/COPYING +0 -340
  1014. data/README.queueing +0 -126
  1015. data/ext/upload_facts.rb +0 -120
  1016. data/ext/vim/ftplugin/puppet.vim +0 -94
  1017. data/ext/vim/indent/puppet.vim +0 -76
  1018. data/lib/puppet/indirector/errors.rb +0 -5
  1019. data/lib/puppet/indirector/facts/inventory_service.rb +0 -20
  1020. data/lib/puppet/indirector/file_bucket_file/selector.rb +0 -53
  1021. data/lib/puppet/indirector/file_content/selector.rb +0 -30
  1022. data/lib/puppet/indirector/file_metadata/selector.rb +0 -30
  1023. data/lib/puppet/indirector/resource/validator.rb +0 -8
  1024. data/lib/puppet/util/command_line/filebucket +0 -97
  1025. data/lib/puppet/util/command_line/pi +0 -48
  1026. data/lib/puppet/util/command_line/puppet +0 -73
  1027. data/lib/puppet/util/command_line/puppetca +0 -131
  1028. data/lib/puppet/util/command_line/puppetd +0 -188
  1029. data/lib/puppet/util/command_line/puppetdoc +0 -67
  1030. data/lib/puppet/util/command_line/puppetmasterd +0 -70
  1031. data/lib/puppet/util/command_line/puppetqd +0 -53
  1032. data/lib/puppet/util/command_line/puppetrun +0 -125
  1033. data/lib/puppet/util/command_line/ralsh +0 -89
  1034. data/spec/integration/file_bucket/file_spec.rb +0 -44
  1035. data/spec/integration/indirector/bucket_file/rest_spec.rb +0 -77
  1036. data/spec/integration/indirector/certificate/rest_spec.rb +0 -69
  1037. data/spec/integration/indirector/certificate_request/rest_spec.rb +0 -89
  1038. data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +0 -85
  1039. data/spec/integration/indirector/report/rest_spec.rb +0 -93
  1040. data/spec/shared_behaviours/file_serving_model.rb +0 -73
  1041. data/spec/unit/indirector/facts/inventory_service_spec.rb +0 -22
  1042. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +0 -29
  1043. data/spec/unit/indirector/file_content/selector_spec.rb +0 -10
  1044. data/spec/unit/indirector/file_metadata/selector_spec.rb +0 -11
  1045. data/spec/unit/network/handler/ca_spec.rb +0 -87
  1046. data/spec/unit/network/rest_authorization_spec.rb +0 -43
  1047. data/spec/unit/provider/package/appdmg_spec.rb +0 -42
  1048. data/spec/unit/type/k5login_spec.rb +0 -115
  1049. data/spec/unit/util/suidmanager_spec.rb +0 -220
  1050. data/spec/unit/util_spec.rb +0 -104
@@ -1,148 +1,59 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
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
4
+ .TH "PUPPETCONF" "5" "June 2011" "Puppet Labs, LLC" "Puppet manual"
5
+ \fBThis page is autogenerated; any changes will get overwritten\fR \fI(last generated on Wed Jun 08 17:09:41 \-0700 2011)\fR
6
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
- .
21
- .nf
22
-
23
- $ puppet agent \-\-confdir=/private/puppet
24
- .
25
- .fi
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:
7
+ .SH "Configuration Settings"
31
8
  .
32
- .IP "" 4
33
- .
34
- .nf
35
-
36
- $ puppet agent \-\-storeconfigs
37
-
38
- $ puppet agent \-\-no\-storeconfigs
39
- .
40
- .fi
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\.
9
+ .IP "\(bu" 4
10
+ Each of these settings can be specified in \fBpuppet\.conf\fR or on the command line\.
55
11
  .
56
- .P
57
- File Format \'\'\'\'\'\'\'\'\'\'\'
12
+ .IP "\(bu" 4
13
+ When using boolean settings on the command line, use \fB\-\-setting\fR and \fB\-\-no\-setting\fR instead of \fB\-\-setting (true|false)\fR\.
58
14
  .
59
- .P
60
- The file follows INI\-style formatting\. Here is an example of a very simple \fBpuppet\.conf\fR file:
15
+ .IP "\(bu" 4
16
+ Settings can be interpolated as \fB$variables\fR in other settings; \fB$environment\fR is special, in that puppet master will interpolate each agent node\'s environment instead of its own\.
61
17
  .
62
- .IP "" 4
18
+ .IP "\(bu" 4
19
+ Multiple values should be specified as comma\-separated lists; multiple directories should be separated with the system path separator (usually a colon)\.
63
20
  .
64
- .nf
65
-
66
- [main]
67
- confdir = /private/puppet
68
- storeconfigs = true
21
+ .IP "\(bu" 4
22
+ Settings that take a single file or directory can optionally set the owner, group, and mode for their value: \fBrundir = $vardir/run { owner = puppet, group = puppet, mode = 644 }\fR
69
23
  .
70
- .fi
24
+ .IP "\(bu" 4
25
+ The Puppet executables will ignore any setting that isn\'t relevant to their function\.
71
26
  .
72
27
  .IP "" 0
73
28
  .
74
29
  .P
75
- Note that boolean parameters must be explicitly specified as \fBtrue\fR or \fBfalse\fR as seen above\.
30
+ See the configuration guide \fIhttp://docs\.puppetlabs\.com/guides/configuring\.html\fR for more details\.
76
31
  .
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
- .
82
- .nf
83
-
84
- [main]
85
- myfile = /tmp/whatever {owner = root, mode = 644}
32
+ .SS "allow_duplicate_certs"
33
+ Whether to allow a new certificate request to overwrite an existing certificate\.
86
34
  .
87
- .fi
35
+ .IP "\(bu" 4
36
+ \fIDefault\fR: false
88
37
  .
89
38
  .IP "" 0
90
39
  .
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
- .
96
- .nf
97
-
98
- $ puppet agent \-\-genconfig > /etc/puppet/puppet\.conf
40
+ .SS "archive_file_server"
41
+ During an inspect run, the file bucket server to archive files to if archive_files is set\.
99
42
  .
100
- .fi
43
+ .IP "\(bu" 4
44
+ \fIDefault\fR: $server
101
45
  .
102
46
  .IP "" 0
103
47
  .
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:
48
+ .SS "archive_files"
49
+ During an inspect run, whether to archive files whose contents are audited to a file bucket\.
109
50
  .
110
- .IP "" 4
111
- .
112
- .nf
113
-
114
- $ puppet agent \-\-genmanifest > /etc/puppet/manifests/site\.pp
115
- .
116
- .fi
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
- .
125
- .nf
126
-
127
- $ puppet agent \-\-mkusers
128
- .
129
- .fi
51
+ .IP "\(bu" 4
52
+ \fIDefault\fR: false
130
53
  .
131
54
  .IP "" 0
132
55
  .
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
56
+ .SS "async_storeconfigs"
146
57
  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
58
  .
148
59
  .IP "\(bu" 4
@@ -150,10 +61,7 @@ Whether to use a queueing system to provide asynchronous database integration\.
150
61
  .
151
62
  .IP "" 0
152
63
  .
153
- .P
154
- authconfig ++++++++++
155
- .
156
- .P
64
+ .SS "authconfig"
157
65
  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
66
  .
159
67
  .IP "\(bu" 4
@@ -161,10 +69,7 @@ The configuration file that defines the rights to the different namespaces and m
161
69
  .
162
70
  .IP "" 0
163
71
  .
164
- .P
165
- autoflush +++++++++
166
- .
167
- .P
72
+ .SS "autoflush"
168
73
  Whether log files should always flush to disk\.
169
74
  .
170
75
  .IP "\(bu" 4
@@ -172,10 +77,7 @@ Whether log files should always flush to disk\.
172
77
  .
173
78
  .IP "" 0
174
79
  .
175
- .P
176
- autosign ++++++++
177
- .
178
- .P
80
+ .SS "autosign"
179
81
  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
82
  .
181
83
  .IP "\(bu" 4
@@ -183,16 +85,10 @@ Whether to enable autosign\. Valid values are true (which autosigns any key requ
183
85
  .
184
86
  .IP "" 0
185
87
  .
186
- .P
187
- bindaddress +++++++++++
188
- .
189
- .P
88
+ .SS "bindaddress"
190
89
  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
90
  .
192
- .P
193
- bucketdir +++++++++
194
- .
195
- .P
91
+ .SS "bucketdir"
196
92
  Where FileBucket files are stored\.
197
93
  .
198
94
  .IP "\(bu" 4
@@ -200,10 +96,7 @@ Where FileBucket files are stored\.
200
96
  .
201
97
  .IP "" 0
202
98
  .
203
- .P
204
- ca ++
205
- .
206
- .P
99
+ .SS "ca"
207
100
  Wether the master should function as a certificate authority\.
208
101
  .
209
102
  .IP "\(bu" 4
@@ -211,16 +104,10 @@ Wether the master should function as a certificate authority\.
211
104
  .
212
105
  .IP "" 0
213
106
  .
214
- .P
215
- ca_days +++++++
216
- .
217
- .P
107
+ .SS "ca_days"
218
108
  How long a certificate should be valid\. This parameter is deprecated, use ca_ttl instead
219
109
  .
220
- .P
221
- ca_md +++++
222
- .
223
- .P
110
+ .SS "ca_md"
224
111
  The type of hash used in certificates\.
225
112
  .
226
113
  .IP "\(bu" 4
@@ -228,21 +115,15 @@ The type of hash used in certificates\.
228
115
  .
229
116
  .IP "" 0
230
117
  .
231
- .P
232
- ca_name +++++++
233
- .
234
- .P
118
+ .SS "ca_name"
235
119
  The name to use the Certificate Authority certificate\.
236
120
  .
237
121
  .IP "\(bu" 4
238
- \fIDefault\fR: $certname
122
+ \fIDefault\fR: Puppet CA: $certname
239
123
  .
240
124
  .IP "" 0
241
125
  .
242
- .P
243
- ca_port +++++++
244
- .
245
- .P
126
+ .SS "ca_port"
246
127
  The port to use for the certificate authority\.
247
128
  .
248
129
  .IP "\(bu" 4
@@ -250,10 +131,7 @@ The port to use for the certificate authority\.
250
131
  .
251
132
  .IP "" 0
252
133
  .
253
- .P
254
- ca_server +++++++++
255
- .
256
- .P
134
+ .SS "ca_server"
257
135
  The server to use for certificate authority requests\. It\'s a separate server because it cannot and does not need to horizontally scale\.
258
136
  .
259
137
  .IP "\(bu" 4
@@ -261,10 +139,7 @@ The server to use for certificate authority requests\. It\'s a separate server b
261
139
  .
262
140
  .IP "" 0
263
141
  .
264
- .P
265
- ca_ttl ++++++
266
- .
267
- .P
142
+ .SS "ca_ttl"
268
143
  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
144
  .
270
145
  .IP "\(bu" 4
@@ -272,10 +147,7 @@ The default TTL for new certificates; valid values must be an integer, optionall
272
147
  .
273
148
  .IP "" 0
274
149
  .
275
- .P
276
- cacert ++++++
277
- .
278
- .P
150
+ .SS "cacert"
279
151
  The CA certificate\.
280
152
  .
281
153
  .IP "\(bu" 4
@@ -283,10 +155,7 @@ The CA certificate\.
283
155
  .
284
156
  .IP "" 0
285
157
  .
286
- .P
287
- cacrl +++++
288
- .
289
- .P
158
+ .SS "cacrl"
290
159
  The certificate revocation list (CRL) for the CA\. Will be used if present but otherwise ignored\.
291
160
  .
292
161
  .IP "\(bu" 4
@@ -294,10 +163,7 @@ The certificate revocation list (CRL) for the CA\. Will be used if present but o
294
163
  .
295
164
  .IP "" 0
296
165
  .
297
- .P
298
- cadir +++++
299
- .
300
- .P
166
+ .SS "cadir"
301
167
  The root directory for the certificate authority\.
302
168
  .
303
169
  .IP "\(bu" 4
@@ -305,10 +171,7 @@ The root directory for the certificate authority\.
305
171
  .
306
172
  .IP "" 0
307
173
  .
308
- .P
309
- cakey +++++
310
- .
311
- .P
174
+ .SS "cakey"
312
175
  The CA private key\.
313
176
  .
314
177
  .IP "\(bu" 4
@@ -316,10 +179,7 @@ The CA private key\.
316
179
  .
317
180
  .IP "" 0
318
181
  .
319
- .P
320
- capass ++++++
321
- .
322
- .P
182
+ .SS "capass"
323
183
  Where the CA stores the password for the private key
324
184
  .
325
185
  .IP "\(bu" 4
@@ -327,10 +187,7 @@ Where the CA stores the password for the private key
327
187
  .
328
188
  .IP "" 0
329
189
  .
330
- .P
331
- caprivatedir ++++++++++++
332
- .
333
- .P
190
+ .SS "caprivatedir"
334
191
  Where the CA stores private certificate information\.
335
192
  .
336
193
  .IP "\(bu" 4
@@ -338,10 +195,7 @@ Where the CA stores private certificate information\.
338
195
  .
339
196
  .IP "" 0
340
197
  .
341
- .P
342
- capub +++++
343
- .
344
- .P
198
+ .SS "capub"
345
199
  The CA public key\.
346
200
  .
347
201
  .IP "\(bu" 4
@@ -349,16 +203,10 @@ The CA public key\.
349
203
  .
350
204
  .IP "" 0
351
205
  .
352
- .P
353
- catalog_format ++++++++++++++
354
- .
355
- .P
206
+ .SS "catalog_format"
356
207
  (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
208
  .
358
- .P
359
- catalog_terminus ++++++++++++++++
360
- .
361
- .P
209
+ .SS "catalog_terminus"
362
210
  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
211
  .
364
212
  .IP "\(bu" 4
@@ -366,10 +214,7 @@ Where to get node catalogs\. This is useful to change if, for instance, you\'d l
366
214
  .
367
215
  .IP "" 0
368
216
  .
369
- .P
370
- cert_inventory ++++++++++++++
371
- .
372
- .P
217
+ .SS "cert_inventory"
373
218
  A Complete listing of all certificates
374
219
  .
375
220
  .IP "\(bu" 4
@@ -377,10 +222,7 @@ A Complete listing of all certificates
377
222
  .
378
223
  .IP "" 0
379
224
  .
380
- .P
381
- certdir +++++++
382
- .
383
- .P
225
+ .SS "certdir"
384
226
  The certificate directory\.
385
227
  .
386
228
  .IP "\(bu" 4
@@ -388,16 +230,10 @@ The certificate directory\.
388
230
  .
389
231
  .IP "" 0
390
232
  .
391
- .P
392
- certdnsnames ++++++++++++
393
- .
394
- .P
233
+ .SS "certdnsnames"
395
234
  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
235
  .
397
- .P
398
- certificate_revocation ++++++++++++++++++++++
399
- .
400
- .P
236
+ .SS "certificate_revocation"
401
237
  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
238
  .
403
239
  .IP "\(bu" 4
@@ -405,21 +241,15 @@ Whether certificate revocation should be supported by downloading a Certificate
405
241
  .
406
242
  .IP "" 0
407
243
  .
408
- .P
409
- certname ++++++++
410
- .
411
- .P
244
+ .SS "certname"
412
245
  The name to use when handling certificates\. Defaults to the fully qualified domain name\.
413
246
  .
414
247
  .IP "\(bu" 4
415
- \fIDefault\fR: pelin\.members\.linode\.com
248
+ \fIDefault\fR: magpie\.puppetlabs\.lan
416
249
  .
417
250
  .IP "" 0
418
251
  .
419
- .P
420
- classfile +++++++++
421
- .
422
- .P
252
+ .SS "classfile"
423
253
  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
254
  .
425
255
  .IP "\(bu" 4
@@ -427,10 +257,7 @@ The file in which puppet agent stores a list of the classes associated with the
427
257
  .
428
258
  .IP "" 0
429
259
  .
430
- .P
431
- client_datadir ++++++++++++++
432
- .
433
- .P
260
+ .SS "client_datadir"
434
261
  The directory in which serialized data is stored on the client\.
435
262
  .
436
263
  .IP "\(bu" 4
@@ -438,10 +265,7 @@ The directory in which serialized data is stored on the client\.
438
265
  .
439
266
  .IP "" 0
440
267
  .
441
- .P
442
- clientbucketdir +++++++++++++++
443
- .
444
- .P
268
+ .SS "clientbucketdir"
445
269
  Where FileBucket files are stored locally\.
446
270
  .
447
271
  .IP "\(bu" 4
@@ -449,10 +273,7 @@ Where FileBucket files are stored locally\.
449
273
  .
450
274
  .IP "" 0
451
275
  .
452
- .P
453
- clientyamldir +++++++++++++
454
- .
455
- .P
276
+ .SS "clientyamldir"
456
277
  The directory in which client\-side YAML data is stored\.
457
278
  .
458
279
  .IP "\(bu" 4
@@ -460,16 +281,10 @@ The directory in which client\-side YAML data is stored\.
460
281
  .
461
282
  .IP "" 0
462
283
  .
463
- .P
464
- code ++++
465
- .
466
- .P
284
+ .SS "code"
467
285
  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
286
  .
469
- .P
470
- color +++++
471
- .
472
- .P
287
+ .SS "color"
473
288
  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
289
  .
475
290
  .IP "\(bu" 4
@@ -477,21 +292,15 @@ Whether to use colors when logging to the console\. Valid values are \fBansi\fR
477
292
  .
478
293
  .IP "" 0
479
294
  .
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\.
295
+ .SS "confdir"
296
+ 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 Puppet 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 the user\'s home directory\.
485
297
  .
486
298
  .IP "\(bu" 4
487
299
  \fIDefault\fR: /etc/puppet
488
300
  .
489
301
  .IP "" 0
490
302
  .
491
- .P
492
- config ++++++
493
- .
494
- .P
303
+ .SS "config"
495
304
  The configuration file for doc\.
496
305
  .
497
306
  .IP "\(bu" 4
@@ -499,22 +308,13 @@ The configuration file for doc\.
499
308
  .
500
309
  .IP "" 0
501
310
  .
502
- .P
503
- config_version ++++++++++++++
504
- .
505
- .P
311
+ .SS "config_version"
506
312
  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
313
  .
508
- .P
509
- configprint +++++++++++
510
- .
511
- .P
314
+ .SS "configprint"
512
315
  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
316
  .
514
- .P
515
- configtimeout +++++++++++++
516
- .
517
- .P
317
+ .SS "configtimeout"
518
318
  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
319
  .
520
320
  .IP "\(bu" 4
@@ -522,10 +322,7 @@ How long the client should wait for the configuration to be retrieved before con
522
322
  .
523
323
  .IP "" 0
524
324
  .
525
- .P
526
- couchdb_url +++++++++++
527
- .
528
- .P
325
+ .SS "couchdb_url"
529
326
  The url where the puppet couchdb database will be created
530
327
  .
531
328
  .IP "\(bu" 4
@@ -533,10 +330,7 @@ The url where the puppet couchdb database will be created
533
330
  .
534
331
  .IP "" 0
535
332
  .
536
- .P
537
- csrdir ++++++
538
- .
539
- .P
333
+ .SS "csrdir"
540
334
  Where the CA stores certificate requests
541
335
  .
542
336
  .IP "\(bu" 4
@@ -544,10 +338,7 @@ Where the CA stores certificate requests
544
338
  .
545
339
  .IP "" 0
546
340
  .
547
- .P
548
- daemonize +++++++++
549
- .
550
- .P
341
+ .SS "daemonize"
551
342
  Send the process into the background\. This is the default\.
552
343
  .
553
344
  .IP "\(bu" 4
@@ -555,10 +346,7 @@ Send the process into the background\. This is the default\.
555
346
  .
556
347
  .IP "" 0
557
348
  .
558
- .P
559
- dbadapter +++++++++
560
- .
561
- .P
349
+ .SS "dbadapter"
562
350
  The type of database to use\.
563
351
  .
564
352
  .IP "\(bu" 4
@@ -566,21 +354,10 @@ The type of database to use\.
566
354
  .
567
355
  .IP "" 0
568
356
  .
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
357
+ .SS "dbconnections"
358
+ The number of database connections for networked databases\. Will be ignored unless the value is a positive integer\.
579
359
  .
580
- .P
581
- dblocation ++++++++++
582
- .
583
- .P
360
+ .SS "dblocation"
584
361
  The database cache for client configurations\. Used for querying within the language\.
585
362
  .
586
363
  .IP "\(bu" 4
@@ -588,10 +365,7 @@ The database cache for client configurations\. Used for querying within the lang
588
365
  .
589
366
  .IP "" 0
590
367
  .
591
- .P
592
- dbmigrate +++++++++
593
- .
594
- .P
368
+ .SS "dbmigrate"
595
369
  Whether to automatically migrate the database\.
596
370
  .
597
371
  .IP "\(bu" 4
@@ -599,10 +373,7 @@ Whether to automatically migrate the database\.
599
373
  .
600
374
  .IP "" 0
601
375
  .
602
- .P
603
- dbname ++++++
604
- .
605
- .P
376
+ .SS "dbname"
606
377
  The name of the database to use\.
607
378
  .
608
379
  .IP "\(bu" 4
@@ -610,10 +381,7 @@ The name of the database to use\.
610
381
  .
611
382
  .IP "" 0
612
383
  .
613
- .P
614
- dbpassword ++++++++++
615
- .
616
- .P
384
+ .SS "dbpassword"
617
385
  The database password for caching\. Only used when networked databases are used\.
618
386
  .
619
387
  .IP "\(bu" 4
@@ -621,16 +389,10 @@ The database password for caching\. Only used when networked databases are used\
621
389
  .
622
390
  .IP "" 0
623
391
  .
624
- .P
625
- dbport ++++++
626
- .
627
- .P
392
+ .SS "dbport"
628
393
  The database password for caching\. Only used when networked databases are used\.
629
394
  .
630
- .P
631
- dbserver ++++++++
632
- .
633
- .P
395
+ .SS "dbserver"
634
396
  The database server for caching\. Only used when networked databases are used\.
635
397
  .
636
398
  .IP "\(bu" 4
@@ -638,16 +400,10 @@ The database server for caching\. Only used when networked databases are used\.
638
400
  .
639
401
  .IP "" 0
640
402
  .
641
- .P
642
- dbsocket ++++++++
643
- .
644
- .P
403
+ .SS "dbsocket"
645
404
  The database socket location\. Only used when networked databases are used\. Will be ignored if the value is an empty string\.
646
405
  .
647
- .P
648
- dbuser ++++++
649
- .
650
- .P
406
+ .SS "dbuser"
651
407
  The database user for caching\. Only used when networked databases are used\.
652
408
  .
653
409
  .IP "\(bu" 4
@@ -655,10 +411,23 @@ The database user for caching\. Only used when networked databases are used\.
655
411
  .
656
412
  .IP "" 0
657
413
  .
658
- .P
659
- diff ++++
414
+ .SS "deviceconfig"
415
+ Path to the device config file for puppet device
660
416
  .
661
- .P
417
+ .IP "\(bu" 4
418
+ \fIDefault\fR: $confdir/device\.conf
419
+ .
420
+ .IP "" 0
421
+ .
422
+ .SS "devicedir"
423
+ The root directory of devices\' $vardir
424
+ .
425
+ .IP "\(bu" 4
426
+ \fIDefault\fR: $vardir/devices
427
+ .
428
+ .IP "" 0
429
+ .
430
+ .SS "diff"
662
431
  Which diff command to use when printing differences between files\.
663
432
  .
664
433
  .IP "\(bu" 4
@@ -666,10 +435,7 @@ Which diff command to use when printing differences between files\.
666
435
  .
667
436
  .IP "" 0
668
437
  .
669
- .P
670
- diff_args +++++++++
671
- .
672
- .P
438
+ .SS "diff_args"
673
439
  Which arguments to pass to the diff command when printing differences between files\.
674
440
  .
675
441
  .IP "\(bu" 4
@@ -677,10 +443,15 @@ Which arguments to pass to the diff command when printing differences between fi
677
443
  .
678
444
  .IP "" 0
679
445
  .
680
- .P
681
- downcasefacts +++++++++++++
446
+ .SS "document_all"
447
+ Document all resources
682
448
  .
683
- .P
449
+ .IP "\(bu" 4
450
+ \fIDefault\fR: false
451
+ .
452
+ .IP "" 0
453
+ .
454
+ .SS "downcasefacts"
684
455
  Whether facts should be made all lowercase when sent to the server\.
685
456
  .
686
457
  .IP "\(bu" 4
@@ -688,10 +459,7 @@ Whether facts should be made all lowercase when sent to the server\.
688
459
  .
689
460
  .IP "" 0
690
461
  .
691
- .P
692
- dynamicfacts ++++++++++++
693
- .
694
- .P
462
+ .SS "dynamicfacts"
695
463
  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
464
  .
697
465
  .IP "\(bu" 4
@@ -699,10 +467,7 @@ Facts that are dynamic; these facts will be ignored when deciding whether change
699
467
  .
700
468
  .IP "" 0
701
469
  .
702
- .P
703
- environment +++++++++++
704
- .
705
- .P
470
+ .SS "environment"
706
471
  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
472
  .
708
473
  .IP "\(bu" 4
@@ -710,10 +475,7 @@ The environment Puppet is running in\. For clients (e\.g\., \fBpuppet agent\fR)
710
475
  .
711
476
  .IP "" 0
712
477
  .
713
- .P
714
- evaltrace +++++++++
715
- .
716
- .P
478
+ .SS "evaltrace"
717
479
  Whether each resource should log when it is being evaluated\. This allows you to interactively see exactly what is being done\.
718
480
  .
719
481
  .IP "\(bu" 4
@@ -721,10 +483,7 @@ Whether each resource should log when it is being evaluated\. This allows you to
721
483
  .
722
484
  .IP "" 0
723
485
  .
724
- .P
725
- external_nodes ++++++++++++++
726
- .
727
- .P
486
+ .SS "external_nodes"
728
487
  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
488
  .
730
489
  .IP "\(bu" 4
@@ -732,10 +491,7 @@ An external command that can produce node information\. The output must be a YAM
732
491
  .
733
492
  .IP "" 0
734
493
  .
735
- .P
736
- factdest ++++++++
737
- .
738
- .P
494
+ .SS "factdest"
739
495
  Where Puppet should store facts that it pulls down from the central server\.
740
496
  .
741
497
  .IP "\(bu" 4
@@ -743,10 +499,7 @@ Where Puppet should store facts that it pulls down from the central server\.
743
499
  .
744
500
  .IP "" 0
745
501
  .
746
- .P
747
- factpath ++++++++
748
- .
749
- .P
502
+ .SS "factpath"
750
503
  Where Puppet should look for facts\. Multiple directories should be colon\-separated, like normal PATH variables\.
751
504
  .
752
505
  .IP "\(bu" 4
@@ -754,10 +507,7 @@ Where Puppet should look for facts\. Multiple directories should be colon\-separ
754
507
  .
755
508
  .IP "" 0
756
509
  .
757
- .P
758
- facts_terminus ++++++++++++++
759
- .
760
- .P
510
+ .SS "facts_terminus"
761
511
  The node facts terminus\.
762
512
  .
763
513
  .IP "\(bu" 4
@@ -765,10 +515,7 @@ The node facts terminus\.
765
515
  .
766
516
  .IP "" 0
767
517
  .
768
- .P
769
- factsignore +++++++++++
770
- .
771
- .P
518
+ .SS "factsignore"
772
519
  What files to ignore when pulling down facts\.
773
520
  .
774
521
  .IP "\(bu" 4
@@ -776,10 +523,7 @@ What files to ignore when pulling down facts\.
776
523
  .
777
524
  .IP "" 0
778
525
  .
779
- .P
780
- factsource ++++++++++
781
- .
782
- .P
526
+ .SS "factsource"
783
527
  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
528
  .
785
529
  .IP "\(bu" 4
@@ -787,10 +531,7 @@ From where to retrieve facts\. The standard Puppet \fBfile\fR type is used for r
787
531
  .
788
532
  .IP "" 0
789
533
  .
790
- .P
791
- factsync ++++++++
792
- .
793
- .P
534
+ .SS "factsync"
794
535
  Whether facts should be synced with the central server\.
795
536
  .
796
537
  .IP "\(bu" 4
@@ -798,10 +539,7 @@ Whether facts should be synced with the central server\.
798
539
  .
799
540
  .IP "" 0
800
541
  .
801
- .P
802
- fileserverconfig ++++++++++++++++
803
- .
804
- .P
542
+ .SS "fileserverconfig"
805
543
  Where the fileserver configuration is stored\.
806
544
  .
807
545
  .IP "\(bu" 4
@@ -809,10 +547,7 @@ Where the fileserver configuration is stored\.
809
547
  .
810
548
  .IP "" 0
811
549
  .
812
- .P
813
- filetimeout +++++++++++
814
- .
815
- .P
550
+ .SS "filetimeout"
816
551
  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
552
  .
818
553
  .IP "\(bu" 4
@@ -820,10 +555,7 @@ The minimum time to wait (in seconds) between checking for updates in configurat
820
555
  .
821
556
  .IP "" 0
822
557
  .
823
- .P
824
- freeze_main +++++++++++
825
- .
826
- .P
558
+ .SS "freeze_main"
827
559
  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
560
  .
829
561
  .IP "\(bu" 4
@@ -831,10 +563,7 @@ Freezes the \'main\' class, disallowing any code to be added to it\. This essent
831
563
  .
832
564
  .IP "" 0
833
565
  .
834
- .P
835
- genconfig +++++++++
836
- .
837
- .P
566
+ .SS "genconfig"
838
567
  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
568
  .
840
569
  .IP "\(bu" 4
@@ -842,10 +571,7 @@ Whether to just print a configuration to stdout and exit\. Only makes sense when
842
571
  .
843
572
  .IP "" 0
844
573
  .
845
- .P
846
- genmanifest +++++++++++
847
- .
848
- .P
574
+ .SS "genmanifest"
849
575
  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
576
  .
851
577
  .IP "\(bu" 4
@@ -853,10 +579,7 @@ Whether to just print a manifest to stdout and exit\. Only makes sense when used
853
579
  .
854
580
  .IP "" 0
855
581
  .
856
- .P
857
- graph +++++
858
- .
859
- .P
582
+ .SS "graph"
860
583
  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
584
  .
862
585
  .IP "\(bu" 4
@@ -864,10 +587,7 @@ Whether to create dot graph files for the different configuration graphs\. These
864
587
  .
865
588
  .IP "" 0
866
589
  .
867
- .P
868
- graphdir ++++++++
869
- .
870
- .P
590
+ .SS "graphdir"
871
591
  Where to store dot\-outputted graphs\.
872
592
  .
873
593
  .IP "\(bu" 4
@@ -875,10 +595,7 @@ Where to store dot\-outputted graphs\.
875
595
  .
876
596
  .IP "" 0
877
597
  .
878
- .P
879
- group +++++
880
- .
881
- .P
598
+ .SS "group"
882
599
  The group puppet master should run as\.
883
600
  .
884
601
  .IP "\(bu" 4
@@ -886,10 +603,7 @@ The group puppet master should run as\.
886
603
  .
887
604
  .IP "" 0
888
605
  .
889
- .P
890
- hostcert ++++++++
891
- .
892
- .P
606
+ .SS "hostcert"
893
607
  Where individual hosts store and look for their certificates\.
894
608
  .
895
609
  .IP "\(bu" 4
@@ -897,10 +611,7 @@ Where individual hosts store and look for their certificates\.
897
611
  .
898
612
  .IP "" 0
899
613
  .
900
- .P
901
- hostcrl +++++++
902
- .
903
- .P
614
+ .SS "hostcrl"
904
615
  Where the host\'s certificate revocation list can be found\. This is distinct from the certificate authority\'s CRL\.
905
616
  .
906
617
  .IP "\(bu" 4
@@ -908,10 +619,7 @@ Where the host\'s certificate revocation list can be found\. This is distinct fr
908
619
  .
909
620
  .IP "" 0
910
621
  .
911
- .P
912
- hostcsr +++++++
913
- .
914
- .P
622
+ .SS "hostcsr"
915
623
  Where individual hosts store and look for their certificate requests\.
916
624
  .
917
625
  .IP "\(bu" 4
@@ -919,10 +627,7 @@ Where individual hosts store and look for their certificate requests\.
919
627
  .
920
628
  .IP "" 0
921
629
  .
922
- .P
923
- hostprivkey +++++++++++
924
- .
925
- .P
630
+ .SS "hostprivkey"
926
631
  Where individual hosts store and look for their private key\.
927
632
  .
928
633
  .IP "\(bu" 4
@@ -930,10 +635,7 @@ Where individual hosts store and look for their private key\.
930
635
  .
931
636
  .IP "" 0
932
637
  .
933
- .P
934
- hostpubkey ++++++++++
935
- .
936
- .P
638
+ .SS "hostpubkey"
937
639
  Where individual hosts store and look for their public key\.
938
640
  .
939
641
  .IP "\(bu" 4
@@ -941,21 +643,15 @@ Where individual hosts store and look for their public key\.
941
643
  .
942
644
  .IP "" 0
943
645
  .
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\.
646
+ .SS "http_compression"
647
+ Allow http compression in REST communication with the master\. This setting might improve performance for agent \-> master communications over slow WANs\. Your puppet master needs to support compression (usually by activating some settings in a reverse\-proxy in front of the puppet master, 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
648
  .
950
649
  .IP "\(bu" 4
951
650
  \fIDefault\fR: false
952
651
  .
953
652
  .IP "" 0
954
653
  .
955
- .P
956
- http_proxy_host +++++++++++++++
957
- .
958
- .P
654
+ .SS "http_proxy_host"
959
655
  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
656
  .
961
657
  .IP "\(bu" 4
@@ -963,10 +659,7 @@ The HTTP proxy host to use for outgoing connections\. Note: You may need to use
963
659
  .
964
660
  .IP "" 0
965
661
  .
966
- .P
967
- http_proxy_port +++++++++++++++
968
- .
969
- .P
662
+ .SS "http_proxy_port"
970
663
  The HTTP proxy port to use for outgoing connections
971
664
  .
972
665
  .IP "\(bu" 4
@@ -974,10 +667,7 @@ The HTTP proxy port to use for outgoing connections
974
667
  .
975
668
  .IP "" 0
976
669
  .
977
- .P
978
- httplog +++++++
979
- .
980
- .P
670
+ .SS "httplog"
981
671
  Where the puppet agent web server logs\.
982
672
  .
983
673
  .IP "\(bu" 4
@@ -985,10 +675,7 @@ Where the puppet agent web server logs\.
985
675
  .
986
676
  .IP "" 0
987
677
  .
988
- .P
989
- ignorecache +++++++++++
990
- .
991
- .P
678
+ .SS "ignorecache"
992
679
  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
680
  .
994
681
  .IP "\(bu" 4
@@ -996,10 +683,7 @@ Ignore cache and always recompile the configuration\. This is useful for testing
996
683
  .
997
684
  .IP "" 0
998
685
  .
999
- .P
1000
- ignoreimport ++++++++++++
1001
- .
1002
- .P
686
+ .SS "ignoreimport"
1003
687
  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
688
  .
1005
689
  .IP "\(bu" 4
@@ -1007,10 +691,7 @@ A parameter that can be used in commit hooks, since it enables you to parse\-che
1007
691
  .
1008
692
  .IP "" 0
1009
693
  .
1010
- .P
1011
- ignoreschedules +++++++++++++++
1012
- .
1013
- .P
694
+ .SS "ignoreschedules"
1014
695
  Boolean; whether puppet agent should ignore schedules\. This is useful for initial puppet agent runs\.
1015
696
  .
1016
697
  .IP "\(bu" 4
@@ -1018,10 +699,31 @@ Boolean; whether puppet agent should ignore schedules\. This is useful for initi
1018
699
  .
1019
700
  .IP "" 0
1020
701
  .
1021
- .P
1022
- keylength +++++++++
702
+ .SS "inventory_port"
703
+ The port to communicate with the inventory_server\.
1023
704
  .
1024
- .P
705
+ .IP "\(bu" 4
706
+ \fIDefault\fR: $masterport
707
+ .
708
+ .IP "" 0
709
+ .
710
+ .SS "inventory_server"
711
+ The server to send facts to\.
712
+ .
713
+ .IP "\(bu" 4
714
+ \fIDefault\fR: $server
715
+ .
716
+ .IP "" 0
717
+ .
718
+ .SS "inventory_terminus"
719
+ Should usually be the same as the facts terminus
720
+ .
721
+ .IP "\(bu" 4
722
+ \fIDefault\fR: $facts_terminus
723
+ .
724
+ .IP "" 0
725
+ .
726
+ .SS "keylength"
1025
727
  The bit length of keys\.
1026
728
  .
1027
729
  .IP "\(bu" 4
@@ -1029,10 +731,23 @@ The bit length of keys\.
1029
731
  .
1030
732
  .IP "" 0
1031
733
  .
1032
- .P
1033
- ldapattrs +++++++++
734
+ .SS "lastrunfile"
735
+ Where puppet agent stores the last run report summary in yaml format\.
1034
736
  .
1035
- .P
737
+ .IP "\(bu" 4
738
+ \fIDefault\fR: $statedir/last_run_summary\.yaml
739
+ .
740
+ .IP "" 0
741
+ .
742
+ .SS "lastrunreport"
743
+ Where puppet agent stores the last run report in yaml format\.
744
+ .
745
+ .IP "\(bu" 4
746
+ \fIDefault\fR: $statedir/last_run_report\.yaml
747
+ .
748
+ .IP "" 0
749
+ .
750
+ .SS "ldapattrs"
1036
751
  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
752
  .
1038
753
  .IP "\(bu" 4
@@ -1040,16 +755,10 @@ The LDAP attributes to include when querying LDAP for nodes\. All returned attri
1040
755
  .
1041
756
  .IP "" 0
1042
757
  .
1043
- .P
1044
- ldapbase ++++++++
1045
- .
1046
- .P
758
+ .SS "ldapbase"
1047
759
  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
760
  .
1049
- .P
1050
- ldapclassattrs ++++++++++++++
1051
- .
1052
- .P
761
+ .SS "ldapclassattrs"
1053
762
  The LDAP attributes to use to define Puppet classes\. Values should be comma\-separated\.
1054
763
  .
1055
764
  .IP "\(bu" 4
@@ -1057,10 +766,7 @@ The LDAP attributes to use to define Puppet classes\. Values should be comma\-se
1057
766
  .
1058
767
  .IP "" 0
1059
768
  .
1060
- .P
1061
- ldapnodes +++++++++
1062
- .
1063
- .P
769
+ .SS "ldapnodes"
1064
770
  Whether to search for node configurations in LDAP\. See http://projects\.puppetlabs\.com/projects/puppet/wiki/LDAP_Nodes for more information\.
1065
771
  .
1066
772
  .IP "\(bu" 4
@@ -1068,10 +774,7 @@ Whether to search for node configurations in LDAP\. See http://projects\.puppetl
1068
774
  .
1069
775
  .IP "" 0
1070
776
  .
1071
- .P
1072
- ldapparentattr ++++++++++++++
1073
- .
1074
- .P
777
+ .SS "ldapparentattr"
1075
778
  The attribute to use to define the parent node\.
1076
779
  .
1077
780
  .IP "\(bu" 4
@@ -1079,16 +782,10 @@ The attribute to use to define the parent node\.
1079
782
  .
1080
783
  .IP "" 0
1081
784
  .
1082
- .P
1083
- ldappassword ++++++++++++
1084
- .
1085
- .P
785
+ .SS "ldappassword"
1086
786
  The password to use to connect to LDAP\.
1087
787
  .
1088
- .P
1089
- ldapport ++++++++
1090
- .
1091
- .P
788
+ .SS "ldapport"
1092
789
  The LDAP port\. Only used if \fBldapnodes\fR is enabled\.
1093
790
  .
1094
791
  .IP "\(bu" 4
@@ -1096,10 +793,7 @@ The LDAP port\. Only used if \fBldapnodes\fR is enabled\.
1096
793
  .
1097
794
  .IP "" 0
1098
795
  .
1099
- .P
1100
- ldapserver ++++++++++
1101
- .
1102
- .P
796
+ .SS "ldapserver"
1103
797
  The LDAP server\. Only used if \fBldapnodes\fR is enabled\.
1104
798
  .
1105
799
  .IP "\(bu" 4
@@ -1107,10 +801,7 @@ The LDAP server\. Only used if \fBldapnodes\fR is enabled\.
1107
801
  .
1108
802
  .IP "" 0
1109
803
  .
1110
- .P
1111
- ldapssl +++++++
1112
- .
1113
- .P
804
+ .SS "ldapssl"
1114
805
  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
806
  .
1116
807
  .IP "\(bu" 4
@@ -1118,10 +809,7 @@ Whether SSL should be used when searching for nodes\. Defaults to false because
1118
809
  .
1119
810
  .IP "" 0
1120
811
  .
1121
- .P
1122
- ldapstackedattrs ++++++++++++++++
1123
- .
1124
- .P
812
+ .SS "ldapstackedattrs"
1125
813
  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
814
  .
1127
815
  .IP "\(bu" 4
@@ -1129,10 +817,7 @@ The LDAP attributes that should be stacked to arrays by adding the values in all
1129
817
  .
1130
818
  .IP "" 0
1131
819
  .
1132
- .P
1133
- ldapstring ++++++++++
1134
- .
1135
- .P
820
+ .SS "ldapstring"
1136
821
  The search string used to find an LDAP node\.
1137
822
  .
1138
823
  .IP "\(bu" 4
@@ -1140,10 +825,7 @@ The search string used to find an LDAP node\.
1140
825
  .
1141
826
  .IP "" 0
1142
827
  .
1143
- .P
1144
- ldaptls +++++++
1145
- .
1146
- .P
828
+ .SS "ldaptls"
1147
829
  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
830
  .
1149
831
  .IP "\(bu" 4
@@ -1151,16 +833,10 @@ Whether TLS should be used when searching for nodes\. Defaults to false because
1151
833
  .
1152
834
  .IP "" 0
1153
835
  .
1154
- .P
1155
- ldapuser ++++++++
1156
- .
1157
- .P
836
+ .SS "ldapuser"
1158
837
  The user to use to connect to LDAP\. Must be specified as a full DN\.
1159
838
  .
1160
- .P
1161
- lexical +++++++
1162
- .
1163
- .P
839
+ .SS "lexical"
1164
840
  Whether to use lexical scoping (vs\. dynamic)\.
1165
841
  .
1166
842
  .IP "\(bu" 4
@@ -1168,10 +844,7 @@ Whether to use lexical scoping (vs\. dynamic)\.
1168
844
  .
1169
845
  .IP "" 0
1170
846
  .
1171
- .P
1172
- libdir ++++++
1173
- .
1174
- .P
847
+ .SS "libdir"
1175
848
  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
849
  .
1177
850
  .IP "\(bu" 4
@@ -1179,21 +852,15 @@ An extra search path for Puppet\. This is only useful for those files that Puppe
1179
852
  .
1180
853
  .IP "" 0
1181
854
  .
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\.
855
+ .SS "listen"
856
+ Whether puppet agent should listen for connections\. If this is true, then puppet agent will accept incoming REST API requests, subject to the default ACLs and the ACLs set in the \fBrest_authconfig\fR file\. Puppet agent can respond usefully to requests on the \fBrun\fR, \fBfacts\fR, \fBcertificate\fR, and \fBresource\fR endpoints\.
1187
857
  .
1188
858
  .IP "\(bu" 4
1189
859
  \fIDefault\fR: false
1190
860
  .
1191
861
  .IP "" 0
1192
862
  .
1193
- .P
1194
- localcacert +++++++++++
1195
- .
1196
- .P
863
+ .SS "localcacert"
1197
864
  Where each client stores the CA certificate\.
1198
865
  .
1199
866
  .IP "\(bu" 4
@@ -1201,21 +868,15 @@ Where each client stores the CA certificate\.
1201
868
  .
1202
869
  .IP "" 0
1203
870
  .
1204
- .P
1205
- localconfig +++++++++++
1206
- .
1207
- .P
871
+ .SS "localconfig"
1208
872
  Where puppet agent caches the local configuration\. An extension indicating the cache format is added automatically\.
1209
873
  .
1210
874
  .IP "\(bu" 4
1211
875
  \fIDefault\fR: $statedir/localconfig
1212
876
  .
1213
- .IP "" 0
1214
- .
1215
- .P
1216
- logdir ++++++
877
+ .IP "" 0
1217
878
  .
1218
- .P
879
+ .SS "logdir"
1219
880
  The Puppet log directory\.
1220
881
  .
1221
882
  .IP "\(bu" 4
@@ -1223,10 +884,7 @@ The Puppet log directory\.
1223
884
  .
1224
885
  .IP "" 0
1225
886
  .
1226
- .P
1227
- manage_internal_file_permissions ++++++++++++++++++++++++++++++++
1228
- .
1229
- .P
887
+ .SS "manage_internal_file_permissions"
1230
888
  Whether Puppet should manage the owner, group, and mode of files it uses internally
1231
889
  .
1232
890
  .IP "\(bu" 4
@@ -1234,10 +892,7 @@ Whether Puppet should manage the owner, group, and mode of files it uses interna
1234
892
  .
1235
893
  .IP "" 0
1236
894
  .
1237
- .P
1238
- manifest ++++++++
1239
- .
1240
- .P
895
+ .SS "manifest"
1241
896
  The entry\-point manifest for puppet master\.
1242
897
  .
1243
898
  .IP "\(bu" 4
@@ -1245,10 +900,7 @@ The entry\-point manifest for puppet master\.
1245
900
  .
1246
901
  .IP "" 0
1247
902
  .
1248
- .P
1249
- manifestdir +++++++++++
1250
- .
1251
- .P
903
+ .SS "manifestdir"
1252
904
  Where puppet master looks for its manifests\.
1253
905
  .
1254
906
  .IP "\(bu" 4
@@ -1256,10 +908,7 @@ Where puppet master looks for its manifests\.
1256
908
  .
1257
909
  .IP "" 0
1258
910
  .
1259
- .P
1260
- masterhttplog +++++++++++++
1261
- .
1262
- .P
911
+ .SS "masterhttplog"
1263
912
  Where the puppet master web server logs\.
1264
913
  .
1265
914
  .IP "\(bu" 4
@@ -1267,10 +916,7 @@ Where the puppet master web server logs\.
1267
916
  .
1268
917
  .IP "" 0
1269
918
  .
1270
- .P
1271
- masterlog +++++++++
1272
- .
1273
- .P
919
+ .SS "masterlog"
1274
920
  Where puppet master logs\. This is generally not used, since syslog is the default log destination\.
1275
921
  .
1276
922
  .IP "\(bu" 4
@@ -1278,10 +924,7 @@ Where puppet master logs\. This is generally not used, since syslog is the defau
1278
924
  .
1279
925
  .IP "" 0
1280
926
  .
1281
- .P
1282
- masterport ++++++++++
1283
- .
1284
- .P
927
+ .SS "masterport"
1285
928
  Which port puppet master listens on\.
1286
929
  .
1287
930
  .IP "\(bu" 4
@@ -1289,10 +932,7 @@ Which port puppet master listens on\.
1289
932
  .
1290
933
  .IP "" 0
1291
934
  .
1292
- .P
1293
- maximum_uid +++++++++++
1294
- .
1295
- .P
935
+ .SS "maximum_uid"
1296
936
  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
937
  .
1298
938
  .IP "\(bu" 4
@@ -1300,10 +940,7 @@ The maximum allowed UID\. Some platforms use negative UIDs but then ship with to
1300
940
  .
1301
941
  .IP "" 0
1302
942
  .
1303
- .P
1304
- mkusers +++++++
1305
- .
1306
- .P
943
+ .SS "mkusers"
1307
944
  Whether to create the necessary user and group that puppet agent will run as\.
1308
945
  .
1309
946
  .IP "\(bu" 4
@@ -1311,10 +948,7 @@ Whether to create the necessary user and group that puppet agent will run as\.
1311
948
  .
1312
949
  .IP "" 0
1313
950
  .
1314
- .P
1315
- modulepath ++++++++++
1316
- .
1317
- .P
951
+ .SS "modulepath"
1318
952
  The search path for modules as a colon\-separated list of directories\.
1319
953
  .
1320
954
  .IP "\(bu" 4
@@ -1322,10 +956,7 @@ The search path for modules as a colon\-separated list of directories\.
1322
956
  .
1323
957
  .IP "" 0
1324
958
  .
1325
- .P
1326
- name ++++
1327
- .
1328
- .P
959
+ .SS "name"
1329
960
  The name of the application, if we are running as one\. The default is essentially $0 without the path or \fB\.rb\fR\.
1330
961
  .
1331
962
  .IP "\(bu" 4
@@ -1333,21 +964,15 @@ The name of the application, if we are running as one\. The default is essential
1333
964
  .
1334
965
  .IP "" 0
1335
966
  .
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)
967
+ .SS "node_name"
968
+ How the puppet master 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
969
  .
1342
970
  .IP "\(bu" 4
1343
971
  \fIDefault\fR: cert
1344
972
  .
1345
973
  .IP "" 0
1346
974
  .
1347
- .P
1348
- node_terminus +++++++++++++
1349
- .
1350
- .P
975
+ .SS "node_terminus"
1351
976
  Where to find information about nodes\.
1352
977
  .
1353
978
  .IP "\(bu" 4
@@ -1355,10 +980,7 @@ Where to find information about nodes\.
1355
980
  .
1356
981
  .IP "" 0
1357
982
  .
1358
- .P
1359
- noop ++++
1360
- .
1361
- .P
983
+ .SS "noop"
1362
984
  Whether puppet agent should be run in noop mode\.
1363
985
  .
1364
986
  .IP "\(bu" 4
@@ -1366,10 +988,7 @@ Whether puppet agent should be run in noop mode\.
1366
988
  .
1367
989
  .IP "" 0
1368
990
  .
1369
- .P
1370
- onetime +++++++
1371
- .
1372
- .P
991
+ .SS "onetime"
1373
992
  Run the configuration once, rather than as a long\-running daemon\. This is useful for interactively running puppetd\.
1374
993
  .
1375
994
  .IP "\(bu" 4
@@ -1377,21 +996,7 @@ Run the configuration once, rather than as a long\-running daemon\. This is usef
1377
996
  .
1378
997
  .IP "" 0
1379
998
  .
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
999
+ .SS "passfile"
1395
1000
  Where puppet agent stores the password for its private key\. Generally unused\.
1396
1001
  .
1397
1002
  .IP "\(bu" 4
@@ -1399,10 +1004,7 @@ Where puppet agent stores the password for its private key\. Generally unused\.
1399
1004
  .
1400
1005
  .IP "" 0
1401
1006
  .
1402
- .P
1403
- path ++++
1404
- .
1405
- .P
1007
+ .SS "path"
1406
1008
  The shell search path\. Defaults to whatever is inherited from the parent process\.
1407
1009
  .
1408
1010
  .IP "\(bu" 4
@@ -1410,10 +1012,7 @@ The shell search path\. Defaults to whatever is inherited from the parent proces
1410
1012
  .
1411
1013
  .IP "" 0
1412
1014
  .
1413
- .P
1414
- pidfile +++++++
1415
- .
1416
- .P
1015
+ .SS "pidfile"
1417
1016
  The pid file
1418
1017
  .
1419
1018
  .IP "\(bu" 4
@@ -1421,10 +1020,7 @@ The pid file
1421
1020
  .
1422
1021
  .IP "" 0
1423
1022
  .
1424
- .P
1425
- plugindest ++++++++++
1426
- .
1427
- .P
1023
+ .SS "plugindest"
1428
1024
  Where Puppet should store plugins that it pulls down from the central server\.
1429
1025
  .
1430
1026
  .IP "\(bu" 4
@@ -1432,10 +1028,7 @@ Where Puppet should store plugins that it pulls down from the central server\.
1432
1028
  .
1433
1029
  .IP "" 0
1434
1030
  .
1435
- .P
1436
- pluginsignore +++++++++++++
1437
- .
1438
- .P
1031
+ .SS "pluginsignore"
1439
1032
  What files to ignore when pulling down plugins\.
1440
1033
  .
1441
1034
  .IP "\(bu" 4
@@ -1443,10 +1036,7 @@ What files to ignore when pulling down plugins\.
1443
1036
  .
1444
1037
  .IP "" 0
1445
1038
  .
1446
- .P
1447
- pluginsource ++++++++++++
1448
- .
1449
- .P
1039
+ .SS "pluginsource"
1450
1040
  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
1041
  .
1452
1042
  .IP "\(bu" 4
@@ -1454,10 +1044,7 @@ From where to retrieve plugins\. The standard Puppet \fBfile\fR type is used for
1454
1044
  .
1455
1045
  .IP "" 0
1456
1046
  .
1457
- .P
1458
- pluginsync ++++++++++
1459
- .
1460
- .P
1047
+ .SS "pluginsync"
1461
1048
  Whether plugins should be synced with the central server\.
1462
1049
  .
1463
1050
  .IP "\(bu" 4
@@ -1465,16 +1052,10 @@ Whether plugins should be synced with the central server\.
1465
1052
  .
1466
1053
  .IP "" 0
1467
1054
  .
1468
- .P
1469
- postrun_command +++++++++++++++
1470
- .
1471
- .P
1055
+ .SS "postrun_command"
1472
1056
  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
1057
  .
1474
- .P
1475
- preferred_serialization_format ++++++++++++++++++++++++++++++
1476
- .
1477
- .P
1058
+ .SS "preferred_serialization_format"
1478
1059
  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
1060
  .
1480
1061
  .IP "\(bu" 4
@@ -1482,16 +1063,10 @@ The preferred means of serializing ruby instances for passing over the wire\. Th
1482
1063
  .
1483
1064
  .IP "" 0
1484
1065
  .
1485
- .P
1486
- prerun_command ++++++++++++++
1487
- .
1488
- .P
1066
+ .SS "prerun_command"
1489
1067
  A command to run before every agent run\. If this command returns a non\-zero return code, the entire Puppet run will fail\.
1490
1068
  .
1491
- .P
1492
- privatedir ++++++++++
1493
- .
1494
- .P
1069
+ .SS "privatedir"
1495
1070
  Where the client stores private certificate information\.
1496
1071
  .
1497
1072
  .IP "\(bu" 4
@@ -1499,10 +1074,7 @@ Where the client stores private certificate information\.
1499
1074
  .
1500
1075
  .IP "" 0
1501
1076
  .
1502
- .P
1503
- privatekeydir +++++++++++++
1504
- .
1505
- .P
1077
+ .SS "privatekeydir"
1506
1078
  The private key directory\.
1507
1079
  .
1508
1080
  .IP "\(bu" 4
@@ -1510,10 +1082,7 @@ The private key directory\.
1510
1082
  .
1511
1083
  .IP "" 0
1512
1084
  .
1513
- .P
1514
- publickeydir ++++++++++++
1515
- .
1516
- .P
1085
+ .SS "publickeydir"
1517
1086
  The public key directory\.
1518
1087
  .
1519
1088
  .IP "\(bu" 4
@@ -1521,10 +1090,7 @@ The public key directory\.
1521
1090
  .
1522
1091
  .IP "" 0
1523
1092
  .
1524
- .P
1525
- puppetdlockfile +++++++++++++++
1526
- .
1527
- .P
1093
+ .SS "puppetdlockfile"
1528
1094
  A lock file to temporarily stop puppet agent from doing anything\.
1529
1095
  .
1530
1096
  .IP "\(bu" 4
@@ -1532,10 +1098,7 @@ A lock file to temporarily stop puppet agent from doing anything\.
1532
1098
  .
1533
1099
  .IP "" 0
1534
1100
  .
1535
- .P
1536
- puppetdlog ++++++++++
1537
- .
1538
- .P
1101
+ .SS "puppetdlog"
1539
1102
  The log file for puppet agent\. This is generally not used\.
1540
1103
  .
1541
1104
  .IP "\(bu" 4
@@ -1543,10 +1106,7 @@ The log file for puppet agent\. This is generally not used\.
1543
1106
  .
1544
1107
  .IP "" 0
1545
1108
  .
1546
- .P
1547
- puppetport ++++++++++
1548
- .
1549
- .P
1109
+ .SS "puppetport"
1550
1110
  Which port puppet agent listens on\.
1551
1111
  .
1552
1112
  .IP "\(bu" 4
@@ -1554,10 +1114,7 @@ Which port puppet agent listens on\.
1554
1114
  .
1555
1115
  .IP "" 0
1556
1116
  .
1557
- .P
1558
- queue_source ++++++++++++
1559
- .
1560
- .P
1117
+ .SS "queue_source"
1561
1118
  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
1119
  .
1563
1120
  .IP "\(bu" 4
@@ -1565,10 +1122,7 @@ Which type of queue to use for asynchronous processing\. If your stomp server re
1565
1122
  .
1566
1123
  .IP "" 0
1567
1124
  .
1568
- .P
1569
- queue_type ++++++++++
1570
- .
1571
- .P
1125
+ .SS "queue_type"
1572
1126
  Which type of queue to use for asynchronous processing\.
1573
1127
  .
1574
1128
  .IP "\(bu" 4
@@ -1576,10 +1130,7 @@ Which type of queue to use for asynchronous processing\.
1576
1130
  .
1577
1131
  .IP "" 0
1578
1132
  .
1579
- .P
1580
- rails_loglevel ++++++++++++++
1581
- .
1582
- .P
1133
+ .SS "rails_loglevel"
1583
1134
  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
1135
  .
1585
1136
  .IP "\(bu" 4
@@ -1587,10 +1138,7 @@ The log level for Rails connections\. The value must be a valid log level within
1587
1138
  .
1588
1139
  .IP "" 0
1589
1140
  .
1590
- .P
1591
- railslog ++++++++
1592
- .
1593
- .P
1141
+ .SS "railslog"
1594
1142
  Where Rails\-specific logs are sent
1595
1143
  .
1596
1144
  .IP "\(bu" 4
@@ -1598,21 +1146,15 @@ Where Rails\-specific logs are sent
1598
1146
  .
1599
1147
  .IP "" 0
1600
1148
  .
1601
- .P
1602
- report ++++++
1603
- .
1604
- .P
1149
+ .SS "report"
1605
1150
  Whether to send reports after every transaction\.
1606
1151
  .
1607
1152
  .IP "\(bu" 4
1608
- \fIDefault\fR: false
1153
+ \fIDefault\fR: true
1609
1154
  .
1610
1155
  .IP "" 0
1611
1156
  .
1612
- .P
1613
- report_port +++++++++++
1614
- .
1615
- .P
1157
+ .SS "report_port"
1616
1158
  The port to communicate with the report_server\.
1617
1159
  .
1618
1160
  .IP "\(bu" 4
@@ -1620,21 +1162,15 @@ The port to communicate with the report_server\.
1620
1162
  .
1621
1163
  .IP "" 0
1622
1164
  .
1623
- .P
1624
- report_server +++++++++++++
1625
- .
1626
- .P
1627
- The server to which to send transaction reports\.
1165
+ .SS "report_server"
1166
+ The server to send transaction reports to\.
1628
1167
  .
1629
1168
  .IP "\(bu" 4
1630
1169
  \fIDefault\fR: $server
1631
1170
  .
1632
1171
  .IP "" 0
1633
1172
  .
1634
- .P
1635
- reportdir +++++++++
1636
- .
1637
- .P
1173
+ .SS "reportdir"
1638
1174
  The directory in which to store reports received from the client\. Each client gets a separate subdirectory\.
1639
1175
  .
1640
1176
  .IP "\(bu" 4
@@ -1642,21 +1178,15 @@ The directory in which to store reports received from the client\. Each client g
1642
1178
  .
1643
1179
  .IP "" 0
1644
1180
  .
1645
- .P
1646
- reportfrom ++++++++++
1647
- .
1648
- .P
1181
+ .SS "reportfrom"
1649
1182
  The \'from\' email address for the reports\.
1650
1183
  .
1651
1184
  .IP "\(bu" 4
1652
- \fIDefault\fR: report@pelin\.members\.linode\.com
1185
+ \fIDefault\fR: report@magpie\.puppetlabs\.lan
1653
1186
  .
1654
1187
  .IP "" 0
1655
1188
  .
1656
- .P
1657
- reports +++++++
1658
- .
1659
- .P
1189
+ .SS "reports"
1660
1190
  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
1191
  .
1662
1192
  .IP "\(bu" 4
@@ -1664,10 +1194,7 @@ The list of reports to generate\. All reports are looked for in \fBpuppet/report
1664
1194
  .
1665
1195
  .IP "" 0
1666
1196
  .
1667
- .P
1668
- reportserver ++++++++++++
1669
- .
1670
- .P
1197
+ .SS "reportserver"
1671
1198
  (Deprecated for \'report_server\') The server to which to send transaction reports\.
1672
1199
  .
1673
1200
  .IP "\(bu" 4
@@ -1675,10 +1202,7 @@ reportserver ++++++++++++
1675
1202
  .
1676
1203
  .IP "" 0
1677
1204
  .
1678
- .P
1679
- reporturl +++++++++
1680
- .
1681
- .P
1205
+ .SS "reporturl"
1682
1206
  The URL used by the http reports processor to send reports
1683
1207
  .
1684
1208
  .IP "\(bu" 4
@@ -1686,10 +1210,7 @@ The URL used by the http reports processor to send reports
1686
1210
  .
1687
1211
  .IP "" 0
1688
1212
  .
1689
- .P
1690
- req_bits ++++++++
1691
- .
1692
- .P
1213
+ .SS "req_bits"
1693
1214
  The bit length of the certificates\.
1694
1215
  .
1695
1216
  .IP "\(bu" 4
@@ -1697,10 +1218,7 @@ The bit length of the certificates\.
1697
1218
  .
1698
1219
  .IP "" 0
1699
1220
  .
1700
- .P
1701
- requestdir ++++++++++
1702
- .
1703
- .P
1221
+ .SS "requestdir"
1704
1222
  Where host certificate requests are stored\.
1705
1223
  .
1706
1224
  .IP "\(bu" 4
@@ -1708,10 +1226,7 @@ Where host certificate requests are stored\.
1708
1226
  .
1709
1227
  .IP "" 0
1710
1228
  .
1711
- .P
1712
- rest_authconfig +++++++++++++++
1713
- .
1714
- .P
1229
+ .SS "rest_authconfig"
1715
1230
  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
1231
  .
1717
1232
  .IP "\(bu" 4
@@ -1719,10 +1234,15 @@ The configuration file that defines the rights to the different rest indirection
1719
1234
  .
1720
1235
  .IP "" 0
1721
1236
  .
1722
- .P
1723
- rrddir ++++++
1237
+ .SS "route_file"
1238
+ The YAML file containing indirector route configuration\.
1724
1239
  .
1725
- .P
1240
+ .IP "\(bu" 4
1241
+ \fIDefault\fR: $confdir/routes\.yaml
1242
+ .
1243
+ .IP "" 0
1244
+ .
1245
+ .SS "rrddir"
1726
1246
  The directory where RRD database files are stored\. Directories for each reporting host will be created under this directory\.
1727
1247
  .
1728
1248
  .IP "\(bu" 4
@@ -1730,10 +1250,7 @@ The directory where RRD database files are stored\. Directories for each reporti
1730
1250
  .
1731
1251
  .IP "" 0
1732
1252
  .
1733
- .P
1734
- rrdinterval +++++++++++
1735
- .
1736
- .P
1253
+ .SS "rrdinterval"
1737
1254
  How often RRD should expect data\. This should match how often the hosts report back to the server\.
1738
1255
  .
1739
1256
  .IP "\(bu" 4
@@ -1741,10 +1258,7 @@ How often RRD should expect data\. This should match how often the hosts report
1741
1258
  .
1742
1259
  .IP "" 0
1743
1260
  .
1744
- .P
1745
- run_mode ++++++++
1746
- .
1747
- .P
1261
+ .SS "run_mode"
1748
1262
  The effective \'run mode\' of the application: master, agent, or user\.
1749
1263
  .
1750
1264
  .IP "\(bu" 4
@@ -1752,10 +1266,7 @@ The effective \'run mode\' of the application: master, agent, or user\.
1752
1266
  .
1753
1267
  .IP "" 0
1754
1268
  .
1755
- .P
1756
- rundir ++++++
1757
- .
1758
- .P
1269
+ .SS "rundir"
1759
1270
  Where Puppet PID files are kept\.
1760
1271
  .
1761
1272
  .IP "\(bu" 4
@@ -1763,10 +1274,7 @@ Where Puppet PID files are kept\.
1763
1274
  .
1764
1275
  .IP "" 0
1765
1276
  .
1766
- .P
1767
- runinterval +++++++++++
1768
- .
1769
- .P
1277
+ .SS "runinterval"
1770
1278
  How often puppet agent applies the client configuration; in seconds\.
1771
1279
  .
1772
1280
  .IP "\(bu" 4
@@ -1774,10 +1282,7 @@ How often puppet agent applies the client configuration; in seconds\.
1774
1282
  .
1775
1283
  .IP "" 0
1776
1284
  .
1777
- .P
1778
- sendmail ++++++++
1779
- .
1780
- .P
1285
+ .SS "sendmail"
1781
1286
  Where to find the sendmail binary with which to send email\.
1782
1287
  .
1783
1288
  .IP "\(bu" 4
@@ -1785,10 +1290,7 @@ Where to find the sendmail binary with which to send email\.
1785
1290
  .
1786
1291
  .IP "" 0
1787
1292
  .
1788
- .P
1789
- serial ++++++
1790
- .
1791
- .P
1293
+ .SS "serial"
1792
1294
  Where the serial number for certificates is stored\.
1793
1295
  .
1794
1296
  .IP "\(bu" 4
@@ -1796,10 +1298,7 @@ Where the serial number for certificates is stored\.
1796
1298
  .
1797
1299
  .IP "" 0
1798
1300
  .
1799
- .P
1800
- server ++++++
1801
- .
1802
- .P
1301
+ .SS "server"
1803
1302
  The server to which server puppet agent should connect
1804
1303
  .
1805
1304
  .IP "\(bu" 4
@@ -1807,10 +1306,7 @@ The server to which server puppet agent should connect
1807
1306
  .
1808
1307
  .IP "" 0
1809
1308
  .
1810
- .P
1811
- server_datadir ++++++++++++++
1812
- .
1813
- .P
1309
+ .SS "server_datadir"
1814
1310
  The directory in which serialized data is stored, usually in a subdirectory\.
1815
1311
  .
1816
1312
  .IP "\(bu" 4
@@ -1818,10 +1314,7 @@ The directory in which serialized data is stored, usually in a subdirectory\.
1818
1314
  .
1819
1315
  .IP "" 0
1820
1316
  .
1821
- .P
1822
- servertype ++++++++++
1823
- .
1824
- .P
1317
+ .SS "servertype"
1825
1318
  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
1319
  .
1827
1320
  .IP "\(bu" 4
@@ -1829,10 +1322,7 @@ The type of server to use\. Currently supported options are webrick and mongrel\
1829
1322
  .
1830
1323
  .IP "" 0
1831
1324
  .
1832
- .P
1833
- show_diff +++++++++
1834
- .
1835
- .P
1325
+ .SS "show_diff"
1836
1326
  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
1327
  .
1838
1328
  .IP "\(bu" 4
@@ -1840,10 +1330,7 @@ Whether to print a contextual diff when files are being replaced\. The diff is p
1840
1330
  .
1841
1331
  .IP "" 0
1842
1332
  .
1843
- .P
1844
- signeddir +++++++++
1845
- .
1846
- .P
1333
+ .SS "signeddir"
1847
1334
  Where the CA stores signed certificates\.
1848
1335
  .
1849
1336
  .IP "\(bu" 4
@@ -1851,10 +1338,7 @@ Where the CA stores signed certificates\.
1851
1338
  .
1852
1339
  .IP "" 0
1853
1340
  .
1854
- .P
1855
- smtpserver ++++++++++
1856
- .
1857
- .P
1341
+ .SS "smtpserver"
1858
1342
  The server through which to send email reports\.
1859
1343
  .
1860
1344
  .IP "\(bu" 4
@@ -1862,10 +1346,7 @@ The server through which to send email reports\.
1862
1346
  .
1863
1347
  .IP "" 0
1864
1348
  .
1865
- .P
1866
- splay +++++
1867
- .
1868
- .P
1349
+ .SS "splay"
1869
1350
  Whether to sleep for a pseudo\-random (but consistent) amount of time before a run\.
1870
1351
  .
1871
1352
  .IP "\(bu" 4
@@ -1873,10 +1354,7 @@ Whether to sleep for a pseudo\-random (but consistent) amount of time before a r
1873
1354
  .
1874
1355
  .IP "" 0
1875
1356
  .
1876
- .P
1877
- splaylimit ++++++++++
1878
- .
1879
- .P
1357
+ .SS "splaylimit"
1880
1358
  The maximum time to delay before runs\. Defaults to being the same as the run interval\.
1881
1359
  .
1882
1360
  .IP "\(bu" 4
@@ -1884,10 +1362,7 @@ The maximum time to delay before runs\. Defaults to being the same as the run in
1884
1362
  .
1885
1363
  .IP "" 0
1886
1364
  .
1887
- .P
1888
- ssl_client_header +++++++++++++++++
1889
- .
1890
- .P
1365
+ .SS "ssl_client_header"
1891
1366
  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
1367
  .
1893
1368
  .IP "\(bu" 4
@@ -1895,10 +1370,7 @@ The header containing an authenticated client\'s SSL DN\. Only used with Mongrel
1895
1370
  .
1896
1371
  .IP "" 0
1897
1372
  .
1898
- .P
1899
- ssl_client_verify_header ++++++++++++++++++++++++
1900
- .
1901
- .P
1373
+ .SS "ssl_client_verify_header"
1902
1374
  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
1375
  .
1904
1376
  .IP "\(bu" 4
@@ -1906,10 +1378,7 @@ The header containing the status message of the client verification\. Only used
1906
1378
  .
1907
1379
  .IP "" 0
1908
1380
  .
1909
- .P
1910
- ssldir ++++++
1911
- .
1912
- .P
1381
+ .SS "ssldir"
1913
1382
  Where SSL certificates are kept\.
1914
1383
  .
1915
1384
  .IP "\(bu" 4
@@ -1917,10 +1386,7 @@ Where SSL certificates are kept\.
1917
1386
  .
1918
1387
  .IP "" 0
1919
1388
  .
1920
- .P
1921
- statedir ++++++++
1922
- .
1923
- .P
1389
+ .SS "statedir"
1924
1390
  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
1391
  .
1926
1392
  .IP "\(bu" 4
@@ -1928,10 +1394,7 @@ The directory where Puppet state is stored\. Generally, this directory can be re
1928
1394
  .
1929
1395
  .IP "" 0
1930
1396
  .
1931
- .P
1932
- statefile +++++++++
1933
- .
1934
- .P
1397
+ .SS "statefile"
1935
1398
  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
1399
  .
1937
1400
  .IP "\(bu" 4
@@ -1939,10 +1402,7 @@ Where puppet agent and puppet master store state associated with the running con
1939
1402
  .
1940
1403
  .IP "" 0
1941
1404
  .
1942
- .P
1943
- storeconfigs ++++++++++++
1944
- .
1945
- .P
1405
+ .SS "storeconfigs"
1946
1406
  Whether to store each client\'s configuration\. This requires ActiveRecord from Ruby on Rails\.
1947
1407
  .
1948
1408
  .IP "\(bu" 4
@@ -1950,10 +1410,7 @@ Whether to store each client\'s configuration\. This requires ActiveRecord from
1950
1410
  .
1951
1411
  .IP "" 0
1952
1412
  .
1953
- .P
1954
- strict_hostname_checking ++++++++++++++++++++++++
1955
- .
1956
- .P
1413
+ .SS "strict_hostname_checking"
1957
1414
  Whether to only search for the complete hostname as it is in the certificate when searching for node information in the catalogs\.
1958
1415
  .
1959
1416
  .IP "\(bu" 4
@@ -1961,10 +1418,7 @@ Whether to only search for the complete hostname as it is in the certificate whe
1961
1418
  .
1962
1419
  .IP "" 0
1963
1420
  .
1964
- .P
1965
- summarize +++++++++
1966
- .
1967
- .P
1421
+ .SS "summarize"
1968
1422
  Whether to print a transaction summary\.
1969
1423
  .
1970
1424
  .IP "\(bu" 4
@@ -1972,10 +1426,7 @@ Whether to print a transaction summary\.
1972
1426
  .
1973
1427
  .IP "" 0
1974
1428
  .
1975
- .P
1976
- syslogfacility ++++++++++++++
1977
- .
1978
- .P
1429
+ .SS "syslogfacility"
1979
1430
  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
1431
  .
1981
1432
  .IP "\(bu" 4
@@ -1983,10 +1434,7 @@ What syslog facility to use when logging to syslog\. Syslog has a fixed list of
1983
1434
  .
1984
1435
  .IP "" 0
1985
1436
  .
1986
- .P
1987
- tagmap ++++++
1988
- .
1989
- .P
1437
+ .SS "tagmap"
1990
1438
  The mapping between reporting tags and email addresses\.
1991
1439
  .
1992
1440
  .IP "\(bu" 4
@@ -1994,16 +1442,10 @@ The mapping between reporting tags and email addresses\.
1994
1442
  .
1995
1443
  .IP "" 0
1996
1444
  .
1997
- .P
1998
- tags ++++
1999
- .
2000
- .P
1445
+ .SS "tags"
2001
1446
  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
1447
  .
2003
- .P
2004
- templatedir +++++++++++
2005
- .
2006
- .P
1448
+ .SS "templatedir"
2007
1449
  Where Puppet looks for template files\. Can be a list of colon\-seperated directories\.
2008
1450
  .
2009
1451
  .IP "\(bu" 4
@@ -2011,10 +1453,7 @@ Where Puppet looks for template files\. Can be a list of colon\-seperated direct
2011
1453
  .
2012
1454
  .IP "" 0
2013
1455
  .
2014
- .P
2015
- thin_storeconfigs +++++++++++++++++
2016
- .
2017
- .P
1456
+ .SS "thin_storeconfigs"
2018
1457
  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
1458
  .
2020
1459
  .IP "\(bu" 4
@@ -2022,10 +1461,7 @@ Boolean; wether storeconfigs store in the database only the facts and exported r
2022
1461
  .
2023
1462
  .IP "" 0
2024
1463
  .
2025
- .P
2026
- trace +++++
2027
- .
2028
- .P
1464
+ .SS "trace"
2029
1465
  Whether to print stack traces on some errors
2030
1466
  .
2031
1467
  .IP "\(bu" 4
@@ -2033,10 +1469,7 @@ Whether to print stack traces on some errors
2033
1469
  .
2034
1470
  .IP "" 0
2035
1471
  .
2036
- .P
2037
- use_cached_catalog ++++++++++++++++++
2038
- .
2039
- .P
1472
+ .SS "use_cached_catalog"
2040
1473
  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
1474
  .
2042
1475
  .IP "\(bu" 4
@@ -2044,10 +1477,7 @@ Whether to only use the cached catalog rather than compiling a new catalog on ev
2044
1477
  .
2045
1478
  .IP "" 0
2046
1479
  .
2047
- .P
2048
- usecacheonfailure +++++++++++++++++
2049
- .
2050
- .P
1480
+ .SS "usecacheonfailure"
2051
1481
  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
1482
  .
2053
1483
  .IP "\(bu" 4
@@ -2055,10 +1485,7 @@ Whether to use the cached configuration when the remote configuration will not c
2055
1485
  .
2056
1486
  .IP "" 0
2057
1487
  .
2058
- .P
2059
- user ++++
2060
- .
2061
- .P
1488
+ .SS "user"
2062
1489
  The user puppet master should run as\.
2063
1490
  .
2064
1491
  .IP "\(bu" 4
@@ -2066,10 +1493,7 @@ The user puppet master should run as\.
2066
1493
  .
2067
1494
  .IP "" 0
2068
1495
  .
2069
- .P
2070
- vardir ++++++
2071
- .
2072
- .P
1496
+ .SS "vardir"
2073
1497
  Where Puppet stores dynamic and growing data\. The default for this parameter is calculated specially, like \fBconfdir\fR_\.
2074
1498
  .
2075
1499
  .IP "\(bu" 4
@@ -2077,10 +1501,7 @@ Where Puppet stores dynamic and growing data\. The default for this parameter is
2077
1501
  .
2078
1502
  .IP "" 0
2079
1503
  .
2080
- .P
2081
- yamldir +++++++
2082
- .
2083
- .P
1504
+ .SS "yamldir"
2084
1505
  The directory in which YAML data is stored, usually in a subdirectory\.
2085
1506
  .
2086
1507
  .IP "\(bu" 4
@@ -2088,10 +1509,7 @@ The directory in which YAML data is stored, usually in a subdirectory\.
2088
1509
  .
2089
1510
  .IP "" 0
2090
1511
  .
2091
- .P
2092
- zlib ++++
2093
- .
2094
- .P
1512
+ .SS "zlib"
2095
1513
  Boolean; whether to use the zlib library
2096
1514
  .
2097
1515
  .IP "\(bu" 4
@@ -2100,4 +1518,4 @@ Boolean; whether to use the zlib library
2100
1518
  .IP "" 0
2101
1519
  .
2102
1520
  .P
2103
- \fIThis page autogenerated on Sat Aug 28 14:00:20 \-0700 2010\fR
1521
+ \fIThis page autogenerated on Wed Jun 08 17:09:41 \-0700 2011\fR