puppet 2.6.18 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (1050) hide show
  1. data/CHANGELOG +733 -187
  2. data/LICENSE +13 -13
  3. data/README.md +5 -9
  4. data/Rakefile +1 -1
  5. data/conf/auth.conf +8 -3
  6. data/conf/redhat/puppet.spec +21 -110
  7. data/conf/solaris/pkginfo +3 -4
  8. data/conf/suse/puppet.spec +1 -1
  9. data/ext/cert_inspector +140 -0
  10. data/ext/nagios/naggen +12 -5
  11. data/ext/puppet-test +11 -5
  12. data/ext/vim/README +1 -2
  13. data/ext/yaml_nodes.rb +11 -5
  14. data/install.rb +1 -54
  15. data/lib/puppet.rb +6 -10
  16. data/lib/puppet/application.rb +23 -32
  17. data/lib/puppet/application/agent.rb +228 -7
  18. data/lib/puppet/application/apply.rb +108 -36
  19. data/lib/puppet/application/catalog.rb +4 -0
  20. data/lib/puppet/application/cert.rb +128 -17
  21. data/lib/puppet/application/certificate.rb +18 -0
  22. data/lib/puppet/application/certificate_request.rb +4 -0
  23. data/lib/puppet/application/certificate_revocation_list.rb +4 -0
  24. data/lib/puppet/application/config.rb +4 -0
  25. data/lib/puppet/application/describe.rb +53 -0
  26. data/lib/puppet/application/device.rb +255 -0
  27. data/lib/puppet/application/doc.rb +92 -6
  28. data/lib/puppet/application/face_base.rb +246 -0
  29. data/lib/puppet/application/facts.rb +4 -0
  30. data/lib/puppet/application/file.rb +4 -0
  31. data/lib/puppet/application/filebucket.rb +102 -0
  32. data/lib/puppet/application/help.rb +4 -0
  33. data/lib/puppet/application/indirection_base.rb +4 -0
  34. data/lib/puppet/application/inspect.rb +21 -23
  35. data/lib/puppet/application/key.rb +4 -0
  36. data/lib/puppet/application/kick.rb +131 -4
  37. data/lib/puppet/application/man.rb +4 -0
  38. data/lib/puppet/application/master.rb +108 -40
  39. data/lib/puppet/application/node.rb +4 -0
  40. data/lib/puppet/application/parser.rb +5 -0
  41. data/lib/puppet/application/plugin.rb +3 -0
  42. data/lib/puppet/application/queue.rb +75 -13
  43. data/lib/puppet/application/report.rb +4 -0
  44. data/lib/puppet/application/resource.rb +115 -23
  45. data/lib/puppet/application/resource_type.rb +4 -0
  46. data/lib/puppet/application/secret_agent.rb +6 -0
  47. data/lib/puppet/application/status.rb +4 -0
  48. data/lib/puppet/configurer.rb +57 -61
  49. data/lib/puppet/configurer/fact_handler.rb +1 -6
  50. data/lib/puppet/daemon.rb +2 -2
  51. data/lib/puppet/defaults.rb +30 -88
  52. data/lib/puppet/dsl/resource_type_api.rb +19 -31
  53. data/lib/puppet/external/nagios/parser.rb +1 -1
  54. data/lib/puppet/face.rb +12 -0
  55. data/lib/puppet/face/catalog.rb +130 -0
  56. data/lib/puppet/face/catalog/select.rb +49 -0
  57. data/lib/puppet/face/certificate.rb +115 -0
  58. data/lib/puppet/face/certificate_request.rb +55 -0
  59. data/lib/puppet/face/certificate_revocation_list.rb +60 -0
  60. data/lib/puppet/face/config.rb +45 -0
  61. data/lib/puppet/face/facts.rb +81 -0
  62. data/lib/puppet/face/file.rb +47 -0
  63. data/lib/puppet/face/file/download.rb +54 -0
  64. data/lib/puppet/face/file/store.rb +21 -0
  65. data/lib/puppet/face/help.rb +131 -0
  66. data/lib/puppet/face/help/action.erb +53 -0
  67. data/lib/puppet/face/help/face.erb +79 -0
  68. data/lib/puppet/face/help/global.erb +19 -0
  69. data/lib/puppet/face/help/man.erb +136 -0
  70. data/lib/puppet/face/key.rb +15 -0
  71. data/lib/puppet/face/man.rb +93 -0
  72. data/lib/puppet/face/node.rb +43 -0
  73. data/lib/puppet/face/parser.rb +42 -0
  74. data/lib/puppet/face/plugin.rb +55 -0
  75. data/lib/puppet/face/report.rb +56 -0
  76. data/lib/puppet/face/resource.rb +53 -0
  77. data/lib/puppet/face/resource_type.rb +81 -0
  78. data/lib/puppet/face/secret_agent.rb +54 -0
  79. data/lib/puppet/face/status.rb +52 -0
  80. data/lib/puppet/feature/ssh.rb +4 -0
  81. data/lib/puppet/file_bucket/dipper.rb +3 -3
  82. data/lib/puppet/file_bucket/file.rb +6 -5
  83. data/lib/puppet/file_bucket/file/indirection_hooks.rb +9 -0
  84. data/lib/puppet/file_serving/configuration.rb +1 -2
  85. data/lib/puppet/file_serving/content.rb +2 -1
  86. data/lib/puppet/file_serving/{terminus_selector.rb → indirection_hooks.rb} +3 -2
  87. data/lib/puppet/file_serving/metadata.rb +2 -1
  88. data/lib/puppet/file_serving/mount/modules.rb +5 -4
  89. data/lib/puppet/indirector.rb +16 -43
  90. data/lib/puppet/indirector/catalog/active_record.rb +1 -1
  91. data/lib/puppet/indirector/catalog/compiler.rb +5 -15
  92. data/lib/puppet/indirector/catalog/static_compiler.rb +137 -0
  93. data/lib/puppet/indirector/certificate_request/ca.rb +8 -0
  94. data/lib/puppet/indirector/certificate_status.rb +4 -0
  95. data/lib/puppet/indirector/certificate_status/file.rb +82 -0
  96. data/lib/puppet/indirector/certificate_status/rest.rb +10 -0
  97. data/lib/puppet/indirector/couch.rb +5 -3
  98. data/lib/puppet/indirector/exec.rb +3 -3
  99. data/lib/puppet/indirector/face.rb +127 -0
  100. data/lib/puppet/indirector/facts/network_device.rb +25 -0
  101. data/lib/puppet/indirector/file.rb +79 -0
  102. data/lib/puppet/indirector/file_bucket_file/file.rb +0 -4
  103. data/lib/puppet/indirector/indirection.rb +1 -2
  104. data/lib/puppet/indirector/inventory/yaml.rb +81 -0
  105. data/lib/puppet/indirector/report/processor.rb +0 -2
  106. data/lib/puppet/indirector/request.rb +0 -4
  107. data/lib/puppet/indirector/resource/ral.rb +0 -4
  108. data/lib/puppet/indirector/resource_type/parser.rb +19 -3
  109. data/lib/puppet/indirector/rest.rb +11 -5
  110. data/lib/puppet/indirector/run/local.rb +0 -4
  111. data/lib/puppet/indirector/ssl_file.rb +1 -5
  112. data/lib/puppet/indirector/terminus.rb +3 -26
  113. data/lib/puppet/indirector/yaml.rb +0 -5
  114. data/lib/puppet/interface.rb +156 -0
  115. data/lib/puppet/interface/action.rb +284 -0
  116. data/lib/puppet/interface/action_builder.rb +74 -0
  117. data/lib/puppet/interface/action_manager.rb +70 -0
  118. data/lib/puppet/interface/documentation.rb +230 -0
  119. data/lib/puppet/interface/face_collection.rb +137 -0
  120. data/lib/puppet/interface/option.rb +108 -0
  121. data/lib/puppet/interface/option_builder.rb +54 -0
  122. data/lib/puppet/interface/option_manager.rb +67 -0
  123. data/lib/puppet/metatype/manager.rb +20 -7
  124. data/lib/puppet/module.rb +1 -1
  125. data/lib/puppet/network/client.rb +179 -0
  126. data/lib/puppet/network/client/ca.rb +56 -0
  127. data/lib/puppet/network/client/file.rb +6 -0
  128. data/lib/puppet/network/client/proxy.rb +27 -0
  129. data/lib/puppet/network/client/report.rb +26 -0
  130. data/lib/puppet/network/client/runner.rb +10 -0
  131. data/lib/puppet/network/client/status.rb +4 -0
  132. data/lib/puppet/network/format.rb +1 -1
  133. data/lib/puppet/network/formats.rb +63 -0
  134. data/lib/puppet/network/handler/ca.rb +106 -16
  135. data/lib/puppet/network/handler/filebucket.rb +2 -4
  136. data/lib/puppet/network/handler/fileserver.rb +3 -2
  137. data/lib/puppet/network/handler/master.rb +5 -3
  138. data/lib/puppet/network/handler/report.rb +0 -2
  139. data/lib/puppet/network/handler/runner.rb +0 -2
  140. data/lib/puppet/network/handler/status.rb +0 -2
  141. data/lib/puppet/network/http/api/v1.rb +11 -3
  142. data/lib/puppet/network/http/handler.rb +26 -35
  143. data/lib/puppet/network/http/rack/rest.rb +2 -7
  144. data/lib/puppet/network/http/webrick.rb +1 -2
  145. data/lib/puppet/network/http_pool.rb +8 -17
  146. data/lib/puppet/network/http_server/mongrel.rb +1 -0
  147. data/lib/puppet/network/http_server/webrick.rb +155 -0
  148. data/lib/puppet/network/rest_authconfig.rb +4 -3
  149. data/lib/puppet/network/rest_authorization.rb +2 -2
  150. data/lib/puppet/network/rights.rb +4 -9
  151. data/lib/puppet/network/server.rb +1 -1
  152. data/lib/puppet/network/xmlrpc/client.rb +211 -0
  153. data/lib/puppet/node.rb +2 -1
  154. data/lib/puppet/node/environment.rb +30 -3
  155. data/lib/puppet/node/facts.rb +15 -15
  156. data/lib/puppet/node/inventory.rb +7 -0
  157. data/lib/puppet/parser/ast.rb +6 -2
  158. data/lib/puppet/parser/ast/astarray.rb +12 -23
  159. data/lib/puppet/parser/ast/caseopt.rb +12 -24
  160. data/lib/puppet/parser/ast/definition.rb +17 -0
  161. data/lib/puppet/parser/ast/hostclass.rb +29 -0
  162. data/lib/puppet/parser/ast/leaf.rb +2 -2
  163. data/lib/puppet/parser/ast/node.rb +20 -0
  164. data/lib/puppet/parser/ast/resource.rb +42 -50
  165. data/lib/puppet/parser/ast/resource_instance.rb +9 -0
  166. data/lib/puppet/parser/ast/resource_override.rb +2 -3
  167. data/lib/puppet/parser/ast/resource_reference.rb +1 -1
  168. data/lib/puppet/parser/ast/top_level_construct.rb +4 -0
  169. data/lib/puppet/parser/ast/vardef.rb +1 -1
  170. data/lib/puppet/parser/compiler.rb +16 -17
  171. data/lib/puppet/parser/functions/create_resources.rb +47 -0
  172. data/lib/puppet/parser/functions/extlookup.rb +2 -7
  173. data/lib/puppet/parser/functions/fqdn_rand.rb +2 -2
  174. data/lib/puppet/parser/functions/sha1.rb +1 -1
  175. data/lib/puppet/parser/grammar.ra +67 -144
  176. data/lib/puppet/parser/lexer.rb +1 -1
  177. data/lib/puppet/parser/parser.rb +1190 -1262
  178. data/lib/puppet/parser/parser_support.rb +48 -73
  179. data/lib/puppet/parser/resource.rb +2 -19
  180. data/lib/puppet/parser/scope.rb +33 -103
  181. data/lib/puppet/parser/templatewrapper.rb +21 -22
  182. data/lib/puppet/parser/type_loader.rb +60 -35
  183. data/lib/puppet/provider/aixobject.rb +393 -0
  184. data/lib/puppet/provider/augeas/augeas.rb +37 -15
  185. data/lib/puppet/provider/cisco.rb +9 -0
  186. data/lib/puppet/provider/cron/crontab.rb +1 -7
  187. data/lib/puppet/provider/exec/posix.rb +3 -6
  188. data/lib/puppet/provider/exec/shell.rb +2 -11
  189. data/lib/puppet/provider/file/posix.rb +1 -1
  190. data/lib/puppet/provider/file/win32.rb +1 -1
  191. data/lib/puppet/provider/group/aix.rb +141 -0
  192. data/lib/puppet/provider/group/directoryservice.rb +0 -14
  193. data/lib/puppet/provider/host/parsed.rb +23 -55
  194. data/lib/puppet/provider/interface/base.rb +0 -0
  195. data/lib/puppet/provider/interface/cisco.rb +27 -0
  196. data/lib/puppet/provider/mcx/mcxcontent.rb +57 -96
  197. data/lib/puppet/provider/mount/parsed.rb +1 -1
  198. data/lib/puppet/provider/naginator.rb +1 -9
  199. data/lib/puppet/provider/nameservice/directoryservice.rb +41 -26
  200. data/lib/puppet/provider/network_device.rb +68 -0
  201. data/lib/puppet/provider/package/appdmg.rb +13 -13
  202. data/lib/puppet/provider/package/aptitude.rb +0 -1
  203. data/lib/puppet/provider/package/pip.rb +109 -0
  204. data/lib/puppet/provider/package/pkgdmg.rb +24 -32
  205. data/lib/puppet/provider/package/pkgutil.rb +175 -0
  206. data/lib/puppet/provider/package/yum.rb +8 -1
  207. data/lib/puppet/provider/service/daemontools.rb +1 -1
  208. data/lib/puppet/provider/service/launchd.rb +1 -1
  209. data/lib/puppet/provider/service/smf.rb +3 -3
  210. data/lib/puppet/provider/service/upstart.rb +73 -0
  211. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -10
  212. data/lib/puppet/provider/user/aix.rb +353 -0
  213. data/lib/puppet/provider/user/directoryservice.rb +0 -14
  214. data/lib/puppet/provider/user/user_role_add.rb +17 -32
  215. data/lib/puppet/provider/vlan/cisco.rb +28 -0
  216. data/lib/puppet/provider/zfs/solaris.rb +1 -1
  217. data/lib/puppet/provider/zone/solaris.rb +3 -0
  218. data/lib/puppet/provider/zpool/solaris.rb +7 -5
  219. data/lib/puppet/rails.rb +1 -1
  220. data/lib/puppet/rails/benchmark.rb +1 -1
  221. data/lib/puppet/rails/fact_name.rb +1 -0
  222. data/lib/puppet/rails/host.rb +0 -7
  223. data/lib/puppet/reference/configuration.rb +26 -101
  224. data/lib/puppet/reports/store.rb +3 -7
  225. data/lib/puppet/resource.rb +1 -1
  226. data/lib/puppet/resource/catalog.rb +86 -36
  227. data/lib/puppet/resource/type.rb +10 -15
  228. data/lib/puppet/resource/type_collection.rb +55 -63
  229. data/lib/puppet/simple_graph.rb +370 -269
  230. data/lib/puppet/ssl/base.rb +0 -8
  231. data/lib/puppet/ssl/certificate.rb +0 -6
  232. data/lib/puppet/ssl/certificate_authority.rb +24 -109
  233. data/lib/puppet/ssl/certificate_authority/interface.rb +19 -66
  234. data/lib/puppet/ssl/certificate_factory.rb +91 -112
  235. data/lib/puppet/ssl/certificate_request.rb +15 -98
  236. data/lib/puppet/ssl/certificate_revocation_list.rb +1 -1
  237. data/lib/puppet/ssl/host.rb +85 -51
  238. data/lib/puppet/ssl/inventory.rb +1 -1
  239. data/lib/puppet/sslcertificates.rb +146 -0
  240. data/lib/puppet/sslcertificates/ca.rb +375 -0
  241. data/lib/puppet/sslcertificates/certificate.rb +255 -0
  242. data/lib/puppet/sslcertificates/inventory.rb +38 -0
  243. data/lib/puppet/sslcertificates/support.rb +146 -0
  244. data/lib/puppet/status.rb +1 -1
  245. data/lib/puppet/transaction.rb +163 -94
  246. data/lib/puppet/transaction/event.rb +1 -1
  247. data/lib/puppet/transaction/event_manager.rb +19 -3
  248. data/lib/puppet/transaction/report.rb +9 -3
  249. data/lib/puppet/type.rb +107 -62
  250. data/lib/puppet/type/augeas.rb +10 -14
  251. data/lib/puppet/type/cron.rb +13 -14
  252. data/lib/puppet/type/exec.rb +0 -9
  253. data/lib/puppet/type/file.rb +20 -29
  254. data/lib/puppet/type/file/ctime.rb +1 -1
  255. data/lib/puppet/type/file/ensure.rb +1 -1
  256. data/lib/puppet/type/file/group.rb +1 -1
  257. data/lib/puppet/type/file/mode.rb +1 -1
  258. data/lib/puppet/type/file/mtime.rb +1 -1
  259. data/lib/puppet/type/file/selcontext.rb +1 -1
  260. data/lib/puppet/type/file/source.rb +3 -3
  261. data/lib/puppet/type/file/type.rb +1 -1
  262. data/lib/puppet/type/group.rb +36 -0
  263. data/lib/puppet/type/host.rb +18 -43
  264. data/lib/puppet/type/interface.rb +109 -0
  265. data/lib/puppet/type/k5login.rb +1 -4
  266. data/lib/puppet/type/macauthorization.rb +3 -3
  267. data/lib/puppet/type/mcx.rb +2 -21
  268. data/lib/puppet/type/router.rb +14 -0
  269. data/lib/puppet/type/schedule.rb +2 -0
  270. data/lib/puppet/type/service.rb +2 -0
  271. data/lib/puppet/type/sshkey.rb +6 -1
  272. data/lib/puppet/type/tidy.rb +12 -12
  273. data/lib/puppet/type/user.rb +36 -9
  274. data/lib/puppet/type/vlan.rb +26 -0
  275. data/lib/puppet/type/whit.rb +13 -1
  276. data/lib/puppet/type/zfs.rb +100 -8
  277. data/lib/puppet/type/zone.rb +45 -1
  278. data/lib/puppet/type/zpool.rb +1 -0
  279. data/lib/puppet/util.rb +63 -91
  280. data/lib/puppet/util/autoload.rb +16 -14
  281. data/lib/puppet/util/classgen.rb +13 -1
  282. data/lib/puppet/util/command_line.rb +109 -22
  283. data/lib/puppet/util/log.rb +1 -0
  284. data/lib/puppet/util/log/destinations.rb +16 -4
  285. data/lib/puppet/util/logging.rb +11 -0
  286. data/lib/puppet/util/monkey_patches.rb +7 -77
  287. data/lib/puppet/util/network_device.rb +17 -0
  288. data/lib/puppet/util/network_device/base.rb +27 -0
  289. data/lib/puppet/util/network_device/cisco.rb +4 -0
  290. data/lib/puppet/util/network_device/cisco/device.rb +256 -0
  291. data/lib/puppet/util/network_device/cisco/facts.rb +72 -0
  292. data/lib/puppet/util/network_device/cisco/interface.rb +82 -0
  293. data/lib/puppet/util/network_device/config.rb +93 -0
  294. data/lib/puppet/util/network_device/ipcalc.rb +68 -0
  295. data/lib/puppet/util/network_device/transport.rb +3 -0
  296. data/lib/puppet/util/network_device/transport/base.rb +26 -0
  297. data/lib/puppet/util/network_device/transport/ssh.rb +121 -0
  298. data/lib/puppet/util/network_device/transport/telnet.rb +42 -0
  299. data/lib/puppet/util/rdoc.rb +4 -10
  300. data/lib/puppet/util/rdoc/parser.rb +34 -23
  301. data/lib/puppet/util/reference.rb +7 -8
  302. data/lib/puppet/util/selinux.rb +2 -2
  303. data/lib/puppet/util/settings.rb +1 -6
  304. data/lib/puppet/util/settings/file_setting.rb +0 -1
  305. data/lib/puppet/util/suidmanager.rb +30 -79
  306. data/lib/puppet/util/zaml.rb +41 -40
  307. data/man/man5/puppet.conf.5 +291 -873
  308. data/man/man8/filebucket.8 +47 -71
  309. data/man/man8/pi.8 +44 -10
  310. data/man/man8/puppet-agent.8 +154 -0
  311. data/man/man8/puppet-apply.8 +75 -0
  312. data/man/man8/puppet-catalog.8 +286 -0
  313. data/man/man8/puppet-cert.8 +97 -0
  314. data/man/man8/puppet-certificate.8 +229 -0
  315. data/man/man8/puppet-certificate_request.8 +168 -0
  316. data/man/man8/puppet-certificate_revocation_list.8 +165 -0
  317. data/man/man8/puppet-config.8 +80 -0
  318. data/man/man8/puppet-describe.8 +51 -0
  319. data/man/man8/puppet-device.8 +86 -0
  320. data/man/man8/puppet-doc.8 +101 -0
  321. data/man/man8/puppet-facts.8 +217 -0
  322. data/man/man8/puppet-file.8 +225 -0
  323. data/man/man8/puppet-filebucket.8 +81 -0
  324. data/man/man8/puppet-help.8 +71 -0
  325. data/man/man8/puppet-inspect.8 +28 -0
  326. data/man/man8/puppet-key.8 +126 -0
  327. data/man/man8/puppet-kick.8 +95 -0
  328. data/man/man8/puppet-man.8 +74 -0
  329. data/man/man8/puppet-master.8 +74 -0
  330. data/man/man8/puppet-node.8 +171 -0
  331. data/man/man8/puppet-parser.8 +71 -0
  332. data/man/man8/puppet-plugin.8 +77 -0
  333. data/man/man8/puppet-queue.8 +55 -0
  334. data/man/man8/puppet-report.8 +187 -0
  335. data/man/man8/puppet-resource.8 +84 -0
  336. data/man/man8/puppet-resource_type.8 +214 -0
  337. data/man/man8/puppet-secret_agent.8 +74 -0
  338. data/man/man8/puppet-status.8 +150 -0
  339. data/man/man8/puppet.8 +2 -2
  340. data/man/man8/puppetca.8 +64 -136
  341. data/man/man8/puppetd.8 +99 -228
  342. data/man/man8/puppetdoc.8 +41 -48
  343. data/man/man8/puppetmasterd.8 +54 -32
  344. data/man/man8/puppetqd.8 +45 -10
  345. data/man/man8/puppetrun.8 +56 -134
  346. data/man/man8/ralsh.8 +48 -49
  347. data/spec/fixtures/faulty_face/puppet/face/syntax.rb +8 -0
  348. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +28 -0
  349. data/spec/fixtures/unit/parser/lexer/aliastest.pp +16 -0
  350. data/spec/fixtures/unit/parser/lexer/append.pp +11 -0
  351. data/spec/fixtures/unit/parser/lexer/argumentdefaults.pp +14 -0
  352. data/spec/fixtures/unit/parser/lexer/arithmetic_expression.pp +8 -0
  353. data/spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp +3 -0
  354. data/spec/fixtures/unit/parser/lexer/casestatement.pp +65 -0
  355. data/spec/fixtures/unit/parser/lexer/classheirarchy.pp +15 -0
  356. data/spec/fixtures/unit/parser/lexer/classincludes.pp +17 -0
  357. data/spec/fixtures/unit/parser/lexer/classpathtest.pp +11 -0
  358. data/spec/fixtures/unit/parser/lexer/collection.pp +10 -0
  359. data/spec/fixtures/unit/parser/lexer/collection_override.pp +8 -0
  360. data/spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp +20 -0
  361. data/spec/fixtures/unit/parser/lexer/componentmetaparams.pp +11 -0
  362. data/spec/fixtures/unit/parser/lexer/componentrequire.pp +8 -0
  363. data/spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp +23 -0
  364. data/spec/fixtures/unit/parser/lexer/defineoverrides.pp +17 -0
  365. data/spec/fixtures/unit/parser/lexer/emptyclass.pp +9 -0
  366. data/spec/fixtures/unit/parser/lexer/emptyexec.pp +3 -0
  367. data/spec/fixtures/unit/parser/lexer/emptyifelse.pp +9 -0
  368. data/spec/fixtures/unit/parser/lexer/falsevalues.pp +3 -0
  369. data/spec/fixtures/unit/parser/lexer/filecreate.pp +11 -0
  370. data/spec/fixtures/unit/parser/lexer/fqdefinition.pp +5 -0
  371. data/spec/fixtures/unit/parser/lexer/fqparents.pp +11 -0
  372. data/spec/fixtures/unit/parser/lexer/funccomma.pp +5 -0
  373. data/spec/fixtures/unit/parser/lexer/hash.pp +33 -0
  374. data/spec/fixtures/unit/parser/lexer/ifexpression.pp +12 -0
  375. data/spec/fixtures/unit/parser/lexer/implicititeration.pp +15 -0
  376. data/spec/fixtures/unit/parser/lexer/multilinecomments.pp +10 -0
  377. data/spec/fixtures/unit/parser/lexer/multipleclass.pp +9 -0
  378. data/spec/fixtures/unit/parser/lexer/multipleinstances.pp +7 -0
  379. data/spec/fixtures/unit/parser/lexer/multisubs.pp +13 -0
  380. data/spec/fixtures/unit/parser/lexer/namevartest.pp +9 -0
  381. data/spec/fixtures/unit/parser/lexer/scopetest.pp +13 -0
  382. data/spec/fixtures/unit/parser/lexer/selectorvalues.pp +49 -0
  383. data/spec/fixtures/unit/parser/lexer/simpledefaults.pp +5 -0
  384. data/spec/fixtures/unit/parser/lexer/simpleselector.pp +38 -0
  385. data/spec/fixtures/unit/parser/lexer/singleary.pp +19 -0
  386. data/spec/fixtures/unit/parser/lexer/singlequote.pp +11 -0
  387. data/spec/fixtures/unit/parser/lexer/singleselector.pp +22 -0
  388. data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +11 -0
  389. data/spec/fixtures/unit/parser/lexer/tag.pp +9 -0
  390. data/spec/fixtures/unit/parser/lexer/tagged.pp +35 -0
  391. data/spec/fixtures/unit/parser/lexer/virtualresources.pp +14 -0
  392. data/spec/fixtures/unit/provider/host/parsed/valid_hosts +19 -0
  393. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +144 -0
  394. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -0
  395. data/spec/fixtures/unit/provider/mount/parsed/darwin.mount +6 -0
  396. data/spec/fixtures/unit/provider/mount/parsed/freebsd.fstab +8 -0
  397. data/spec/fixtures/unit/provider/mount/parsed/freebsd.mount +3 -0
  398. data/spec/fixtures/unit/provider/mount/parsed/hpux.mount +17 -0
  399. data/spec/fixtures/unit/provider/mount/parsed/linux.fstab +11 -0
  400. data/spec/fixtures/unit/provider/mount/parsed/linux.mount +5 -0
  401. data/spec/fixtures/unit/provider/mount/parsed/netbsd.fstab +9 -0
  402. data/spec/fixtures/unit/provider/mount/parsed/netbsd.mount +8 -0
  403. data/spec/fixtures/unit/provider/mount/parsed/openbsd.fstab +4 -0
  404. data/spec/fixtures/unit/provider/mount/parsed/openbsd.mount +4 -0
  405. data/spec/fixtures/unit/provider/mount/parsed/solaris.fstab +11 -0
  406. data/spec/fixtures/unit/provider/mount/parsed/solaris.mount +6 -0
  407. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys +7 -0
  408. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1 +3 -0
  409. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2 +1 -0
  410. data/spec/fixtures/unit/reports/tagmail/tagmail_failers.conf +3 -0
  411. data/spec/fixtures/unit/reports/tagmail/tagmail_passers.conf +30 -0
  412. data/spec/fixtures/unit/util/rdoc/basic.pp +16 -0
  413. data/spec/integration/application/apply_spec.rb +2 -5
  414. data/spec/integration/application/doc_spec.rb +5 -6
  415. data/spec/integration/configurer_spec.rb +10 -6
  416. data/spec/integration/defaults_spec.rb +18 -52
  417. data/spec/integration/faces/documentation_spec.rb +55 -0
  418. data/spec/integration/file_serving/content_spec.rb +10 -3
  419. data/spec/integration/file_serving/fileset_spec.rb +2 -3
  420. data/spec/integration/file_serving/metadata_spec.rb +10 -3
  421. data/spec/integration/file_serving/terminus_helper_spec.rb +2 -3
  422. data/spec/integration/indirector/catalog/compiler_spec.rb +7 -12
  423. data/spec/integration/indirector/catalog/queue_spec.rb +3 -4
  424. data/spec/integration/indirector/direct_file_server_spec.rb +2 -2
  425. data/spec/integration/indirector/file_content/file_server_spec.rb +7 -7
  426. data/spec/integration/indirector/file_metadata/file_server_spec.rb +2 -2
  427. data/spec/integration/indirector/node/ldap_spec.rb +3 -4
  428. data/spec/integration/network/client_spec.rb +18 -0
  429. data/spec/integration/network/formats_spec.rb +3 -4
  430. data/spec/integration/network/handler_spec.rb +3 -4
  431. data/spec/integration/network/server/mongrel_spec.rb +3 -4
  432. data/spec/integration/network/server/webrick_spec.rb +4 -4
  433. data/spec/integration/node/environment_spec.rb +2 -3
  434. data/spec/integration/node/facts_spec.rb +6 -6
  435. data/spec/integration/node_spec.rb +16 -16
  436. data/spec/integration/parser/collector_spec.rb +3 -4
  437. data/spec/integration/parser/compiler_spec.rb +43 -3
  438. data/spec/integration/parser/functions/require_spec.rb +2 -3
  439. data/spec/integration/parser/functions_spec.rb +3 -4
  440. data/spec/integration/parser/parser_spec.rb +7 -6
  441. data/spec/integration/parser/ruby_manifest_spec.rb +2 -3
  442. data/spec/integration/provider/mailalias/aliases_spec.rb +5 -19
  443. data/spec/integration/provider/mount_spec.rb +2 -2
  444. data/spec/integration/provider/package_spec.rb +3 -4
  445. data/spec/integration/provider/service/init_spec.rb +4 -6
  446. data/spec/integration/reference/providers_spec.rb +2 -3
  447. data/spec/integration/reports_spec.rb +2 -2
  448. data/spec/integration/resource/catalog_spec.rb +6 -7
  449. data/spec/integration/resource/type_collection_spec.rb +2 -3
  450. data/spec/integration/ssl/certificate_authority_spec.rb +7 -7
  451. data/spec/integration/ssl/certificate_request_spec.rb +7 -7
  452. data/spec/integration/ssl/certificate_revocation_list_spec.rb +2 -2
  453. data/spec/integration/ssl/host_spec.rb +4 -4
  454. data/spec/integration/transaction/report_spec.rb +3 -3
  455. data/spec/integration/transaction_spec.rb +61 -6
  456. data/spec/integration/type/file_spec.rb +10 -8
  457. data/spec/integration/type/package_spec.rb +2 -3
  458. data/spec/integration/type/tidy_spec.rb +2 -3
  459. data/spec/integration/type_spec.rb +2 -14
  460. data/spec/integration/util/autoload_spec.rb +2 -3
  461. data/spec/integration/util/feature_spec.rb +2 -3
  462. data/spec/integration/util/file_locking_spec.rb +3 -4
  463. data/spec/integration/util/rdoc/parser_spec.rb +3 -4
  464. data/spec/integration/util/settings_spec.rb +2 -3
  465. data/spec/lib/matchers/json.rb +111 -0
  466. data/spec/lib/puppet/face/basetest.rb +46 -0
  467. data/spec/lib/puppet/face/huzzah.rb +7 -0
  468. data/spec/lib/puppet/face/version_matching.rb +12 -0
  469. data/spec/lib/puppet_spec/files.rb +38 -5
  470. data/spec/lib/puppet_spec/fixtures.rb +28 -0
  471. data/spec/lib/puppet_spec/matchers.rb +87 -0
  472. data/spec/lib/puppet_spec/verbose.rb +0 -0
  473. data/spec/monkey_patches/alias_should_to_must.rb +0 -0
  474. data/spec/monkey_patches/publicize_methods.rb +0 -0
  475. data/spec/shared_behaviours/all_parsedfile_providers.rb +21 -0
  476. data/spec/shared_behaviours/an_indirector_face.rb +6 -0
  477. data/spec/shared_behaviours/documentation_on_faces.rb +263 -0
  478. data/spec/shared_behaviours/file_server_terminus.rb +1 -1
  479. data/spec/shared_behaviours/file_serving.rb +61 -70
  480. data/spec/shared_behaviours/memory_terminus.rb +0 -0
  481. data/spec/shared_behaviours/path_parameters.rb +0 -0
  482. data/spec/shared_behaviours/things_that_declare_options.rb +150 -0
  483. data/spec/spec.opts +0 -2
  484. data/spec/spec_helper.rb +33 -75
  485. data/spec/unit/agent/locker_spec.rb +2 -3
  486. data/spec/unit/agent_spec.rb +2 -2
  487. data/spec/unit/application/agent_spec.rb +51 -76
  488. data/spec/unit/application/apply_spec.rb +86 -150
  489. data/spec/unit/application/cert_spec.rb +8 -30
  490. data/spec/unit/application/certificate_spec.rb +20 -0
  491. data/spec/unit/application/config_spec.rb +9 -0
  492. data/spec/unit/application/describe_spec.rb +2 -3
  493. data/spec/unit/application/device_spec.rb +342 -0
  494. data/spec/unit/application/doc_spec.rb +11 -18
  495. data/spec/unit/application/face_base_spec.rb +360 -0
  496. data/spec/unit/application/facts_spec.rb +27 -0
  497. data/spec/unit/application/filebucket_spec.rb +7 -18
  498. data/spec/unit/application/indirection_base_spec.rb +42 -0
  499. data/spec/unit/application/inspect_spec.rb +7 -13
  500. data/spec/unit/application/kick_spec.rb +15 -38
  501. data/spec/unit/application/master_spec.rb +25 -81
  502. data/spec/unit/application/queue_spec.rb +12 -22
  503. data/spec/unit/application/resource_spec.rb +19 -53
  504. data/spec/unit/application/secret_agent_spec.rb +32 -0
  505. data/spec/unit/application_spec.rb +65 -34
  506. data/spec/unit/configurer/downloader_spec.rb +2 -3
  507. data/spec/unit/configurer/fact_handler_spec.rb +39 -46
  508. data/spec/unit/configurer/plugin_handler_spec.rb +2 -3
  509. data/spec/unit/configurer_spec.rb +329 -411
  510. data/spec/unit/daemon_spec.rb +7 -14
  511. data/spec/unit/dsl/resource_api_spec.rb +2 -3
  512. data/spec/unit/dsl/resource_type_api_spec.rb +24 -37
  513. data/spec/unit/face/catalog_spec.rb +7 -0
  514. data/spec/unit/face/certificate_request_spec.rb +7 -0
  515. data/spec/unit/face/certificate_revocation_list_spec.rb +7 -0
  516. data/spec/unit/face/certificate_spec.rb +23 -0
  517. data/spec/unit/face/config_spec.rb +24 -0
  518. data/spec/unit/face/facts_spec.rb +23 -0
  519. data/spec/unit/face/file_spec.rb +12 -0
  520. data/spec/unit/face/help_spec.rb +129 -0
  521. data/spec/unit/face/key_spec.rb +7 -0
  522. data/spec/unit/face/node_spec.rb +7 -0
  523. data/spec/unit/face/plugin_spec.rb +10 -0
  524. data/spec/unit/face/report_spec.rb +7 -0
  525. data/spec/unit/face/resource_spec.rb +7 -0
  526. data/spec/unit/face/resource_type_spec.rb +7 -0
  527. data/spec/unit/face/secret_agent_spec.rb +25 -0
  528. data/spec/unit/face_spec.rb +1 -0
  529. data/spec/unit/file_bucket/dipper_spec.rb +7 -8
  530. data/spec/unit/file_bucket/file_spec.rb +7 -16
  531. data/spec/unit/file_collection/lookup_spec.rb +2 -3
  532. data/spec/unit/file_collection_spec.rb +2 -3
  533. data/spec/unit/file_serving/base_spec.rb +2 -3
  534. data/spec/unit/file_serving/configuration/parser_spec.rb +2 -3
  535. data/spec/unit/file_serving/configuration_spec.rb +31 -40
  536. data/spec/unit/file_serving/content_spec.rb +6 -3
  537. data/spec/unit/file_serving/fileset_spec.rb +2 -3
  538. data/spec/unit/file_serving/{terminus_selector_spec.rb → indirection_hooks_spec.rb} +14 -13
  539. data/spec/unit/file_serving/metadata_spec.rb +6 -3
  540. data/spec/unit/file_serving/mount/file_spec.rb +2 -3
  541. data/spec/unit/file_serving/mount/modules_spec.rb +2 -11
  542. data/spec/unit/file_serving/mount/plugins_spec.rb +2 -3
  543. data/spec/unit/file_serving/mount_spec.rb +2 -3
  544. data/spec/unit/file_serving/terminus_helper_spec.rb +2 -2
  545. data/spec/unit/indirector/active_record_spec.rb +5 -7
  546. data/spec/unit/indirector/catalog/active_record_spec.rb +2 -3
  547. data/spec/unit/indirector/catalog/compiler_spec.rb +30 -50
  548. data/spec/unit/indirector/catalog/queue_spec.rb +2 -3
  549. data/spec/unit/indirector/catalog/rest_spec.rb +2 -3
  550. data/spec/unit/indirector/catalog/yaml_spec.rb +2 -3
  551. data/spec/unit/indirector/certificate/ca_spec.rb +2 -2
  552. data/spec/unit/indirector/certificate/file_spec.rb +2 -2
  553. data/spec/unit/indirector/certificate/rest_spec.rb +2 -3
  554. data/spec/unit/indirector/certificate_request/ca_spec.rb +47 -2
  555. data/spec/unit/indirector/certificate_request/file_spec.rb +2 -2
  556. data/spec/unit/indirector/certificate_request/rest_spec.rb +2 -3
  557. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +2 -2
  558. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +2 -2
  559. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +2 -3
  560. data/spec/unit/indirector/certificate_status/file_spec.rb +187 -0
  561. data/spec/unit/indirector/certificate_status/rest_spec.rb +14 -0
  562. data/spec/unit/indirector/code_spec.rb +6 -8
  563. data/spec/unit/indirector/direct_file_server_spec.rb +6 -7
  564. data/spec/unit/indirector/envelope_spec.rb +2 -3
  565. data/spec/unit/indirector/exec_spec.rb +12 -13
  566. data/spec/unit/indirector/face_spec.rb +68 -0
  567. data/spec/unit/indirector/facts/active_record_spec.rb +2 -3
  568. data/spec/unit/indirector/facts/couch_spec.rb +71 -66
  569. data/spec/unit/indirector/facts/facter_spec.rb +2 -2
  570. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +20 -20
  571. data/spec/unit/indirector/facts/network_device_spec.rb +89 -0
  572. data/spec/unit/indirector/facts/rest_spec.rb +2 -3
  573. data/spec/unit/indirector/facts/yaml_spec.rb +2 -3
  574. data/spec/unit/indirector/file_bucket_file/file_spec.rb +17 -18
  575. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +2 -3
  576. data/spec/unit/indirector/file_content/file_server_spec.rb +2 -2
  577. data/spec/unit/indirector/file_content/file_spec.rb +2 -2
  578. data/spec/unit/indirector/file_content/rest_spec.rb +2 -3
  579. data/spec/unit/indirector/file_metadata/file_server_spec.rb +2 -2
  580. data/spec/unit/indirector/file_metadata/file_spec.rb +2 -2
  581. data/spec/unit/indirector/file_metadata/rest_spec.rb +2 -3
  582. data/spec/unit/indirector/file_server_spec.rb +8 -7
  583. data/spec/unit/indirector/file_spec.rb +179 -0
  584. data/spec/unit/indirector/indirection_spec.rb +3 -24
  585. data/spec/unit/indirector/inventory/yaml_spec.rb +220 -0
  586. data/spec/unit/indirector/key/ca_spec.rb +2 -2
  587. data/spec/unit/indirector/key/file_spec.rb +2 -2
  588. data/spec/unit/indirector/ldap_spec.rb +6 -8
  589. data/spec/unit/indirector/memory_spec.rb +5 -7
  590. data/spec/unit/indirector/node/active_record_spec.rb +2 -3
  591. data/spec/unit/indirector/node/exec_spec.rb +3 -4
  592. data/spec/unit/indirector/node/ldap_spec.rb +3 -4
  593. data/spec/unit/indirector/node/memory_spec.rb +2 -3
  594. data/spec/unit/indirector/node/plain_spec.rb +2 -3
  595. data/spec/unit/indirector/node/rest_spec.rb +2 -3
  596. data/spec/unit/indirector/node/yaml_spec.rb +2 -3
  597. data/spec/unit/indirector/plain_spec.rb +5 -7
  598. data/spec/unit/indirector/queue_spec.rb +11 -14
  599. data/spec/unit/indirector/report/processor_spec.rb +7 -9
  600. data/spec/unit/indirector/report/rest_spec.rb +2 -3
  601. data/spec/unit/indirector/report/yaml_spec.rb +3 -4
  602. data/spec/unit/indirector/request_spec.rb +3 -25
  603. data/spec/unit/indirector/resource/ral_spec.rb +3 -4
  604. data/spec/unit/indirector/resource/rest_spec.rb +2 -3
  605. data/spec/unit/indirector/resource_type/parser_spec.rb +87 -13
  606. data/spec/unit/indirector/resource_type/rest_spec.rb +2 -3
  607. data/spec/unit/indirector/rest_spec.rb +45 -16
  608. data/spec/unit/indirector/run/local_spec.rb +2 -3
  609. data/spec/unit/indirector/run/rest_spec.rb +2 -3
  610. data/spec/unit/indirector/ssl_file_spec.rb +9 -27
  611. data/spec/unit/indirector/status/rest_spec.rb +2 -3
  612. data/spec/unit/indirector/terminus_spec.rb +180 -187
  613. data/spec/unit/indirector/yaml_spec.rb +9 -23
  614. data/spec/unit/indirector_spec.rb +61 -79
  615. data/spec/unit/interface/action_builder_spec.rb +214 -0
  616. data/spec/unit/interface/action_manager_spec.rb +282 -0
  617. data/spec/unit/interface/action_spec.rb +545 -0
  618. data/spec/unit/interface/documentation_spec.rb +34 -0
  619. data/spec/unit/interface/face_collection_spec.rb +180 -0
  620. data/spec/unit/interface/option_builder_spec.rb +77 -0
  621. data/spec/unit/interface/option_spec.rb +100 -0
  622. data/spec/unit/interface_spec.rb +228 -0
  623. data/spec/unit/module_spec.rb +34 -10
  624. data/spec/unit/network/authconfig_spec.rb +3 -4
  625. data/spec/unit/network/authstore_spec.rb +3 -4
  626. data/spec/unit/network/client_spec.rb +45 -0
  627. data/spec/unit/network/format_handler_spec.rb +2 -3
  628. data/spec/unit/network/format_spec.rb +2 -3
  629. data/spec/unit/network/formats_spec.rb +107 -3
  630. data/spec/unit/network/handler/fileserver_spec.rb +3 -4
  631. data/spec/unit/network/http/api/v1_spec.rb +61 -27
  632. data/spec/unit/network/http/compression_spec.rb +2 -3
  633. data/spec/unit/network/http/handler_spec.rb +78 -109
  634. data/spec/unit/network/http/mongrel/rest_spec.rb +3 -4
  635. data/spec/unit/network/http/mongrel_spec.rb +6 -6
  636. data/spec/unit/network/http/rack/rest_spec.rb +2 -20
  637. data/spec/unit/network/http/rack/xmlrpc_spec.rb +2 -3
  638. data/spec/unit/network/http/rack_spec.rb +2 -3
  639. data/spec/unit/network/http/webrick/rest_spec.rb +3 -4
  640. data/spec/unit/network/http/webrick_spec.rb +4 -8
  641. data/spec/unit/network/http_pool_spec.rb +82 -95
  642. data/spec/unit/network/http_spec.rb +2 -2
  643. data/spec/unit/network/rest_authconfig_spec.rb +9 -42
  644. data/spec/unit/network/rights_spec.rb +6 -7
  645. data/spec/unit/network/server_spec.rb +2 -2
  646. data/spec/unit/network/xmlrpc/client_spec.rb +172 -0
  647. data/spec/unit/node/environment_spec.rb +63 -7
  648. data/spec/unit/node/facts_spec.rb +9 -13
  649. data/spec/unit/node_spec.rb +5 -13
  650. data/spec/unit/other/selinux_spec.rb +2 -3
  651. data/spec/unit/other/transbucket_spec.rb +2 -3
  652. data/spec/unit/other/transobject_spec.rb +2 -3
  653. data/spec/unit/parameter/path_spec.rb +2 -2
  654. data/spec/unit/parameter/value_collection_spec.rb +2 -3
  655. data/spec/unit/parameter/value_spec.rb +2 -3
  656. data/spec/unit/parameter_spec.rb +2 -3
  657. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +2 -13
  658. data/spec/unit/parser/ast/astarray_spec.rb +18 -36
  659. data/spec/unit/parser/ast/asthash_spec.rb +4 -4
  660. data/spec/unit/parser/ast/boolean_operator_spec.rb +2 -3
  661. data/spec/unit/parser/ast/casestatement_spec.rb +17 -14
  662. data/spec/unit/parser/ast/collection_spec.rb +2 -3
  663. data/spec/unit/parser/ast/collexpr_spec.rb +2 -3
  664. data/spec/unit/parser/ast/comparison_operator_spec.rb +4 -5
  665. data/spec/unit/parser/ast/definition_spec.rb +21 -0
  666. data/spec/unit/parser/ast/function_spec.rb +3 -4
  667. data/spec/unit/parser/ast/hostclass_spec.rb +72 -0
  668. data/spec/unit/parser/ast/ifstatement_spec.rb +2 -3
  669. data/spec/unit/parser/ast/in_operator_spec.rb +2 -3
  670. data/spec/unit/parser/ast/leaf_spec.rb +23 -19
  671. data/spec/unit/parser/ast/match_operator_spec.rb +2 -3
  672. data/spec/unit/parser/ast/minus_spec.rb +2 -3
  673. data/spec/unit/parser/ast/node_spec.rb +30 -0
  674. data/spec/unit/parser/ast/nop_spec.rb +2 -3
  675. data/spec/unit/parser/ast/not_spec.rb +2 -3
  676. data/spec/unit/parser/ast/relationship_spec.rb +2 -3
  677. data/spec/unit/parser/ast/resource_defaults_spec.rb +2 -3
  678. data/spec/unit/parser/ast/resource_override_spec.rb +2 -3
  679. data/spec/unit/parser/ast/resource_reference_spec.rb +21 -8
  680. data/spec/unit/parser/ast/resource_spec.rb +24 -13
  681. data/spec/unit/parser/ast/selector_spec.rb +3 -4
  682. data/spec/unit/parser/ast/vardef_spec.rb +15 -9
  683. data/spec/unit/parser/ast_spec.rb +2 -3
  684. data/spec/unit/parser/collector_spec.rb +2 -3
  685. data/spec/unit/parser/compiler_spec.rb +62 -35
  686. data/spec/unit/parser/files_spec.rb +2 -3
  687. data/spec/unit/parser/functions/create_resources_spec.rb +137 -0
  688. data/spec/unit/parser/functions/defined_spec.rb +5 -3
  689. data/spec/unit/parser/functions/extlookup_spec.rb +10 -10
  690. data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -13
  691. data/spec/unit/parser/functions/generate_spec.rb +5 -3
  692. data/spec/unit/parser/functions/include_spec.rb +5 -3
  693. data/spec/unit/parser/functions/inline_template_spec.rb +6 -17
  694. data/spec/unit/parser/functions/realize_spec.rb +5 -3
  695. data/spec/unit/parser/functions/regsubst_spec.rb +5 -3
  696. data/spec/unit/parser/functions/require_spec.rb +5 -3
  697. data/spec/unit/parser/functions/shellquote_spec.rb +8 -6
  698. data/spec/unit/parser/functions/split_spec.rb +5 -3
  699. data/spec/unit/parser/functions/sprintf_spec.rb +5 -3
  700. data/spec/unit/parser/functions/tag_spec.rb +5 -3
  701. data/spec/unit/parser/functions/template_spec.rb +6 -21
  702. data/spec/unit/parser/functions/versioncmp_spec.rb +5 -3
  703. data/spec/unit/parser/functions_spec.rb +2 -3
  704. data/spec/unit/parser/lexer_spec.rb +3 -7
  705. data/spec/unit/parser/parser_spec.rb +71 -90
  706. data/spec/unit/parser/relationship_spec.rb +2 -3
  707. data/spec/unit/parser/resource_spec.rb +6 -65
  708. data/spec/unit/parser/scope_spec.rb +28 -179
  709. data/spec/unit/parser/templatewrapper_spec.rb +25 -43
  710. data/spec/unit/parser/type_loader_spec.rb +120 -78
  711. data/spec/unit/property/ensure_spec.rb +2 -3
  712. data/spec/unit/property/keyvalue_spec.rb +4 -8
  713. data/spec/unit/property/list_spec.rb +2 -3
  714. data/spec/unit/property/ordered_list_spec.rb +2 -3
  715. data/spec/unit/property_spec.rb +2 -3
  716. data/spec/unit/provider/augeas/augeas_spec.rb +80 -3
  717. data/spec/unit/provider/cisco_spec.rb +16 -0
  718. data/spec/unit/provider/confine/exists_spec.rb +2 -3
  719. data/spec/unit/provider/confine/false_spec.rb +2 -3
  720. data/spec/unit/provider/confine/feature_spec.rb +2 -3
  721. data/spec/unit/provider/confine/true_spec.rb +2 -3
  722. data/spec/unit/provider/confine/variable_spec.rb +2 -3
  723. data/spec/unit/provider/confine_collection_spec.rb +2 -3
  724. data/spec/unit/provider/confine_spec.rb +2 -3
  725. data/spec/unit/provider/confiner_spec.rb +2 -3
  726. data/spec/unit/provider/exec/posix_spec.rb +2 -2
  727. data/spec/unit/provider/exec/shell_spec.rb +2 -2
  728. data/spec/unit/provider/group/groupadd_spec.rb +2 -3
  729. data/spec/unit/provider/group/ldap_spec.rb +2 -2
  730. data/spec/unit/provider/host/parsed_spec.rb +197 -0
  731. data/spec/unit/provider/interface/cisco_spec.rb +58 -0
  732. data/spec/unit/provider/ldap_spec.rb +2 -2
  733. data/spec/unit/provider/macauthorization_spec.rb +2 -2
  734. data/spec/unit/provider/mcx/mcxcontent_spec.rb +2 -21
  735. data/spec/unit/provider/mount/parsed_spec.rb +61 -86
  736. data/spec/unit/provider/mount_spec.rb +2 -3
  737. data/spec/unit/provider/naginator_spec.rb +2 -3
  738. data/spec/unit/provider/nameservice/directoryservice_spec.rb +2 -63
  739. data/spec/unit/provider/network_device_spec.rb +153 -0
  740. data/spec/unit/provider/package/aix_spec.rb +2 -3
  741. data/spec/unit/provider/package/apt_spec.rb +2 -3
  742. data/spec/unit/provider/package/dpkg_spec.rb +2 -3
  743. data/spec/unit/provider/package/freebsd_spec.rb +2 -3
  744. data/spec/unit/provider/package/gem_spec.rb +2 -3
  745. data/spec/unit/provider/package/hpux_spec.rb +2 -3
  746. data/spec/unit/provider/package/macports_spec.rb +2 -2
  747. data/spec/unit/provider/package/nim_spec.rb +2 -3
  748. data/spec/unit/provider/package/pip_spec.rb +180 -0
  749. data/spec/unit/provider/package/pkg_spec.rb +2 -3
  750. data/spec/unit/provider/package/pkgdmg_spec.rb +49 -56
  751. data/spec/unit/provider/package/pkgutil_spec.rb +182 -0
  752. data/spec/unit/provider/package/yum_spec.rb +66 -0
  753. data/spec/unit/provider/package/zypper_spec.rb +2 -3
  754. data/spec/unit/provider/parsedfile_spec.rb +2 -3
  755. data/spec/unit/provider/selboolean_spec.rb +2 -3
  756. data/spec/unit/provider/selmodule_spec.rb +2 -2
  757. data/spec/unit/provider/service/daemontools_spec.rb +2 -2
  758. data/spec/unit/provider/service/debian_spec.rb +2 -2
  759. data/spec/unit/provider/service/freebsd_spec.rb +2 -3
  760. data/spec/unit/provider/service/init_spec.rb +3 -3
  761. data/spec/unit/provider/service/launchd_spec.rb +2 -2
  762. data/spec/unit/provider/service/redhat_spec.rb +2 -2
  763. data/spec/unit/provider/service/runit_spec.rb +2 -2
  764. data/spec/unit/provider/service/smf_spec.rb +137 -0
  765. data/spec/unit/provider/service/src_spec.rb +7 -7
  766. data/spec/unit/provider/service/upstart.rb +48 -0
  767. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +28 -47
  768. data/spec/unit/provider/sshkey/parsed_spec.rb +2 -3
  769. data/spec/unit/provider/user/hpux_spec.rb +2 -3
  770. data/spec/unit/provider/user/ldap_spec.rb +2 -2
  771. data/spec/unit/provider/user/user_role_add_spec.rb +15 -53
  772. data/spec/unit/provider/user/useradd_spec.rb +2 -3
  773. data/spec/unit/provider/vlan/cisco_spec.rb +56 -0
  774. data/spec/unit/provider/zfs/solaris_spec.rb +4 -4
  775. data/spec/unit/provider/zone/solaris_spec.rb +2 -3
  776. data/spec/unit/provider/zpool/solaris_spec.rb +33 -4
  777. data/spec/unit/provider_spec.rb +2 -3
  778. data/spec/unit/puppet/provider/README.markdown +4 -0
  779. data/spec/unit/puppet/type/README.markdown +4 -0
  780. data/spec/unit/puppet_spec.rb +2 -2
  781. data/spec/unit/rails/host_spec.rb +2 -11
  782. data/spec/unit/rails/param_value_spec.rb +2 -3
  783. data/spec/unit/rails/resource_spec.rb +2 -3
  784. data/spec/unit/rails_spec.rb +2 -3
  785. data/spec/unit/relationship_spec.rb +2 -2
  786. data/spec/unit/reports/http_spec.rb +2 -3
  787. data/spec/unit/reports/rrdgraph_spec.rb +2 -3
  788. data/spec/unit/reports/store_spec.rb +2 -17
  789. data/spec/unit/reports/tagmail_spec.rb +4 -8
  790. data/spec/unit/reports_spec.rb +2 -3
  791. data/spec/unit/resource/catalog_spec.rb +15 -74
  792. data/spec/unit/resource/status_spec.rb +3 -4
  793. data/spec/unit/resource/type_collection_helper_spec.rb +2 -3
  794. data/spec/unit/resource/type_collection_spec.rb +69 -81
  795. data/spec/unit/resource/type_spec.rb +26 -44
  796. data/spec/unit/resource_spec.rb +3 -4
  797. data/spec/unit/run_spec.rb +2 -3
  798. data/spec/unit/simple_graph_spec.rb +434 -80
  799. data/spec/unit/ssl/base_spec.rb +3 -4
  800. data/spec/unit/ssl/certificate_authority/interface_spec.rb +56 -96
  801. data/spec/unit/ssl/certificate_authority_spec.rb +71 -246
  802. data/spec/unit/ssl/certificate_factory_spec.rb +72 -93
  803. data/spec/unit/ssl/certificate_request_spec.rb +11 -76
  804. data/spec/unit/ssl/certificate_revocation_list_spec.rb +4 -5
  805. data/spec/unit/ssl/certificate_spec.rb +2 -34
  806. data/spec/unit/ssl/host_spec.rb +202 -207
  807. data/spec/unit/ssl/inventory_spec.rb +4 -5
  808. data/spec/unit/ssl/key_spec.rb +2 -3
  809. data/spec/unit/sslcertificates/ca_spec.rb +110 -0
  810. data/spec/unit/status_spec.rb +8 -5
  811. data/spec/unit/transaction/event_manager_spec.rb +2 -3
  812. data/spec/unit/transaction/event_spec.rb +7 -8
  813. data/spec/unit/transaction/report_spec.rb +25 -14
  814. data/spec/unit/transaction/resource_harness_spec.rb +2 -4
  815. data/spec/unit/transaction_spec.rb +31 -28
  816. data/spec/unit/transportable_spec.rb +0 -0
  817. data/spec/unit/type/augeas_spec.rb +3 -4
  818. data/spec/unit/type/component_spec.rb +2 -3
  819. data/spec/unit/type/computer_spec.rb +2 -3
  820. data/spec/unit/type/cron_spec.rb +12 -3
  821. data/spec/unit/type/exec_spec.rb +2 -32
  822. data/spec/unit/type/file/checksum_spec.rb +2 -3
  823. data/spec/unit/type/file/content_spec.rb +2 -3
  824. data/spec/unit/type/file/ctime.rb +2 -3
  825. data/spec/unit/type/file/ensure_spec.rb +2 -3
  826. data/spec/unit/type/file/group_spec.rb +2 -3
  827. data/spec/unit/type/file/mtime.rb +2 -3
  828. data/spec/unit/type/file/owner_spec.rb +2 -3
  829. data/spec/unit/type/file/selinux_spec.rb +2 -3
  830. data/spec/unit/type/file/source_spec.rb +9 -10
  831. data/spec/unit/type/file/type.rb +2 -3
  832. data/spec/unit/type/file_spec.rb +15 -30
  833. data/spec/unit/type/filebucket_spec.rb +2 -3
  834. data/spec/unit/type/group_spec.rb +4 -5
  835. data/spec/unit/type/host_spec.rb +129 -0
  836. data/spec/unit/type/interface_spec.rb +98 -0
  837. data/spec/unit/type/macauthorization_spec.rb +2 -3
  838. data/spec/unit/type/maillist_spec.rb +2 -3
  839. data/spec/unit/type/mcx_spec.rb +2 -23
  840. data/spec/unit/type/mount_spec.rb +41 -18
  841. data/spec/unit/type/nagios_spec.rb +2 -3
  842. data/spec/unit/type/noop_metaparam_spec.rb +2 -3
  843. data/spec/unit/type/package_spec.rb +2 -3
  844. data/spec/unit/type/resources_spec.rb +3 -4
  845. data/spec/unit/type/schedule_spec.rb +19 -12
  846. data/spec/unit/type/selboolean_spec.rb +2 -3
  847. data/spec/unit/type/selmodule_spec.rb +2 -3
  848. data/spec/unit/type/service_spec.rb +6 -3
  849. data/spec/unit/type/ssh_authorized_key_spec.rb +2 -3
  850. data/spec/unit/type/sshkey_spec.rb +70 -0
  851. data/spec/unit/type/stage_spec.rb +2 -3
  852. data/spec/unit/type/tidy_spec.rb +4 -4
  853. data/spec/unit/type/user_spec.rb +2 -11
  854. data/spec/unit/type/vlan_spec.rb +45 -0
  855. data/spec/unit/type/whit_spec.rb +4 -5
  856. data/spec/unit/type/zfs_spec.rb +2 -3
  857. data/spec/unit/type/zone_spec.rb +22 -3
  858. data/spec/unit/type/zpool_spec.rb +2 -3
  859. data/spec/unit/type_spec.rb +2 -69
  860. data/spec/unit/util/autoload/file_cache_spec.rb +2 -3
  861. data/spec/unit/util/autoload_spec.rb +6 -7
  862. data/spec/unit/util/backups_spec.rb +2 -3
  863. data/spec/unit/util/cache_accumulator_spec.rb +2 -3
  864. data/spec/unit/util/cacher_spec.rb +3 -4
  865. data/spec/unit/util/checksums_spec.rb +2 -2
  866. data/spec/unit/util/command_line_spec.rb +11 -8
  867. data/spec/unit/util/constant_inflector_spec.rb +2 -2
  868. data/spec/unit/util/errors_spec.rb +2 -3
  869. data/spec/unit/util/execution_spec.rb +2 -3
  870. data/spec/unit/util/execution_stub_spec.rb +2 -3
  871. data/spec/unit/util/feature_spec.rb +2 -3
  872. data/spec/unit/util/file_locking_spec.rb +4 -5
  873. data/spec/unit/util/filetype_spec.rb +2 -3
  874. data/spec/unit/util/inline_docs_spec.rb +2 -3
  875. data/spec/unit/util/ldap/connection_spec.rb +2 -2
  876. data/spec/unit/util/ldap/generator_spec.rb +2 -2
  877. data/spec/unit/util/ldap/manager_spec.rb +2 -2
  878. data/spec/unit/util/loadedfile_spec.rb +2 -3
  879. data/spec/unit/util/log/destinations_spec.rb +2 -3
  880. data/spec/unit/util/log_spec.rb +6 -7
  881. data/spec/unit/util/logging_spec.rb +27 -3
  882. data/spec/unit/util/metric_spec.rb +2 -3
  883. data/spec/unit/util/monkey_patches_spec.rb +48 -10
  884. data/spec/unit/util/nagios_maker_spec.rb +2 -2
  885. data/spec/unit/util/network_device/cisco/device_spec.rb +408 -0
  886. data/spec/unit/util/network_device/cisco/facts_spec.rb +63 -0
  887. data/spec/unit/util/network_device/cisco/interface_spec.rb +89 -0
  888. data/spec/unit/util/network_device/config_spec.rb +102 -0
  889. data/spec/unit/util/network_device/ipcalc_spec.rb +63 -0
  890. data/spec/unit/util/network_device/transport/base_spec.rb +42 -0
  891. data/spec/unit/util/network_device/transport/ssh_spec.rb +219 -0
  892. data/spec/unit/util/network_device/transport/telnet_spec.rb +76 -0
  893. data/spec/unit/util/network_device_spec.rb +50 -0
  894. data/spec/unit/util/package_spec.rb +2 -3
  895. data/spec/unit/util/posix_spec.rb +2 -3
  896. data/spec/unit/util/pson_spec.rb +3 -4
  897. data/spec/unit/util/queue/stomp_spec.rb +4 -5
  898. data/spec/unit/util/queue_spec.rb +2 -3
  899. data/spec/unit/util/rdoc/parser_spec.rb +17 -12
  900. data/spec/unit/util/rdoc_spec.rb +19 -58
  901. data/spec/unit/util/reference_serializer_spec.rb +2 -3
  902. data/spec/unit/util/resource_template_spec.rb +2 -3
  903. data/spec/unit/util/run_mode_spec.rb +2 -3
  904. data/spec/unit/util/selinux_spec.rb +4 -5
  905. data/spec/unit/util/settings/file_setting_spec.rb +2 -7
  906. data/spec/unit/util/settings_spec.rb +2 -24
  907. data/spec/unit/util/storage_spec.rb +2 -3
  908. data/spec/unit/util/tagging_spec.rb +2 -2
  909. data/spec/unit/util/user_attr_spec.rb +2 -3
  910. data/spec/unit/util/warnings_spec.rb +2 -3
  911. data/spec/unit/util/zaml_spec.rb +23 -53
  912. data/spec/watchr.rb +146 -0
  913. data/tasks/rake/gem.rake +5 -4
  914. data/tasks/rake/git_workflow.rake +62 -51
  915. data/tasks/rake/manpages.rake +69 -0
  916. data/test/certmgr/certmgr.rb +308 -0
  917. data/test/certmgr/inventory.rb +69 -0
  918. data/test/certmgr/support.rb +105 -0
  919. data/test/data/providers/host/parsed/valid_hosts +19 -0
  920. data/test/language/ast.rb +1 -1
  921. data/test/language/ast/variable.rb +1 -1
  922. data/test/language/functions.rb +8 -9
  923. data/test/language/parser.rb +44 -52
  924. data/test/language/scope.rb +13 -24
  925. data/test/language/snippets.rb +11 -2
  926. data/test/language/transportable.rb +1 -1
  927. data/test/lib/puppettest.rb +2 -2
  928. data/test/lib/puppettest/exetest.rb +1 -1
  929. data/test/lib/puppettest/parsertesting.rb +5 -8
  930. data/test/lib/puppettest/servertest.rb +1 -0
  931. data/test/lib/puppettest/support/assertions.rb +6 -1
  932. data/test/lib/puppettest/support/utils.rb +0 -19
  933. data/test/network/authconfig.rb +1 -1
  934. data/test/network/authorization.rb +1 -1
  935. data/test/network/authstore.rb +1 -1
  936. data/test/network/client/ca.rb +69 -0
  937. data/test/network/client/dipper.rb +34 -0
  938. data/test/network/client_request.rb +1 -1
  939. data/test/network/handler/ca.rb +273 -0
  940. data/test/network/handler/fileserver.rb +1 -1
  941. data/test/network/handler/master.rb +13 -9
  942. data/test/network/handler/report.rb +1 -1
  943. data/test/network/handler/runner.rb +1 -1
  944. data/test/network/rights.rb +1 -1
  945. data/test/network/server/mongrel_test.rb +99 -0
  946. data/test/network/server/webrick.rb +128 -0
  947. data/test/network/xmlrpc/client.rb +45 -0
  948. data/test/network/xmlrpc/processor.rb +1 -1
  949. data/test/network/xmlrpc/server.rb +1 -1
  950. data/test/network/xmlrpc/webrick_servlet.rb +1 -1
  951. data/test/other/provider.rb +1 -1
  952. data/test/other/puppet.rb +1 -1
  953. data/test/other/relationships.rb +11 -18
  954. data/test/other/report.rb +1 -1
  955. data/test/other/transactions.rb +2 -35
  956. data/test/puppet/defaults.rb +1 -1
  957. data/test/puppet/errortest.rb +1 -1
  958. data/test/puppet/tc_suidmanager.rb +120 -0
  959. data/test/rails/rails.rb +2 -1
  960. data/test/rails/railsparameter.rb +2 -2
  961. data/test/ral/manager/attributes.rb +1 -1
  962. data/test/ral/manager/instances.rb +1 -1
  963. data/test/ral/manager/manager.rb +1 -1
  964. data/test/ral/manager/provider.rb +1 -1
  965. data/test/ral/manager/type.rb +1 -1
  966. data/test/ral/providers/cron/crontab.rb +1 -1
  967. data/test/ral/providers/group.rb +1 -1
  968. data/test/ral/providers/host/parsed.rb +1 -203
  969. data/test/ral/providers/mailalias/aliases.rb +1 -1
  970. data/test/ral/providers/nameservice.rb +1 -1
  971. data/test/ral/providers/package.rb +1 -1
  972. data/test/ral/providers/package/aptitude.rb +1 -1
  973. data/test/ral/providers/package/aptrpm.rb +1 -1
  974. data/test/ral/providers/parsedfile.rb +1 -1
  975. data/test/ral/providers/port/parsed.rb +1 -1
  976. data/test/ral/providers/provider.rb +1 -1
  977. data/test/ral/providers/service/base.rb +1 -1
  978. data/test/ral/providers/sshkey/parsed.rb +1 -1
  979. data/test/ral/providers/user.rb +1 -1
  980. data/test/ral/providers/user/useradd.rb +1 -1
  981. data/test/ral/type/cron.rb +1 -1
  982. data/test/ral/type/exec.rb +1 -42
  983. data/test/ral/type/file.rb +1 -1
  984. data/test/ral/type/file/target.rb +6 -19
  985. data/test/ral/type/fileignoresource.rb +1 -1
  986. data/test/ral/type/filesources.rb +61 -1
  987. data/test/ral/type/host.rb +1 -1
  988. data/test/ral/type/mailalias.rb +1 -1
  989. data/test/ral/type/port.rb +1 -1
  990. data/test/ral/type/resources.rb +1 -1
  991. data/test/ral/type/service.rb +1 -1
  992. data/test/ral/type/sshkey.rb +1 -1
  993. data/test/ral/type/user.rb +1 -1
  994. data/test/ral/type/yumrepo.rb +1 -1
  995. data/test/ral/type/zone.rb +1 -1
  996. data/test/test +2 -2
  997. data/test/util/classgen.rb +1 -1
  998. data/test/util/execution.rb +1 -1
  999. data/test/util/fileparsing.rb +1 -1
  1000. data/test/util/inifile.rb +1 -1
  1001. data/test/util/instance_loader.rb +1 -1
  1002. data/test/util/log.rb +1 -1
  1003. data/test/util/metrics.rb +1 -1
  1004. data/test/util/package.rb +1 -1
  1005. data/test/util/pidlock.rb +1 -1
  1006. data/test/util/settings.rb +1 -1
  1007. data/test/util/storage.rb +1 -1
  1008. data/test/util/subclass_loader.rb +1 -1
  1009. data/test/util/utiltest.rb +1 -1
  1010. metadata +312 -48
  1011. data/CHANGELOG.old +0 -1705
  1012. data/CONTRIBUTING.md +0 -299
  1013. data/COPYING +0 -340
  1014. data/README.queueing +0 -126
  1015. data/ext/upload_facts.rb +0 -120
  1016. data/ext/vim/ftplugin/puppet.vim +0 -94
  1017. data/ext/vim/indent/puppet.vim +0 -76
  1018. data/lib/puppet/indirector/errors.rb +0 -5
  1019. data/lib/puppet/indirector/facts/inventory_service.rb +0 -20
  1020. data/lib/puppet/indirector/file_bucket_file/selector.rb +0 -53
  1021. data/lib/puppet/indirector/file_content/selector.rb +0 -30
  1022. data/lib/puppet/indirector/file_metadata/selector.rb +0 -30
  1023. data/lib/puppet/indirector/resource/validator.rb +0 -8
  1024. data/lib/puppet/util/command_line/filebucket +0 -97
  1025. data/lib/puppet/util/command_line/pi +0 -48
  1026. data/lib/puppet/util/command_line/puppet +0 -73
  1027. data/lib/puppet/util/command_line/puppetca +0 -131
  1028. data/lib/puppet/util/command_line/puppetd +0 -188
  1029. data/lib/puppet/util/command_line/puppetdoc +0 -67
  1030. data/lib/puppet/util/command_line/puppetmasterd +0 -70
  1031. data/lib/puppet/util/command_line/puppetqd +0 -53
  1032. data/lib/puppet/util/command_line/puppetrun +0 -125
  1033. data/lib/puppet/util/command_line/ralsh +0 -89
  1034. data/spec/integration/file_bucket/file_spec.rb +0 -44
  1035. data/spec/integration/indirector/bucket_file/rest_spec.rb +0 -77
  1036. data/spec/integration/indirector/certificate/rest_spec.rb +0 -69
  1037. data/spec/integration/indirector/certificate_request/rest_spec.rb +0 -89
  1038. data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +0 -85
  1039. data/spec/integration/indirector/report/rest_spec.rb +0 -93
  1040. data/spec/shared_behaviours/file_serving_model.rb +0 -73
  1041. data/spec/unit/indirector/facts/inventory_service_spec.rb +0 -22
  1042. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +0 -29
  1043. data/spec/unit/indirector/file_content/selector_spec.rb +0 -10
  1044. data/spec/unit/indirector/file_metadata/selector_spec.rb +0 -11
  1045. data/spec/unit/network/handler/ca_spec.rb +0 -87
  1046. data/spec/unit/network/rest_authorization_spec.rb +0 -43
  1047. data/spec/unit/provider/package/appdmg_spec.rb +0 -42
  1048. data/spec/unit/type/k5login_spec.rb +0 -115
  1049. data/spec/unit/util/suidmanager_spec.rb +0 -220
  1050. data/spec/unit/util_spec.rb +0 -104
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppet/util/inifile'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppet/util/instance_loader'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppet/util/log'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppet/util/metric'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppet/util/package'
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/../lib/puppettest'
1
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
2
2
 
