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
data/CHANGELOG CHANGED
@@ -1,195 +1,741 @@
1
- 2.6.18
1
+ 2.7.1
2
2
  ===
3
- b166c4f (#19391) Find the catalog for the specified node name
4
- f256c6d Don't assume master supports SSLv2
5
- bb288aa Don't require openssl client to return 0 on failure
6
- a11a690 Display SSL messages so we can match our regex
7
- f07b761 Don't assume puppetbindir is defined
8
- e617728 Remove unnecessary rubygems require
9
- 75a5f7e Run openssl from windows when trying to downgrade master
10
- e6b6124 Separate tests for same CVEs into separate files
11
- bdcf029 Fix order-dependent test failure in rest_authconfig_spec
12
- 66249d4 Always read request body when using Rack
13
- d5c9a2c (#19392) (CVE-2013-1653) Fix acceptance test to catch unvalidated model on 2.6
14
- ac44d87 (#19392) (CVE-2013-1653) Validate indirection model in save handler
15
- b01c728 Acceptance tests for CVEs 2013 (1640, 1652, 1653, 1654, 2274, 2275)
16
- 16fce8e (#19531) (CVE-2013-2275) Only allow report save from the node matching the certname
17
- 7648de2 (#19391) Backport Request#remote? method
18
- 906ab92 (#8858) Explicitly set SSL peer verification mode.
19
- 31dad7d (#8858) Refactor tests to use real HTTP objects
20
- 6a7bd25 (#19392) (CVE-2013-1653) Validate instances passed to indirector
21
- ccf2e4c (#19391) (CVE-2013-1652) Disallow use_node compiler parameter for remote requests
22
- add9998 (#19151) Reject SSLv2 SSL handshakes and ciphers
23
- d9ad70a (#14093) Restore access to the filename in the template
24
- f45cd4b (#14093) Remove unsafe attributes from TemplateWrapper
3
+ a49d5b8 (#8048) Gem install puppet no longer fails if rdoc enabled.
25
4
 
26
- 2.6.17
5
+ 2.7.0
27
6
  ===
28
- 554eefc Reject directory traversal in store report processor
29
- 9607bd7 Use "inspect" when listing certificates
30
- 0144e68 Don't allow the creation of SSL objects with invalid certnames
31
- dfedaa5 Validate CSR CN and provided certname before signing
32
- 8eb0cd8 Add specs for selector terminuses of file_{content,metadata}
33
- 828c16a Fix whitespace inside parentheses
34
- e7ef153 Always use the local file_bucket on master
35
- 29ae87d Fail more gracefully when finding module files if no file is specified
36
- c872619 Reject file requests containing ..
37
- c3c7462 Add Selector terminus for file_content/file_metadata
7
+ 1a33bf8 (#7506) Specify supported Ruby versions in README.md
8
+ d4c499d Updated CHANGELOG for 2.7.0rc4
9
+ dbe2310 Maint: Update static man pages for 2.7.0
10
+ 50d188c Maint: Update static man page generator for Faces.
11
+ f370d5a (#7833) Several help text/template edits
12
+ 90d2cf0 maint: more work on regexp matching in Test::Unit assertions.
13
+ 8c71df2 maint: acceptance tests need to search for bin/false
14
+ 0ae4732 (#7828) Fix whitespace in synopsis generator.
15
+ b4e9791 maint: handle incoherent Test::Unit assertions.
16
+ 48aafa3 (#6873) Add Static Compiler terminus to 2.7.0
17
+ 9017fea (#7728) Acceptance test for whit notifications.
18
+ 973e752 (#7728) Suppress notifications from container whits.
19
+ 1772363 (#7764, 7775, 7778) Revisions to Faces help text
20
+ 5a9998e (#7773, 7776, 7764) Several help template tweaks
21
+ 5587b94 maint: remove an unhelpful pending test.
22
+ bbf0a02 maint: fix misnamed acceptance test for #7139
23
+ d4e6c26 (#7624) Manually fetch all properties in instances.
24
+ c8df027 (#7193) Fix path issues with acceptance tests that call old shell tests
25
+ 31bf55c (#7632) Make secret_agent application compatible with secret_agent face
26
+ c5448b7 (#7624) Auditing should not be enabled by default for purged resources.
27
+ b70f32a (#7746) Fix bootstrap issues from #7717 fix.
28
+ be233c3 (#7683) Use ronn, when available, to render the output.
29
+ 2389bdf (#7683) Add a 'man' face and subcommand to Puppet.
30
+ e647f70 maint: remove obsolete work-around code from help face.
31
+ 796900b (#7699) Don't duplicate inherited action names on faces.
32
+ a23cfd8 (#7177) Deprecate implicit 'puppet apply' for 2.7.0
33
+ 3f47b0c (#7717) Layout cleanup for subcommand extraction.
34
+ 8072b4b #7211: Test unknown options don't shadow unknown actions.
35
+ dd8108c #7211: nasty logic error with global Face options taking arguments.
36
+ 618495c #7211: more helpful error messages in various cases.
37
+ 7df1fa4 (#7708) Delete extended documentation from configuration reference
38
+ 2935feb (#7707) Document signals in puppet agent and puppet master help
39
+ 3facc33 add puppet master polling step for ticket 7117
40
+ 68c106e (#5318) Always notice changes to manifests when compiling.
41
+ a5a78a5 (#7557) Remove Faces Application
42
+ ea7908b maint: Fix order dependent spec failure for face indirection
43
+ 2aa9f2f (#7690) Don't blow up when listing terminuses available for faces
44
+ 9447cb9 maint: Dedup the loadpath so we don't have to walk it multiple times
45
+ 149a12f Maint: Fix ellipses for short descriptions
46
+ 7688706 (#7563) DRY: Remove indirector boilerplate from individual faces
47
+ 4662f4d (#7564) Finish templates
48
+ 331d812 (#7561) Complete help text for all faces and actions
49
+ 069a6b8 Maint: Add ellipsis to generated short_descriptions.
50
+ ebc642b (#6962) Add "arguments" method to help API
51
+ 163ff6b (#7681) Add an acceptance test for resource refs with array variables
52
+ 9f6dec2 (#7681) Allow array variables as resource references
53
+ 76ad2bb (#7507) Add exclude filter for ruby 1.9 spec failures
54
+ 3682025 maint: move trap call to Signal so we can stub it for specs
55
+ fc0add1 Updated CHANGELOG for 2.7.0rc3
56
+ 83c7563 (#7259) Remove ActiveRecord requirement from indirector face spec
57
+ aad2fd7 (#7259) Do not try to load all Terminus classes when configuring the Indirector
58
+ 3378841 Adding a sleep state post starting master
59
+ d972cea (#7507) Add more filters for Ruby 1.9 spec failures
60
+ 9da1454 (#7507) Add ability to filter Ruby 1.9 spec failures
61
+ 47e4ac9 (#7507) Fix when_invoked action specs in Ruby 1.9
62
+ 809b6fe (#7297) Fix Puppet::Resource#to_manifest in Ruby 1.9
63
+ 3197e21 (#7298) require 'English' to provide $CHILD_STATUS in Ruby 1.9
64
+ 48923af (#7291) Fix issues with instance_methods in Ruby 1.9
65
+ 68065ff (#7291) Fixed ascii problem with Ruby 1.9.2
66
+ 1abb7c0 (#7291) Fix Ruby 1.9 face failures
67
+ 6159466 (#7291) The 'script' version of actions needs options argument
68
+ 09f5d9c (#7469) Add license to test face so tests pass
69
+ a44cbb1 (#7264) Docs: Clarify that subscribe/notify imply require/before
70
+ 9377507 (#7468) Stub spec that tries to connect to pypi.python.org
71
+ 5db214c Prevent spec failure caused by network device mock leak
72
+ 3722520 Fix #7299 - do not require net/ssh for running rake spec
73
+ b983386 Updated CHANGELOG for 2.7.0rc2
74
+ 61edff9 (#7353) Remove :for_humans format entirely.
75
+ d2b5ec6 Adding test for ticket 7139
76
+ 6f2a129 add clean-up step to test for ticket_5477 to prevent site.pp from leaking to other tests
77
+ 92905ff fixed test for ticket_7117
78
+ 5076c37 (#7179) Modify default ACL for /node/<name>.
79
+ 7b71745 (Maint) Adjust documentation whitespace
80
+ 358418c (#7303) Remove reference to not-yet-extant man action
81
+ dce072a (#6962) Add self-documentation data to puppet faces
82
+ 855a0ec Maint: adjust faces.rb's help to match that of other applications
83
+ 75f164a (#7304) Remove full puppet help output when subcommand cannot be found
84
+ 8a8e198 adding test for ticket 7117
85
+ dda3264 (#7353) Note the :for_humans compatibility issue.
86
+ efd1181 (#7353) Use :console rendering format in our own code.
87
+ 5986e8a (#7353) Unify rendering in the face_bace application.
88
+ a4e735e (#7353) Add 'console' format to FormatHandler
89
+ 94f0b09 add base test for ticket 7117
90
+ dc0088f (#7277)Fixing all secret-agent functions, and the agent itself
91
+ 1f112cd (#7139) Accept '/' as a valid path in filesets
92
+ 18b3584 (#7329) Consistent naming for rendering formats and hooks.
93
+ 8f81f56 (#7326) Fix faces on Ruby 1.8.5
94
+ 5569fad (#7117) Return the environment as a Puppet::Node::Environment in uri2indirection
95
+ 5120a95 (#7276) Better reporting from the plugin download action.
96
+ bb889bf (#7276) Create a plugin face application.
97
+ 5490f7a (#6962) Added 'returns' block to action documentation.
98
+ 0d6ac04 maint: remove emacs 'coding' cookie from files.
99
+ 48903f5 (#7278) Improve utility of the Catalog select action
100
+ 45adc1a (#7279) Adding some basic file actions
101
+ a4a274b (#7315) Fix `to_pson` method to render correctly.
102
+ 1b42725 (#7314) Faces fail horribly when one has a syntax error.
103
+ 86c6ec2 maint: move the indirector face base out of puppet/face
104
+ c63e9c2 maint: reset more global state in testing faces...
105
+ b20e977 (#7304) Improve help from `puppet foo`
106
+ 3bb8bd3 (#7317) better error handling in CLI face facade.
107
+ b23cc8a (#7282) action without `when_invoked` should fail...
108
+ 040e0fd (Maint.) Fix accidental debug output in tests.
109
+ 65b9a3c (#7221) Strip bad whitespace from face and action docs.
110
+ 97ae812 (#7248) Fail if two aliases of one option are passed...
111
+ 207deae (#7289) Specify order for option decorations.
112
+ 1707f27 Revert "maint: better error reporting for argument count mismatch."
113
+ cd474b0 maint: better error reporting for argument count mismatch.
114
+ 69e4b1c (#7122) Enforce call arity on actions in the CLI wrapper.
115
+ 351b6fc maint: add a 'print' matcher to rspec, to inspect std{out,err}
116
+ be4d7e6 (#7269) Fix error reporting for bad render formats...
117
+ 632a0a0 (#7269) Better error reporting for bad render formats.
118
+ 80adaea (#7160) Support 'json' as a rendering method for CLI faces.
119
+ 0256d67 (#6962) Add integration tests on Face documentation.
120
+ e8eb290 (#6962) Finish documentation API on Face options.
121
+ 6e152ad (#6962) Give copyright and license for all faces.
122
+ b8525c9 (#6962) Fill out documentation on Faces and Actions
123
+ 59e7ef1 (#6962) Move documentation support into a module.
124
+ 092ab09 (#6962) Extend documentation API for Faces.
125
+ c627fad (#7251) Let exceptions raised in decorators rise.
126
+ bbf777f (#7249) Publicize ActionBuilder DSL methods.
127
+ 95ed9aa add test for ticket 7101
128
+ 6064e8e (#7101) Fix template error messages in Ruby 1.8.5
129
+ 49c5152 (#7137) Get rid of spurious info messages in useradd
130
+ 349bd96 Fix test ticket_6928_puppet_master_parse_fails
131
+ f25acf9 maint: add the 'to', 'not_to', and 'to_not' aliases to rspec...
132
+ f77304b (#7157) Return a non-zero exit code on face failure.
133
+ 435c826 maint: use the exit_with helper everywhere...
134
+ 96195c1 maint: add an "exit was called" matcher for rspec.
135
+ 822d530 maint: clean up test headers on face spec files.
136
+ 5c24541 Fix #7084 Make the log messages produced by whits less confusing
137
+ c7a0270 (#7121) Download plugins and upload reports in secret agent!
138
+ 2a2226c Revert "Fixing Facts pson methods more resilient"
139
+ 7591de7 maint: fix a race in catalog compilation versioning.
140
+ aaf7e23 Revert "(7080) Adding json support to Indirector Request"
141
+ 17d176b Revert "Adding json support to Puppet::Node"
142
+ 27e0831 (#7181) Rename configurer face to secret_agent.
143
+ de2199f (#6928) Don't blow up when the method is undefined...
144
+ a0de328 (#6928) backport Symbol#to_proc for Ruby < 1.8.7
145
+ f17f6bb (#7183) Implement "invisible glob" version matching for faces
146
+ 7414ee7 maint: better disabling of Signal#trap in our tests.
147
+ 03bd559 maint: more robust listing of valid faces.
148
+ 7db4793 maint: clean up testing code a fraction...
149
+ eeb8236 maint: better error report for a missing version of a face.
150
+ 677752d maint: handle face clear/reset sanely in the interface spec.
151
+ 7b3744c maint: stop stubbing log level setting.
152
+ 220f308 Move tests from Puppet-acceptance repo
153
+ 379b46d (#7116) Handle application-level options in parse_options
154
+ a1db585 maint: fix gratuitous whitespace in the code.
155
+ 601baf1 maint: remove redundant context from the test.
156
+ 5d7ef5c (#7062) better argument handling in the action wrapper methods
157
+ 33b5580 maint: move method comments outside the comment.
158
+ c87d6c9 Fixed #7166 - Replaced deprecated stomp "send" method with "publish"
159
+ 557767b maint: Remove unused faces code
160
+ 311e3ec maint: mangle grammer in rspec to avoid Jenkins fail...
161
+ 0fed94f (#7013) Wire up rendering hooks on the CLI.
162
+ 12098f2 (#7013) Handle rendering modes out in the application layer.
163
+ 5938452 (#7013) Strip out old face-wide rendering defaults.
164
+ 5258e06 (#7013) Return bound methods for when_rendering hooks.
165
+ 86801b5 (#7013) Support 'when_rendering' and 'render_as' in actions.
166
+ be23b84 (#7013) better default rendering support for faces
167
+ e6caa24 maint: make sure we don't ever default to being default...
168
+ 36b100a maint: print 'false' in the default render method.
169
+ 2cf692c maint: delete README.strings, which is out of date.
170
+ 22355dc maint: test the 'help' face has the default action 'help'
171
+ 4efba71 maint: drop multi-version support from action loading.
172
+ 266f937 (#6962) Add 'description' to faces and action.
173
+ 32c667c (#7132) Reject 'summary' text with newlines embedded.
174
+ 1251311 (#7108) Update help/man text for puppet kick
175
+ eeb1b60 (#7108) Modernize description of --listen in defaults.rb
176
+ 3ec9526 Maint: puppetmaster -> puppet master in defaults.rb
177
+ 5a10093 (Maint) Fix a leaking spec, patching intermittent failures.
178
+ 07b677c Merge remote-tracking branch 'community/feature/puppet-device' into 2.7.x
179
+ 13e64fe (#7131) Remove support for optional arguments to options
180
+ 977684e (Maint) Fixing an order-dependent failure.
181
+ 9d2ec21 (#7013) Add support for required options.
182
+ eeb82f8 (Maint) Code cleanup.
183
+ d85c2a8 maint: Fix the missed failure from the previous commit
184
+ e946a17 maint: Fix a broken Puppet::Node::Facts spec
185
+ d80500f maint: speed up testing output of the help face.
186
+ 9264526 (#7115) Enable default actions.
187
+ ab541fa (#7059) Use option hooks for the indirector terminus option.
188
+ f770325 (#6978) Enforce the calling convention of option hooks.
189
+ c00e03d (#7059) Set the CA location using option hooks.
190
+ dca1f07 (#6978) Add before and after decorators to actions from options.
191
+ 0c60aa2 maint: delete an empty describe block containing no tests.
192
+ e424740 Adding json-specific matchers
193
+ f37b2e1 Making watchr resilient to syntax errors in tests
194
+ d3c94e6 Adding json support to Puppet::Node
195
+ 155b16d Fixing a failing test resulting from a fixed bug
196
+ e0615cb (7080) Adding json support to Indirector Request
197
+ 07a7a68 Fixing Facts pson methods more resilient
198
+ ff08ba2 (7118) Adding summaries for all faces
199
+ a509821 Cleanup trailing whitespace
200
+ 5528911 (#7111) Clarify scoping deprecation warning
201
+ ca9d68f (#6408) Update puppet cert help for new subcommand action syntax.
202
+ 174e87a (#4258) Fix pkgutil spec test to have the correct provider
203
+ e119739 (#6928) Add a notice to Parser#validate action when using default
204
+ 9bc4bce (#7103) Fix HEAD requests in the HTTP handler
205
+ 97e9e5f Updated CHANGELOG & version for 2.7.0rc1
206
+ 5915814 Revert "(#6928) Removed --ignoreimport"
207
+ 24a277c (#6928) Removed --ignoreimport
208
+ fc36e8d (#6928) Remove --parseonly
209
+ a688461 (#6928) Add a Parser face with Validate action
210
+ 4ef622e (#6830) Fix sha1 to digest/sha1 require issue for Ruby 1.9
211
+ 64c12bd (#6830) Fix UTF-8 encoding issue for Ruby 1.9
212
+ 2d459fc (#6830) Fix string method sub call on a symbol for Ruby 1.9
213
+ 78e181e (#7059) handle inherited action binding scope
214
+ cc0f414 maint: ensure we handle '-foo=' options correctly in faces.
215
+ f78ab09 (#2150) Fix File const lookup when configuring routes
216
+ cb552af (#4258) Remove superfluous command check that called pkgutil
217
+ fd98341 (#4258) Fix fd leak opening pkgutil config files
218
+ 7726dc3 (#4258) Permit variations of -nv in both pkgutil.conf files
219
+ f8c2f1a (#4258) Stop file and config checks from breaking spec
220
+ ef86105 (#4258) Check wgetopts in pkgutil.conf
221
+ e852580 maint: install erb templates under lib/
222
+ db11770 maint: clean up the spec test headers in bulk.
223
+ 4dd6a77 (#7056) Use 'face' rather than 'faces' in the production code.
224
+ 941c56a maint: eliminate deprecated since 2008 code from Puppet.
225
+ 4672141 (#6117) Add POST support to indirector requests
226
+ 7b4d936 (#6962) Move option handling into #parse_options, not #preinit.
227
+ 7899462 maint: whitespace cleanup for puppet/util/command_line.
228
+ 826d5df (#6962) delegate global usage to the help face.
229
+ 9496067 maint: avoid making temporary dirs during testing.
230
+ fe6d595 (#6962) Integrate legacy subcommands into the help face.
231
+ acbbd52 (#6962) Clean up testing further.
232
+ 648e3c0 (#6962) Better argument checking for help.
233
+ 217c156 (#6962) Report the template filename for help render errors.
234
+ ec988e2 (#6962) Move the logic for help layout into erb templates.
235
+ 2a87f41 (#6962) Override 'render' in help to just return the string.
236
+ 6570827 (#6962) Add summary help for actions on an individual face.
237
+ cdc5fec (#6962) Implement 'summary' for actions.
238
+ 91c29a7 (#6962) Extract summary from legacy applications for help.
239
+ d13a938 (#6962) Initial support for legacy applications in help.
240
+ 26db645 (#6962) render prints the rval; fix help subcommand.
241
+ 3602102 (#6770) Don't pollute valid face list when #face? is called.
242
+ 14b1e00 (#6992) Expose available_subcommands as a class method.
243
+ 4eccd53 (#6962) Implement Face#summary support for the help face.
244
+ 1b4d7a5 (#6962) Create the basic shape of the help face.
245
+ d8dfb1f (#6962) Implement 'summary' for faces.
246
+ dc2675d (#6770) Improve test robustness against 'require'
247
+ 7228f58 maint: finish transition of application help to return strings.
248
+ a20810e maint: direct people to the expected spec file...
249
+ 8b13e2b maint: watchr should respect personal account-wide defaults.
250
+ 6fcf03c maint: added testing for Puppet::Faces#[]
251
+ 20d9ac1 maint: fix indentation in the watchr script.
252
+ 0c6f50c (#775) Don't require command when removing cron entries
253
+ b2831e1 (#2150) Add routes file for indirector
254
+ e569f3b (#5027) Use Puppet#warning for deprecation_wanring instead of Kernel#warn
255
+ f6fb193 (#5027) Spell deprecation correctly
256
+ d0a5652 Fix for #5027 -- generate a deprication warning for dynamic lookup
257
+ 739260b Towards 5027 -- add options hash to lookupvar as with setvar
258
+ d7201ed Refactor for 5027 -- get rid of lookup_qualified_var
259
+ 10230cf Step towards #5027 -- scopes should know if they are dynamic
260
+ e5609ff Step towards #5027 -- add Logging#deprication_warning facility
261
+ 1954bbf Refactor on the road to #5027 -- remove unused Scope#strinterp
262
+ 31f8e66 Refactor en route to #5027 -- remove usestring parameter from lookupvar
263
+ d5dc303 Fix for #5063 -- explicitly scope internal variable lookups
264
+ b3baee8 Refactor on the way to #5063 -- removing unused Scope#level
265
+ dd33eac Refactor prior to #5063 -- remove dead "topscope?" code
266
+ cb01221 (#3360) Add an allow_duplicate_certs option
267
+ d2145d9 Fixed #5684 - Move to Apache 2.0 license
268
+ 5075658 Fixing Indirector::Facts::Couch loading
269
+ 26b6b37 Fixing dependency loading in Rails::FactName
270
+ 379a379 Fixing 'puppet faces' application
271
+ 69db817 Fixing the watchr script
272
+ 8ec9d13 Fixing FaceCollection#faces
273
+ 7e9707a maint: Fix sporadic sqlite error
274
+ 64be97b maint: Fix sqlite3 require to really be optional
275
+ 6ed0051 maint: just require 'spec_helper', thanks rspec2
276
+ f9271b9 maint: delete dead darwinport package provider
277
+ a19fbb4 maint: don't take over signal handling in tests...
278
+ f9a2ffd maint: use FileUtil to remove files, not exec
279
+ 78cb48c maint: disable garbage collector during individual test cases.
280
+ d43f850 maint: Ruby < 1.8.7 knows size but not count
281
+ 101c6ed maint: Get tests passing on Ruby < 1.8.7
282
+ 9490cc9 (#7026) Remove whits from reports when finalizing
283
+ 3094d42 maint: Add Array combinations method
284
+ e0a2e91 maint: mark tests pending for a discovered bug...
285
+ 49dcc24 Updated confine in Spec test for RSpec 2
286
+ 28e3db8 Add management of router/switchs global vlans
287
+ 1cb1841 Cisco Switch/Router Interface management
288
+ 596571f Base class for network device based providers
289
+ 6560da5 Ssh transport for network device management
290
+ 358245a Telnet transport to connect to remote network device
291
+ c947a6d Remote Network Device transport system
292
+ aa34b72 Introduce a module for some IP computations
293
+ 79f4774 maint: mocking 'require' causes random stack-overflow failures.
294
+ d9f23c0 (#6969) String failures differentiate between invalid string/version
295
+ 292a8b9 (#6985) Allows indirectors to accept a hash as an argument.
296
+ d04567f (#7005) added require 'tmpdir' to spec helper.
297
+ 87ed318 (#7012) Split plumbing into Puppet::Interface
298
+ 8d144d0 (#7012) Update references in code to use face(s)
299
+ 5592034 (#7012) global rename of strings to faces.
300
+ 6be1eb8 Maint: fix a load order problem with type(:component)
301
+ 03afbad (#7006) Add a missing require to puppet/string/option.rb
302
+ cab5672 (Maint) Fix uninitialized constant.
303
+ 27bd1ad (#6983) mark test pending until string is fixed...
304
+ a03790d (#6972) Handle ca-location in the certificate string.
305
+ 7e7d246 (#6972) Recognize puppet global options in pre-parse.
306
+ 0b97bd0 (#6972) Clean up OptParse name extraction a little.
307
+ d4012db (#6995) Fix indexing of :current on string load.
308
+ 07a79cf maint: add `write_scratch_string` helper for testing...
309
+ a1a09b0 maint: whitespace cleanup for spec_helper.
310
+ a125536 (#6995) more robust testing of string loading
311
+ 2a6c6cb (5200) -- replace containers with sentinals
312
+ 8ddd994 (#6982) Patch the Certificate String against (#5528).
313
+ e20e618 (#5528) Add REST API for signing, revoking, retrieving, cleaning certs
314
+ 0950d09 (#6949) Fix passing positional arguments to actions.
315
+ 4d2a367 (#6964) use 'when_invoked' rather than 'invoke' for actions.
316
+ 75ef3af maint: added testing to ensure we inherit options correctly.
317
+ 0c74495 (#6749) Handle options with inline arguments.
318
+ cec3b6e (#6749) Extract the action from the arguments cleanly.
319
+ 5a0b547 (#6749) Fix optional vs mandatory argument handling.
320
+ 8b37d70 (#6749) Polish the CLI option pre-parse implementation
321
+ 37c97cd (#6749) clean up various testing bits...
322
+ d328af7 (#6760) set terminus in indirector string base class.
323
+ 4d23d60 (#6749) add a shim around the action implementation.
324
+ eb4c4fb (#6749) Start porting existing strings to the options API.
325
+ 8723b1c (#6749) code and test cleanup of Application/StringBase.
326
+ 3d88808 (#6749) base indirector string should fail on invalid terminus.
327
+ c52261c (#6749) disable Action#invoke for this release.
328
+ 1635454 (#6749) Remove "save does not work" language from strings.
329
+ 423fe1f (#6749) string cli base: implement preinit CLI parsing
330
+ 512778f (#6749) detect duplicate aliases in a single option statement.
331
+ 3bb6145 (#6749) fix an inheritance bug in ActionManager
332
+ a113e8f (#6749) implementing option handling in CLI string wrapper
333
+ 5bba1a2 (#6749) Implement support for options on strings and actions.
334
+ 1400fec MAINT: nicer to_s for actions, for user-focused rendering.
335
+ 05b434d (#6758) Pass options as an argument to string actions.
336
+ a3f5f97 MAINT: fix error reporting when you set terminus incorrectly.
337
+ 6554fd3 MAINT: delete a test that can't work on 2.6.
338
+ 56ba0a2 MAINT: implement a pending test for code we wrote...
339
+ 76760db MAINT: use a table for table-style tests...
340
+ 0e834af MAINT: fix up tests that depend on the LoadError message to work.
341
+ 5dc994c (6911) Cleanup and renaming of transaction internals
342
+ 8af29c8 (6911) Core change -- replace topsort with frontier ordered by salted SHA1
343
+ 8b5ffde (6911) Add bookkeeping facade around Transaction#relationship_graph
344
+ ee1df78 (#6937) Document the recurse parameter of File type.
345
+ fa5c2b1 (6911) Cleanup of generate_additional_resources
346
+ 7b83cd9 (6911) Refactor to localize eval_generate dependency assumptions
347
+ f76db9e (maint) Fix for require order issue
348
+ 127501e (6911) Use normal methods to implement "depthfirst?" test
349
+ 505a48c (Maint) Bugfix for failing requires inside Puppet Strings.
350
+ 5a90355 maint: Use bracket notation instead of define in specs
351
+ f7f1e58 (#6770) Fix Puppet::String#load_actions.
352
+ 1ac7f63 (#6830) Fix tests that depended on special inherited behavior
353
+ 29f3dda (#6830) Fix overly stubbed tests
354
+ 5e9dfdc (#6830) Fix instance_variables now comes back as symbols
355
+ 893817f (#6830) Fix badly stubbed Time object in test
356
+ ade4efe (#6830) Fix MD5 handling to work with Ruby 1.9
357
+ bfac57a (#6830) Fix File class scoping
358
+ a520c5e (#6830) Handle case where array is actually a string
359
+ 85f3b76 (#6830) Fix case where instance_variables returns symbols in Ruby 1.9
360
+ 4609e20 (#6770) Change versioning; adopt :current over :latest.
361
+ b859baa MAINT: the API is officially named "string" as of this moment.
362
+ 076de13 (#6855) ResourceType#search now accepts a regex
363
+ daaa048 (#5477) Allow watch_file to watch non-existent files, especially site.pp
364
+ e16a383 Fixing #6851 - ResourceType#find/search loads types
365
+ 29268f3 Fixing Module#path detection
366
+ da082d5 Fixed #6850 - Clean up ResourceType#to_pson
367
+ 88aeb04 MAINT: fix the misordered invocations in action.
368
+ b42c57d (#6830) Fix stat method calls to not use an unneeded argument
369
+ 6aea116 (#6770) Add support for version :latest.
370
+ 1af9bb2 (#6770) Add version lookup and comparison.
371
+ 78371a7 (#6770) Refactor Puppet::Interface#initialize.
372
+ 53b0656 Config#print action always returns nil
373
+ 8124f8e (#4576) Raise an error when a node is classified into a non-existent class
374
+ 633f63c (#6833) support 'script' as a short form of 'action'
375
+ b3c059e (Maint.) Require 'puppet/interface' in spec_helper.rb
376
+ c25fb94 (#6770) Rename Puppet::Interface::interface method.
377
+ 7aa8f22 (#6770) Changing versioning to semver.
378
+ 635751d Propagating an argument to search out of core.
379
+ 1187a0e (#6770) Add basic versioning for interfaces.
380
+ 36a5665 (#6820) Fix File class lookup in the file type for Ruby 1.9
381
+ 8c32db7 (#6820) Fix nagios parser to use proper hash syntax for Ruby 1.9
382
+ 054eac6 (#6820) Fix Invalid multibyte character
383
+ 7a4fcf2 (#6820) Fix RDOC parser to work with Ruby 1.9
384
+ 341654e (#6820) Fix invalid next that should be a return
385
+ 3d43d86 (#2782) Fix constant_defined?
386
+ 961c716 Added list action.
387
+ a7a9e12 Alter generate action to work on CSRs only.
388
+ a1ce253 Adding Certficate#generate
389
+ 562ae5f WIP - all tests fail
390
+ 562bd0f Use the new name for the terminus.
391
+ 5d7715b Factoring cert status app back into certificate.
392
+ af79d3c maint: Fix order-dependent spec failures
393
+ 847ac20 maint: Implement an InterfaceCollection class to manage interfaces
394
+ 6180397 (#6527) Fix pip tests
395
+ 557ed85 (#4258) Fix hash duplication affecting canonical provider instance
396
+ 0170ceb (#6527) Fix uninstall problem and refactor
397
+ af42367 (#6527) Added pip package provider.
398
+ ee66f36 (#6814) Add missing require for specs
399
+ 50ba62d maint: Make args to Catalog.select explicit
400
+ e3d2486 (#6814) Create a dedicated Action class
401
+ a58bf95 (#6786) Change interface storage and access.
402
+ f6da333 maint: Change code for finding spec_helper to work with Ruby 1.9
403
+ 307df20 Fix error "invalid multibyte char (US-ASCII)" under Ruby 1.9
404
+ 4156edc (#6566) Replace tabs with spaces
405
+ d448763 (#6566) Fix ruby 1.9 incompatible case statement
406
+ 517fd2f Fixed #6566 Replace ftools with filetuils in rake gem task
407
+ ad8cc54 (#6555) Fix another ruby 1.9 incompatible case statement
408
+ 0844a17 Fixed #6555 - Fixed two more when then colon issues
409
+ 923d613 Fixed #6555 - Ruby 1.9.x returning Invalid next (SyntaxError)
410
+ 66a4f36 Fixed #6555 - Ruby 1.9.x warning: class variable access from toplevel
411
+ c2627a3 (Maint.) Remove Puppet::Interface#unload_interface
412
+ 63f33d0 (#6805) Add a "configurer" application
413
+ 84ba21e Fixing a load-order issue in Puppet::Interface
414
+ 072becf (#6806) Improve error checking and reporting for interface naming.
415
+ ba67cc8 (#6785) Internal consistency for `--terminus`.
416
+ a7173dc (#6786) Fixing a number of failing tests.
417
+ 9c85d70 (#6785) Rename the --from option to --terminus.
418
+ b187e07 (#6786) Removing the #interface method.
419
+ 7c99dd9 (#4258) Use pkgutil -a to reliably determine package common names/aliases
420
+ ab5bc35 (#4258) Update pkgutil spec for recent impl changes
421
+ cf873c6 maint: Silence test output in the spec run
422
+ f4401d3 (#6722) load all functions before testing...
423
+ 4905956 (5909) Function to dyncamically generate resources.
424
+ 1a55c7a (#5479) Test that we auto-require the zone dataset.
425
+ 0a2a58c (#5479) Autorequire zfs filesystem when zone dataset is configured
426
+ e582709 (#4258) pkgutil: bug fix: if shortname is not equal to package name
427
+ 682686f (#6441) Add mount fixture for AIX's /etc/filesystems
428
+ 349f6f2 (#6641) Make it easier to add future platforms to the suite.
429
+ 6a96584 (#6441) Mark solaris tests pending, because we can't stub it.
430
+ b4f1b98 (#6641) fix mount provider tests broken in the 2.6 merge.
431
+ 3b89f32 maint: use chdir rather than depend on bash for win32
432
+ 2a91572 (#4798) Make rdoc work if moduledir & manifestdir overlap
433
+ 28ce355 maint: Fix rdoc when documenting manifest files
434
+ 58ac7d3 (#4258) pkgutil provider: better handling of short package names
435
+ 9a1c3b5 maint: spec/integration/configurer has races in time checking.
436
+ 75af582 maint: Move puppetdoc settings to defaults so we can use them in tests
437
+ 124ff3c maint: Fix a randomization test failure
438
+ 455d197 (#6582) Don't demand the checkout be named 'puppet'.
439
+ 85a743b (#6582) stub puts to prevent screen output when testing help.
440
+ ec23d96 (#6582) eliminate a backtrace from mismatched block arguments.
441
+ 93082e4 (#6582) unstub Puppet settings to improve indirector queue tests.
442
+ 92499c8 (#6582) Eliminate the last vestige of the unit tests from the specs.
443
+ 3954576 (#6582) eliminate fakeresource use in ssh_authorized_key spec.
444
+ 53b6df3 (#6582) eliminate fakeparsefile helper method.
445
+ 0f6faf5 (#6582) Eliminate the old fakedata helper method.
446
+ f490526 (#6582) move more helper code into methods, out of RSpec#configure
447
+ 6b8f1b7 (#6582) add fixture helper methods to replace unit test code.
448
+ 7c9f1b8 (#6582) order RSpec global :before and :after hooks naturally.
449
+ b311651 (#6407) Fix spec test hang with Mocha >= 0.9.11 in zlib testing
450
+ af2c85b (#6551) remove deprecated 'env' parameter to the 'exec' type
451
+ f67e7fa Modifying Facts.upload a bit
452
+ ece0c8e Fixing #16 - nodes default to yaml
453
+ 63263a4 Fixing #13 - showconfig moved to indirector
454
+ 23064bb Adding a test for fix to #14
455
+ 353b914 (14) updated interface_base to support multiple command line arguments
456
+ 9c0e55b (#5496) Added tests for the new zpool output format
457
+ b1d9728 (#5496) zpool provider supports new 'zpool status' format
458
+ 026eba3 Revert #5691 "Merge remote branch 'brice/feature/process-instrumentation' into next"
459
+ 905ff3a Pretty-printing json using "jj"
460
+ f0d7684 (#6494) Add setm command to Augeas provider
461
+ 0026e43 (#6494) Add mv command to Augeas provider
462
+ 67ed160 (#6494) Add defnode command to Augeas provider
463
+ 45cba13 (#6494) Add defvar command to Augeas provider
464
+ 66c994a Attempting to skip loading of duplicate actions
465
+ 21b541d Fixing plugin usage
466
+ 59a6485 Adding Application options to Interfaces
467
+ 4fa54d0 Adding render and exit_code override support
468
+ bec807e Fixing 'puppet interface list'
469
+ 368210e Adding a simple "config" app
470
+ c2715c0 Splitting the Application base class
471
+ 7da0a26 Adding a string form to interfaces
472
+ 04fb6de Switching Interfaces to be instances
473
+ 0cbdbce Renaming 'data_baseclass' to 'interface_base'
474
+ ef289e5 Fixing indentation
475
+ cf79349 Updating readme to reflect requirements
476
+ 15a53f0 (#4258) pkgutil provider: misc enhancements
477
+ cde1baa Fixing Interface listing
478
+ eff4eec (#3) Base application should catch SYSINT
479
+ a54ee1e (#2) Should not assume interfaces have indirectors
480
+ 15e225b Add spec tests for pkgutil package provider
481
+ 8462acd * Fix exception on parse failure of pkgutil output * Fix exception when querying latest version for unknown package
482
+ 7639d5f Fix non-existent method called in SMF manifest import exception message, updated spec
483
+ f5e21f0 (#6324) Use real service resource object instead of a stub
484
+ ef9e929 (#6324) Add spec for SMF service provider
485
+ b18f045 (#1204) Make rake gen_manpages fail explicitly if ronn isn't present
486
+ ae4112b (#1204) Add manpages for modern apps and update puppet.conf manpage
487
+ f6485d6 (#1204) Fix --param flag in puppet resource manpage
488
+ dac032d (#1204) Make rake gen_manpages output puppet-{application} manpages
489
+ a0cff49 (#1204) Update all the manpages
490
+ c619520 (#1204) Move man generation task from install.rb to a rake task
491
+ 9e19d22 (#1204) Edit content and formatting of puppet resource help
492
+ f4c7e48 (#1204) Edit content and formatting of puppet queue help
493
+ bd14ff5 (#1204) Fix --compile and --apply options
494
+ 768d9a1 (#1204) Reformat help text for puppet master
495
+ 3f1c26f (#1204) Reformat help text for puppet kick and inspect
496
+ d198db2 (#1204) Reformat help text for puppet filebucket
497
+ c35aa60 (#1204) Fix garbled help for puppet filebucket
498
+ 1800d00 (#1204) Edit content of puppet describe help
499
+ f653b8d (#1204) Reformat help text for puppet cert and describe
500
+ 969b8b0 (#1204) Edit content and formatting of puppet apply help
501
+ 489b065 (#1204) Reformat help text for puppet doc and puppet agent.
502
+ 7e3a023 Only printing output if there is any
503
+ b3f903a Enabling arbitrary interface names
504
+ 782ca8d Fixing an error message
505
+ 0b18cb6 (#6324) Always fall back to svcadm enable except for the maintenance state
506
+ 9e124e1 Fixing rendering to support arrays
507
+ 3ffb9ab Moving 'format' support to the application
508
+ 7a325fe (#6144) add missing zfs properties
509
+ 9cb594f Finishing the s/data/interface/ in the application
510
+ 5190aba Adding to README
511
+ 264a43c Renaming "data" app to "interface"
512
+ efca35c Finishing migration from puppet repo
513
+ adc9244 Feature #2597 -- generate a DOT graph of cycles on request.
514
+ 2cf4528 Feature #2597 -- eliminate OpenStruct for performance...
515
+ 9584cda Feature #2597 -- use O(1) methods as often as possible.
516
+ d302628 Feature #2597 -- improve names and whitespace in the code.
517
+ 9ea74cc Feature #2597 -- report all paths in each cycle found.
518
+ e30fd8f Feature #2597 -- remove obsolete licensing comment...
519
+ f547118 Feature #2597 -- use iterative DFS in Tarjan clustering.
520
+ 34a57b8 Feature #2597 -- really find and report cycles.
521
+ 403adb8 Feature #2597 -- nicer reporting of relationships.
522
+ 1ad6470 Feature #2597 -- fix cycle relationship notification format.
523
+ 3f2f1c2 Maint: move puppet resource --help
524
+ 82e004f Maint: move puppet kick --help
525
+ 95fc38c Maint: move puppet queue --help
526
+ a041e19 Maint: move puppet doc --help
527
+ 7568b78 Maint: move puppet cert --help
528
+ 9fdd66b Maint: move puppet apply --help
529
+ c61d6d0 Maint: move puppet describe --help
530
+ ae78264 Maint: move puppet filebucket --help
531
+ fc66e57 Maint: move puppet master --help
532
+ 9b521d7 Maint: move puppet agent --help
533
+ 8d569b3 Maint: remove puts and exit from inspect --help
534
+ e1191f3 Maint: remove rdoc/usage dependency
535
+ 025768f Adding license and readme file
536
+ 809aebe Moving data executables to their own module
537
+ fb339cb (#5432) Use AIX native commands to manage users and groups
538
+ aa8c09f (#5432) Use AIX native commands to manage users and groups
539
+ d65e094 (#5432) Use AIX native commands to manage users and groups
540
+ 27abd84 maint: Stop stubbing 'use' on any_instance of Puppet::Util::Settings
541
+ 7ed5251 maint: Work-around for a Mocha bug
542
+ 52f8ddd (#5432) Use AIX native commands to manage users and groups
543
+ 9032898 (#5432) Use AIX native commands to manage users and groups
544
+ e27d208 Some high-level process name probes
545
+ aed4b5f Process name instrumentation infrastructure
546
+ b94c1b4 (#5427) Using Propery::OrderedList for host_alias
547
+ cca3436 (#5427) Remove redundant testunit tests
548
+ c88afa0 (#5393) Add "dataset" parameter to the zone provider
549
+ 626d756 maint: Use expand_path when requiring spec_helper or puppettest
550
+ b9f3847 maint: Fix more order dependent test failures
551
+ b67f4c6 maint: Restore a default value that can cause order dependent test failures
552
+ 094a5c8 (#5211) Added patch and tests for checking the size of the arrary which is returned
553
+ 0ab5e0f (#2495) Better value validation for sshkey
554
+ 0747b58 Maint: Modified uses of indirector.save to call the indirection directly.
555
+ f77764d Maint: Modified tests of indirector.save to call the indirection directly.
556
+ 7de6af8 Maint: Add a default value for key in Facts::NodeExpirer#save
557
+ beb85d6 Maint: Moved auto-signing logic into an indirector extension
558
+ 3063000 Maint: Swap the order of arguments to Indirection#save
559
+ 8766efe Maint: Make http handler code call the indirector through ".indirection"
560
+ 71ecad9 Maint: Refactor code to use <class>.indirection.<method>
561
+ 14f8160 Maint: Refactor tests to use <class>.indirection.<method>
562
+ 3eace85 Fixing indentation
563
+ f8e9155 Removing blastwave references and unused PAGER
564
+ 485ac38 Changing indentation to 2-spaces as per 2.6+ style
565
+ 9d63171 Single package queries made more robust when dealing with pkgutil noise
566
+ f50fac7 Fixing wget verbose regex
567
+ 0f00bf4 Maint: Removed unused monkey patch that connected OpenSSL::PKey::RSA to indirector
568
+ c5a1ca0 (#5391) Include additional zfs properties
569
+ 3a815e1 (#5375) Rework puppet apply to use configurer.run
570
+ 99f4d2f Maint: made upstart tests more robust.
571
+ 9ccd29f (#2866) yum should support downgrade.
572
+ 04389f5 (#4711) Provide unit tests for yum package provider.
573
+ 0956757 Fix #5261 Don't escape Unicode characters in PSON
574
+ 4a2bbbc maint: Fix tests that don't run on their own
575
+ f3cd668 maint: Fix a test that was missing a require
576
+ 7c16215 maint: Fix a test that was missing a require
577
+ 32dcb31 (#5370) Made metrics and --summarize work with Puppet apply
578
+ e825485 Maint: Added assertion to make sure Log.close_all succeeds
579
+ cf18353 Maint: Switched spec tests to use a class rather than Array as the log destination.
580
+ ee56cfd Maint: Improved spec tests
581
+ b089392 Maint: Modified "rake spec" so that it prints full backtraces.
582
+ 6e51d11 (#5274) Fixed some "rake unit" tests that were inadvertently broken by commit:ee7d2f92f9d3ec45b5c3a9cd3fe2f5832b17f23b
583
+ cd8126f maint: Fix intermittent parser spec failures
584
+ 2052f36 (#5274) New tests for new hosttype/parsedprovider
585
+ ee7d2f9 (#5274) New comment property for the hosttype
586
+ 8efdc76 (#5274) Tests for hostprovider removes comments
587
+ 28e5772 (#5304) Use internal_name rather than real_name for maillist provider
588
+ 3003719 These regular expressions will not match anything. pkgutil doesn't output anything that can be matched.
589
+ 6c7290b (#5079) Refactor and cleanup mcxcontent provider
590
+ c643e98 (#5079) Move methods around to make it clearer whether they're public or private
591
+ 2725fb3 Add comments that explain what we are ignoring in the package and remove legacy output
592
+ 143fc74 Ignoring lines from use_gpg and catalog fetching
593
+ 69a3451 Adding patch from Rudy Gevaert to fix not installed detection
594
+ b753d83 Fixed #5288 - Changed report default to true
595
+ ccc944f Fix #4339 - Locally save the last report to $lastrunreport
596
+ 8ab1aba Fix #4339 - Allow puppet apply to save last run summary
597
+ 4d31430 Fix #4339 - Save a last run report summary to $statedir/last_run_summary.yaml
598
+ b0acb02 (#3747) Add specs for upstart provider
599
+ 2b772f7 (#3747) Implement upstart provider
600
+ 6f1416d Fix #4904 Mounts shouldn't remount unless they are ensure=>mounted
601
+ bf11e7c Maint: Move "Local-branch:" info below "---"
602
+ 04515cf (#5198) Added a spec test for new TB unit
603
+ 631c5a8 Maint: Add "Local-branch:" info to mails sent by "rake mail_patches"
604
+ 2ec1b55 Maint: Added missing requires to fileserver.rb.
605
+ f0a1467 Maint: remove unnecessary stubbing from agent_spec
606
+ 5c24579 maint: prevent fork bombs by disabling ActiveSupport's Kernel.daemonize
607
+ f8d1427 maint: First draft of cert inspector
608
+ 4506dfe (#5150) Make fact REST terminus configurable to connect to inventory service
609
+ 71a0cea (#5198) add terabyte support to tidy type's size parameter
610
+ 91ac162 (#5198) add gigabyte reference to docs for tidy type's size parameter
611
+ cfe2025 Maint: Remove Indirector::Request objects from HTTP Handler and API V1
612
+ 3d32fe8 (#5166) Inventory service is now searchable by timestamp.
613
+ 1f80cc6 Refactored Puppet::Node::Inventory::Yaml tests in preparation for adding freshness check
614
+ 6c11601 Refactor Puppet::Node::Inventory::Yaml in preparation for adding freshness
615
+ fb5f859 Fix #5164 Change Facts timestamp when they are received by the master
616
+ 5f0cf4e Maint: Don't use a stub for a Facts object in the compiler specs
617
+ 90af920 Maint: spec/unit/indirector/catalog/compiler_spec.rb wouldn't run by itself
618
+ 5bf19e4 [#4894] Randomize port on webrick tests
619
+ 45a9a97 (#5132) Provide a query REST interface for inventory
620
+ 2c98db6 (#5148) Fix failing spec due to timezone
621
+ c2ea112 (#5148) Add support for PSON to facts
622
+ 7d35a47 Fixed to #5108 - Change default of service hasstatus property to true
623
+ 4d1681e (#5062) Add envpuppet helper script to ext/
624
+ f2537d8 Puppet-load: better and safer error reporting
625
+ ce1865f Fix #5023 - puppet-load multiple nodes support
626
+ efeb2f4 Make --mkusers work on OS X, we now find unused uid/gids if unspecified like other platforms.
627
+ 3c44121 [#4590] SimpleGraph is slow
628
+ 6dd1930 Fix test failures that fixing #4726 exposed.
629
+ ce9bf1e Modified the error message that is generated when a class, definition, or node occurs in a conditional construct so that it contains the proper line number.
630
+ 6b27850 [#4657] Customer-supplied .rb files are not compatible with multiple environments or staleness check
631
+ 25048ec [#4685] Classes, defines, and nodes allowed inside of non-evaluated conditionals
632
+ 1ba536e [3782] Test isolation problem in test/ral/providers/cron/crontab.rb
633
+ df088c9 [4638] Cleanup of plurals and inheritance relationships in AST
634
+ 50fd9b7 Fixed issue #4570 (Race conditions when serializing objects to YAML).
635
+ 4da88fb [#4496]+[#4521]+[#4522] Add structures to the AST to represent type definitions (classes, definitions, and nodes).
636
+ caca187 Moved perform_initial_import from Puppet::Resource::TypeCollection to Puppet::Node::Environment.
637
+ 6b1dd81 [#4472]+[#4483] Moved type-name resolution out of Puppet::Parser::TypeLoader.
638
+ 6dbd477 [#4397]+[#4344] Move type-name resolution out of Puppet::Resource into the AST resources.
639
+ d026bb7 pkgutil provider: Using the --single option which speeds up execution.
640
+ ec2a03c pkgutil provider: The path to the admin file is /var/opt/csw/pkgutil/admin
641
+ 0fc2aa6 pkgutil provider: Correcting a typo in a message.
642
+ e02ba01 Using --single in the pkgutil provider.
643
+ fc18591 Adding pkgutil support.
644
+ 9f365b1 Fixed #4258 - Added pkgutil package provider
645
+ 83d9874 Use the name in the search path for looking for metadata
646
+ 70c293a Fix for environments in startup script. - Dropped the forced --manifest switch in the suse startup script to allow for environments to re-define this. Otherwise, environments will not work as puppet override configuration with command line arguments.
647
+ 62bc09e Redmine: 2474 - Fix for mount fstype documentation
648
+ 7faf27c [#4064] Modify confine to also allow a message and a block containing the test.
649
+ e4b3aac [#4063] Add confine to describe block that depends on ActiveRecord
650
+ 97936c6 [#3921] Add facts_terminus setting to Puppet settings
651
+ db39b7c [#4026] When --use_cached_catalog is specified on a puppetd run actully use the cache
652
+ 4286839 [#4001] Added explicit check and error message when creating a file if parent doesn't exist
653
+ 34d1897 [#3835] Fixed recursively absent directories improperly managing their files
654
+ 9d0d94c [#3804] Fixed one failing spec for RackREST
655
+ da66e16 Fixing #3651 failing to pop comment stack for some constructs
656
+ 069bf1b Fixed require warning documentation
657
+ 23431da Fixed mcx documentation error
658
+ 705cfe1 Documentation fixes
659
+ 0a0923c [#4006] Fix test failures caused by reverting ticket 2890
660
+ 8faa466 [#3866] Rename the method metaclass to singleton_class to avoid the deprecation warnings from Rails ActiveSupport
661
+ 53e3610 Bug 3731. Applied Fix suggested by Doug Warner to always flatten out the array
662
+ b9aba7c maint: Have 'rake spec' output in color
663
+ 3d7168b Fix for #3107 Changing users on AIX
664
+ 5716028 Fixes #3663 - It should be possible to list signed hosts only
665
+ d71bd68 Updated CHANGELOG for 0.25.5
666
+ d88b357 Fixes incorrect line in partial CRL fix
667
+ dec84e5 Fixed documentation issues exposed in #3772
668
+ 4daf8c3 Updated CHANGELOG for 0.25.5rc3
669
+ 9214400 WIP - trying to fix #3460
670
+ 9d3e98b Minimal footprint fix for #3751 (serialization 0.25.5 <-> 0.24.8)
671
+ d481340 Updated Template documentation link
672
+ 5a1a45c Update Red Hat spec file for 0.25.5
673
+ 2257605 Updated CHANGELOG for 0.25.5rc2
674
+ 5258a0a Fixing #3533 - Removing all transaction cleanup
675
+ bcde541 Fix for #2910 -- Tidy/matches is too tricky to use
676
+ 5abe571 Bug #3451: Don't leak the terminus class setting from Puppet::Resource::Catalog's spec
677
+ ebd924c Fix to the fix for #3295
678
+ ce233aa Write ssh_authorized_keys as user
679
+ 6739bab Fix for #3558 -- source file reading speedup
680
+ b0e3c61 Fix for #3556 Plussignment value melding
681
+ 8a30495 Fixed #3655 - Puppet doesn't find installed packages with portage provider
682
+ e4130af Fixed #3672 - Error message on duplicate fileserver mounts incorrect
683
+ 1275a47 conf/redhat: Add notifempty to logrotate config
684
+ 134204d Fixed stored configuration documentation
685
+ 1aa98a6 Fixes #3653 - Changed default factpath value to better reflect plugins in modules
686
+ 44f6d64 Partial fix to #2837 - changed warning message to debug
687
+ 3a1b178 Fix #3555 - fix state of purged lists
688
+ f6046ab Fix for #3577 -- to_yaml parameter in 0.25.5rc1
689
+ f351e2d Renamed all references to Reductive Labs to Puppet Labs
690
+ cf7e696 Updated Rake tasks to no longer load puppet.rb
691
+ b93924e Fix #3540 - name methods correctly
692
+ 9bc2f28 Fixes #3295 - generate() now sets the working directory to the directory containing the specified command.
693
+ 3ee6834 Added YARD task
694
+ 99818ef Update man pages and partial doc fix to #3491
695
+ f988af3 Fixed #3532 - Typo in lib/puppet/ssl/host.rb
696
+ f0e12e5 Fix #3496 - suppress transaction debug message
697
+ 0eea2f5 Updated version and CHANGELOG to 0.25.5rc1
698
+ 57ae381 Modify SuSE spec file for 0.25.x and correct shebang lines for puppetd/puppetmasterd
699
+ d90ec79 Fixes #3460 - Makes Puppet FHS compliant by moving /var/puppet to /var/lib/puppet
700
+ ae0b0bf Fix for #3101 (bug in MRI 1.8.7)
701
+ 9db066b Fixes #3419. OS X 10.6 Ruby doesn't set supplementary groups
702
+ 306d082 Revert the guts of #2890
703
+ 4eea77a Fail gracefully on packages that don't have the HOMEPAGE variable set (e.g. dev-lang/php).
704
+ f5b8494 Fixed #3443 - Typo in mount type
705
+ b0ef2c6 Fixes #3135 - darwin doesn't support 'mount -o remount'
706
+ 7018cf5 Adding :catalog_terminus setting
707
+ 978ab8a fixing obsolete comment in puppetd
708
+ 6d13d0d Adding support for only using cached catalogs
709
+ bc28715 Refactoring Configurer to enable the next feature
710
+ ba43d7b Fix for #3366 - --tags '' treated as boolean 'true'
711
+ 5ab5e8a Supressing warnings (not really failures) in test/unit
712
+ e4df0b0 Fix test using wrong Puppet util filesetting group
713
+ eeb3d74 Mock user in SUIDManager tests
714
+ 9ea27db Removing resources generate tests
715
+ 218e3e9 Removing old test for service/debian provider
716
+ 1556938 Replace test/unit file write test with spec
717
+ 2defc00 Fix for #3424 and tests to prove it.
718
+ 44798b9 Fixed changelog Rake task
719
+ 5d10f65 Fix #3155 - prevent error when using two matching regex in cascade
720
+ fbedb99 Fixing #3148 Settings#without_noop when run with no noop setting
721
+ 389c77b Another trivial follow-up fix for #2604: invalid path to zaml.rb
722
+ 56b5753 Fix inefficient SimpleGraph#matching_edge
723
+ 4b2b9eb Fix #3229 - use original value in case/selector regex matching
724
+ 19863c0 Fix #2929 - Allow checksum to be "none"
725
+ fd76142 Fixed puppetlast typo
726
+ 3b4e782 Follow up for #2604, debug msg left behind.
727
+ e44430b Fix for #2604 Pure Ruby yaml generation
728
+ 74cd55f Fixes #3113 - When importing a manifest puppet needs to chill
729
+ 7ec50a7 Fixes #3387 - Handle path elements with ticks and spaces
730
+ d561a98 Fix for #3412 install.rb should not put "." first in the tmp_dirs
731
+ 751df45 Fix #3186 - require function set relationship only on the last class
732
+ a1d216c Fixed the return types were valid, and removed the copy paste error with the exception logic
733
+ d532e6d Fixing #3185 Rakefile is loading puppet.rb twice
734
+ 5aa596c Fix #3150 - require function doesn't like ::class syntax
735
+ 3457b87 Added time module to tagmail report
38
736
 
39
- 2.6.16
40
- ===
41
- 65446c9 Revert "(#5246) Puppetd does not remove it's pidfile when it exits"
42
-
43
- 2.6.15
44
- ===
45
- f7829ec Stub mktmpdir and remove_entry_secure in os x package providers
46
- 7ac1ec8 (#13260) Spec test to verify that mktmpdir is used
47
- 0180200 Refactor pkgdmg specs
48
- c51447d (#13260) Use mktmpdir when downloading packages
49
- 568ded5 Fix for bucket_path security vulnerability
50
- 6bef2e6 Removed text/marshal support
51
-
52
- 2.6.14
53
- ===
54
- ade5965 Remove unnecessary fallbacks in change_{user,group}
55
- 0a09a64 Document uid/gid-related methods in Puppet::Util
56
- 2599d56 Copy owner/group in replace_file
57
- ead36ff (#12463) eliminate `secure_open` in favour of `replace_file`
58
- 1469538 (#12460) use `replace_file` for the .k5login file
59
- 8461203 (#12462) user_role_add: use `replace_file` for /etc/shadow
60
- 0ad532a (#12463) add secure `replace_file` to Puppet::Util
61
- 76d0749 (#12459) drop supplementary groups when permanently dropping UID
62
- 50909b9 (#12458) default to users primary group, not root, in `asuser`
63
- d00c5cc (#12457) add users primary group, not Process.gid, in initgroups
64
- d937ae3 (#6541) Use the same filebucket for backup and restore
65
- a758066 (#11996) Fix test failures due to hash processing order changes.
66
- e0e31d5 (#5246) Puppetd does not remove it's pidfile when it exits
67
- 0ab4597 (#11764) Fix failing cron test
68
- 073ca03 (#11764) Fix cron jobs for passing block to method
69
-
70
- 2.6.13
71
- ===
72
- e4ee794 (#10739) Provide default subjectAltNames while bootstrapping master
73
- 9dfd011 (#5617) Puppet queue logging
74
- a91cfa1 maint: Fix failing spec on old version of rspec
75
- aa2a762 (#10289) Add an ext script to upload facts to inventory server
76
- 5129d38 (#10289) Add a safe alternative to REST for inventory service
77
- 7514d32 missing includes in network XML-RPC handlers
78
- 397a506 (#10244) Restore Mongrel XMLRPC functionality
79
- e7a6995 (#9794) k5login can overwrite arbitrary files as root
80
- 0a92a70 Resist directory traversal attacks through indirections.
81
- 8d86e5a (9547) Minor mods to acceptance tests
82
- 2bf6721 Reset indirector state after configurer tests.
83
- bb224dd (#8770) Don't fail to set supplementary groups when changing user to root
84
- 2a0de12 (#8770) Always fully drop privileges when changing user
85
- 00c4b25 (#8662) Migrate suidmanager test case to rspec
86
- d7c9c76 (#8740) Do not enumerate files in the root directory.
87
- 0e00473 (#3553) Explain that cron resources require time attributes
88
- 769d432 (#8302) Improve documentation of exec providers
89
- c209f62 Add document outlining preferred contribution methods
90
- fb2ffd6 (#8596) Detect resource alias conflicts when titles do not match
91
- 89c021c (#8418) Fix inspect app to have the correct run_mode
92
- 3165364 maint: Adding logging to include environment when source fails
93
- f484851 maint: Add debug logging when the master receives a report
94
- e639868 Confine password disclosure acceptance test to hosts with required libraries
95
- a109c90 (maint) Cleanup and strengthen acceptance tests
96
- b268fb3 (#7144) Update Settings#writesub to convert mode to Fixnum
97
- 4a2f22c (maint) Fix platform dection for RHEL
98
- 111a4b5 (#6857) Password disclosure when changing a user's password
99
-
100
- 2.6.12 (CVE-2011-3872 see http://puppetlabs.com/security/hotfixes/cve-2011-3872/)
101
- ===
102
- 3ed6499 Backport Enumerable#count to Rubies < 1.8.7
103
- 5f44c23 More 1.8.5 compatibility fixes.
104
- ef1b960 Better 1.8.5 compatible implementation of `lines`.
105
- 246e875 (#2848) Config options require '_', not '-'.
106
- 3bdeb3a Ruby 1.8.5 compatibility changes in tests and code.
107
- 6866d4b Add `lines` alias for `each_line` in Ruby 1.8.5.
108
- 2f9ec3c s/not_to/should_not/ for older versions of RSpec 2.
109
- 56320ea (#2848) Eliminate redundant `master_dns_alt_names`.
110
- de19861 (#2848) Remove the legacy SSLCertificates code
111
- cf008a6 (#2848) Rework the xmlrpc CA handler to use the modern SSL code
112
- 32be180 (#2848) Remove unused xmlrpc code
113
- 5f2a44d (#2848) Consistent return values from `subject_alt_names` accessors.
114
- 5e507f2 (#2848) Consistently use `subject_alt_names` as accessor name.
115
- 5ac2417 (#2848) Don't strip the subjectAltName label when listing.
116
- 44cf3a2 (#2848) Don't enable `emailProtection` for server keys.
117
- d66def9 (#2848) Only mark `subjectAltName` critical if `subject` is empty.
118
- 8174047 (#2848) Migrate `dns-alt-names` back to settings.
119
- f18df2b Wire up the `setbycli` slot in Puppet settings.
120
- efa61f2 (#2848) rename subject-alt-name option to dns-alt-names
121
- f103b20 (#2848) Rename `certdnsnames` to match new behaviour.
122
- 363b47b (#2848) Use `certdnsnames` when bootstrapping a local master.
123
- 49334ff (#2848) CSR subjectAltNames handling while signing.
124
- 5f2af93 (#2848) List subject alt names in output of puppet cert --list
125
- bb475ec (#7224) Add a helper to Puppet::SSL::Certificate to retrieve alternate names
126
- bab9310 (#2848) Rewrite SSL Certificate Factory, fixing `subjectAltName` leak.
127
- fca1ff0 (#2848) Reject unknown (== all) extensions on the CSR.
128
- 443a756 (#2848) extract the subjectAltName value from the CSR.
129
- 66101f1 (#2848) Set `certdnsnames` values into the CSR.
130
- 77b814f (#6928) Don't blow up when the method is undefined...
131
- 5427f1e (#6928) backport Symbol#to_proc for Ruby < 1.8.7
132
-
133
- 2.6.11
134
- ===
135
- e158b26 (#9793) "secure" indirector file backed terminus base class.
136
- 343c7bd (#9792) Predictable temporary filename in ralsh.
137
- 88512e8 Drop privileges before creating and chmodding SSH keys.
138
- 2775c21 (#9794) k5login can overwrite arbitrary files as root
139
-
140
- 2.6.10
141
- ===
142
- ec5a32a Update spec and lib/puppet.rb for 2.6.10 release
143
- fe2de81 Resist directory traversal attacks through indirections. (CVE-2011-3484)
144
- 243aaa9 (#7956) Porting cron tests
145
- 3e3fc69 (#7956) Port resource acceptance tests
146
-
147
- 2.6.9
737
+ 2.6.8rc1
148
738
  ====
149
- db1a392 (#7506) Organize READMEs; specify supported Ruby versions in README.md
150
- 381fa40 (#6418) Make test 64118 more portable
151
- 98ba407 (#7127) Stop puppet if a prerun command fails
152
- 6996e0b Do not needlessly create multiple reports when creating a transaction
153
- caca469 (#4416) Ensure types are providified after reloading
154
- 413b136 (#4416) Always remove old provider before recreating it
155
- d866ce1 Cleanup indentation, comment, and unused code
156
- 98f58ce (#2128) Add WARNING for node_name_{fact,value} descriptions
157
- 1cd848c (#2128) Whitespace only reflow commit
158
- d9b5c1a (#2128) In-line docs for node_name_{fact,value}
159
- 3f0dbb5 (#650) Allow symlinks for configuration directories
160
- c260cf1 Fix acceptance tests not managing their masters
161
- 1c70f0c (#2128) Add support for setting node name based on a fact
162
- c629958 (#2128) Get facts before retrieving catalog
163
- cd4fe14 (#2128) Add the ability to specify a node name
164
- 8ebec1e (#7193) Fix path issues with acceptance tests that call old shell tests
165
- 16b2311 (#6885) puppet agent fingerprint requires --verbose to return a value.
166
- a00fd25 maint: Refactor specs in preparation for making node name more flexible
167
- 75e2764 (#5318) Always notice changes to manifests when compiling.
168
- 4a5e99d (#7681) Add an acceptance test for resource refs with array variables
169
- 646919e (4123) Fix test for 4123/4 on old egrep in cent4
170
- 8b76be3 (#3836) External nodes should only capture stdout
171
- 8f907f2 adding test for ticket 7139
172
- 90eb937 (#7139) Accept '/' as a valid path in filesets
173
- 1b2a7d9 case seems needless here as there is only two opts, also the rest of the file seems to use if so this should make thin
174
- 729336e (#6845) Mount writes incorrect vfstab entries
175
- 16cf1ac (#6442) Be able to start agents --listen without namespaceauth.conf
176
- 0352402 (#3420) Nagios "name" attribute does not output correctly
177
- f656818 (#4487) When setting environment on a host, ensure it is a string.
178
- 2cce326 add test for ticket 7101
179
- c306db2 (#6487) Add some testing for OS X version support in DirectoryService provider
180
- 0008b63 (#6487) Directoryservice provider will fail in future OS releases
181
- 34f9f41 Maint: Fix a #4655 introduced log inconsistency
182
- 6b18f8f Move acceptance tests from puppet-acceptance repo
183
- 9a5bf6e Fixed #7166 - Replaced deprecated stomp "send" method with "publish"
184
- 656eff8 (#4655) Allow stage to be set using a default class parameter
185
- 7f658e6 vim: Initial ftplugin and indent support
186
- ccbe9f3 Fixed #6681 - Remove --force-yes option from aptitude is used
187
-
188
- 2.6.8
189
- =====
190
- c1edcb2 add test for ticket 7101
191
- db26326 Move tests from puppet-acceptance repo
192
- bee1ef7 Updated CHANGELOG for 2.6.8rc1
193
739
  8b7444d (#2331) Remove darwinports pkg provider, replace with rewritten macports provider
194
740
  65c4e14 Fixed #7082 - Added system support for groups
195
741
  b7f4ff7 (#7018) Give more context on the service type's assumptions. Wording tweaks.