3
3
  require 'puppet/util/pidlock'
4
4
  require 'fileutils'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'mocha'
6
6
  require 'puppettest'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppet'
6
6
  require 'puppettest'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppettest'
6
6
  require 'puppet/util/subclass_loader'
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.dirname(__FILE__) + '/../lib/puppettest'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/puppettest')
4
4
 
5
5
  require 'puppettest'
6
6
  require 'mocha'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
- - 6
9
- - 18
10
- version: 2.6.18
8
+ - 7
9
+ - 1
10
+ version: 2.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Puppet Labs
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-11 00:00:00 Z
18
+ date: 2011-06-22 00:00:00 -07:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: facter
@@ -52,13 +53,9 @@ extra_rdoc_files: []
52
53
 
53
54
  files:
54
55
  - CHANGELOG
55
- - CHANGELOG.old
56
- - CONTRIBUTING.md
57
- - COPYING
58
56
  - LICENSE
59
57
  - Rakefile
60
58
  - README.md
61
- - README.queueing
62
59
  - install.rb
63
60
  - bin/filebucket
64
61
  - bin/pi
@@ -69,15 +66,35 @@ files:
69
66
  - lib/puppet/agent.rb
70
67
  - lib/puppet/application/agent.rb
71
68
  - lib/puppet/application/apply.rb
69
+ - lib/puppet/application/catalog.rb
72
70
  - lib/puppet/application/cert.rb
71
+ - lib/puppet/application/certificate.rb
72
+ - lib/puppet/application/certificate_request.rb
73
+ - lib/puppet/application/certificate_revocation_list.rb
74
+ - lib/puppet/application/config.rb
73
75
  - lib/puppet/application/describe.rb
76
+ - lib/puppet/application/device.rb
74
77
  - lib/puppet/application/doc.rb
78
+ - lib/puppet/application/face_base.rb
79
+ - lib/puppet/application/facts.rb
80
+ - lib/puppet/application/file.rb
75
81
  - lib/puppet/application/filebucket.rb
82
+ - lib/puppet/application/help.rb
83
+ - lib/puppet/application/indirection_base.rb
76
84
  - lib/puppet/application/inspect.rb
85
+ - lib/puppet/application/key.rb
77
86
  - lib/puppet/application/kick.rb
87
+ - lib/puppet/application/man.rb
78
88
  - lib/puppet/application/master.rb
89
+ - lib/puppet/application/node.rb
90
+ - lib/puppet/application/parser.rb
91
+ - lib/puppet/application/plugin.rb
79
92
  - lib/puppet/application/queue.rb
93
+ - lib/puppet/application/report.rb
80
94
  - lib/puppet/application/resource.rb
95
+ - lib/puppet/application/resource_type.rb
96
+ - lib/puppet/application/secret_agent.rb
97
+ - lib/puppet/application/status.rb
81
98
  - lib/puppet/application.rb
82
99
  - lib/puppet/configurer/downloader.rb
83
100
  - lib/puppet/configurer/fact_handler.rb
@@ -106,15 +123,43 @@ files:
106
123
  - lib/puppet/external/pson/pure/parser.rb
107
124
  - lib/puppet/external/pson/pure.rb
108
125
  - lib/puppet/external/pson/version.rb
126
+ - lib/puppet/face/catalog/select.rb
127
+ - lib/puppet/face/catalog.rb
128
+ - lib/puppet/face/certificate.rb
129
+ - lib/puppet/face/certificate_request.rb
130
+ - lib/puppet/face/certificate_revocation_list.rb
131
+ - lib/puppet/face/config.rb
132
+ - lib/puppet/face/facts.rb
133
+ - lib/puppet/face/file/download.rb
134
+ - lib/puppet/face/file/store.rb
135
+ - lib/puppet/face/file.rb
136
+ - lib/puppet/face/help/action.erb
137
+ - lib/puppet/face/help/face.erb
138
+ - lib/puppet/face/help/global.erb
139
+ - lib/puppet/face/help/man.erb
140
+ - lib/puppet/face/help.rb
141
+ - lib/puppet/face/key.rb
142
+ - lib/puppet/face/man.rb
143
+ - lib/puppet/face/node.rb
144
+ - lib/puppet/face/parser.rb
145
+ - lib/puppet/face/plugin.rb
146
+ - lib/puppet/face/report.rb
147
+ - lib/puppet/face/resource.rb
148
+ - lib/puppet/face/resource_type.rb
149
+ - lib/puppet/face/secret_agent.rb
150
+ - lib/puppet/face/status.rb
151
+ - lib/puppet/face.rb
109
152
  - lib/puppet/feature/base.rb
110
153
  - lib/puppet/feature/pson.rb
111
154
  - lib/puppet/feature/rack.rb
112
155
  - lib/puppet/feature/rails.rb
113
156
  - lib/puppet/feature/rubygems.rb
114
157
  - lib/puppet/feature/selinux.rb
158
+ - lib/puppet/feature/ssh.rb
115
159
  - lib/puppet/feature/stomp.rb
116
160
  - lib/puppet/feature/zlib.rb
117
161
  - lib/puppet/file_bucket/dipper.rb
162
+ - lib/puppet/file_bucket/file/indirection_hooks.rb
118
163
  - lib/puppet/file_bucket/file.rb
119
164
  - lib/puppet/file_bucket.rb
120
165
  - lib/puppet/file_collection/lookup.rb
@@ -124,19 +169,20 @@ files:
124
169
  - lib/puppet/file_serving/configuration.rb
125
170
  - lib/puppet/file_serving/content.rb
126
171
  - lib/puppet/file_serving/fileset.rb
172
+ - lib/puppet/file_serving/indirection_hooks.rb
127
173
  - lib/puppet/file_serving/metadata.rb
128
174
  - lib/puppet/file_serving/mount/file.rb
129
175
  - lib/puppet/file_serving/mount/modules.rb
130
176
  - lib/puppet/file_serving/mount/plugins.rb
131
177
  - lib/puppet/file_serving/mount.rb
132
178
  - lib/puppet/file_serving/terminus_helper.rb
133
- - lib/puppet/file_serving/terminus_selector.rb
134
179
  - lib/puppet/file_serving.rb
135
180
  - lib/puppet/indirector/active_record.rb
136
181
  - lib/puppet/indirector/catalog/active_record.rb
137
182
  - lib/puppet/indirector/catalog/compiler.rb
138
183
  - lib/puppet/indirector/catalog/queue.rb
139
184
  - lib/puppet/indirector/catalog/rest.rb
185
+ - lib/puppet/indirector/catalog/static_compiler.rb
140
186
  - lib/puppet/indirector/catalog/yaml.rb
141
187
  - lib/puppet/indirector/certificate/ca.rb
142
188
  - lib/puppet/indirector/certificate/file.rb
@@ -147,35 +193,37 @@ files:
147
193
  - lib/puppet/indirector/certificate_revocation_list/ca.rb
148
194
  - lib/puppet/indirector/certificate_revocation_list/file.rb
149
195
  - lib/puppet/indirector/certificate_revocation_list/rest.rb
196
+ - lib/puppet/indirector/certificate_status/file.rb
197
+ - lib/puppet/indirector/certificate_status/rest.rb
198
+ - lib/puppet/indirector/certificate_status.rb
150
199
  - lib/puppet/indirector/code.rb
151
200
  - lib/puppet/indirector/couch.rb
152
201
  - lib/puppet/indirector/direct_file_server.rb
153
202
  - lib/puppet/indirector/envelope.rb
154
- - lib/puppet/indirector/errors.rb
155
203
  - lib/puppet/indirector/exec.rb
204
+ - lib/puppet/indirector/face.rb
156
205
  - lib/puppet/indirector/facts/active_record.rb
157
206
  - lib/puppet/indirector/facts/couch.rb
158
207
  - lib/puppet/indirector/facts/facter.rb
159
208
  - lib/puppet/indirector/facts/inventory_active_record.rb
160
- - lib/puppet/indirector/facts/inventory_service.rb
161
209
  - lib/puppet/indirector/facts/memory.rb
210
+ - lib/puppet/indirector/facts/network_device.rb
162
211
  - lib/puppet/indirector/facts/rest.rb
163
212
  - lib/puppet/indirector/facts/yaml.rb
213
+ - lib/puppet/indirector/file.rb
164
214
  - lib/puppet/indirector/file_bucket_file/file.rb
165
215
  - lib/puppet/indirector/file_bucket_file/rest.rb
166
- - lib/puppet/indirector/file_bucket_file/selector.rb
167
216
  - lib/puppet/indirector/file_content/file.rb
168
217
  - lib/puppet/indirector/file_content/file_server.rb
169
218
  - lib/puppet/indirector/file_content/rest.rb
170
- - lib/puppet/indirector/file_content/selector.rb
171
219
  - lib/puppet/indirector/file_content.rb
172
220
  - lib/puppet/indirector/file_metadata/file.rb
173
221
  - lib/puppet/indirector/file_metadata/file_server.rb
174
222
  - lib/puppet/indirector/file_metadata/rest.rb
175
- - lib/puppet/indirector/file_metadata/selector.rb
176
223
  - lib/puppet/indirector/file_metadata.rb
177
224
  - lib/puppet/indirector/file_server.rb
178
225
  - lib/puppet/indirector/indirection.rb
226
+ - lib/puppet/indirector/inventory/yaml.rb
179
227
  - lib/puppet/indirector/key/ca.rb
180
228
  - lib/puppet/indirector/key/file.rb
181
229
  - lib/puppet/indirector/ldap.rb
@@ -195,7 +243,6 @@ files:
195
243
  - lib/puppet/indirector/request.rb
196
244
  - lib/puppet/indirector/resource/ral.rb
197
245
  - lib/puppet/indirector/resource/rest.rb
198
- - lib/puppet/indirector/resource/validator.rb
199
246
  - lib/puppet/indirector/resource_type/parser.rb
200
247
  - lib/puppet/indirector/resource_type/rest.rb
201
248
  - lib/puppet/indirector/resource_type.rb
@@ -209,11 +256,27 @@ files:
209
256
  - lib/puppet/indirector/terminus.rb
210
257
  - lib/puppet/indirector/yaml.rb
211
258
  - lib/puppet/indirector.rb
259
+ - lib/puppet/interface/action.rb
260
+ - lib/puppet/interface/action_builder.rb
261
+ - lib/puppet/interface/action_manager.rb
262
+ - lib/puppet/interface/documentation.rb
263
+ - lib/puppet/interface/face_collection.rb
264
+ - lib/puppet/interface/option.rb
265
+ - lib/puppet/interface/option_builder.rb
266
+ - lib/puppet/interface/option_manager.rb
267
+ - lib/puppet/interface.rb
212
268
  - lib/puppet/metatype/manager.rb
213
269
  - lib/puppet/module.rb
214
270
  - lib/puppet/network/authconfig.rb
215
271
  - lib/puppet/network/authorization.rb
216
272
  - lib/puppet/network/authstore.rb
273
+ - lib/puppet/network/client/ca.rb
274
+ - lib/puppet/network/client/file.rb
275
+ - lib/puppet/network/client/proxy.rb
276
+ - lib/puppet/network/client/report.rb
277
+ - lib/puppet/network/client/runner.rb
278
+ - lib/puppet/network/client/status.rb
279
+ - lib/puppet/network/client.rb
217
280
  - lib/puppet/network/client_request.rb
218
281
  - lib/puppet/network/format.rb
219
282
  - lib/puppet/network/format_handler.rb
@@ -241,18 +304,21 @@ files:
241
304
  - lib/puppet/network/http.rb
242
305
  - lib/puppet/network/http_pool.rb
243
306
  - lib/puppet/network/http_server/mongrel.rb
307
+ - lib/puppet/network/http_server/webrick.rb
244
308
  - lib/puppet/network/http_server.rb
245
309
  - lib/puppet/network/rest_authconfig.rb
246
310
  - lib/puppet/network/rest_authorization.rb
247
311
  - lib/puppet/network/rest_controller.rb
248
312
  - lib/puppet/network/rights.rb
249
313
  - lib/puppet/network/server.rb
314
+ - lib/puppet/network/xmlrpc/client.rb
250
315
  - lib/puppet/network/xmlrpc/processor.rb
251
316
  - lib/puppet/network/xmlrpc/server.rb
252
317
  - lib/puppet/network/xmlrpc/webrick_servlet.rb
253
318
  - lib/puppet/network.rb
254
319
  - lib/puppet/node/environment.rb
255
320
  - lib/puppet/node/facts.rb
321
+ - lib/puppet/node/inventory.rb
256
322
  - lib/puppet/node.rb
257
323
  - lib/puppet/parameter/path.rb
258
324
  - lib/puppet/parameter/value.rb
@@ -268,28 +334,34 @@ files:
268
334
  - lib/puppet/parser/ast/collection.rb
269
335
  - lib/puppet/parser/ast/collexpr.rb
270
336
  - lib/puppet/parser/ast/comparison_operator.rb
337
+ - lib/puppet/parser/ast/definition.rb
271
338
  - lib/puppet/parser/ast/else.rb
272
339
  - lib/puppet/parser/ast/function.rb
340
+ - lib/puppet/parser/ast/hostclass.rb
273
341
  - lib/puppet/parser/ast/ifstatement.rb
274
342
  - lib/puppet/parser/ast/in_operator.rb
275
343
  - lib/puppet/parser/ast/leaf.rb
276
344
  - lib/puppet/parser/ast/match_operator.rb
277
345
  - lib/puppet/parser/ast/minus.rb
346
+ - lib/puppet/parser/ast/node.rb
278
347
  - lib/puppet/parser/ast/nop.rb
279
348
  - lib/puppet/parser/ast/not.rb
280
349
  - lib/puppet/parser/ast/relationship.rb
281
350
  - lib/puppet/parser/ast/resource.rb
282
351
  - lib/puppet/parser/ast/resource_defaults.rb
352
+ - lib/puppet/parser/ast/resource_instance.rb
283
353
  - lib/puppet/parser/ast/resource_override.rb
284
354
  - lib/puppet/parser/ast/resource_reference.rb
285
355
  - lib/puppet/parser/ast/resourceparam.rb
286
356
  - lib/puppet/parser/ast/selector.rb
287
357
  - lib/puppet/parser/ast/tag.rb
358
+ - lib/puppet/parser/ast/top_level_construct.rb
288
359
  - lib/puppet/parser/ast/vardef.rb
289
360
  - lib/puppet/parser/ast.rb
290
361
  - lib/puppet/parser/collector.rb
291
362
  - lib/puppet/parser/compiler.rb
292
363
  - lib/puppet/parser/files.rb
364
+ - lib/puppet/parser/functions/create_resources.rb
293
365
  - lib/puppet/parser/functions/defined.rb
294
366
  - lib/puppet/parser/functions/extlookup.rb
295
367
  - lib/puppet/parser/functions/fail.rb
@@ -330,7 +402,9 @@ files:
330
402
  - lib/puppet/property/list.rb
331
403
  - lib/puppet/property/ordered_list.rb
332
404
  - lib/puppet/property.rb
405
+ - lib/puppet/provider/aixobject.rb
333
406
  - lib/puppet/provider/augeas/augeas.rb
407
+ - lib/puppet/provider/cisco.rb
334
408
  - lib/puppet/provider/computer/computer.rb
335
409
  - lib/puppet/provider/confine/exists.rb
336
410
  - lib/puppet/provider/confine/false.rb
@@ -345,11 +419,14 @@ files:
345
419
  - lib/puppet/provider/exec/shell.rb
346
420
  - lib/puppet/provider/file/posix.rb
347
421
  - lib/puppet/provider/file/win32.rb
422
+ - lib/puppet/provider/group/aix.rb
348
423
  - lib/puppet/provider/group/directoryservice.rb
349
424
  - lib/puppet/provider/group/groupadd.rb
350
425
  - lib/puppet/provider/group/ldap.rb
351
426
  - lib/puppet/provider/group/pw.rb
352
427
  - lib/puppet/provider/host/parsed.rb
428
+ - lib/puppet/provider/interface/base.rb
429
+ - lib/puppet/provider/interface/cisco.rb
353
430
  - lib/puppet/provider/ldap.rb
354
431
  - lib/puppet/provider/macauthorization/macauthorization.rb
355
432
  - lib/puppet/provider/mailalias/aliases.rb
@@ -362,6 +439,7 @@ files:
362
439
  - lib/puppet/provider/nameservice/objectadd.rb
363
440
  - lib/puppet/provider/nameservice/pw.rb
364
441
  - lib/puppet/provider/nameservice.rb
442
+ - lib/puppet/provider/network_device.rb
365
443
  - lib/puppet/provider/package/aix.rb
366
444
  - lib/puppet/provider/package/appdmg.rb
367
445
  - lib/puppet/provider/package/apple.rb
@@ -377,8 +455,10 @@ files:
377
455
  - lib/puppet/provider/package/macports.rb
378
456
  - lib/puppet/provider/package/nim.rb
379
457
  - lib/puppet/provider/package/openbsd.rb
458
+ - lib/puppet/provider/package/pip.rb
380
459
  - lib/puppet/provider/package/pkg.rb
381
460
  - lib/puppet/provider/package/pkgdmg.rb
461
+ - lib/puppet/provider/package/pkgutil.rb
382
462
  - lib/puppet/provider/package/portage.rb
383
463
  - lib/puppet/provider/package/ports.rb
384
464
  - lib/puppet/provider/package/portupgrade.rb
@@ -408,14 +488,17 @@ files:
408
488
  - lib/puppet/provider/service/runit.rb
409
489
  - lib/puppet/provider/service/smf.rb
410
490
  - lib/puppet/provider/service/src.rb
491
+ - lib/puppet/provider/service/upstart.rb
411
492
  - lib/puppet/provider/ssh_authorized_key/parsed.rb
412
493
  - lib/puppet/provider/sshkey/parsed.rb
494
+ - lib/puppet/provider/user/aix.rb
413
495
  - lib/puppet/provider/user/directoryservice.rb
414
496
  - lib/puppet/provider/user/hpux.rb
415
497
  - lib/puppet/provider/user/ldap.rb
416
498
  - lib/puppet/provider/user/pw.rb
417
499
  - lib/puppet/provider/user/user_role_add.rb
418
500
  - lib/puppet/provider/user/useradd.rb
501
+ - lib/puppet/provider/vlan/cisco.rb
419
502
  - lib/puppet/provider/zfs/solaris.rb
420
503
  - lib/puppet/provider/zone/solaris.rb
421
504
  - lib/puppet/provider/zpool/solaris.rb
@@ -472,6 +555,11 @@ files:
472
555
  - lib/puppet/ssl/inventory.rb
473
556
  - lib/puppet/ssl/key.rb
474
557
  - lib/puppet/ssl.rb
558
+ - lib/puppet/sslcertificates/ca.rb
559
+ - lib/puppet/sslcertificates/certificate.rb
560
+ - lib/puppet/sslcertificates/inventory.rb
561
+ - lib/puppet/sslcertificates/support.rb
562
+ - lib/puppet/sslcertificates.rb
475
563
  - lib/puppet/status.rb
476
564
  - lib/puppet/transaction/event.rb
477
565
  - lib/puppet/transaction/event_manager.rb
@@ -500,6 +588,7 @@ files:
500
588
  - lib/puppet/type/filebucket.rb
501
589
  - lib/puppet/type/group.rb
502
590
  - lib/puppet/type/host.rb
591
+ - lib/puppet/type/interface.rb
503
592
  - lib/puppet/type/k5login.rb
504
593
  - lib/puppet/type/macauthorization.rb
505
594
  - lib/puppet/type/mailalias.rb
@@ -524,6 +613,7 @@ files:
524
613
  - lib/puppet/type/package.rb
525
614
  - lib/puppet/type/port.rb
526
615
  - lib/puppet/type/resources.rb
616
+ - lib/puppet/type/router.rb
527
617
  - lib/puppet/type/schedule.rb
528
618
  - lib/puppet/type/selboolean.rb
529
619
  - lib/puppet/type/selmodule.rb
@@ -533,6 +623,7 @@ files:
533
623
  - lib/puppet/type/stage.rb
534
624
  - lib/puppet/type/tidy.rb
535
625
  - lib/puppet/type/user.rb
626
+ - lib/puppet/type/vlan.rb
536
627
  - lib/puppet/type/whit.rb
537
628
  - lib/puppet/type/yumrepo.rb
538
629
  - lib/puppet/type/zfs.rb
@@ -545,16 +636,6 @@ files:
545
636
  - lib/puppet/util/cacher.rb
546
637
  - lib/puppet/util/checksums.rb
547
638
  - lib/puppet/util/classgen.rb
548
- - lib/puppet/util/command_line/filebucket
549
- - lib/puppet/util/command_line/pi
550
- - lib/puppet/util/command_line/puppet
551
- - lib/puppet/util/command_line/puppetca
552
- - lib/puppet/util/command_line/puppetd
553
- - lib/puppet/util/command_line/puppetdoc
554
- - lib/puppet/util/command_line/puppetmasterd
555
- - lib/puppet/util/command_line/puppetqd
556
- - lib/puppet/util/command_line/puppetrun
557
- - lib/puppet/util/command_line/ralsh
558
639
  - lib/puppet/util/command_line.rb
559
640
  - lib/puppet/util/constant_inflector.rb
560
641
  - lib/puppet/util/diff.rb
@@ -585,6 +666,18 @@ files:
585
666
  - lib/puppet/util/metric.rb
586
667
  - lib/puppet/util/monkey_patches.rb
587
668
  - lib/puppet/util/nagios_maker.rb
669
+ - lib/puppet/util/network_device/base.rb
670
+ - lib/puppet/util/network_device/cisco/device.rb
671
+ - lib/puppet/util/network_device/cisco/facts.rb
672
+ - lib/puppet/util/network_device/cisco/interface.rb
673
+ - lib/puppet/util/network_device/cisco.rb
674
+ - lib/puppet/util/network_device/config.rb
675
+ - lib/puppet/util/network_device/ipcalc.rb
676
+ - lib/puppet/util/network_device/transport/base.rb
677
+ - lib/puppet/util/network_device/transport/ssh.rb
678
+ - lib/puppet/util/network_device/transport/telnet.rb
679
+ - lib/puppet/util/network_device/transport.rb
680
+ - lib/puppet/util/network_device.rb
588
681
  - lib/puppet/util/package.rb
589
682
  - lib/puppet/util/pidlock.rb
590
683
  - lib/puppet/util/plugins.rb
@@ -656,6 +749,35 @@ files:
656
749
  - man/man5/puppet.conf.5
657
750
  - man/man8/filebucket.8
658
751
  - man/man8/pi.8
752
+ - man/man8/puppet-agent.8
753
+ - man/man8/puppet-apply.8
754
+ - man/man8/puppet-catalog.8
755
+ - man/man8/puppet-cert.8
756
+ - man/man8/puppet-certificate.8
757
+ - man/man8/puppet-certificate_request.8
758
+ - man/man8/puppet-certificate_revocation_list.8
759
+ - man/man8/puppet-config.8
760
+ - man/man8/puppet-describe.8
761
+ - man/man8/puppet-device.8
762
+ - man/man8/puppet-doc.8
763
+ - man/man8/puppet-facts.8
764
+ - man/man8/puppet-file.8
765
+ - man/man8/puppet-filebucket.8
766
+ - man/man8/puppet-help.8
767
+ - man/man8/puppet-inspect.8
768
+ - man/man8/puppet-key.8
769
+ - man/man8/puppet-kick.8
770
+ - man/man8/puppet-man.8
771
+ - man/man8/puppet-master.8
772
+ - man/man8/puppet-node.8
773
+ - man/man8/puppet-parser.8
774
+ - man/man8/puppet-plugin.8
775
+ - man/man8/puppet-queue.8
776
+ - man/man8/puppet-report.8
777
+ - man/man8/puppet-resource.8
778
+ - man/man8/puppet-resource_type.8
779
+ - man/man8/puppet-secret_agent.8
780
+ - man/man8/puppet-status.8
659
781
  - man/man8/puppet.8
660
782
  - man/man8/puppetca.8
661
783
  - man/man8/puppetd.8
@@ -706,6 +828,7 @@ files:
706
828
  - ext/autotest/config
707
829
  - ext/autotest/Rakefile
708
830
  - ext/autotest/readme.rst
831
+ - ext/cert_inspector
709
832
  - ext/dbfix.sql
710
833
  - ext/emacs/puppet-mode-init.el
711
834
  - ext/emacs/puppet-mode.el
@@ -729,10 +852,7 @@ files:
729
852
  - ext/regexp_nodes/parameters/environment/prod
730
853
  - ext/regexp_nodes/parameters/environment/qa
731
854
  - ext/regexp_nodes/regexp_nodes.rb
732
- - ext/upload_facts.rb
733
855
  - ext/vim/ftdetect/puppet.vim
734
- - ext/vim/ftplugin/puppet.vim
735
- - ext/vim/indent/puppet.vim
736
856
  - ext/vim/README
737
857
  - ext/vim/syntax/puppet.vim
738
858
  - ext/yaml_nodes.rb
@@ -741,10 +861,14 @@ files:
741
861
  - tasks/rake/dailybuild.rake
742
862
  - tasks/rake/gem.rake
743
863
  - tasks/rake/git_workflow.rake
864
+ - tasks/rake/manpages.rake
744
865
  - tasks/rake/metrics.rake
745
866
  - tasks/rake/sign.rake
746
867
  - tasks/rake/testbranch.rake
747
868
  - tasks/rake/yard.rake
869
+ - test/certmgr/certmgr.rb
870
+ - test/certmgr/inventory.rb
871
+ - test/certmgr/support.rb
748
872
  - test/data/failers/badclassnoparam
749
873
  - test/data/failers/badclassparam
750
874
  - test/data/failers/badcompnoparam
@@ -761,6 +885,7 @@ files:
761
885
  - test/data/providers/cron/examples/freebsd
762
886
  - test/data/providers/cron/examples/one
763
887
  - test/data/providers/cron/examples/openbsd
888
+ - test/data/providers/host/parsed/valid_hosts
764
889
  - test/data/providers/mailalias/aliases/test1
765
890
  - test/data/providers/mount/parsed/aix.mount
766
891
  - test/data/providers/mount/parsed/darwin.mount
@@ -862,12 +987,18 @@ files:
862
987
  - test/network/authconfig.rb
863
988
  - test/network/authorization.rb
864
989
  - test/network/authstore.rb
990
+ - test/network/client/ca.rb
991
+ - test/network/client/dipper.rb
865
992
  - test/network/client_request.rb
993
+ - test/network/handler/ca.rb
866
994
  - test/network/handler/fileserver.rb
867
995
  - test/network/handler/master.rb
868
996
  - test/network/handler/report.rb
869
997
  - test/network/handler/runner.rb
870
998
  - test/network/rights.rb
999
+ - test/network/server/mongrel_test.rb
1000
+ - test/network/server/webrick.rb
1001
+ - test/network/xmlrpc/client.rb
871
1002
  - test/network/xmlrpc/processor.rb
872
1003
  - test/network/xmlrpc/server.rb
873
1004
  - test/network/xmlrpc/webrick_servlet.rb
@@ -878,6 +1009,7 @@ files:
878
1009
  - test/other/transactions.rb
879
1010
  - test/puppet/defaults.rb
880
1011
  - test/puppet/errortest.rb
1012
+ - test/puppet/tc_suidmanager.rb
881
1013
  - test/rails/rails.rb
882
1014
  - test/rails/railsparameter.rb
883
1015
  - test/Rakefile
@@ -931,7 +1063,73 @@ files:
931
1063
  - test/util/storage.rb
932
1064
  - test/util/subclass_loader.rb
933
1065
  - test/util/utiltest.rb
1066
+ - spec/fixtures/faulty_face/puppet/face/syntax.rb
1067
+ - spec/fixtures/integration/provider/mailalias/aliases/test1
1068
+ - spec/fixtures/unit/parser/lexer/aliastest.pp
1069
+ - spec/fixtures/unit/parser/lexer/append.pp
1070
+ - spec/fixtures/unit/parser/lexer/argumentdefaults.pp
1071
+ - spec/fixtures/unit/parser/lexer/arithmetic_expression.pp
1072
+ - spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp
1073
+ - spec/fixtures/unit/parser/lexer/casestatement.pp
1074
+ - spec/fixtures/unit/parser/lexer/classheirarchy.pp
1075
+ - spec/fixtures/unit/parser/lexer/classincludes.pp
1076
+ - spec/fixtures/unit/parser/lexer/classpathtest.pp
1077
+ - spec/fixtures/unit/parser/lexer/collection.pp
1078
+ - spec/fixtures/unit/parser/lexer/collection_override.pp
1079
+ - spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp
1080
+ - spec/fixtures/unit/parser/lexer/componentmetaparams.pp
1081
+ - spec/fixtures/unit/parser/lexer/componentrequire.pp
1082
+ - spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp
1083
+ - spec/fixtures/unit/parser/lexer/defineoverrides.pp
1084
+ - spec/fixtures/unit/parser/lexer/emptyclass.pp
1085
+ - spec/fixtures/unit/parser/lexer/emptyexec.pp
1086
+ - spec/fixtures/unit/parser/lexer/emptyifelse.pp
1087
+ - spec/fixtures/unit/parser/lexer/falsevalues.pp
1088
+ - spec/fixtures/unit/parser/lexer/filecreate.pp
1089
+ - spec/fixtures/unit/parser/lexer/fqdefinition.pp
1090
+ - spec/fixtures/unit/parser/lexer/fqparents.pp
1091
+ - spec/fixtures/unit/parser/lexer/funccomma.pp
1092
+ - spec/fixtures/unit/parser/lexer/hash.pp
1093
+ - spec/fixtures/unit/parser/lexer/ifexpression.pp
1094
+ - spec/fixtures/unit/parser/lexer/implicititeration.pp
1095
+ - spec/fixtures/unit/parser/lexer/multilinecomments.pp
1096
+ - spec/fixtures/unit/parser/lexer/multipleclass.pp
1097
+ - spec/fixtures/unit/parser/lexer/multipleinstances.pp
1098
+ - spec/fixtures/unit/parser/lexer/multisubs.pp
1099
+ - spec/fixtures/unit/parser/lexer/namevartest.pp
1100
+ - spec/fixtures/unit/parser/lexer/scopetest.pp
1101
+ - spec/fixtures/unit/parser/lexer/selectorvalues.pp
1102
+ - spec/fixtures/unit/parser/lexer/simpledefaults.pp
1103
+ - spec/fixtures/unit/parser/lexer/simpleselector.pp
1104
+ - spec/fixtures/unit/parser/lexer/singleary.pp
1105
+ - spec/fixtures/unit/parser/lexer/singlequote.pp
1106
+ - spec/fixtures/unit/parser/lexer/singleselector.pp
1107
+ - spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp
1108
+ - spec/fixtures/unit/parser/lexer/tag.pp
1109
+ - spec/fixtures/unit/parser/lexer/tagged.pp
1110
+ - spec/fixtures/unit/parser/lexer/virtualresources.pp
1111
+ - spec/fixtures/unit/provider/host/parsed/valid_hosts
934
1112
  - spec/fixtures/unit/provider/mount/mount-output.aix.txt
1113
+ - spec/fixtures/unit/provider/mount/parsed/aix.filesystems
1114
+ - spec/fixtures/unit/provider/mount/parsed/aix.mount
1115
+ - spec/fixtures/unit/provider/mount/parsed/darwin.mount
1116
+ - spec/fixtures/unit/provider/mount/parsed/freebsd.fstab
1117
+ - spec/fixtures/unit/provider/mount/parsed/freebsd.mount
1118
+ - spec/fixtures/unit/provider/mount/parsed/hpux.mount
1119
+ - spec/fixtures/unit/provider/mount/parsed/linux.fstab
1120
+ - spec/fixtures/unit/provider/mount/parsed/linux.mount
1121
+ - spec/fixtures/unit/provider/mount/parsed/netbsd.fstab
1122
+ - spec/fixtures/unit/provider/mount/parsed/netbsd.mount
1123
+ - spec/fixtures/unit/provider/mount/parsed/openbsd.fstab
1124
+ - spec/fixtures/unit/provider/mount/parsed/openbsd.mount
1125
+ - spec/fixtures/unit/provider/mount/parsed/solaris.fstab
1126
+ - spec/fixtures/unit/provider/mount/parsed/solaris.mount
1127
+ - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys
1128
+ - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1
1129
+ - spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2
1130
+ - spec/fixtures/unit/reports/tagmail/tagmail_failers.conf
1131
+ - spec/fixtures/unit/reports/tagmail/tagmail_passers.conf
1132
+ - spec/fixtures/unit/util/rdoc/basic.pp
935
1133
  - spec/fixtures/yaml/report0.25.x.yaml
936
1134
  - spec/fixtures/yaml/report2.6.x.yaml
937
1135
  - spec/fixtures/yaml/test.local.yaml
@@ -939,22 +1137,18 @@ files:
939
1137
  - spec/integration/application/doc_spec.rb
940
1138
  - spec/integration/configurer_spec.rb
941
1139
  - spec/integration/defaults_spec.rb
942
- - spec/integration/file_bucket/file_spec.rb
1140
+ - spec/integration/faces/documentation_spec.rb
943
1141
  - spec/integration/file_serving/content_spec.rb
944
1142
  - spec/integration/file_serving/fileset_spec.rb
945
1143
  - spec/integration/file_serving/metadata_spec.rb
946
1144
  - spec/integration/file_serving/terminus_helper_spec.rb
947
- - spec/integration/indirector/bucket_file/rest_spec.rb
948
1145
  - spec/integration/indirector/catalog/compiler_spec.rb
949
1146
  - spec/integration/indirector/catalog/queue_spec.rb
950
- - spec/integration/indirector/certificate/rest_spec.rb
951
- - spec/integration/indirector/certificate_request/rest_spec.rb
952
- - spec/integration/indirector/certificate_revocation_list/rest_spec.rb
953
1147
  - spec/integration/indirector/direct_file_server_spec.rb
954
1148
  - spec/integration/indirector/file_content/file_server_spec.rb
955
1149
  - spec/integration/indirector/file_metadata/file_server_spec.rb
956
1150
  - spec/integration/indirector/node/ldap_spec.rb
957
- - spec/integration/indirector/report/rest_spec.rb
1151
+ - spec/integration/network/client_spec.rb
958
1152
  - spec/integration/network/formats_spec.rb
959
1153
  - spec/integration/network/handler_spec.rb
960
1154
  - spec/integration/network/server/mongrel_spec.rb
@@ -991,15 +1185,24 @@ files:
991
1185
  - spec/integration/util/file_locking_spec.rb
992
1186
  - spec/integration/util/rdoc/parser_spec.rb
993
1187
  - spec/integration/util/settings_spec.rb
1188
+ - spec/lib/matchers/json.rb
1189
+ - spec/lib/puppet/face/basetest.rb
1190
+ - spec/lib/puppet/face/huzzah.rb
1191
+ - spec/lib/puppet/face/version_matching.rb
994
1192
  - spec/lib/puppet_spec/files.rb
1193
+ - spec/lib/puppet_spec/fixtures.rb
1194
+ - spec/lib/puppet_spec/matchers.rb
995
1195
  - spec/lib/puppet_spec/verbose.rb
996
1196
  - spec/monkey_patches/alias_should_to_must.rb
997
1197
  - spec/monkey_patches/publicize_methods.rb
1198
+ - spec/shared_behaviours/all_parsedfile_providers.rb
1199
+ - spec/shared_behaviours/an_indirector_face.rb
1200
+ - spec/shared_behaviours/documentation_on_faces.rb
998
1201
  - spec/shared_behaviours/file_server_terminus.rb
999
1202
  - spec/shared_behaviours/file_serving.rb
1000
- - spec/shared_behaviours/file_serving_model.rb
1001
1203
  - spec/shared_behaviours/memory_terminus.rb
1002
1204
  - spec/shared_behaviours/path_parameters.rb
1205
+ - spec/shared_behaviours/things_that_declare_options.rb
1003
1206
  - spec/spec.opts
1004
1207
  - spec/spec_helper.rb
1005
1208
  - spec/unit/agent/locker_spec.rb
@@ -1007,14 +1210,21 @@ files:
1007
1210
  - spec/unit/application/agent_spec.rb
1008
1211
  - spec/unit/application/apply_spec.rb
1009
1212
  - spec/unit/application/cert_spec.rb
1213
+ - spec/unit/application/certificate_spec.rb
1214
+ - spec/unit/application/config_spec.rb
1010
1215
  - spec/unit/application/describe_spec.rb
1216
+ - spec/unit/application/device_spec.rb
1011
1217
  - spec/unit/application/doc_spec.rb
1218
+ - spec/unit/application/face_base_spec.rb
1219
+ - spec/unit/application/facts_spec.rb
1012
1220
  - spec/unit/application/filebucket_spec.rb
1221
+ - spec/unit/application/indirection_base_spec.rb
1013
1222
  - spec/unit/application/inspect_spec.rb
1014
1223
  - spec/unit/application/kick_spec.rb
1015
1224
  - spec/unit/application/master_spec.rb
1016
1225
  - spec/unit/application/queue_spec.rb
1017
1226
  - spec/unit/application/resource_spec.rb
1227
+ - spec/unit/application/secret_agent_spec.rb
1018
1228
  - spec/unit/application_spec.rb
1019
1229
  - spec/unit/configurer/downloader_spec.rb
1020
1230
  - spec/unit/configurer/fact_handler_spec.rb
@@ -1023,6 +1233,22 @@ files:
1023
1233
  - spec/unit/daemon_spec.rb
1024
1234
  - spec/unit/dsl/resource_api_spec.rb
1025
1235
  - spec/unit/dsl/resource_type_api_spec.rb
1236
+ - spec/unit/face/catalog_spec.rb
1237
+ - spec/unit/face/certificate_request_spec.rb
1238
+ - spec/unit/face/certificate_revocation_list_spec.rb
1239
+ - spec/unit/face/certificate_spec.rb
1240
+ - spec/unit/face/config_spec.rb
1241
+ - spec/unit/face/facts_spec.rb
1242
+ - spec/unit/face/file_spec.rb
1243
+ - spec/unit/face/help_spec.rb
1244
+ - spec/unit/face/key_spec.rb
1245
+ - spec/unit/face/node_spec.rb
1246
+ - spec/unit/face/plugin_spec.rb
1247
+ - spec/unit/face/report_spec.rb
1248
+ - spec/unit/face/resource_spec.rb
1249
+ - spec/unit/face/resource_type_spec.rb
1250
+ - spec/unit/face/secret_agent_spec.rb
1251
+ - spec/unit/face_spec.rb
1026
1252
  - spec/unit/file_bucket/dipper_spec.rb
1027
1253
  - spec/unit/file_bucket/file_spec.rb
1028
1254
  - spec/unit/file_collection/lookup_spec.rb
@@ -1032,13 +1258,13 @@ files:
1032
1258
  - spec/unit/file_serving/configuration_spec.rb
1033
1259
  - spec/unit/file_serving/content_spec.rb
1034
1260
  - spec/unit/file_serving/fileset_spec.rb
1261
+ - spec/unit/file_serving/indirection_hooks_spec.rb
1035
1262
  - spec/unit/file_serving/metadata_spec.rb
1036
1263
  - spec/unit/file_serving/mount/file_spec.rb
1037
1264
  - spec/unit/file_serving/mount/modules_spec.rb
1038
1265
  - spec/unit/file_serving/mount/plugins_spec.rb
1039
1266
  - spec/unit/file_serving/mount_spec.rb
1040
1267
  - spec/unit/file_serving/terminus_helper_spec.rb
1041
- - spec/unit/file_serving/terminus_selector_spec.rb
1042
1268
  - spec/unit/indirector/active_record_spec.rb
1043
1269
  - spec/unit/indirector/catalog/active_record_spec.rb
1044
1270
  - spec/unit/indirector/catalog/compiler_spec.rb
@@ -1054,30 +1280,32 @@ files:
1054
1280
  - spec/unit/indirector/certificate_revocation_list/ca_spec.rb
1055
1281
  - spec/unit/indirector/certificate_revocation_list/file_spec.rb
1056
1282
  - spec/unit/indirector/certificate_revocation_list/rest_spec.rb
1283
+ - spec/unit/indirector/certificate_status/file_spec.rb
1284
+ - spec/unit/indirector/certificate_status/rest_spec.rb
1057
1285
  - spec/unit/indirector/code_spec.rb
1058
1286
  - spec/unit/indirector/direct_file_server_spec.rb
1059
1287
  - spec/unit/indirector/envelope_spec.rb
1060
1288
  - spec/unit/indirector/exec_spec.rb
1289
+ - spec/unit/indirector/face_spec.rb
1061
1290
  - spec/unit/indirector/facts/active_record_spec.rb
1062
1291
  - spec/unit/indirector/facts/couch_spec.rb
1063
1292
  - spec/unit/indirector/facts/facter_spec.rb
1064
1293
  - spec/unit/indirector/facts/inventory_active_record_spec.rb
1065
- - spec/unit/indirector/facts/inventory_service_spec.rb
1294
+ - spec/unit/indirector/facts/network_device_spec.rb
1066
1295
  - spec/unit/indirector/facts/rest_spec.rb
1067
1296
  - spec/unit/indirector/facts/yaml_spec.rb
1068
1297
  - spec/unit/indirector/file_bucket_file/file_spec.rb
1069
1298
  - spec/unit/indirector/file_bucket_file/rest_spec.rb
1070
- - spec/unit/indirector/file_bucket_file/selector_spec.rb
1071
1299
  - spec/unit/indirector/file_content/file_server_spec.rb
1072
1300
  - spec/unit/indirector/file_content/file_spec.rb
1073
1301
  - spec/unit/indirector/file_content/rest_spec.rb
1074
- - spec/unit/indirector/file_content/selector_spec.rb
1075
1302
  - spec/unit/indirector/file_metadata/file_server_spec.rb
1076
1303
  - spec/unit/indirector/file_metadata/file_spec.rb
1077
1304
  - spec/unit/indirector/file_metadata/rest_spec.rb
1078
- - spec/unit/indirector/file_metadata/selector_spec.rb
1079
1305
  - spec/unit/indirector/file_server_spec.rb
1306
+ - spec/unit/indirector/file_spec.rb
1080
1307
  - spec/unit/indirector/indirection_spec.rb
1308
+ - spec/unit/indirector/inventory/yaml_spec.rb
1081
1309
  - spec/unit/indirector/key/ca_spec.rb
1082
1310
  - spec/unit/indirector/key/file_spec.rb
1083
1311
  - spec/unit/indirector/ldap_spec.rb
@@ -1107,13 +1335,21 @@ files:
1107
1335
  - spec/unit/indirector/terminus_spec.rb
1108
1336
  - spec/unit/indirector/yaml_spec.rb
1109
1337
  - spec/unit/indirector_spec.rb
1338
+ - spec/unit/interface/action_builder_spec.rb
1339
+ - spec/unit/interface/action_manager_spec.rb
1340
+ - spec/unit/interface/action_spec.rb
1341
+ - spec/unit/interface/documentation_spec.rb
1342
+ - spec/unit/interface/face_collection_spec.rb
1343
+ - spec/unit/interface/option_builder_spec.rb
1344
+ - spec/unit/interface/option_spec.rb
1345
+ - spec/unit/interface_spec.rb
1110
1346
  - spec/unit/module_spec.rb
1111
1347
  - spec/unit/network/authconfig_spec.rb
1112
1348
  - spec/unit/network/authstore_spec.rb
1349
+ - spec/unit/network/client_spec.rb
1113
1350
  - spec/unit/network/format_handler_spec.rb
1114
1351
  - spec/unit/network/format_spec.rb
1115
1352
  - spec/unit/network/formats_spec.rb
1116
- - spec/unit/network/handler/ca_spec.rb
1117
1353
  - spec/unit/network/handler/fileserver_spec.rb
1118
1354
  - spec/unit/network/http/api/v1_spec.rb
1119
1355
  - spec/unit/network/http/compression_spec.rb
@@ -1130,9 +1366,9 @@ files:
1130
1366
  - spec/unit/network/http_pool_spec.rb
1131
1367
  - spec/unit/network/http_spec.rb
1132
1368
  - spec/unit/network/rest_authconfig_spec.rb
1133
- - spec/unit/network/rest_authorization_spec.rb
1134
1369
  - spec/unit/network/rights_spec.rb
1135
1370
  - spec/unit/network/server_spec.rb
1371
+ - spec/unit/network/xmlrpc/client_spec.rb
1136
1372
  - spec/unit/node/environment_spec.rb
1137
1373
  - spec/unit/node/facts_spec.rb
1138
1374
  - spec/unit/node_spec.rb
@@ -1151,12 +1387,15 @@ files:
1151
1387
  - spec/unit/parser/ast/collection_spec.rb
1152
1388
  - spec/unit/parser/ast/collexpr_spec.rb
1153
1389
  - spec/unit/parser/ast/comparison_operator_spec.rb
1390
+ - spec/unit/parser/ast/definition_spec.rb
1154
1391
  - spec/unit/parser/ast/function_spec.rb
1392
+ - spec/unit/parser/ast/hostclass_spec.rb
1155
1393
  - spec/unit/parser/ast/ifstatement_spec.rb
1156
1394
  - spec/unit/parser/ast/in_operator_spec.rb
1157
1395
  - spec/unit/parser/ast/leaf_spec.rb
1158
1396
  - spec/unit/parser/ast/match_operator_spec.rb
1159
1397
  - spec/unit/parser/ast/minus_spec.rb
1398
+ - spec/unit/parser/ast/node_spec.rb
1160
1399
  - spec/unit/parser/ast/nop_spec.rb
1161
1400
  - spec/unit/parser/ast/not_spec.rb
1162
1401
  - spec/unit/parser/ast/relationship_spec.rb
@@ -1170,6 +1409,7 @@ files:
1170
1409
  - spec/unit/parser/collector_spec.rb
1171
1410
  - spec/unit/parser/compiler_spec.rb
1172
1411
  - spec/unit/parser/files_spec.rb
1412
+ - spec/unit/parser/functions/create_resources_spec.rb
1173
1413
  - spec/unit/parser/functions/defined_spec.rb
1174
1414
  - spec/unit/parser/functions/extlookup_spec.rb
1175
1415
  - spec/unit/parser/functions/fqdn_rand_spec.rb
@@ -1199,6 +1439,7 @@ files:
1199
1439
  - spec/unit/property/ordered_list_spec.rb
1200
1440
  - spec/unit/property_spec.rb
1201
1441
  - spec/unit/provider/augeas/augeas_spec.rb
1442
+ - spec/unit/provider/cisco_spec.rb
1202
1443
  - spec/unit/provider/confine/exists_spec.rb
1203
1444
  - spec/unit/provider/confine/false_spec.rb
1204
1445
  - spec/unit/provider/confine/feature_spec.rb
@@ -1211,6 +1452,8 @@ files:
1211
1452
  - spec/unit/provider/exec/shell_spec.rb
1212
1453
  - spec/unit/provider/group/groupadd_spec.rb
1213
1454
  - spec/unit/provider/group/ldap_spec.rb
1455
+ - spec/unit/provider/host/parsed_spec.rb
1456
+ - spec/unit/provider/interface/cisco_spec.rb
1214
1457
  - spec/unit/provider/ldap_spec.rb
1215
1458
  - spec/unit/provider/macauthorization_spec.rb
1216
1459
  - spec/unit/provider/mcx/mcxcontent_spec.rb
@@ -1218,8 +1461,8 @@ files:
1218
1461
  - spec/unit/provider/mount_spec.rb
1219
1462
  - spec/unit/provider/naginator_spec.rb
1220
1463
  - spec/unit/provider/nameservice/directoryservice_spec.rb
1464
+ - spec/unit/provider/network_device_spec.rb
1221
1465
  - spec/unit/provider/package/aix_spec.rb
1222
- - spec/unit/provider/package/appdmg_spec.rb
1223
1466
  - spec/unit/provider/package/apt_spec.rb
1224
1467
  - spec/unit/provider/package/dpkg_spec.rb
1225
1468
  - spec/unit/provider/package/freebsd_spec.rb
@@ -1227,8 +1470,11 @@ files:
1227
1470
  - spec/unit/provider/package/hpux_spec.rb
1228
1471
  - spec/unit/provider/package/macports_spec.rb
1229
1472
  - spec/unit/provider/package/nim_spec.rb
1473
+ - spec/unit/provider/package/pip_spec.rb
1230
1474
  - spec/unit/provider/package/pkg_spec.rb
1231
1475
  - spec/unit/provider/package/pkgdmg_spec.rb
1476
+ - spec/unit/provider/package/pkgutil_spec.rb
1477
+ - spec/unit/provider/package/yum_spec.rb
1232
1478
  - spec/unit/provider/package/zypper_spec.rb
1233
1479
  - spec/unit/provider/parsedfile_spec.rb
1234
1480
  - spec/unit/provider/selboolean_spec.rb
@@ -1241,17 +1487,22 @@ files:
1241
1487
  - spec/unit/provider/service/launchd_spec.rb
1242
1488
  - spec/unit/provider/service/redhat_spec.rb
1243
1489
  - spec/unit/provider/service/runit_spec.rb
1490
+ - spec/unit/provider/service/smf_spec.rb
1244
1491
  - spec/unit/provider/service/src_spec.rb
1492
+ - spec/unit/provider/service/upstart.rb
1245
1493
  - spec/unit/provider/ssh_authorized_key/parsed_spec.rb
1246
1494
  - spec/unit/provider/sshkey/parsed_spec.rb
1247
1495
  - spec/unit/provider/user/hpux_spec.rb
1248
1496
  - spec/unit/provider/user/ldap_spec.rb
1249
1497
  - spec/unit/provider/user/user_role_add_spec.rb
1250
1498
  - spec/unit/provider/user/useradd_spec.rb
1499
+ - spec/unit/provider/vlan/cisco_spec.rb
1251
1500
  - spec/unit/provider/zfs/solaris_spec.rb
1252
1501
  - spec/unit/provider/zone/solaris_spec.rb
1253
1502
  - spec/unit/provider/zpool/solaris_spec.rb
1254
1503
  - spec/unit/provider_spec.rb
1504
+ - spec/unit/puppet/provider/README.markdown
1505
+ - spec/unit/puppet/type/README.markdown
1255
1506
  - spec/unit/puppet_spec.rb
1256
1507
  - spec/unit/rails/host_spec.rb
1257
1508
  - spec/unit/rails/param_value_spec.rb
@@ -1281,6 +1532,7 @@ files:
1281
1532
  - spec/unit/ssl/host_spec.rb
1282
1533
  - spec/unit/ssl/inventory_spec.rb
1283
1534
  - spec/unit/ssl/key_spec.rb
1535
+ - spec/unit/sslcertificates/ca_spec.rb
1284
1536
  - spec/unit/status_spec.rb
1285
1537
  - spec/unit/transaction/event_manager_spec.rb
1286
1538
  - spec/unit/transaction/event_spec.rb
@@ -1306,7 +1558,8 @@ files:
1306
1558
  - spec/unit/type/file_spec.rb
1307
1559
  - spec/unit/type/filebucket_spec.rb
1308
1560
  - spec/unit/type/group_spec.rb
1309
- - spec/unit/type/k5login_spec.rb
1561
+ - spec/unit/type/host_spec.rb
1562
+ - spec/unit/type/interface_spec.rb
1310
1563
  - spec/unit/type/macauthorization_spec.rb
1311
1564
  - spec/unit/type/maillist_spec.rb
1312
1565
  - spec/unit/type/mcx_spec.rb
@@ -1320,9 +1573,11 @@ files:
1320
1573
  - spec/unit/type/selmodule_spec.rb
1321
1574
  - spec/unit/type/service_spec.rb
1322
1575
  - spec/unit/type/ssh_authorized_key_spec.rb
1576
+ - spec/unit/type/sshkey_spec.rb
1323
1577
  - spec/unit/type/stage_spec.rb
1324
1578
  - spec/unit/type/tidy_spec.rb
1325
1579
  - spec/unit/type/user_spec.rb
1580
+ - spec/unit/type/vlan_spec.rb
1326
1581
  - spec/unit/type/whit_spec.rb
1327
1582
  - spec/unit/type/zfs_spec.rb
1328
1583
  - spec/unit/type/zone_spec.rb
@@ -1353,6 +1608,15 @@ files:
1353
1608
  - spec/unit/util/metric_spec.rb
1354
1609
  - spec/unit/util/monkey_patches_spec.rb
1355
1610
  - spec/unit/util/nagios_maker_spec.rb
1611
+ - spec/unit/util/network_device/cisco/device_spec.rb
1612
+ - spec/unit/util/network_device/cisco/facts_spec.rb
1613
+ - spec/unit/util/network_device/cisco/interface_spec.rb
1614
+ - spec/unit/util/network_device/config_spec.rb
1615
+ - spec/unit/util/network_device/ipcalc_spec.rb
1616
+ - spec/unit/util/network_device/transport/base_spec.rb
1617
+ - spec/unit/util/network_device/transport/ssh_spec.rb
1618
+ - spec/unit/util/network_device/transport/telnet_spec.rb
1619
+ - spec/unit/util/network_device_spec.rb
1356
1620
  - spec/unit/util/package_spec.rb
1357
1621
  - spec/unit/util/posix_spec.rb
1358
1622
  - spec/unit/util/pson_spec.rb
@@ -1367,17 +1631,17 @@ files:
1367
1631
  - spec/unit/util/settings/file_setting_spec.rb
1368
1632
  - spec/unit/util/settings_spec.rb
1369
1633
  - spec/unit/util/storage_spec.rb
1370
- - spec/unit/util/suidmanager_spec.rb
1371
1634
  - spec/unit/util/tagging_spec.rb
1372
1635
  - spec/unit/util/user_attr_spec.rb
1373
1636
  - spec/unit/util/warnings_spec.rb
1374
1637
  - spec/unit/util/zaml_spec.rb
1375
- - spec/unit/util_spec.rb
1638
+ - spec/watchr.rb
1376
1639
  - bin/puppetca
1377
1640
  - bin/puppetd
1378
1641
  - bin/puppetmasterd
1379
1642
  - bin/puppetqd
1380
1643
  - bin/puppetrun
1644
+ has_rdoc: true
1381
1645
  homepage: http://puppetlabs.com
1382
1646
  licenses: []
1383
1647
 
@@ -1411,7 +1675,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1411
1675
  requirements: []
1412
1676
 
1413
1677
  rubyforge_project: puppet
1414
- rubygems_version: 1.8.24
1678
+ rubygems_version: 1.5.3
1415
1679
  signing_key:
1416
1680
  specification_version: 3
1417
1681
  summary: Puppet, an automated configuration management tool