puppet 2.7.26 → 3.0.0.rc4

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 (1472) hide show
  1. data/CHANGELOG +533 -204
  2. data/Gemfile +8 -24
  3. data/Gemfile.lock +44 -0
  4. data/LICENSE +1 -1
  5. data/README.md +2 -2
  6. data/README_DEVELOPER.md +18 -210
  7. data/Rakefile +30 -47
  8. data/bin/puppet +5 -3
  9. data/conf/auth.conf +3 -3
  10. data/{ext → conf}/osx/PackageInfo.plist +0 -0
  11. data/{ext → conf}/osx/createpackage.sh +0 -0
  12. data/conf/osx/preflight +24 -0
  13. data/conf/redhat/client.init +8 -8
  14. data/{ext/redhat/puppet.spec.erb → conf/redhat/puppet.spec} +29 -46
  15. data/conf/redhat/queue.init +105 -0
  16. data/conf/redhat/rundir-perms.patch +13 -13
  17. data/conf/redhat/server.init +4 -4
  18. data/conf/solaris/pkginfo +1 -1
  19. data/conf/suse/puppet.spec +8 -3
  20. data/conf/windows/eventlog/puppetres.dll +0 -0
  21. data/ext/emacs/puppet-mode.el +204 -150
  22. data/ext/nagios/naggen +1 -1
  23. data/ext/puppet-test +1 -1
  24. data/ext/puppetlisten/puppetlisten.rb +1 -2
  25. data/ext/puppetlisten/puppetrun.rb +1 -2
  26. data/ext/rack/files/config.ru +21 -3
  27. data/ext/regexp_nodes/environment/development +2 -0
  28. data/ext/regexp_nodes/parameters/{environment → service}/prod +0 -0
  29. data/ext/regexp_nodes/parameters/{environment → service}/qa +0 -0
  30. data/ext/regexp_nodes/parameters/service/sandbox +1 -0
  31. data/ext/regexp_nodes/regexp_nodes.rb +115 -59
  32. data/ext/upload_facts.rb +0 -1
  33. data/install.rb +10 -10
  34. data/lib/puppet.rb +49 -24
  35. data/lib/puppet/agent.rb +40 -16
  36. data/lib/puppet/agent/disabler.rb +53 -0
  37. data/lib/puppet/agent/locker.rb +18 -24
  38. data/lib/puppet/application.rb +93 -72
  39. data/lib/puppet/application/agent.rb +29 -47
  40. data/lib/puppet/application/apply.rb +40 -39
  41. data/lib/puppet/application/cert.rb +9 -11
  42. data/lib/puppet/application/certificate.rb +7 -2
  43. data/lib/puppet/application/certificate_request.rb +3 -0
  44. data/lib/puppet/application/certificate_revocation_list.rb +3 -0
  45. data/lib/puppet/application/describe.rb +1 -3
  46. data/lib/puppet/application/device.rb +15 -16
  47. data/lib/puppet/application/doc.rb +12 -11
  48. data/lib/puppet/application/face_base.rb +9 -13
  49. data/lib/puppet/application/filebucket.rb +2 -8
  50. data/lib/puppet/application/inspect.rb +3 -6
  51. data/lib/puppet/application/instrumentation_data.rb +3 -0
  52. data/lib/puppet/application/instrumentation_listener.rb +3 -0
  53. data/lib/puppet/application/instrumentation_probe.rb +3 -0
  54. data/lib/puppet/application/kick.rb +2 -8
  55. data/lib/puppet/application/master.rb +9 -15
  56. data/lib/puppet/application/module.rb +0 -7
  57. data/lib/puppet/application/queue.rb +7 -6
  58. data/lib/puppet/application/resource.rb +1 -5
  59. data/lib/puppet/application/resource_type.rb +3 -0
  60. data/lib/puppet/application/secret_agent.rb +3 -0
  61. data/lib/puppet/configurer.rb +87 -88
  62. data/lib/puppet/configurer/downloader.rb +8 -23
  63. data/lib/puppet/configurer/fact_handler.rb +5 -17
  64. data/lib/puppet/configurer/plugin_handler.rb +4 -23
  65. data/lib/puppet/daemon.rb +24 -6
  66. data/lib/puppet/data_binding.rb +11 -0
  67. data/lib/puppet/defaults.rb +1058 -518
  68. data/lib/puppet/error.rb +31 -25
  69. data/lib/puppet/external/dot.rb +1 -1
  70. data/lib/puppet/external/nagios/base.rb +8 -4
  71. data/lib/puppet/face/ca.rb +1 -1
  72. data/lib/puppet/face/catalog.rb +1 -2
  73. data/lib/puppet/face/certificate.rb +12 -0
  74. data/lib/puppet/face/config.rb +3 -0
  75. data/lib/puppet/face/help.rb +92 -28
  76. data/lib/puppet/face/help/action.erb +36 -3
  77. data/lib/puppet/face/help/face.erb +35 -3
  78. data/lib/puppet/face/help/global.erb +8 -12
  79. data/lib/puppet/face/help/man.erb +20 -2
  80. data/lib/puppet/face/instrumentation_data.rb +1 -0
  81. data/lib/puppet/face/instrumentation_listener.rb +1 -0
  82. data/lib/puppet/face/instrumentation_probe.rb +1 -0
  83. data/lib/puppet/face/module.rb +2 -0
  84. data/lib/puppet/face/module/build.rb +32 -6
  85. data/lib/puppet/face/module/changes.rb +1 -0
  86. data/lib/puppet/face/module/generate.rb +1 -0
  87. data/lib/puppet/face/module/install.rb +10 -41
  88. data/lib/puppet/face/module/list.rb +2 -19
  89. data/lib/puppet/face/module/search.rb +12 -6
  90. data/lib/puppet/face/module/uninstall.rb +3 -18
  91. data/lib/puppet/face/module/upgrade.rb +2 -9
  92. data/lib/puppet/face/node/clean.rb +25 -27
  93. data/lib/puppet/face/report.rb +2 -4
  94. data/lib/puppet/face/resource.rb +1 -1
  95. data/lib/puppet/feature/base.rb +9 -3
  96. data/lib/puppet/feature/rails.rb +18 -0
  97. data/lib/puppet/feature/rdoc1.rb +16 -0
  98. data/lib/puppet/file_bucket/dipper.rb +3 -2
  99. data/lib/puppet/file_serving/base.rb +4 -8
  100. data/lib/puppet/file_serving/configuration.rb +1 -12
  101. data/lib/puppet/file_serving/configuration/parser.rb +1 -1
  102. data/lib/puppet/file_serving/metadata.rb +0 -14
  103. data/lib/puppet/file_serving/mount/plugins.rb +10 -1
  104. data/lib/puppet/file_serving/terminus_selector.rb +15 -13
  105. data/lib/puppet/forge.rb +29 -13
  106. data/lib/puppet/forge/cache.rb +1 -1
  107. data/lib/puppet/forge/errors.rb +69 -0
  108. data/lib/puppet/forge/repository.rb +84 -21
  109. data/lib/puppet/indirector/catalog/active_record.rb +2 -12
  110. data/lib/puppet/indirector/catalog/compiler.rb +8 -18
  111. data/lib/puppet/indirector/catalog/json.rb +6 -0
  112. data/lib/puppet/indirector/catalog/static_compiler.rb +3 -2
  113. data/lib/puppet/indirector/certificate/rest.rb +1 -0
  114. data/lib/puppet/indirector/certificate_status/file.rb +0 -5
  115. data/lib/puppet/indirector/data_binding/hiera.rb +6 -0
  116. data/lib/puppet/indirector/data_binding/none.rb +5 -0
  117. data/lib/puppet/indirector/exec.rb +8 -18
  118. data/lib/puppet/indirector/face.rb +5 -4
  119. data/lib/puppet/indirector/facts/facter.rb +6 -33
  120. data/lib/puppet/indirector/facts/network_device.rb +0 -1
  121. data/lib/puppet/indirector/file_bucket_file/file.rb +0 -4
  122. data/lib/puppet/indirector/file_bucket_file/selector.rb +0 -4
  123. data/lib/puppet/indirector/file_content/rest.rb +2 -0
  124. data/lib/puppet/indirector/hiera.rb +69 -0
  125. data/lib/puppet/indirector/indirection.rb +20 -26
  126. data/lib/puppet/indirector/json.rb +76 -0
  127. data/lib/puppet/indirector/ldap.rb +3 -2
  128. data/lib/puppet/indirector/node/active_record.rb +1 -0
  129. data/lib/puppet/indirector/node/exec.rb +9 -0
  130. data/lib/puppet/indirector/node/ldap.rb +6 -3
  131. data/lib/puppet/indirector/node/plain.rb +1 -0
  132. data/lib/puppet/indirector/none.rb +9 -0
  133. data/lib/puppet/indirector/queue.rb +1 -2
  134. data/lib/puppet/indirector/report/processor.rb +2 -3
  135. data/lib/puppet/indirector/report/rest.rb +1 -7
  136. data/lib/puppet/indirector/request.rb +80 -18
  137. data/lib/puppet/indirector/resource/active_record.rb +0 -3
  138. data/lib/puppet/indirector/resource/ral.rb +0 -4
  139. data/lib/puppet/indirector/resource/rest.rb +0 -9
  140. data/lib/puppet/indirector/resource/store_configs.rb +0 -3
  141. data/lib/puppet/indirector/resource_type/parser.rb +30 -1
  142. data/lib/puppet/indirector/rest.rb +103 -126
  143. data/lib/puppet/indirector/run/local.rb +0 -4
  144. data/lib/puppet/indirector/run/rest.rb +0 -6
  145. data/lib/puppet/indirector/terminus.rb +0 -20
  146. data/lib/puppet/indirector/yaml.rb +11 -5
  147. data/lib/puppet/interface.rb +6 -14
  148. data/lib/puppet/interface/action.rb +21 -3
  149. data/lib/puppet/interface/action_builder.rb +5 -0
  150. data/lib/puppet/interface/action_manager.rb +1 -1
  151. data/lib/puppet/interface/documentation.rb +12 -0
  152. data/lib/puppet/interface/face_collection.rb +1 -1
  153. data/lib/puppet/interface/option.rb +19 -3
  154. data/lib/puppet/interface/option_manager.rb +27 -9
  155. data/lib/puppet/metatype/manager.rb +1 -0
  156. data/lib/puppet/module.rb +40 -83
  157. data/lib/puppet/module_tool.rb +42 -5
  158. data/lib/puppet/module_tool/applications/builder.rb +1 -1
  159. data/lib/puppet/module_tool/applications/installer.rb +11 -11
  160. data/lib/puppet/module_tool/applications/searcher.rb +15 -2
  161. data/lib/puppet/module_tool/applications/unpacker.rb +4 -8
  162. data/lib/puppet/module_tool/applications/upgrader.rb +6 -5
  163. data/lib/puppet/module_tool/errors/base.rb +1 -1
  164. data/lib/puppet/module_tool/errors/installer.rb +24 -4
  165. data/lib/puppet/module_tool/install_directory.rb +41 -0
  166. data/lib/puppet/module_tool/metadata.rb +4 -4
  167. data/lib/puppet/module_tool/shared_behaviors.rb +6 -6
  168. data/lib/puppet/network/auth_config_parser.rb +81 -0
  169. data/lib/puppet/network/authconfig.rb +49 -147
  170. data/lib/puppet/network/authorization.rb +20 -62
  171. data/lib/puppet/network/authstore.rb +43 -27
  172. data/lib/puppet/network/formats.rb +10 -20
  173. data/lib/puppet/network/http/api/v1.rb +1 -1
  174. data/lib/puppet/network/http/connection.rb +184 -0
  175. data/lib/puppet/network/http/handler.rb +4 -14
  176. data/lib/puppet/network/http/mongrel.rb +5 -25
  177. data/lib/puppet/network/http/rack.rb +2 -34
  178. data/lib/puppet/network/http/rack/httphandler.rb +0 -3
  179. data/lib/puppet/network/http/rack/rest.rb +2 -7
  180. data/lib/puppet/network/http/webrick.rb +9 -32
  181. data/lib/puppet/network/http_pool.rb +10 -48
  182. data/lib/puppet/network/resolver.rb +85 -0
  183. data/lib/puppet/network/rights.rb +33 -89
  184. data/lib/puppet/network/server.rb +14 -43
  185. data/lib/puppet/node.rb +13 -11
  186. data/lib/puppet/node/environment.rb +29 -12
  187. data/lib/puppet/node/facts.rb +13 -38
  188. data/lib/puppet/parameter.rb +0 -21
  189. data/lib/puppet/parameter/package_options.rb +26 -0
  190. data/lib/puppet/parser/ast.rb +2 -13
  191. data/lib/puppet/parser/ast/function.rb +0 -2
  192. data/lib/puppet/parser/ast/leaf.rb +12 -22
  193. data/lib/puppet/parser/ast/resource.rb +3 -10
  194. data/lib/puppet/parser/ast/resource_defaults.rb +1 -1
  195. data/lib/puppet/parser/ast/resource_override.rb +1 -4
  196. data/lib/puppet/parser/ast/resourceparam.rb +4 -7
  197. data/lib/puppet/parser/ast/selector.rb +7 -1
  198. data/lib/puppet/parser/ast/vardef.rb +0 -2
  199. data/lib/puppet/parser/collector.rb +2 -1
  200. data/lib/puppet/parser/compiler.rb +43 -46
  201. data/lib/puppet/parser/files.rb +15 -20
  202. data/lib/puppet/parser/functions.rb +8 -39
  203. data/lib/puppet/parser/functions/extlookup.rb +8 -8
  204. data/lib/puppet/parser/functions/file.rb +18 -18
  205. data/lib/puppet/parser/functions/fqdn_rand.rb +2 -2
  206. data/lib/puppet/parser/functions/generate.rb +3 -3
  207. data/lib/puppet/parser/functions/include.rb +6 -1
  208. data/lib/puppet/parser/functions/require.rb +16 -21
  209. data/lib/puppet/parser/functions/shellquote.rb +29 -21
  210. data/lib/puppet/parser/functions/versioncmp.rb +2 -5
  211. data/lib/puppet/parser/grammar.ra +44 -14
  212. data/lib/puppet/parser/lexer.rb +101 -169
  213. data/lib/puppet/parser/parser.rb +1103 -1014
  214. data/lib/puppet/parser/parser_support.rb +10 -61
  215. data/lib/puppet/parser/relationship.rb +1 -3
  216. data/lib/puppet/parser/resource.rb +21 -56
  217. data/lib/puppet/parser/scope.rb +138 -165
  218. data/lib/puppet/parser/templatewrapper.rb +25 -20
  219. data/lib/puppet/parser/type_loader.rb +33 -67
  220. data/lib/puppet/parser/yaml_trimmer.rb +1 -1
  221. data/lib/puppet/property.rb +5 -4
  222. data/lib/puppet/provider.rb +133 -28
  223. data/lib/puppet/provider/augeas/augeas.rb +66 -6
  224. data/lib/puppet/provider/command.rb +25 -0
  225. data/lib/puppet/provider/cron/crontab.rb +1 -1
  226. data/lib/puppet/provider/exec.rb +14 -9
  227. data/lib/puppet/provider/exec/posix.rb +1 -1
  228. data/lib/puppet/provider/exec/windows.rb +2 -3
  229. data/lib/puppet/provider/file/windows.rb +29 -10
  230. data/lib/puppet/provider/group/groupadd.rb +3 -2
  231. data/lib/puppet/provider/group/ldap.rb +1 -1
  232. data/lib/puppet/provider/group/windows_adsi.rb +1 -1
  233. data/lib/puppet/provider/host/parsed.rb +1 -1
  234. data/lib/puppet/provider/ldap.rb +1 -5
  235. data/lib/puppet/provider/mount/parsed.rb +3 -3
  236. data/lib/puppet/provider/nameservice.rb +22 -22
  237. data/lib/puppet/provider/nameservice/directoryservice.rb +58 -121
  238. data/lib/puppet/provider/package/apt.rb +8 -11
  239. data/lib/puppet/provider/package/blastwave.rb +3 -3
  240. data/lib/puppet/provider/package/dpkg.rb +1 -1
  241. data/lib/puppet/provider/package/freebsd.rb +2 -2
  242. data/lib/puppet/provider/package/gem.rb +1 -1
  243. data/lib/puppet/provider/package/macports.rb +11 -9
  244. data/lib/puppet/provider/package/msi.rb +37 -32
  245. data/lib/puppet/provider/package/openbsd.rb +1 -1
  246. data/lib/puppet/provider/package/pacman.rb +69 -6
  247. data/lib/puppet/provider/package/pkg.rb +126 -75
  248. data/lib/puppet/provider/package/pkgin.rb +60 -0
  249. data/lib/puppet/provider/package/pkgutil.rb +32 -20
  250. data/lib/puppet/provider/package/portage.rb +2 -2
  251. data/lib/puppet/provider/package/sun.rb +83 -116
  252. data/lib/puppet/provider/package/sunfreeware.rb +1 -1
  253. data/lib/puppet/provider/package/up2date.rb +2 -3
  254. data/lib/puppet/provider/package/windows.rb +130 -0
  255. data/lib/puppet/provider/package/windows/exe_package.rb +70 -0
  256. data/lib/puppet/provider/package/windows/msi_package.rb +62 -0
  257. data/lib/puppet/provider/package/windows/package.rb +79 -0
  258. data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +2 -2
  259. data/lib/puppet/provider/service/base.rb +1 -0
  260. data/lib/puppet/provider/service/bsd.rb +7 -5
  261. data/lib/puppet/provider/service/daemontools.rb +1 -1
  262. data/lib/puppet/provider/service/debian.rb +1 -1
  263. data/lib/puppet/provider/service/freebsd.rb +9 -9
  264. data/lib/puppet/provider/service/launchd.rb +7 -11
  265. data/lib/puppet/provider/service/redhat.rb +2 -2
  266. data/lib/puppet/provider/service/runit.rb +9 -2
  267. data/lib/puppet/provider/service/smf.rb +14 -2
  268. data/lib/puppet/provider/service/systemd.rb +3 -3
  269. data/lib/puppet/provider/service/upstart.rb +6 -6
  270. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +1 -0
  271. data/lib/puppet/provider/user/user_role_add.rb +1 -1
  272. data/lib/puppet/provider/user/useradd.rb +3 -8
  273. data/lib/puppet/provider/user/windows_adsi.rb +1 -12
  274. data/lib/puppet/provider/zfs/{solaris.rb → zfs.rb} +16 -5
  275. data/lib/puppet/provider/zone/solaris.rb +10 -13
  276. data/lib/puppet/provider/zpool/{solaris.rb → zpool.rb} +11 -4
  277. data/lib/puppet/rails.rb +6 -4
  278. data/lib/puppet/rails/database/schema.rb +9 -4
  279. data/lib/puppet/rails/inventory_node.rb +13 -26
  280. data/lib/puppet/reference/configuration.rb +1 -2
  281. data/lib/puppet/reference/metaparameter.rb +1 -2
  282. data/lib/puppet/reports/http.rb +9 -10
  283. data/lib/puppet/reports/rrdgraph.rb +2 -2
  284. data/lib/puppet/reports/store.rb +1 -2
  285. data/lib/puppet/reports/tagmail.rb +6 -6
  286. data/lib/puppet/resource.rb +69 -64
  287. data/lib/puppet/resource/catalog.rb +11 -60
  288. data/lib/puppet/resource/status.rb +6 -32
  289. data/lib/puppet/resource/type.rb +94 -34
  290. data/lib/puppet/resource/type_collection.rb +17 -8
  291. data/lib/puppet/run.rb +4 -26
  292. data/lib/puppet/settings.rb +1315 -0
  293. data/lib/puppet/settings/base_setting.rb +163 -0
  294. data/lib/puppet/{util/settings → settings}/boolean_setting.rb +7 -3
  295. data/lib/puppet/settings/directory_setting.rb +7 -0
  296. data/lib/puppet/settings/errors.rb +11 -0
  297. data/lib/puppet/{util/settings → settings}/file_setting.rb +4 -20
  298. data/lib/puppet/settings/path_setting.rb +10 -0
  299. data/lib/puppet/settings/string_setting.rb +12 -0
  300. data/lib/puppet/simple_graph.rb +2 -5
  301. data/lib/puppet/ssl/base.rb +2 -2
  302. data/lib/puppet/ssl/certificate_authority.rb +4 -5
  303. data/lib/puppet/ssl/certificate_authority/interface.rb +5 -7
  304. data/lib/puppet/ssl/certificate_factory.rb +1 -2
  305. data/lib/puppet/ssl/certificate_request.rb +2 -2
  306. data/lib/puppet/ssl/certificate_revocation_list.rb +53 -30
  307. data/lib/puppet/ssl/configuration.rb +32 -0
  308. data/lib/puppet/ssl/host.rb +9 -37
  309. data/lib/puppet/status.rb +2 -6
  310. data/lib/puppet/test/test_helper.rb +58 -25
  311. data/lib/puppet/transaction.rb +6 -9
  312. data/lib/puppet/transaction/event.rb +13 -24
  313. data/lib/puppet/transaction/event_manager.rb +1 -1
  314. data/lib/puppet/transaction/report.rb +2 -41
  315. data/lib/puppet/transaction/resource_harness.rb +2 -3
  316. data/lib/puppet/type.rb +18 -191
  317. data/lib/puppet/type/augeas.rb +1 -1
  318. data/lib/puppet/type/cron.rb +1 -1
  319. data/lib/puppet/type/exec.rb +6 -4
  320. data/lib/puppet/type/file.rb +33 -44
  321. data/lib/puppet/type/file/content.rb +13 -9
  322. data/lib/puppet/type/file/ensure.rb +1 -1
  323. data/lib/puppet/type/file/mode.rb +1 -1
  324. data/lib/puppet/type/file/selcontext.rb +2 -6
  325. data/lib/puppet/type/file/source.rb +8 -4
  326. data/lib/puppet/type/filebucket.rb +3 -2
  327. data/lib/puppet/type/mount.rb +1 -11
  328. data/lib/puppet/type/package.rb +40 -23
  329. data/lib/puppet/type/schedule.rb +127 -21
  330. data/lib/puppet/type/scheduled_task.rb +1 -1
  331. data/lib/puppet/type/service.rb +2 -3
  332. data/lib/puppet/type/tidy.rb +8 -17
  333. data/lib/puppet/type/yumrepo.rb +35 -7
  334. data/lib/puppet/type/zfs.rb +4 -0
  335. data/lib/puppet/type/zone.rb +48 -38
  336. data/lib/puppet/util.rb +178 -249
  337. data/lib/puppet/util/adsi.rb +23 -25
  338. data/lib/puppet/util/autoload.rb +184 -114
  339. data/lib/puppet/util/backups.rb +3 -2
  340. data/lib/puppet/util/colors.rb +0 -1
  341. data/lib/puppet/util/command_line.rb +42 -104
  342. data/lib/puppet/util/command_line/puppet_option_parser.rb +89 -0
  343. data/lib/puppet/util/command_line/trollop.rb +824 -0
  344. data/lib/puppet/util/config_timeout.rb +24 -0
  345. data/lib/puppet/util/constant_inflector.rb +15 -7
  346. data/lib/puppet/util/diff.rb +2 -2
  347. data/lib/puppet/util/docs.rb +1 -2
  348. data/lib/puppet/util/errors.rb +3 -4
  349. data/lib/puppet/util/execution.rb +239 -14
  350. data/lib/puppet/util/execution_stub.rb +2 -2
  351. data/lib/puppet/util/feature.rb +2 -4
  352. data/lib/puppet/util/fileparsing.rb +1 -1
  353. data/lib/puppet/util/filetype.rb +12 -10
  354. data/lib/puppet/util/json_lockfile.rb +41 -0
  355. data/lib/puppet/util/ldap/connection.rb +4 -7
  356. data/lib/puppet/util/lockfile.rb +62 -0
  357. data/lib/puppet/util/log.rb +16 -20
  358. data/lib/puppet/util/log/destinations.rb +12 -27
  359. data/lib/puppet/util/logging.rb +95 -3
  360. data/lib/puppet/util/metric.rb +0 -6
  361. data/lib/puppet/util/monkey_patches.rb +101 -82
  362. data/lib/puppet/util/monkey_patches/lines.rb +13 -0
  363. data/lib/puppet/util/network_device/cisco/device.rb +2 -2
  364. data/lib/puppet/util/network_device/config.rb +1 -0
  365. data/lib/puppet/util/network_device/transport.rb +2 -0
  366. data/lib/puppet/util/pidlock.rb +13 -77
  367. data/lib/puppet/util/platform.rb +0 -7
  368. data/lib/puppet/util/posix.rb +10 -0
  369. data/lib/puppet/util/rdoc.rb +12 -8
  370. data/lib/puppet/util/reference.rb +3 -3
  371. data/lib/puppet/util/rubygems.rb +55 -0
  372. data/lib/puppet/util/run_mode.rb +7 -16
  373. data/lib/puppet/util/selinux.rb +36 -31
  374. data/lib/puppet/util/storage.rb +14 -19
  375. data/lib/puppet/util/suidmanager.rb +27 -2
  376. data/lib/puppet/util/windows.rb +9 -6
  377. data/lib/puppet/util/windows/error.rb +1 -1
  378. data/lib/puppet/util/windows/process.rb +3 -3
  379. data/lib/puppet/util/windows/registry.rb +36 -0
  380. data/lib/puppet/util/windows/security.rb +46 -9
  381. data/lib/puppet/util/windows/user.rb +2 -65
  382. data/lib/puppet/util/zaml.rb +47 -91
  383. data/lib/puppet/version.rb +1 -1
  384. data/man/man5/puppet.conf.5 +97 -69
  385. data/man/man8/puppet-agent.8 +5 -6
  386. data/man/man8/puppet-apply.8 +7 -3
  387. data/man/man8/puppet-ca.8 +5 -17
  388. data/man/man8/puppet-catalog.8 +1 -1
  389. data/man/man8/puppet-cert.8 +1 -1
  390. data/man/man8/puppet-certificate.8 +3 -9
  391. data/man/man8/puppet-certificate_request.8 +1 -1
  392. data/man/man8/puppet-certificate_revocation_list.8 +1 -1
  393. data/man/man8/puppet-config.8 +1 -1
  394. data/man/man8/puppet-describe.8 +1 -1
  395. data/man/man8/puppet-device.8 +1 -1
  396. data/man/man8/puppet-doc.8 +7 -1
  397. data/man/man8/puppet-facts.8 +1 -1
  398. data/man/man8/puppet-file.8 +1 -1
  399. data/man/man8/puppet-filebucket.8 +1 -1
  400. data/man/man8/puppet-help.8 +2 -5
  401. data/man/man8/puppet-inspect.8 +1 -1
  402. data/man/man8/puppet-instrumentation_data.8 +1 -1
  403. data/man/man8/puppet-instrumentation_listener.8 +1 -1
  404. data/man/man8/puppet-instrumentation_probe.8 +1 -1
  405. data/man/man8/puppet-key.8 +1 -1
  406. data/man/man8/puppet-kick.8 +1 -1
  407. data/man/man8/puppet-man.8 +1 -1
  408. data/man/man8/puppet-master.8 +1 -1
  409. data/man/man8/puppet-module.8 +19 -50
  410. data/man/man8/puppet-node.8 +2 -5
  411. data/man/man8/puppet-parser.8 +7 -1
  412. data/man/man8/puppet-plugin.8 +1 -1
  413. data/man/man8/puppet-queue.8 +1 -1
  414. data/man/man8/puppet-report.8 +2 -3
  415. data/man/man8/puppet-resource.8 +1 -1
  416. data/man/man8/puppet-resource_type.8 +1 -1
  417. data/man/man8/puppet-secret_agent.8 +1 -1
  418. data/man/man8/puppet-status.8 +1 -1
  419. data/man/man8/puppet.8 +1 -1
  420. data/spec/fixtures/unit/indirector/hiera/global.yaml +10 -0
  421. data/{test/data/providers/cron/crontab_sample_records.yaml → spec/fixtures/unit/provider/cron/crontab/single_line.yaml} +0 -0
  422. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris10 +1 -1
  423. data/spec/fixtures/unit/provider/package/pkg/{dummy_solaris11 → dummy_solaris11.ifo.installed} +0 -0
  424. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.known +1 -0
  425. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.installed +1 -0
  426. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.known +1 -0
  427. data/spec/fixtures/unit/provider/package/pkg/publisher +2 -2
  428. data/spec/fixtures/unit/provider/package/pkg/simple +2 -4
  429. data/spec/fixtures/unit/provider/package/pkg/solaris11 +2 -12
  430. data/spec/fixtures/unit/provider/package/sun/dummy.server +12 -0
  431. data/spec/fixtures/unit/provider/package/sun/simple +24 -0
  432. data/spec/fixtures/unit/provider/service/smf/svcs.out +3 -0
  433. data/{test/data/types/sshkey/1 → spec/fixtures/unit/provider/sshkey/parsed/sample} +0 -0
  434. data/spec/fixtures/unit/provider/zfs/zfs/zfs-list.out +2 -0
  435. data/spec/fixtures/unit/provider/zpool/zpool/zpool-list.out +2 -0
  436. data/spec/integration/application/apply_spec.rb +1 -1
  437. data/spec/integration/application/doc_spec.rb +3 -2
  438. data/spec/integration/configurer_spec.rb +1 -1
  439. data/spec/integration/defaults_spec.rb +21 -51
  440. data/spec/{unit/face → integration/faces}/ca_spec.rb +89 -130
  441. data/spec/integration/faces/documentation_spec.rb +36 -29
  442. data/spec/integration/file_serving/content_spec.rb +1 -2
  443. data/spec/integration/file_serving/fileset_spec.rb +1 -1
  444. data/spec/integration/file_serving/metadata_spec.rb +1 -2
  445. data/spec/integration/file_serving/terminus_helper_spec.rb +1 -1
  446. data/spec/integration/indirector/catalog/compiler_spec.rb +1 -2
  447. data/spec/integration/indirector/catalog/queue_spec.rb +3 -3
  448. data/spec/integration/indirector/direct_file_server_spec.rb +14 -10
  449. data/spec/integration/indirector/facts/facter_spec.rb +22 -0
  450. data/spec/integration/indirector/file_content/file_server_spec.rb +1 -1
  451. data/spec/integration/indirector/file_metadata/file_server_spec.rb +1 -1
  452. data/spec/integration/indirector/node/ldap_spec.rb +1 -1
  453. data/spec/integration/network/authconfig_spec.rb +238 -0
  454. data/spec/integration/network/formats_spec.rb +2 -4
  455. data/spec/integration/network/server/mongrel_spec.rb +2 -10
  456. data/spec/integration/network/server/webrick_spec.rb +1 -1
  457. data/spec/integration/node/environment_spec.rb +1 -1
  458. data/spec/integration/node/facts_spec.rb +2 -2
  459. data/spec/integration/node_spec.rb +2 -15
  460. data/spec/integration/parser/collector_spec.rb +2 -2
  461. data/spec/integration/parser/compiler_spec.rb +38 -10
  462. data/spec/integration/parser/functions/require_spec.rb +1 -1
  463. data/spec/integration/parser/functions_spec.rb +1 -1
  464. data/spec/integration/parser/parser_spec.rb +1 -1
  465. data/spec/integration/parser/ruby_manifest_spec.rb +1 -1
  466. data/spec/integration/parser/scope_spec.rb +608 -0
  467. data/spec/integration/provider/mailalias/aliases_spec.rb +1 -1
  468. data/spec/integration/provider/mount_spec.rb +1 -0
  469. data/spec/integration/provider/package_spec.rb +3 -3
  470. data/spec/integration/provider/service/init_spec.rb +2 -2
  471. data/spec/integration/provider/ssh_authorized_key_spec.rb +1 -1
  472. data/spec/integration/reference/providers_spec.rb +1 -1
  473. data/spec/integration/reports_spec.rb +1 -1
  474. data/spec/integration/resource/catalog_spec.rb +1 -2
  475. data/spec/integration/resource/type_collection_spec.rb +1 -1
  476. data/spec/integration/ssl/certificate_authority_spec.rb +1 -1
  477. data/spec/integration/ssl/certificate_request_spec.rb +1 -1
  478. data/spec/integration/ssl/certificate_revocation_list_spec.rb +1 -1
  479. data/spec/integration/ssl/host_spec.rb +1 -1
  480. data/spec/integration/transaction/report_spec.rb +1 -1
  481. data/spec/integration/transaction_spec.rb +2 -2
  482. data/spec/integration/type/exec_spec.rb +1 -1
  483. data/spec/integration/type/file_spec.rb +140 -158
  484. data/spec/integration/type/package_spec.rb +6 -2
  485. data/spec/integration/type/tidy_spec.rb +1 -1
  486. data/spec/integration/type_spec.rb +1 -1
  487. data/spec/integration/util/autoload_spec.rb +8 -14
  488. data/spec/integration/util/feature_spec.rb +1 -1
  489. data/spec/integration/util/rdoc/parser_spec.rb +11 -9
  490. data/spec/integration/util/settings_spec.rb +19 -6
  491. data/spec/integration/util/windows/security_spec.rb +23 -3
  492. data/spec/integration/util_spec.rb +3 -3
  493. data/spec/lib/puppet/indirector/indirector_testing/json.rb +6 -0
  494. data/spec/lib/puppet/indirector_testing.rb +27 -0
  495. data/spec/lib/puppet_spec/compiler.rb +2 -2
  496. data/spec/lib/puppet_spec/database.rb +1 -1
  497. data/spec/lib/puppet_spec/files.rb +4 -4
  498. data/spec/lib/puppet_spec/matchers.rb +26 -24
  499. data/spec/lib/puppet_spec/modules.rb +1 -1
  500. data/spec/lib/puppet_spec/settings.rb +16 -0
  501. data/spec/shared_behaviours/file_server_terminus.rb +2 -2
  502. data/spec/shared_behaviours/file_serving.rb +10 -15
  503. data/spec/shared_behaviours/file_serving_model.rb +2 -6
  504. data/spec/shared_contexts/platform.rb +0 -8
  505. data/spec/spec_helper.rb +14 -15
  506. data/spec/unit/agent/disabler_spec.rb +64 -0
  507. data/spec/unit/agent/locker_spec.rb +31 -36
  508. data/spec/unit/agent_spec.rb +79 -26
  509. data/spec/unit/application/agent_spec.rb +66 -39
  510. data/spec/unit/application/apply_spec.rb +46 -36
  511. data/spec/unit/application/cert_spec.rb +1 -5
  512. data/spec/unit/application/certificate_spec.rb +1 -1
  513. data/spec/unit/application/config_spec.rb +1 -1
  514. data/spec/unit/application/describe_spec.rb +1 -5
  515. data/spec/unit/application/device_spec.rb +22 -12
  516. data/spec/unit/application/doc_spec.rb +37 -69
  517. data/spec/unit/application/face_base_spec.rb +10 -6
  518. data/spec/unit/application/facts_spec.rb +3 -3
  519. data/spec/unit/application/filebucket_spec.rb +7 -18
  520. data/spec/unit/application/indirection_base_spec.rb +11 -5
  521. data/spec/unit/application/inspect_spec.rb +3 -2
  522. data/spec/unit/application/kick_spec.rb +6 -22
  523. data/spec/unit/application/master_spec.rb +15 -39
  524. data/spec/unit/application/queue_spec.rb +2 -6
  525. data/spec/unit/application/resource_spec.rb +15 -12
  526. data/spec/unit/application/secret_agent_spec.rb +1 -1
  527. data/spec/unit/application_spec.rb +110 -123
  528. data/spec/unit/configurer/downloader_spec.rb +5 -5
  529. data/spec/unit/configurer/fact_handler_spec.rb +1 -40
  530. data/spec/unit/configurer/plugin_handler_spec.rb +11 -96
  531. data/spec/unit/configurer_spec.rb +61 -59
  532. data/spec/unit/daemon_spec.rb +26 -19
  533. data/spec/unit/data_binding_spec.rb +11 -0
  534. data/spec/unit/dsl/resource_api_spec.rb +2 -2
  535. data/spec/unit/dsl/resource_type_api_spec.rb +1 -1
  536. data/spec/unit/face/catalog_spec.rb +1 -1
  537. data/spec/unit/face/certificate_request_spec.rb +1 -1
  538. data/spec/unit/face/certificate_revocation_list_spec.rb +1 -1
  539. data/spec/unit/face/certificate_spec.rb +18 -1
  540. data/spec/unit/face/config_spec.rb +8 -1
  541. data/spec/unit/face/facts_spec.rb +1 -1
  542. data/spec/unit/face/file_spec.rb +1 -1
  543. data/spec/unit/face/help_spec.rb +39 -22
  544. data/spec/unit/face/instrumentation_data_spec.rb +1 -1
  545. data/spec/unit/face/instrumentation_listener_spec.rb +1 -1
  546. data/spec/unit/face/instrumentation_probe_spec.rb +1 -1
  547. data/spec/unit/face/key_spec.rb +1 -1
  548. data/spec/unit/face/module/build_spec.rb +68 -0
  549. data/spec/unit/face/module/install_spec.rb +46 -31
  550. data/spec/unit/face/module/list_spec.rb +18 -21
  551. data/spec/unit/face/module/search_spec.rb +87 -49
  552. data/spec/unit/face/module/uninstall_spec.rb +4 -4
  553. data/spec/unit/face/node_spec.rb +3 -3
  554. data/spec/unit/face/plugin_spec.rb +1 -1
  555. data/spec/unit/face/report_spec.rb +1 -1
  556. data/spec/unit/face/resource_spec.rb +1 -1
  557. data/spec/unit/face/resource_type_spec.rb +1 -1
  558. data/spec/unit/face/secret_agent_spec.rb +1 -1
  559. data/spec/unit/file_bucket/dipper_spec.rb +1 -1
  560. data/spec/unit/file_bucket/file_spec.rb +1 -1
  561. data/spec/unit/file_serving/base_spec.rb +1 -1
  562. data/spec/unit/file_serving/configuration/parser_spec.rb +1 -1
  563. data/spec/unit/file_serving/configuration_spec.rb +7 -21
  564. data/spec/unit/file_serving/content_spec.rb +1 -1
  565. data/spec/unit/file_serving/fileset_spec.rb +13 -13
  566. data/spec/unit/file_serving/metadata_spec.rb +29 -47
  567. data/spec/unit/file_serving/mount/file_spec.rb +1 -1
  568. data/spec/unit/file_serving/mount/modules_spec.rb +1 -1
  569. data/spec/unit/file_serving/mount/plugins_spec.rb +17 -4
  570. data/spec/unit/file_serving/mount_spec.rb +1 -1
  571. data/spec/unit/file_serving/terminus_helper_spec.rb +1 -1
  572. data/spec/unit/file_serving/terminus_selector_spec.rb +5 -5
  573. data/spec/unit/forge/errors_spec.rb +42 -0
  574. data/spec/unit/forge/repository_spec.rb +108 -31
  575. data/spec/unit/forge_spec.rb +17 -23
  576. data/spec/unit/indirector/active_record_spec.rb +1 -1
  577. data/spec/unit/indirector/catalog/active_record_spec.rb +11 -49
  578. data/spec/unit/indirector/catalog/compiler_spec.rb +18 -45
  579. data/spec/unit/indirector/catalog/json_spec.rb +12 -0
  580. data/spec/unit/indirector/catalog/queue_spec.rb +1 -1
  581. data/spec/unit/indirector/catalog/rest_spec.rb +1 -1
  582. data/spec/unit/indirector/catalog/store_configs_spec.rb +1 -1
  583. data/spec/unit/indirector/catalog/yaml_spec.rb +1 -1
  584. data/spec/unit/indirector/certificate/ca_spec.rb +5 -6
  585. data/spec/unit/indirector/certificate/file_spec.rb +5 -6
  586. data/spec/unit/indirector/certificate/rest_spec.rb +6 -2
  587. data/spec/unit/indirector/certificate_request/ca_spec.rb +3 -3
  588. data/spec/unit/indirector/certificate_request/file_spec.rb +3 -3
  589. data/spec/unit/indirector/certificate_request/rest_spec.rb +1 -1
  590. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +3 -4
  591. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +4 -3
  592. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +1 -1
  593. data/spec/unit/indirector/certificate_status/file_spec.rb +41 -31
  594. data/spec/unit/indirector/certificate_status/rest_spec.rb +1 -1
  595. data/spec/unit/indirector/code_spec.rb +1 -1
  596. data/spec/unit/indirector/data_binding/hiera_spec.rb +21 -0
  597. data/spec/unit/indirector/data_binding/none_spec.rb +28 -0
  598. data/spec/unit/indirector/direct_file_server_spec.rb +2 -2
  599. data/spec/unit/indirector/envelope_spec.rb +1 -1
  600. data/spec/unit/indirector/exec_spec.rb +1 -1
  601. data/spec/unit/indirector/face_spec.rb +1 -1
  602. data/spec/unit/indirector/facts/active_record_spec.rb +1 -1
  603. data/spec/unit/indirector/facts/couch_spec.rb +3 -3
  604. data/spec/unit/indirector/facts/facter_spec.rb +13 -20
  605. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +2 -2
  606. data/spec/unit/indirector/facts/inventory_service_spec.rb +2 -3
  607. data/spec/unit/indirector/facts/network_device_spec.rb +2 -9
  608. data/spec/unit/indirector/facts/rest_spec.rb +1 -1
  609. data/spec/unit/indirector/facts/store_configs_spec.rb +1 -1
  610. data/spec/unit/indirector/facts/yaml_spec.rb +2 -2
  611. data/spec/unit/indirector/file_bucket_file/file_spec.rb +2 -2
  612. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +1 -1
  613. data/spec/unit/indirector/file_content/file_server_spec.rb +1 -1
  614. data/spec/unit/indirector/file_content/file_spec.rb +1 -1
  615. data/spec/unit/indirector/file_content/rest_spec.rb +7 -3
  616. data/spec/unit/indirector/file_metadata/file_server_spec.rb +1 -1
  617. data/spec/unit/indirector/file_metadata/file_spec.rb +3 -3
  618. data/spec/unit/indirector/file_metadata/rest_spec.rb +1 -1
  619. data/spec/unit/indirector/file_server_spec.rb +1 -1
  620. data/spec/unit/indirector/hiera_spec.rb +149 -0
  621. data/spec/unit/indirector/indirection_spec.rb +10 -29
  622. data/spec/unit/indirector/instrumentation_data/local_spec.rb +1 -1
  623. data/spec/unit/indirector/instrumentation_data/rest_spec.rb +1 -1
  624. data/spec/unit/indirector/instrumentation_listener/local_spec.rb +1 -1
  625. data/spec/unit/indirector/instrumentation_listener/rest_spec.rb +1 -1
  626. data/spec/unit/indirector/instrumentation_probe/local_spec.rb +1 -1
  627. data/spec/unit/indirector/instrumentation_probe/rest_spec.rb +1 -1
  628. data/spec/unit/indirector/json_spec.rb +193 -0
  629. data/spec/unit/indirector/key/ca_spec.rb +5 -6
  630. data/spec/unit/indirector/key/file_spec.rb +10 -12
  631. data/spec/unit/indirector/ldap_spec.rb +3 -3
  632. data/spec/unit/indirector/memory_spec.rb +1 -1
  633. data/spec/unit/indirector/node/active_record_spec.rb +11 -7
  634. data/spec/unit/indirector/node/exec_spec.rb +12 -5
  635. data/spec/unit/indirector/node/ldap_spec.rb +173 -194
  636. data/spec/unit/indirector/node/memory_spec.rb +1 -1
  637. data/spec/unit/indirector/node/plain_spec.rb +16 -8
  638. data/spec/unit/indirector/node/rest_spec.rb +1 -1
  639. data/spec/unit/indirector/node/store_configs_spec.rb +1 -1
  640. data/spec/unit/indirector/node/yaml_spec.rb +1 -1
  641. data/spec/unit/indirector/none_spec.rb +33 -0
  642. data/spec/unit/indirector/plain_spec.rb +1 -1
  643. data/spec/unit/indirector/queue_spec.rb +1 -1
  644. data/spec/unit/indirector/report/processor_spec.rb +4 -4
  645. data/spec/unit/indirector/report/rest_spec.rb +3 -46
  646. data/spec/unit/indirector/report/yaml_spec.rb +3 -12
  647. data/spec/unit/indirector/request_spec.rb +238 -61
  648. data/spec/unit/indirector/resource/active_record_spec.rb +2 -2
  649. data/spec/unit/indirector/resource/ral_spec.rb +2 -2
  650. data/spec/unit/indirector/resource/rest_spec.rb +1 -1
  651. data/spec/unit/indirector/resource/store_configs_spec.rb +1 -1
  652. data/spec/unit/indirector/resource_type/parser_spec.rb +153 -53
  653. data/spec/unit/indirector/resource_type/rest_spec.rb +1 -1
  654. data/spec/unit/indirector/rest_spec.rb +350 -361
  655. data/spec/unit/indirector/run/local_spec.rb +2 -2
  656. data/spec/unit/indirector/run/rest_spec.rb +1 -1
  657. data/spec/unit/indirector/ssl_file_spec.rb +12 -10
  658. data/spec/unit/indirector/status/rest_spec.rb +1 -1
  659. data/spec/unit/indirector/store_configs_spec.rb +1 -1
  660. data/spec/unit/indirector/terminus_spec.rb +1 -46
  661. data/spec/unit/indirector/yaml_spec.rb +36 -36
  662. data/spec/unit/indirector_spec.rb +1 -1
  663. data/spec/unit/interface/action_builder_spec.rb +1 -1
  664. data/spec/unit/interface/action_manager_spec.rb +1 -1
  665. data/spec/unit/interface/action_spec.rb +1 -1
  666. data/spec/unit/interface/documentation_spec.rb +3 -2
  667. data/spec/unit/interface/face_collection_spec.rb +19 -9
  668. data/spec/unit/interface/option_builder_spec.rb +9 -1
  669. data/spec/unit/interface/option_spec.rb +8 -0
  670. data/spec/unit/interface_spec.rb +49 -11
  671. data/spec/unit/module_spec.rb +95 -303
  672. data/spec/unit/module_tool/application_spec.rb +6 -6
  673. data/spec/unit/module_tool/applications/installer_spec.rb +131 -69
  674. data/spec/unit/module_tool/applications/searcher_spec.rb +37 -0
  675. data/spec/unit/module_tool/applications/uninstaller_spec.rb +27 -19
  676. data/spec/unit/module_tool/applications/unpacker_spec.rb +4 -10
  677. data/spec/unit/module_tool/applications/upgrader_spec.rb +1 -4
  678. data/spec/unit/module_tool/install_directory_spec.rb +70 -0
  679. data/spec/unit/module_tool_spec.rb +132 -1
  680. data/spec/unit/network/auth_config_parser_spec.rb +101 -0
  681. data/spec/unit/network/authconfig_spec.rb +54 -272
  682. data/spec/unit/network/authorization_spec.rb +20 -0
  683. data/spec/unit/network/authstore_spec.rb +17 -15
  684. data/spec/unit/network/format_handler_spec.rb +3 -3
  685. data/spec/unit/network/format_spec.rb +1 -1
  686. data/spec/unit/network/formats_spec.rb +28 -37
  687. data/spec/unit/network/http/api/v1_spec.rb +3 -3
  688. data/spec/unit/network/http/compression_spec.rb +3 -3
  689. data/spec/unit/network/http/connection_spec.rb +244 -0
  690. data/spec/unit/network/http/handler_spec.rb +4 -20
  691. data/spec/unit/network/http/mongrel/rest_spec.rb +12 -31
  692. data/spec/unit/network/http/mongrel_spec.rb +7 -37
  693. data/spec/unit/network/http/rack/rest_spec.rb +10 -44
  694. data/spec/unit/network/http/rack_spec.rb +2 -59
  695. data/spec/unit/network/http/webrick/rest_spec.rb +14 -4
  696. data/spec/unit/network/http/webrick_spec.rb +129 -193
  697. data/spec/unit/network/http_pool_spec.rb +6 -115
  698. data/spec/unit/network/http_spec.rb +1 -1
  699. data/spec/unit/network/resolver_spec.rb +207 -0
  700. data/spec/unit/network/rights_spec.rb +15 -115
  701. data/spec/unit/network/server_spec.rb +58 -166
  702. data/spec/unit/node/environment_spec.rb +7 -7
  703. data/spec/unit/node/facts_spec.rb +15 -30
  704. data/spec/unit/node_spec.rb +14 -26
  705. data/spec/unit/other/selinux_spec.rb +1 -1
  706. data/spec/unit/parameter/package_options_spec.rb +44 -0
  707. data/spec/unit/parameter/path_spec.rb +1 -1
  708. data/spec/unit/parameter/value_collection_spec.rb +1 -1
  709. data/spec/unit/parameter/value_spec.rb +1 -1
  710. data/spec/unit/parameter_spec.rb +1 -1
  711. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +4 -2
  712. data/spec/unit/parser/ast/astarray_spec.rb +4 -2
  713. data/spec/unit/parser/ast/asthash_spec.rb +4 -2
  714. data/spec/unit/parser/ast/boolean_operator_spec.rb +4 -2
  715. data/spec/unit/parser/ast/casestatement_spec.rb +9 -5
  716. data/spec/unit/parser/ast/collection_spec.rb +2 -2
  717. data/spec/unit/parser/ast/collexpr_spec.rb +4 -2
  718. data/spec/unit/parser/ast/comparison_operator_spec.rb +5 -2
  719. data/spec/unit/parser/ast/definition_spec.rb +1 -1
  720. data/spec/unit/parser/ast/function_spec.rb +3 -3
  721. data/spec/unit/parser/ast/hostclass_spec.rb +1 -1
  722. data/spec/unit/parser/ast/ifstatement_spec.rb +4 -2
  723. data/spec/unit/parser/ast/in_operator_spec.rb +4 -2
  724. data/spec/unit/parser/ast/leaf_spec.rb +66 -39
  725. data/spec/unit/parser/ast/match_operator_spec.rb +4 -2
  726. data/spec/unit/parser/ast/minus_spec.rb +4 -2
  727. data/spec/unit/parser/ast/node_spec.rb +1 -1
  728. data/spec/unit/parser/ast/nop_spec.rb +1 -1
  729. data/spec/unit/parser/ast/not_spec.rb +4 -2
  730. data/spec/unit/parser/ast/relationship_spec.rb +2 -2
  731. data/spec/unit/parser/ast/resource_defaults_spec.rb +2 -2
  732. data/spec/unit/parser/ast/resource_override_spec.rb +2 -2
  733. data/spec/unit/parser/ast/resource_reference_spec.rb +5 -3
  734. data/spec/unit/parser/ast/resource_spec.rb +5 -32
  735. data/spec/unit/parser/ast/selector_spec.rb +56 -106
  736. data/spec/unit/parser/ast/vardef_spec.rb +4 -2
  737. data/spec/unit/parser/ast_spec.rb +22 -51
  738. data/spec/unit/parser/collector_spec.rb +2 -2
  739. data/spec/unit/parser/compiler_spec.rb +89 -42
  740. data/spec/unit/parser/files_spec.rb +81 -10
  741. data/spec/unit/parser/functions/create_resources_spec.rb +5 -4
  742. data/spec/unit/parser/functions/defined_spec.rb +2 -2
  743. data/spec/unit/parser/functions/extlookup_spec.rb +9 -8
  744. data/spec/unit/parser/functions/fail_spec.rb +28 -0
  745. data/spec/unit/parser/functions/file_spec.rb +55 -0
  746. data/spec/unit/parser/functions/fqdn_rand_spec.rb +6 -12
  747. data/spec/unit/parser/functions/generate_spec.rb +54 -3
  748. data/spec/unit/parser/functions/include_spec.rb +19 -2
  749. data/spec/unit/parser/functions/inline_template_spec.rb +9 -20
  750. data/spec/unit/parser/functions/realize_spec.rb +4 -4
  751. data/spec/unit/parser/functions/regsubst_spec.rb +4 -2
  752. data/spec/unit/parser/functions/require_spec.rb +5 -14
  753. data/spec/unit/parser/functions/search_spec.rb +23 -0
  754. data/spec/unit/parser/functions/shellquote_spec.rb +31 -38
  755. data/spec/unit/parser/functions/split_spec.rb +4 -2
  756. data/spec/unit/parser/functions/sprintf_spec.rb +4 -2
  757. data/spec/unit/parser/functions/tag_spec.rb +4 -3
  758. data/spec/unit/parser/functions/template_spec.rb +45 -27
  759. data/spec/unit/parser/functions/versioncmp_spec.rb +4 -2
  760. data/spec/unit/parser/functions_spec.rb +14 -22
  761. data/spec/unit/parser/lexer_spec.rb +10 -134
  762. data/spec/unit/parser/parser_spec.rb +126 -35
  763. data/spec/unit/parser/relationship_spec.rb +1 -25
  764. data/spec/unit/parser/resource_spec.rb +15 -79
  765. data/spec/unit/parser/scope_spec.rb +175 -602
  766. data/spec/unit/parser/templatewrapper_spec.rb +8 -25
  767. data/spec/unit/parser/type_loader_spec.rb +37 -21
  768. data/spec/unit/property/ensure_spec.rb +1 -1
  769. data/spec/unit/property/keyvalue_spec.rb +1 -1
  770. data/spec/unit/property/list_spec.rb +1 -1
  771. data/spec/unit/property/ordered_list_spec.rb +1 -1
  772. data/spec/unit/property_spec.rb +1 -1
  773. data/spec/unit/{puppet/provider → provider}/README.markdown +0 -0
  774. data/spec/unit/provider/augeas/augeas_spec.rb +88 -1
  775. data/spec/unit/provider/cisco_spec.rb +1 -1
  776. data/spec/unit/provider/command_spec.rb +62 -0
  777. data/spec/unit/provider/confine/exists_spec.rb +8 -1
  778. data/spec/unit/provider/confine/false_spec.rb +1 -1
  779. data/spec/unit/provider/confine/feature_spec.rb +1 -1
  780. data/spec/unit/provider/confine/true_spec.rb +1 -1
  781. data/spec/unit/provider/confine/variable_spec.rb +1 -1
  782. data/spec/unit/provider/confine_collection_spec.rb +1 -1
  783. data/spec/unit/provider/confine_spec.rb +1 -1
  784. data/spec/unit/provider/confiner_spec.rb +1 -1
  785. data/spec/unit/provider/cron/crontab_spec.rb +116 -0
  786. data/spec/unit/provider/exec/posix_spec.rb +99 -12
  787. data/spec/unit/provider/exec/shell_spec.rb +1 -1
  788. data/spec/unit/provider/exec/windows_spec.rb +1 -1
  789. data/spec/unit/provider/exec_spec.rb +1 -1
  790. data/spec/unit/provider/file/posix_spec.rb +1 -1
  791. data/spec/unit/provider/file/windows_spec.rb +30 -30
  792. data/spec/unit/provider/group/groupadd_spec.rb +31 -37
  793. data/spec/unit/provider/group/ldap_spec.rb +1 -1
  794. data/spec/unit/provider/group/pw_spec.rb +1 -1
  795. data/spec/unit/provider/group/windows_adsi_spec.rb +2 -2
  796. data/spec/unit/provider/host/parsed_spec.rb +1 -1
  797. data/spec/unit/provider/interface/cisco_spec.rb +1 -1
  798. data/spec/unit/provider/ldap_spec.rb +1 -1
  799. data/spec/unit/provider/macauthorization_spec.rb +1 -1
  800. data/spec/unit/provider/mcx/mcxcontent_spec.rb +1 -1
  801. data/spec/unit/provider/mount/parsed_spec.rb +18 -12
  802. data/spec/unit/provider/mount_spec.rb +1 -1
  803. data/spec/unit/provider/naginator_spec.rb +1 -1
  804. data/spec/unit/provider/nameservice/directoryservice_spec.rb +9 -29
  805. data/spec/unit/provider/network_device_spec.rb +1 -1
  806. data/spec/unit/provider/package/aix_spec.rb +1 -1
  807. data/spec/unit/provider/package/appdmg_spec.rb +1 -1
  808. data/spec/unit/provider/package/apt_spec.rb +1 -1
  809. data/spec/unit/provider/package/aptitude_spec.rb +38 -0
  810. data/spec/unit/provider/package/aptrpm_spec.rb +39 -0
  811. data/spec/unit/provider/package/dpkg_spec.rb +4 -4
  812. data/spec/unit/provider/package/freebsd_spec.rb +3 -3
  813. data/spec/unit/provider/package/gem_spec.rb +1 -1
  814. data/spec/unit/provider/package/hpux_spec.rb +1 -1
  815. data/spec/unit/provider/package/macports_spec.rb +27 -10
  816. data/spec/unit/provider/package/msi_spec.rb +29 -14
  817. data/spec/unit/provider/package/nim_spec.rb +1 -1
  818. data/spec/unit/provider/package/openbsd_spec.rb +3 -3
  819. data/spec/unit/provider/package/pacman_spec.rb +109 -81
  820. data/spec/unit/provider/package/pip_spec.rb +1 -1
  821. data/spec/unit/provider/package/pkg_spec.rb +205 -97
  822. data/spec/unit/provider/package/pkgdmg_spec.rb +1 -1
  823. data/spec/unit/provider/package/pkgin_spec.rb +176 -0
  824. data/spec/unit/provider/package/pkgutil_spec.rb +64 -10
  825. data/spec/unit/provider/package/rpm_spec.rb +58 -0
  826. data/spec/unit/provider/package/sun_spec.rb +122 -0
  827. data/spec/unit/provider/package/up2date_spec.rb +24 -0
  828. data/spec/unit/provider/package/windows/exe_package_spec.rb +99 -0
  829. data/spec/unit/provider/package/windows/msi_package_spec.rb +115 -0
  830. data/spec/unit/provider/package/windows/package_spec.rb +126 -0
  831. data/spec/unit/provider/package/windows_spec.rb +255 -0
  832. data/spec/unit/provider/package/yum_spec.rb +1 -1
  833. data/spec/unit/provider/package/zypper_spec.rb +1 -1
  834. data/spec/unit/provider/parsedfile_spec.rb +1 -1
  835. data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +12 -15
  836. data/spec/unit/provider/selboolean_spec.rb +1 -1
  837. data/spec/unit/provider/selmodule-example.pp +0 -0
  838. data/spec/unit/provider/selmodule_spec.rb +1 -1
  839. data/spec/unit/provider/service/base_spec.rb +77 -0
  840. data/spec/unit/provider/service/daemontools_spec.rb +1 -1
  841. data/spec/unit/provider/service/debian_spec.rb +1 -1
  842. data/spec/unit/provider/service/freebsd_spec.rb +1 -1
  843. data/spec/unit/provider/service/gentoo_spec.rb +1 -1
  844. data/spec/unit/provider/service/init_spec.rb +1 -1
  845. data/spec/unit/provider/service/launchd_spec.rb +0 -17
  846. data/spec/unit/provider/service/redhat_spec.rb +12 -3
  847. data/spec/unit/provider/service/runit_spec.rb +2 -1
  848. data/spec/unit/provider/service/smf_spec.rb +16 -1
  849. data/spec/unit/provider/service/src_spec.rb +6 -6
  850. data/spec/unit/provider/service/systemd_spec.rb +18 -1
  851. data/spec/unit/provider/service/upstart_spec.rb +12 -7
  852. data/spec/unit/provider/service/windows_spec.rb +1 -1
  853. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +1 -1
  854. data/spec/unit/provider/sshkey/parsed_spec.rb +42 -12
  855. data/spec/unit/provider/user/hpux_spec.rb +1 -1
  856. data/spec/unit/provider/user/ldap_spec.rb +9 -23
  857. data/spec/unit/provider/user/pw_spec.rb +1 -1
  858. data/spec/unit/provider/user/user_role_add_spec.rb +5 -2
  859. data/spec/unit/provider/user/useradd_spec.rb +118 -146
  860. data/spec/unit/provider/user/windows_adsi_spec.rb +2 -24
  861. data/spec/unit/provider/vlan/cisco_spec.rb +1 -1
  862. data/spec/unit/provider/zfs/zfs_spec.rb +106 -0
  863. data/spec/unit/provider/zone/solaris_spec.rb +56 -34
  864. data/spec/unit/provider/zpool/zpool_spec.rb +213 -0
  865. data/spec/unit/provider_spec.rb +621 -16
  866. data/spec/unit/puppet_spec.rb +21 -9
  867. data/spec/unit/rails/host_spec.rb +1 -1
  868. data/spec/unit/rails/param_value_spec.rb +1 -1
  869. data/spec/unit/rails/resource_spec.rb +1 -1
  870. data/spec/unit/rails_spec.rb +70 -70
  871. data/spec/unit/relationship_spec.rb +1 -1
  872. data/spec/unit/reports/http_spec.rb +48 -15
  873. data/spec/unit/reports/rrdgraph_spec.rb +1 -1
  874. data/spec/unit/reports/store_spec.rb +1 -1
  875. data/spec/unit/reports/tagmail_spec.rb +1 -1
  876. data/spec/unit/reports_spec.rb +1 -1
  877. data/spec/unit/resource/catalog_spec.rb +8 -175
  878. data/spec/unit/resource/status_spec.rb +2 -2
  879. data/spec/unit/resource/type_collection_helper_spec.rb +1 -1
  880. data/spec/unit/resource/type_collection_spec.rb +72 -45
  881. data/spec/unit/resource/type_spec.rb +31 -33
  882. data/spec/unit/resource_spec.rb +163 -98
  883. data/spec/unit/run_spec.rb +7 -23
  884. data/spec/unit/settings/directory_setting_spec.rb +32 -0
  885. data/spec/unit/{util/settings → settings}/file_setting_spec.rb +14 -23
  886. data/spec/unit/settings/path_setting_spec.rb +30 -0
  887. data/spec/unit/settings/string_setting_spec.rb +75 -0
  888. data/spec/unit/settings_spec.rb +1583 -0
  889. data/spec/unit/simple_graph_spec.rb +19 -5
  890. data/spec/unit/ssl/base_spec.rb +2 -2
  891. data/spec/unit/ssl/certificate_authority/interface_spec.rb +7 -7
  892. data/spec/unit/ssl/certificate_authority_spec.rb +27 -53
  893. data/spec/unit/ssl/certificate_factory_spec.rb +1 -1
  894. data/spec/unit/ssl/certificate_request_spec.rb +2 -4
  895. data/spec/unit/ssl/certificate_revocation_list_spec.rb +3 -3
  896. data/spec/unit/ssl/certificate_spec.rb +1 -1
  897. data/spec/unit/ssl/configuration_spec.rb +60 -0
  898. data/spec/unit/ssl/host_spec.rb +37 -89
  899. data/spec/unit/ssl/inventory_spec.rb +13 -20
  900. data/spec/unit/ssl/key_spec.rb +11 -9
  901. data/spec/unit/status_spec.rb +1 -7
  902. data/spec/unit/transaction/event_manager_spec.rb +1 -1
  903. data/spec/unit/transaction/event_spec.rb +6 -6
  904. data/spec/unit/transaction/report_spec.rb +1 -1
  905. data/spec/unit/transaction/resource_harness_spec.rb +2 -2
  906. data/spec/unit/transaction_spec.rb +8 -8
  907. data/spec/unit/{puppet/type → type}/README.markdown +0 -0
  908. data/spec/unit/type/augeas_spec.rb +2 -2
  909. data/spec/unit/type/component_spec.rb +1 -1
  910. data/spec/unit/type/computer_spec.rb +1 -1
  911. data/spec/unit/type/cron_spec.rb +1 -1
  912. data/spec/unit/type/exec_spec.rb +40 -12
  913. data/spec/unit/type/file/checksum_spec.rb +1 -1
  914. data/spec/unit/type/file/content_spec.rb +9 -6
  915. data/spec/unit/type/file/ctime_spec.rb +1 -1
  916. data/spec/unit/type/file/ensure_spec.rb +1 -1
  917. data/spec/unit/type/file/group_spec.rb +1 -1
  918. data/spec/unit/type/file/mode_spec.rb +1 -1
  919. data/spec/unit/type/file/mtime_spec.rb +1 -1
  920. data/spec/unit/type/file/owner_spec.rb +1 -1
  921. data/spec/unit/type/file/selinux_spec.rb +1 -1
  922. data/spec/unit/type/file/source_spec.rb +14 -13
  923. data/spec/unit/type/file/type_spec.rb +1 -1
  924. data/spec/unit/type/file_spec.rb +39 -87
  925. data/spec/unit/type/filebucket_spec.rb +1 -1
  926. data/spec/unit/type/group_spec.rb +5 -5
  927. data/spec/unit/type/host_spec.rb +1 -1
  928. data/spec/unit/type/interface_spec.rb +1 -1
  929. data/spec/unit/type/macauthorization_spec.rb +1 -1
  930. data/spec/unit/type/mailalias_spec.rb +21 -0
  931. data/spec/unit/type/maillist_spec.rb +1 -1
  932. data/spec/unit/type/mcx_spec.rb +1 -1
  933. data/spec/unit/type/mount_spec.rb +2 -2
  934. data/spec/unit/type/nagios_spec.rb +1 -1
  935. data/spec/unit/type/noop_metaparam_spec.rb +3 -3
  936. data/spec/unit/type/package_spec.rb +1 -1
  937. data/spec/unit/type/resources_spec.rb +2 -2
  938. data/spec/unit/type/schedule_spec.rb +297 -39
  939. data/spec/unit/type/scheduled_task_spec.rb +3 -3
  940. data/spec/unit/type/selboolean_spec.rb +1 -1
  941. data/spec/unit/type/selmodule_spec.rb +1 -1
  942. data/spec/unit/type/service_spec.rb +1 -1
  943. data/spec/unit/type/ssh_authorized_key_spec.rb +3 -3
  944. data/spec/unit/type/sshkey_spec.rb +1 -1
  945. data/spec/unit/type/stage_spec.rb +1 -1
  946. data/spec/unit/type/tidy_spec.rb +1 -1
  947. data/spec/unit/type/user_spec.rb +1 -1
  948. data/spec/unit/type/vlan_spec.rb +1 -1
  949. data/spec/unit/type/whit_spec.rb +1 -1
  950. data/spec/unit/type/yumrepo_spec.rb +243 -0
  951. data/spec/unit/type/zfs_spec.rb +8 -6
  952. data/spec/unit/type/zone_spec.rb +41 -36
  953. data/spec/unit/type/zpool_spec.rb +1 -1
  954. data/spec/unit/type_spec.rb +180 -31
  955. data/spec/unit/util/adsi_spec.rb +8 -23
  956. data/spec/unit/util/autoload_spec.rb +181 -45
  957. data/spec/unit/util/backups_spec.rb +1 -1
  958. data/spec/unit/util/cache_accumulator_spec.rb +1 -1
  959. data/spec/unit/util/cacher_spec.rb +1 -1
  960. data/spec/unit/util/checksums_spec.rb +1 -1
  961. data/spec/unit/util/command_line_spec.rb +114 -108
  962. data/spec/unit/util/command_line_utils/puppet_option_parser_spec.rb +129 -0
  963. data/spec/unit/util/config_timeout_spec.rb +57 -0
  964. data/spec/unit/util/constant_inflector_spec.rb +13 -23
  965. data/spec/unit/util/diff_spec.rb +5 -4
  966. data/spec/unit/util/errors_spec.rb +1 -1
  967. data/spec/unit/util/execution_spec.rb +532 -28
  968. data/spec/unit/util/execution_stub_spec.rb +4 -4
  969. data/spec/unit/util/feature_spec.rb +12 -13
  970. data/spec/unit/util/filetype_spec.rb +9 -9
  971. data/spec/unit/util/inline_docs_spec.rb +1 -1
  972. data/spec/unit/util/instrumentation/data_spec.rb +1 -1
  973. data/spec/unit/util/instrumentation/indirection_probe_spec.rb +1 -1
  974. data/spec/unit/util/instrumentation/instrumentable_spec.rb +1 -1
  975. data/spec/unit/util/instrumentation/listener_spec.rb +1 -1
  976. data/spec/unit/util/instrumentation_spec.rb +1 -1
  977. data/spec/unit/util/json_lockfile_spec.rb +29 -0
  978. data/spec/unit/util/ldap/connection_spec.rb +11 -15
  979. data/spec/unit/util/ldap/generator_spec.rb +1 -1
  980. data/spec/unit/util/ldap/manager_spec.rb +14 -23
  981. data/spec/unit/util/loadedfile_spec.rb +1 -1
  982. data/spec/unit/util/lockfile_spec.rb +76 -0
  983. data/spec/unit/util/log/destinations_spec.rb +11 -28
  984. data/spec/unit/util/log_spec.rb +6 -6
  985. data/spec/unit/util/logging_spec.rb +43 -11
  986. data/spec/unit/util/metric_spec.rb +4 -3
  987. data/spec/unit/util/monkey_patches/lines_spec.rb +83 -0
  988. data/spec/unit/util/monkey_patches_spec.rb +91 -28
  989. data/spec/unit/util/nagios_maker_spec.rb +1 -1
  990. data/spec/unit/util/network_device/cisco/device_spec.rb +3 -3
  991. data/spec/unit/util/network_device/cisco/facts_spec.rb +1 -1
  992. data/spec/unit/util/network_device/cisco/interface_spec.rb +1 -1
  993. data/spec/unit/util/network_device/config_spec.rb +1 -1
  994. data/spec/unit/util/network_device/ipcalc_spec.rb +1 -1
  995. data/spec/unit/util/network_device/transport/base_spec.rb +1 -1
  996. data/spec/unit/util/network_device/transport/ssh_spec.rb +2 -2
  997. data/spec/unit/util/network_device/transport/telnet_spec.rb +1 -1
  998. data/spec/unit/util/network_device_spec.rb +1 -1
  999. data/spec/unit/util/package_spec.rb +1 -1
  1000. data/spec/unit/util/pidlock_spec.rb +179 -0
  1001. data/spec/unit/util/posix_spec.rb +2 -2
  1002. data/spec/unit/util/pson_spec.rb +23 -9
  1003. data/spec/unit/util/queue/stomp_spec.rb +10 -13
  1004. data/spec/unit/util/queue_spec.rb +2 -2
  1005. data/spec/unit/util/rdoc/parser_spec.rb +11 -9
  1006. data/spec/unit/util/rdoc_spec.rb +9 -3
  1007. data/spec/unit/util/reference_serializer_spec.rb +1 -1
  1008. data/spec/unit/util/reference_spec.rb +1 -1
  1009. data/spec/unit/util/resource_template_spec.rb +1 -1
  1010. data/spec/unit/util/retryaction_spec.rb +1 -1
  1011. data/spec/unit/util/rubygems_spec.rb +66 -0
  1012. data/spec/unit/util/run_mode_spec.rb +4 -9
  1013. data/spec/unit/util/selinux_spec.rb +33 -25
  1014. data/spec/unit/util/storage_spec.rb +2 -18
  1015. data/spec/unit/util/suidmanager_spec.rb +11 -4
  1016. data/spec/unit/util/symbolic_file_mode_spec.rb +1 -1
  1017. data/spec/unit/util/tagging_spec.rb +1 -1
  1018. data/spec/unit/util/terminal_spec.rb +1 -1
  1019. data/spec/unit/util/user_attr_spec.rb +1 -1
  1020. data/spec/unit/util/warnings_spec.rb +1 -1
  1021. data/spec/unit/util/windows/registry_spec.rb +86 -0
  1022. data/spec/unit/util/zaml_spec.rb +30 -146
  1023. data/spec/unit/util_spec.rb +148 -440
  1024. data/spec/watchr.rb +6 -2
  1025. data/tasks/rake/apple.rake +176 -0
  1026. data/tasks/rake/gem.rake +6 -5
  1027. data/tasks/rake/manpages.rake +8 -1
  1028. data/tasks/rake/metrics.rake +11 -3
  1029. data/tasks/rake/parser.rake +5 -0
  1030. data/{ext/osx → tasks/rake/templates}/prototype.plist.erb +0 -0
  1031. metadata +293 -580
  1032. data/bin/filebucket +0 -7
  1033. data/bin/pi +0 -5
  1034. data/bin/puppetca +0 -4
  1035. data/bin/puppetd +0 -4
  1036. data/bin/puppetdoc +0 -4
  1037. data/bin/puppetmasterd +0 -4
  1038. data/bin/puppetqd +0 -4
  1039. data/bin/puppetrun +0 -5
  1040. data/bin/ralsh +0 -4
  1041. data/ext/build_defaults.yaml +0 -19
  1042. data/ext/debian/README.Debian +0 -8
  1043. data/ext/debian/README.source +0 -2
  1044. data/ext/debian/TODO.Debian +0 -1
  1045. data/ext/debian/changelog.erb +0 -1104
  1046. data/ext/debian/compat +0 -1
  1047. data/ext/debian/control +0 -142
  1048. data/ext/debian/copyright +0 -361
  1049. data/ext/debian/docs +0 -1
  1050. data/ext/debian/fileserver.conf +0 -17
  1051. data/ext/debian/puppet-common.dirs +0 -8
  1052. data/ext/debian/puppet-common.install +0 -3
  1053. data/ext/debian/puppet-common.lintian-overrides +0 -7
  1054. data/ext/debian/puppet-common.manpages +0 -2
  1055. data/ext/debian/puppet-common.postinst +0 -35
  1056. data/ext/debian/puppet-common.postrm +0 -32
  1057. data/ext/debian/puppet-el.dirs +0 -1
  1058. data/ext/debian/puppet-el.emacsen-install +0 -25
  1059. data/ext/debian/puppet-el.emacsen-remove +0 -11
  1060. data/ext/debian/puppet-el.emacsen-startup +0 -9
  1061. data/ext/debian/puppet-el.install +0 -1
  1062. data/ext/debian/puppet-testsuite.install +0 -3
  1063. data/ext/debian/puppet-testsuite.lintian-overrides +0 -4
  1064. data/ext/debian/puppet.NEWS +0 -86
  1065. data/ext/debian/puppet.conf +0 -14
  1066. data/ext/debian/puppet.default +0 -7
  1067. data/ext/debian/puppet.dirs +0 -1
  1068. data/ext/debian/puppet.init +0 -118
  1069. data/ext/debian/puppet.install +0 -4
  1070. data/ext/debian/puppet.lintian-overrides +0 -3
  1071. data/ext/debian/puppet.logrotate +0 -11
  1072. data/ext/debian/puppet.manpages +0 -36
  1073. data/ext/debian/puppet.postinst +0 -20
  1074. data/ext/debian/puppet.postrm +0 -20
  1075. data/ext/debian/puppet.preinst +0 -20
  1076. data/ext/debian/puppetmaster-common.install +0 -5
  1077. data/ext/debian/puppetmaster-common.manpages +0 -5
  1078. data/ext/debian/puppetmaster-common.puppetqd.default +0 -27
  1079. data/ext/debian/puppetmaster-common.puppetqd.init +0 -84
  1080. data/ext/debian/puppetmaster-passenger.dirs +0 -4
  1081. data/ext/debian/puppetmaster-passenger.postinst +0 -66
  1082. data/ext/debian/puppetmaster-passenger.postrm +0 -33
  1083. data/ext/debian/puppetmaster.NEWS +0 -13
  1084. data/ext/debian/puppetmaster.README.debian +0 -16
  1085. data/ext/debian/puppetmaster.default +0 -38
  1086. data/ext/debian/puppetmaster.dirs +0 -1
  1087. data/ext/debian/puppetmaster.init +0 -158
  1088. data/ext/debian/puppetmaster.install +0 -1
  1089. data/ext/debian/puppetmaster.lintian-overrides +0 -3
  1090. data/ext/debian/puppetmaster.manpages +0 -1
  1091. data/ext/debian/puppetmaster.postinst +0 -20
  1092. data/ext/debian/puppetmaster.postrm +0 -5
  1093. data/ext/debian/puppetmaster.preinst +0 -22
  1094. data/ext/debian/rules +0 -127
  1095. data/ext/debian/source/format +0 -1
  1096. data/ext/debian/source/options +0 -1
  1097. data/ext/debian/vim-puppet.README.Debian +0 -13
  1098. data/ext/debian/vim-puppet.dirs +0 -3
  1099. data/ext/debian/vim-puppet.yaml +0 -5
  1100. data/ext/debian/watch +0 -2
  1101. data/ext/osx/file_mapping.yaml +0 -38
  1102. data/ext/osx/preflight.erb +0 -37
  1103. data/ext/packaging/Gemfile +0 -8
  1104. data/ext/packaging/Gemfile.lock +0 -28
  1105. data/ext/packaging/LICENSE +0 -17
  1106. data/ext/packaging/README-Solaris.md +0 -117
  1107. data/ext/packaging/README.md +0 -1074
  1108. data/ext/packaging/lib/packaging.rb +0 -21
  1109. data/ext/packaging/lib/packaging/config.rb +0 -277
  1110. data/ext/packaging/lib/packaging/config/params.rb +0 -175
  1111. data/ext/packaging/lib/packaging/tar.rb +0 -186
  1112. data/ext/packaging/lib/packaging/util.rb +0 -44
  1113. data/ext/packaging/lib/packaging/util/date.rb +0 -15
  1114. data/ext/packaging/lib/packaging/util/file.rb +0 -60
  1115. data/ext/packaging/lib/packaging/util/jira.rb +0 -83
  1116. data/ext/packaging/lib/packaging/util/net.rb +0 -16
  1117. data/ext/packaging/lib/packaging/util/rake_utils.rb +0 -57
  1118. data/ext/packaging/lib/packaging/util/serialization.rb +0 -19
  1119. data/ext/packaging/lib/packaging/util/tool.rb +0 -30
  1120. data/ext/packaging/lib/packaging/util/version.rb +0 -300
  1121. data/ext/packaging/packaging.rake +0 -50
  1122. data/ext/packaging/spec/fixtures/config/ext/build_defaults.yaml +0 -2
  1123. data/ext/packaging/spec/fixtures/config/ext/project_data.yaml +0 -2
  1124. data/ext/packaging/spec/fixtures/config/params.yaml +0 -2
  1125. data/ext/packaging/spec/fixtures/util/pre_tasks.yaml +0 -4
  1126. data/ext/packaging/spec/lib/packaging/config_spec.rb +0 -330
  1127. data/ext/packaging/spec/lib/packaging/tar_spec.rb +0 -122
  1128. data/ext/packaging/spec/lib/packaging/util/file_spec.rb +0 -48
  1129. data/ext/packaging/spec/lib/packaging/util/jira_spec.rb +0 -50
  1130. data/ext/packaging/spec/lib/packaging/util/net_spec.rb +0 -23
  1131. data/ext/packaging/spec/lib/packaging/util/rake_utils_spec.rb +0 -70
  1132. data/ext/packaging/spec/lib/packaging/util/version_spec.rb +0 -67
  1133. data/ext/packaging/spec/lib/packaging_spec.rb +0 -19
  1134. data/ext/packaging/spec/spec_helper.rb +0 -22
  1135. data/ext/packaging/spec/tasks/00_utils_spec.rb +0 -248
  1136. data/ext/packaging/static_artifacts/PackageInfo.plist +0 -3
  1137. data/ext/packaging/tasks/00_utils.rake +0 -402
  1138. data/ext/packaging/tasks/30_metrics.rake +0 -33
  1139. data/ext/packaging/tasks/apple.rake +0 -267
  1140. data/ext/packaging/tasks/build.rake +0 -12
  1141. data/ext/packaging/tasks/clean.rake +0 -5
  1142. data/ext/packaging/tasks/deb.rake +0 -127
  1143. data/ext/packaging/tasks/deb_repos.rake +0 -128
  1144. data/ext/packaging/tasks/doc.rake +0 -20
  1145. data/ext/packaging/tasks/fetch.rake +0 -58
  1146. data/ext/packaging/tasks/gem.rake +0 -158
  1147. data/ext/packaging/tasks/ips.rake +0 -122
  1148. data/ext/packaging/tasks/jenkins.rake +0 -360
  1149. data/ext/packaging/tasks/jenkins_dynamic.rake +0 -123
  1150. data/ext/packaging/tasks/load_extras.rake +0 -21
  1151. data/ext/packaging/tasks/mock.rake +0 -290
  1152. data/ext/packaging/tasks/pe_deb.rake +0 -12
  1153. data/ext/packaging/tasks/pe_remote.rake +0 -41
  1154. data/ext/packaging/tasks/pe_rpm.rake +0 -13
  1155. data/ext/packaging/tasks/pe_ship.rake +0 -179
  1156. data/ext/packaging/tasks/pe_sign.rake +0 -47
  1157. data/ext/packaging/tasks/pe_tar.rake +0 -5
  1158. data/ext/packaging/tasks/release.rake +0 -91
  1159. data/ext/packaging/tasks/remote_build.rake +0 -158
  1160. data/ext/packaging/tasks/retrieve.rake +0 -45
  1161. data/ext/packaging/tasks/rpm.rake +0 -71
  1162. data/ext/packaging/tasks/rpm_repos.rake +0 -139
  1163. data/ext/packaging/tasks/ship.rake +0 -192
  1164. data/ext/packaging/tasks/sign.rake +0 -164
  1165. data/ext/packaging/tasks/tag.rake +0 -8
  1166. data/ext/packaging/tasks/tar.rake +0 -34
  1167. data/ext/packaging/tasks/tickets.rake +0 -449
  1168. data/ext/packaging/tasks/update.rake +0 -16
  1169. data/ext/packaging/tasks/vendor_gems.rake +0 -110
  1170. data/ext/packaging/tasks/version.rake +0 -33
  1171. data/ext/packaging/tasks/z_data_dump.rake +0 -65
  1172. data/ext/packaging/templates/README +0 -1
  1173. data/ext/packaging/templates/downstream.xml.erb +0 -45
  1174. data/ext/packaging/templates/packaging.xml.erb +0 -330
  1175. data/ext/packaging/templates/repo.xml.erb +0 -106
  1176. data/ext/project_data.yaml +0 -24
  1177. data/lib/puppet/file_system.rb +0 -3
  1178. data/lib/puppet/file_system/path_pattern.rb +0 -97
  1179. data/lib/puppet/indirector/certificate/disabled_ca.rb +0 -22
  1180. data/lib/puppet/indirector/certificate_request/disabled_ca.rb +0 -22
  1181. data/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +0 -22
  1182. data/lib/puppet/indirector/errors.rb +0 -5
  1183. data/lib/puppet/indirector/inventory/yaml.rb +0 -81
  1184. data/lib/puppet/indirector/key/disabled_ca.rb +0 -22
  1185. data/lib/puppet/indirector/resource/validator.rb +0 -8
  1186. data/lib/puppet/network/handler.rb +0 -50
  1187. data/lib/puppet/network/handler/ca.rb +0 -61
  1188. data/lib/puppet/network/handler/filebucket.rb +0 -53
  1189. data/lib/puppet/network/handler/fileserver.rb +0 -732
  1190. data/lib/puppet/network/handler/master.rb +0 -87
  1191. data/lib/puppet/network/handler/report.rb +0 -82
  1192. data/lib/puppet/network/handler/runner.rb +0 -33
  1193. data/lib/puppet/network/handler/status.rb +0 -18
  1194. data/lib/puppet/network/http/rack/xmlrpc.rb +0 -65
  1195. data/lib/puppet/network/http_server.rb +0 -3
  1196. data/lib/puppet/network/http_server/mongrel.rb +0 -129
  1197. data/lib/puppet/network/rest_authconfig.rb +0 -102
  1198. data/lib/puppet/network/rest_authorization.rb +0 -23
  1199. data/lib/puppet/network/xmlrpc/processor.rb +0 -86
  1200. data/lib/puppet/network/xmlrpc/server.rb +0 -19
  1201. data/lib/puppet/network/xmlrpc/webrick_servlet.rb +0 -114
  1202. data/lib/puppet/node/inventory.rb +0 -7
  1203. data/lib/puppet/reference/network.rb +0 -39
  1204. data/lib/puppet/transportable.rb +0 -248
  1205. data/lib/puppet/util/autoload/file_cache.rb +0 -92
  1206. data/lib/puppet/util/file_locking.rb +0 -47
  1207. data/lib/puppet/util/settings.rb +0 -926
  1208. data/lib/puppet/util/settings/setting.rb +0 -94
  1209. data/lib/puppet/util/windows/sid.rb +0 -96
  1210. data/lib/puppet/vendor.rb +0 -55
  1211. data/lib/puppet/vendor/load_safe_yaml.rb +0 -1
  1212. data/lib/puppet/vendor/require_vendored.rb +0 -4
  1213. data/lib/puppet/vendor/safe_yaml/CHANGES.md +0 -104
  1214. data/lib/puppet/vendor/safe_yaml/Gemfile +0 -11
  1215. data/lib/puppet/vendor/safe_yaml/LICENSE.txt +0 -22
  1216. data/lib/puppet/vendor/safe_yaml/README.md +0 -179
  1217. data/lib/puppet/vendor/safe_yaml/Rakefile +0 -6
  1218. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb +0 -253
  1219. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/deep.rb +0 -34
  1220. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/date.rb +0 -27
  1221. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/hexadecimal.rb +0 -12
  1222. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/sexagesimal.rb +0 -26
  1223. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_handler.rb +0 -92
  1224. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_resolver.rb +0 -52
  1225. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/resolver.rb +0 -94
  1226. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/safe_to_ruby_visitor.rb +0 -17
  1227. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_hack.rb +0 -36
  1228. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb +0 -43
  1229. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_resolver.rb +0 -38
  1230. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform.rb +0 -41
  1231. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_boolean.rb +0 -21
  1232. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_date.rb +0 -11
  1233. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_float.rb +0 -33
  1234. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_integer.rb +0 -25
  1235. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_nil.rb +0 -18
  1236. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_symbol.rb +0 -13
  1237. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/transformation_map.rb +0 -47
  1238. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/version.rb +0 -3
  1239. data/lib/puppet/vendor/safe_yaml/run_specs_all_ruby_versions.sh +0 -21
  1240. data/lib/puppet/vendor/safe_yaml/safe_yaml.gemspec +0 -18
  1241. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.2.yaml +0 -2
  1242. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.3.yaml +0 -2
  1243. data/lib/puppet/vendor/safe_yaml/spec/psych_resolver_spec.rb +0 -10
  1244. data/lib/puppet/vendor/safe_yaml/spec/resolver_specs.rb +0 -250
  1245. data/lib/puppet/vendor/safe_yaml/spec/safe_yaml_spec.rb +0 -702
  1246. data/lib/puppet/vendor/safe_yaml/spec/spec_helper.rb +0 -18
  1247. data/lib/puppet/vendor/safe_yaml/spec/support/exploitable_back_door.rb +0 -29
  1248. data/lib/puppet/vendor/safe_yaml/spec/syck_resolver_spec.rb +0 -10
  1249. data/lib/puppet/vendor/safe_yaml/spec/transform/base64_spec.rb +0 -11
  1250. data/lib/puppet/vendor/safe_yaml/spec/transform/to_date_spec.rb +0 -34
  1251. data/lib/puppet/vendor/safe_yaml/spec/transform/to_float_spec.rb +0 -42
  1252. data/lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb +0 -59
  1253. data/lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb +0 -49
  1254. data/man/man8/filebucket.8 +0 -81
  1255. data/man/man8/pi.8 +0 -51
  1256. data/man/man8/puppetca.8 +0 -97
  1257. data/man/man8/puppetd.8 +0 -154
  1258. data/man/man8/puppetdoc.8 +0 -113
  1259. data/man/man8/puppetmasterd.8 +0 -78
  1260. data/man/man8/puppetqd.8 +0 -55
  1261. data/man/man8/puppetrun.8 +0 -127
  1262. data/man/man8/ralsh.8 +0 -84
  1263. data/spec/integration/network/handler_spec.rb +0 -24
  1264. data/spec/integration/network/rest_authconfig_spec.rb +0 -164
  1265. data/spec/integration/util/file_locking_spec.rb +0 -56
  1266. data/spec/unit/agent_backward_compatibility_spec.rb +0 -152
  1267. data/spec/unit/file_system/path_pattern_spec.rb +0 -139
  1268. data/spec/unit/indirector/catalog/static_compiler_spec.rb +0 -194
  1269. data/spec/unit/indirector/certificate/disabled_ca_spec.rb +0 -33
  1270. data/spec/unit/indirector/certificate_request/disabled_ca_spec.rb +0 -33
  1271. data/spec/unit/indirector/certificate_revocation_list/disabled_ca_spec.rb +0 -33
  1272. data/spec/unit/indirector/inventory/yaml_spec.rb +0 -220
  1273. data/spec/unit/indirector/key/disabled_ca_spec.rb +0 -33
  1274. data/spec/unit/network/handler/ca_spec.rb +0 -87
  1275. data/spec/unit/network/handler/fileserver_spec.rb +0 -201
  1276. data/spec/unit/network/http/mongrel/xmlrpc_spec.rb +0 -0
  1277. data/spec/unit/network/http/rack/xmlrpc_spec.rb +0 -155
  1278. data/spec/unit/network/http/webrick/xmlrpc_spec.rb +0 -0
  1279. data/spec/unit/network/rest_authconfig_spec.rb +0 -142
  1280. data/spec/unit/other/transbucket_spec.rb +0 -184
  1281. data/spec/unit/other/transobject_spec.rb +0 -111
  1282. data/spec/unit/provider/zfs/solaris_spec.rb +0 -99
  1283. data/spec/unit/provider/zpool/solaris_spec.rb +0 -208
  1284. data/spec/unit/transportable_spec.rb +0 -0
  1285. data/spec/unit/util/autoload/file_cache_spec.rb +0 -158
  1286. data/spec/unit/util/file_locking_spec.rb +0 -159
  1287. data/spec/unit/util/settings_spec.rb +0 -1088
  1288. data/spec/unit/util/windows/sid_spec.rb +0 -100
  1289. data/test/README +0 -24
  1290. data/test/Rakefile +0 -96
  1291. data/test/data/failers/badclassnoparam +0 -10
  1292. data/test/data/failers/badclassparam +0 -10
  1293. data/test/data/failers/badcompnoparam +0 -9
  1294. data/test/data/failers/badcompparam +0 -9
  1295. data/test/data/failers/badtypeparam +0 -3
  1296. data/test/data/failers/noobjectrvalue +0 -1
  1297. data/test/data/providers/cron/crontab.allthree +0 -17
  1298. data/test/data/providers/cron/crontab.envNcomment +0 -12
  1299. data/test/data/providers/cron/crontab.envNname +0 -11
  1300. data/test/data/providers/cron/crontab.multirecords +0 -12
  1301. data/test/data/providers/cron/crontab_collections.yaml +0 -44
  1302. data/test/data/providers/cron/crontab_multiple_with_env.yaml +0 -54
  1303. data/test/data/providers/cron/examples/freebsd +0 -2
  1304. data/test/data/providers/cron/examples/one +0 -14
  1305. data/test/data/providers/cron/examples/openbsd +0 -20
  1306. data/test/data/providers/host/parsed/valid_hosts +0 -19
  1307. data/test/data/providers/mailalias/aliases/test1 +0 -28
  1308. data/test/data/providers/mount/parsed/aix.mount +0 -7
  1309. data/test/data/providers/mount/parsed/darwin.mount +0 -6
  1310. data/test/data/providers/mount/parsed/hpux.mount +0 -17
  1311. data/test/data/providers/mount/parsed/linux.mount +0 -5
  1312. data/test/data/providers/mount/parsed/solaris.mount +0 -6
  1313. data/test/data/providers/package/testpackages.yaml +0 -65
  1314. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +0 -7
  1315. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys1 +0 -3
  1316. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys2 +0 -1
  1317. data/test/data/reports/1.yaml +0 -108
  1318. data/test/data/reports/2.yaml +0 -108
  1319. data/test/data/reports/tagmail_failers.conf +0 -3
  1320. data/test/data/reports/tagmail_passers.conf +0 -30
  1321. data/test/data/snippets/aliastest.pp +0 -16
  1322. data/test/data/snippets/append.pp +0 -11
  1323. data/test/data/snippets/argumentdefaults +0 -14
  1324. data/test/data/snippets/arithmetic_expression.pp +0 -8
  1325. data/test/data/snippets/arraytrailingcomma.pp +0 -3
  1326. data/test/data/snippets/casestatement.pp +0 -65
  1327. data/test/data/snippets/classheirarchy.pp +0 -15
  1328. data/test/data/snippets/classincludes.pp +0 -17
  1329. data/test/data/snippets/classpathtest +0 -11
  1330. data/test/data/snippets/collection.pp +0 -10
  1331. data/test/data/snippets/collection_override.pp +0 -8
  1332. data/test/data/snippets/collection_within_virtual_definitions.pp +0 -20
  1333. data/test/data/snippets/componentmetaparams.pp +0 -11
  1334. data/test/data/snippets/componentrequire.pp +0 -8
  1335. data/test/data/snippets/deepclassheirarchy.pp +0 -23
  1336. data/test/data/snippets/defineoverrides.pp +0 -17
  1337. data/test/data/snippets/emptyclass.pp +0 -9
  1338. data/test/data/snippets/emptyexec.pp +0 -3
  1339. data/test/data/snippets/emptyifelse.pp +0 -9
  1340. data/test/data/snippets/falsevalues.pp +0 -3
  1341. data/test/data/snippets/filecreate +0 -11
  1342. data/test/data/snippets/fqdefinition.pp +0 -5
  1343. data/test/data/snippets/fqparents.pp +0 -11
  1344. data/test/data/snippets/funccomma.pp +0 -5
  1345. data/test/data/snippets/hash.pp +0 -33
  1346. data/test/data/snippets/ifexpression.pp +0 -12
  1347. data/test/data/snippets/implicititeration +0 -15
  1348. data/test/data/snippets/multilinecomments.pp +0 -10
  1349. data/test/data/snippets/multipleclass.pp +0 -9
  1350. data/test/data/snippets/multipleinstances +0 -7
  1351. data/test/data/snippets/multisubs.pp +0 -13
  1352. data/test/data/snippets/namevartest +0 -9
  1353. data/test/data/snippets/scopetest +0 -13
  1354. data/test/data/snippets/selectorvalues.pp +0 -49
  1355. data/test/data/snippets/simpledefaults +0 -5
  1356. data/test/data/snippets/simpleselector +0 -38
  1357. data/test/data/snippets/singleary.pp +0 -19
  1358. data/test/data/snippets/singlequote.pp +0 -11
  1359. data/test/data/snippets/singleselector.pp +0 -22
  1360. data/test/data/snippets/subclass_name_duplication.pp +0 -11
  1361. data/test/data/snippets/tag.pp +0 -9
  1362. data/test/data/snippets/tagged.pp +0 -35
  1363. data/test/data/snippets/virtualresources.pp +0 -14
  1364. data/test/data/types/hosts/1 +0 -3
  1365. data/test/data/types/hosts/2 +0 -13
  1366. data/test/data/types/hosts/solaris +0 -5
  1367. data/test/data/types/mailalias/file1 +0 -183
  1368. data/test/data/types/mount/freebsd.fstab +0 -7
  1369. data/test/data/types/mount/linux.fstab +0 -12
  1370. data/test/data/types/mount/solaris.fstab +0 -12
  1371. data/test/data/types/port/1 +0 -533
  1372. data/test/data/types/port/darwin +0 -11866
  1373. data/test/data/types/ssh_authorized_key/1 +0 -2
  1374. data/test/data/types/yumrepos/fedora-devel.repo +0 -26
  1375. data/test/data/types/yumrepos/fedora.repo +0 -9
  1376. data/test/language/ast.rb +0 -90
  1377. data/test/language/ast/variable.rb +0 -25
  1378. data/test/language/functions.rb +0 -540
  1379. data/test/language/parser.rb +0 -739
  1380. data/test/language/scope.rb +0 -261
  1381. data/test/language/snippets.rb +0 -512
  1382. data/test/language/transportable.rb +0 -87
  1383. data/test/lib/puppettest.rb +0 -307
  1384. data/test/lib/puppettest/certificates.rb +0 -74
  1385. data/test/lib/puppettest/exetest.rb +0 -125
  1386. data/test/lib/puppettest/fakes.rb +0 -199
  1387. data/test/lib/puppettest/fileparsing.rb +0 -28
  1388. data/test/lib/puppettest/filetesting.rb +0 -221
  1389. data/test/lib/puppettest/parsertesting.rb +0 -424
  1390. data/test/lib/puppettest/railstesting.rb +0 -18
  1391. data/test/lib/puppettest/reporttesting.rb +0 -16
  1392. data/test/lib/puppettest/resourcetesting.rb +0 -54
  1393. data/test/lib/puppettest/runnable_test.rb +0 -43
  1394. data/test/lib/puppettest/servertest.rb +0 -77
  1395. data/test/lib/puppettest/support.rb +0 -8
  1396. data/test/lib/puppettest/support/assertions.rb +0 -69
  1397. data/test/lib/puppettest/support/helpers.rb +0 -18
  1398. data/test/lib/puppettest/support/resources.rb +0 -31
  1399. data/test/lib/puppettest/support/utils.rb +0 -141
  1400. data/test/lib/puppettest/testcase.rb +0 -24
  1401. data/test/lib/rake/puppet_test_loader.rb +0 -14
  1402. data/test/lib/rake/puppet_testtask.rb +0 -19
  1403. data/test/lib/stubba.rb +0 -2
  1404. data/test/network/authconfig.rb +0 -69
  1405. data/test/network/authorization.rb +0 -138
  1406. data/test/network/authstore.rb +0 -538
  1407. data/test/network/client_request.rb +0 -38
  1408. data/test/network/handler/fileserver.rb +0 -1266
  1409. data/test/network/handler/master.rb +0 -93
  1410. data/test/network/handler/report.rb +0 -47
  1411. data/test/network/handler/runner.rb +0 -20
  1412. data/test/network/rights.rb +0 -40
  1413. data/test/network/xmlrpc/processor.rb +0 -79
  1414. data/test/network/xmlrpc/server.rb +0 -26
  1415. data/test/network/xmlrpc/webrick_servlet.rb +0 -35
  1416. data/test/other/provider.rb +0 -90
  1417. data/test/other/puppet.rb +0 -85
  1418. data/test/other/relationships.rb +0 -91
  1419. data/test/other/report.rb +0 -135
  1420. data/test/other/transactions.rb +0 -395
  1421. data/test/puppet/defaults.rb +0 -65
  1422. data/test/rails/rails.rb +0 -24
  1423. data/test/rails/railsparameter.rb +0 -80
  1424. data/test/ral/manager/attributes.rb +0 -296
  1425. data/test/ral/manager/instances.rb +0 -88
  1426. data/test/ral/manager/manager.rb +0 -50
  1427. data/test/ral/manager/provider.rb +0 -84
  1428. data/test/ral/manager/type.rb +0 -361
  1429. data/test/ral/providers/cron/crontab.rb +0 -652
  1430. data/test/ral/providers/group.rb +0 -242
  1431. data/test/ral/providers/host/parsed.rb +0 -32
  1432. data/test/ral/providers/mailalias/aliases.rb +0 -55
  1433. data/test/ral/providers/nameservice.rb +0 -32
  1434. data/test/ral/providers/package.rb +0 -245
  1435. data/test/ral/providers/package/aptitude.rb +0 -83
  1436. data/test/ral/providers/package/aptrpm.rb +0 -100
  1437. data/test/ral/providers/parsedfile.rb +0 -695
  1438. data/test/ral/providers/port/parsed.rb +0 -232
  1439. data/test/ral/providers/provider.rb +0 -529
  1440. data/test/ral/providers/service/base.rb +0 -76
  1441. data/test/ral/providers/sshkey/parsed.rb +0 -112
  1442. data/test/ral/providers/user.rb +0 -586
  1443. data/test/ral/providers/user/useradd.rb +0 -233
  1444. data/test/ral/type/cron.rb +0 -505
  1445. data/test/ral/type/exec.rb +0 -717
  1446. data/test/ral/type/file.rb +0 -912
  1447. data/test/ral/type/file/target.rb +0 -346
  1448. data/test/ral/type/fileignoresource.rb +0 -265
  1449. data/test/ral/type/filesources.rb +0 -446
  1450. data/test/ral/type/host.rb +0 -180
  1451. data/test/ral/type/mailalias.rb +0 -45
  1452. data/test/ral/type/port.rb +0 -147
  1453. data/test/ral/type/resources.rb +0 -104
  1454. data/test/ral/type/service.rb +0 -38
  1455. data/test/ral/type/sshkey.rb +0 -148
  1456. data/test/ral/type/user.rb +0 -167
  1457. data/test/ral/type/yumrepo.rb +0 -116
  1458. data/test/ral/type/zone.rb +0 -447
  1459. data/test/test +0 -241
  1460. data/test/util/classgen.rb +0 -241
  1461. data/test/util/execution.rb +0 -33
  1462. data/test/util/fileparsing.rb +0 -721
  1463. data/test/util/inifile.rb +0 -138
  1464. data/test/util/instance_loader.rb +0 -52
  1465. data/test/util/log.rb +0 -219
  1466. data/test/util/metrics.rb +0 -72
  1467. data/test/util/package.rb +0 -25
  1468. data/test/util/pidlock.rb +0 -125
  1469. data/test/util/settings.rb +0 -773
  1470. data/test/util/storage.rb +0 -81
  1471. data/test/util/subclass_loader.rb +0 -89
  1472. data/test/util/utiltest.rb +0 -223
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # DO NOT MODIFY!!!!
3
- # This file is automatically generated by Racc 1.4.7
3
+ # This file is automatically generated by Racc 1.4.8
4
4
  # from Racc grammer file "".
5
5
  #
6
6
 
@@ -21,7 +21,7 @@ module Puppet
21
21
  module Parser
22
22
  class Parser < Racc::Parser
23
23
 
24
- module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra', 764)
24
+ module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra', 794)
25
25
 
26
26
  # It got too annoying having code in a file that needs to be compiled.
27
27
  require 'puppet/parser/parser_support'
@@ -34,94 +34,101 @@ require 'puppet/parser/parser_support'
34
34
  ##### State transition tables begin ###
35
35
 
36
36
  clist = [
37
- '183,187,245,69,248,70,241,290,169,9,17,69,351,190,194,199,333,169,71',
38
- '-175,291,305,182,185,191,193,168,100,-156,9,17,235,236,9,17,168,175',
39
- '88,166,92,200,345,67,251,343,184,189,171,100,195,196,177,178,180,181',
40
- '77,186,192,9,17,245,143,88,179,92,102,76,171,104,303,31,91,142,168,48',
41
- '241,312,148,18,82,77,313,36,9,17,95,102,35,302,104,371,76,346,35,51',
42
- '31,91,-111,52,48,347,9,17,18,82,235,236,36,35,345,95,40,343,47,1,143',
43
- '10,15,35,25,31,38,100,44,48,3,142,115,18,9,17,148,36,88,76,92,51,54',
44
- '31,136,52,239,48,35,51,-162,18,18,52,238,36,77,-111,-111,-111,-111,262',
45
- '9,17,261,102,35,76,104,369,250,31,91,143,-104,48,247,241,243,18,82,51',
46
- '320,36,142,52,95,35,327,148,40,330,47,1,35,10,15,143,25,31,38,155,44',
47
- '48,3,9,17,18,142,223,322,36,296,148,227,9,17,234,64,88,235,236,35,195',
48
- '196,177,178,62,63,223,186,192,162,40,227,47,1,179,10,15,288,25,31,38',
49
- '286,44,48,3,76,328,18,329,31,91,36,106,48,9,17,-157,18,88,-158,92,36',
50
- '35,195,196,177,178,180,181,-156,186,192,35,-155,186,192,77,179,282,9',
51
- '17,179,195,196,177,178,367,76,35,186,192,31,91,35,263,48,179,186,192',
52
- '18,82,252,250,36,179,247,95,40,245,47,1,162,10,15,35,25,31,38,244,44',
53
- '48,3,241,243,18,9,17,168,36,88,257,92,177,178,241,256,331,186,192,35',
54
- '241,243,9,17,179,229,88,77,92,177,178,228,292,221,186,192,241,256,76',
55
- '218,197,179,31,91,77,338,48,155,340,341,18,82,-103,106,36,76,-161,95',
56
- '342,31,91,-159,-157,48,-160,35,-158,18,82,9,17,36,306,88,95,92,64,-155',
57
- '354,9,17,-162,35,88,356,92,-208,119,162,9,17,77,-28,-28,-28,-28,58,59',
58
- '60,56,357,77,76,155,151,70,31,91,119,115,48,360,76,247,18,82,31,91,36',
59
- '107,48,95,76,106,18,82,31,136,36,35,48,95,9,17,18,364,-157,366,36,35',
60
- '97,-158,9,17,72,61,88,55,92,35,-24,-24,-24,-24,58,59,60,56,372,373,40',
61
- ',47,1,77,10,15,,25,31,38,,44,48,3,76,,18,,31,91,36,,48,,285,,18,82,',
62
- ',36,35,,95,190,194,-22,-22,-22,-22,,35,,182,185,191,193,,,,,,,,9,17',
63
- ',,109,,-175,,,,,,184,189,,,195,196,177,178,180,181,108,186,192,9,17',
64
- ',,88,179,92,,76,,,,31,91,,,48,9,17,,18,88,77,92,36,,,,,,,,,76,,35,,31',
65
- '91,77,,48,,,,18,82,,,36,76,,95,,31,91,,,48,,35,,18,82,9,17,36,,88,95',
66
- '92,,,,9,17,,35,88,,92,,,,,,77,,,,,,,,,,77,76,,9,17,31,91,,,48,359,76',
67
- ',18,82,31,91,36,,48,95,,,18,82,,,36,35,,95,40,,47,1,,10,15,35,25,31',
68
- '38,,44,48,3,,,18,9,17,,36,88,,92,,,,9,17,,,35,,,,,,9,17,77,,,,137,,',
69
- ',,,,76,,,,31,91,,,48,,76,51,18,82,31,126,36,44,48,95,76,,18,,31,136',
70
- '36,35,48,9,17,,18,88,,92,36,35,,9,17,,,88,,92,,35,,9,17,77,,88,,92,',
71
- ',,,,77,76,,,,31,91,,,48,77,76,,18,82,31,91,36,,48,95,76,,18,82,31,91',
72
- '36,35,48,95,,,18,82,9,17,36,35,88,95,92,,,,9,17,,35,,,,,,,9,17,77,,88',
73
- ',92,,,,,,,76,,,,31,91,,,48,77,76,,18,82,31,136,36,,48,95,76,,18,,31',
74
- '91,36,35,48,,,,18,82,9,17,36,35,88,95,92,,,,9,17,,35,88,,92,,,,9,17',
75
- '77,,88,,92,,,,,,77,76,,,,31,91,,,48,77,76,,18,82,31,91,36,,48,95,76',
76
- ',18,82,31,91,36,35,48,95,,,18,82,9,17,36,35,88,95,92,,,,9,17,,35,88',
77
- ',92,,,,9,17,77,,,,,,,,,,77,76,,,,31,91,,,48,,76,,18,82,31,91,36,,48',
78
- '95,76,,18,82,31,136,36,35,48,95,,,18,,9,17,36,35,88,,92,,,,9,17,,35',
79
- '88,,92,,,,9,17,77,,88,,92,,,,,,77,76,,,,31,91,,,48,77,76,,18,82,31,91',
80
- '36,,48,95,76,,18,82,31,91,36,35,48,95,,,18,82,9,17,36,35,88,95,92,,',
81
- ',9,17,,35,88,,92,,,,9,17,77,,,,,349,,,,,77,76,,,,31,91,,,48,,76,,18',
82
- '82,31,91,36,,48,95,76,,18,82,31,136,36,35,48,95,,,18,,9,17,36,35,88',
83
- ',92,,,,9,17,,35,88,,92,,,,9,17,77,,88,,92,,,,,,77,76,,,,31,91,,,48,77',
84
- '76,,18,82,31,91,36,,48,95,76,,18,82,31,91,36,35,48,95,,,18,82,9,17,36',
85
- '35,,95,,308,,,,,,35,,195,196,177,178,180,181,,186,192,,9,17,,40,179',
86
- '47,1,,10,15,,25,31,38,,44,48,3,,,18,9,17,,36,88,,92,40,,47,1,,10,15',
87
- '35,25,31,38,,44,48,3,77,,18,9,17,,36,88,,92,,76,,,,31,91,35,,48,,,,18',
88
- '82,77,,36,9,17,95,,88,,92,,76,,35,,31,91,,,48,,,,18,82,77,,36,9,17,95',
89
- ',88,,92,,76,,35,,31,91,,,48,,,,18,82,77,,36,9,17,95,,,,,,76,,35,,31',
90
- '91,9,17,48,,88,,18,82,,,36,,,95,40,,47,1,,10,15,35,25,31,38,,44,48,3',
91
- ',,18,,76,,36,,31,136,,,48,,,,18,35,9,17,36,,88,,92,,,,9,17,,35,88,,92',
92
- ',,,9,17,77,,88,,,,,,,,77,76,,,,31,91,,,48,,76,,18,82,31,91,36,,48,95',
93
- '76,,18,82,31,210,36,35,48,95,,,18,,9,17,36,35,88,,92,,,,9,17,,35,88',
94
- '166,92,,,,,,77,215,,,,,,,,,77,76,,9,17,31,91,,,48,336,76,,18,82,31,91',
95
- '36,,48,95,,,18,82,,,36,35,,95,40,,47,1,,10,15,35,25,31,38,,44,48,3,',
96
- ',18,9,17,,36,88,,92,,,,,,,,35,,,9,17,,,88,77,92,,,,,,,,,,76,,,,31,91',
97
- '77,258,48,,,,18,82,,,36,76,,95,,31,91,9,17,48,,35,232,18,82,,,36,,,95',
98
- ',190,194,,,,,35,,,182,185,191,193,,,,9,17,76,51,88,,31,126,,44,48,,',
99
- ',18,,184,189,36,,195,196,177,178,180,181,,186,192,35,,,,76,179,,,31',
100
- '91,,,48,,219,,18,,,,36,,,190,194,,,,,220,,35,182,185,191,193,,,190,194',
101
- ',,,,,,,182,185,191,193,,,,,184,189,,,195,196,177,178,180,181,,186,192',
102
- ',,184,189,,179,195,196,177,178,180,181,,186,192,190,194,,,,179,,,,182',
103
- '185,191,193,,,190,194,,,,,,,,182,185,191,193,,,,,,,,,195,196,177,178',
104
- '180,181,,186,192,,,184,189,,179,195,196,177,178,180,181,,186,192,190',
105
- '194,,,,179,,,,182,185,191,193,,,190,194,,,,,,,,182,185,191,193,,,,,184',
106
- '189,,,195,196,177,178,180,181,,186,192,,,184,189,,179,195,196,177,178',
107
- '180,181,,186,192,190,194,,,,179,,,,182,185,191,193,,,190,194,,,,,,,',
108
- '182,185,191,193,,,,,184,189,,,195,196,177,178,180,181,,186,192,,,184',
109
- '189,,179,195,196,177,178,180,181,,186,192,190,194,,,,179,,,,182,185',
110
- '191,193,,,190,194,,,,,,,,182,185,191,193,,,,,184,189,,,195,196,177,178',
111
- '180,181,,186,192,,,184,189,,179,195,196,177,178,180,181,,186,192,190',
112
- '194,,,,179,,,,182,185,191,193,,,190,194,,,,,,,255,182,185,191,193,,',
113
- ',,184,189,,,195,196,177,178,180,181,,186,192,,,184,189,,179,195,196',
114
- '177,178,180,181,,186,192,190,194,,,,179,,,,182,185,191,193,,,190,194',
115
- ',,,,,,,182,185,191,193,,,,,184,189,,,195,196,177,178,180,181,,186,192',
116
- ',,184,189,,179,195,196,177,178,180,181,,186,192,190,194,,,,179,,,,182',
117
- '185,191,193,,,190,194,,,,,,,,182,185,191,193,,,,,,189,,,195,196,177',
118
- '178,180,181,,186,192,,,,,,179,195,196,177,178,180,181,,186,192,190,194',
119
- ',,,179,,,,182,185,191,193,,,,194,,,,,,,,182,,,,,,,,,,194,,195,196,177',
120
- '178,180,181,182,186,192,,,,,194,179,195,196,177,178,180,181,182,186',
121
- '192,,,,,,179,,194,,195,196,177,178,180,181,182,186,192,,,,,,179,195',
122
- '196,177,178,180,181,,186,192,,,,,,179,,,,195,196,177,178,180,181,,186',
123
- '192,,,,,,179' ]
124
- racc_action_table = arr = Array.new(2325, nil)
37
+ '9,13,167,168,103,155,370,103,282,105,173,281,293,53,371,142,146,54,274',
38
+ '313,292,-177,106,154,137,139,143,145,40,94,48,1,314,10,12,174,21,29',
39
+ '35,357,44,49,2,9,13,15,102,138,141,34,317,148,149,132,133,135,136,-176',
40
+ '140,144,33,9,13,305,302,134,8,98,274,299,99,40,350,48,1,367,10,12,366',
41
+ '21,29,35,337,44,49,2,9,13,15,33,296,297,34,396,64,326,296,297,29,222',
42
+ '9,13,49,33,9,13,15,161,72,8,34,53,-112,325,40,54,48,1,343,10,12,33,21',
43
+ '29,35,154,44,49,2,9,13,15,155,119,-196,34,394,64,160,90,179,29,75,-123',
44
+ '94,49,33,-183,154,15,154,178,8,34,9,13,183,40,309,48,1,340,10,12,33',
45
+ '21,29,35,308,44,49,2,9,13,15,179,277,322,34,392,274,275,98,306,86,99',
46
+ '178,142,146,33,304,183,160,84,85,8,137,139,143,145,40,94,48,1,33,10',
47
+ '12,53,21,29,35,54,44,49,2,9,13,15,15,138,141,34,302,148,149,132,133',
48
+ '135,136,334,140,144,33,9,13,132,133,134,8,98,140,144,99,40,291,48,1',
49
+ '134,10,12,286,21,29,35,-130,44,49,2,9,13,15,33,335,53,34,271,64,54,179',
50
+ '179,29,222,274,360,49,33,140,144,15,178,178,8,34,134,183,183,40,367',
51
+ '48,1,366,10,12,33,21,29,35,283,44,49,2,9,13,15,-178,72,33,34,33,-130',
52
+ '-130,-130,-130,249,148,149,132,133,33,9,13,140,144,295,8,342,296,297',
53
+ '134,205,206,208,189,191,64,195,197,200,239,243,248,207,247,232,9,13',
54
+ '15,225,199,202,244,347,64,132,133,188,29,222,140,144,49,33,9,13,15,134',
55
+ '190,194,34,140,144,105,40,172,48,1,134,10,12,33,21,29,35,306,44,49,2',
56
+ '9,13,15,123,354,315,34,117,64,274,275,-182,29,222,-177,-180,49,33,9',
57
+ '13,15,300,72,8,34,274,299,-178,40,332,48,1,363,10,12,33,21,29,35,-122',
58
+ '44,49,2,9,13,15,-181,364,338,34,381,64,274,299,331,29,75,-179,-176,49',
59
+ '33,372,-183,15,86,375,8,34,376,123,249,40,379,48,1,121,10,12,33,21,29',
60
+ '35,119,44,49,2,9,13,15,330,382,117,34,329,-178,383,9,13,-179,109,113',
61
+ '-227,-196,33,-40,-40,-40,-40,107,8,59,60,61,57,40,385,48,1,112,10,12',
62
+ '-129,21,29,35,92,44,49,2,64,388,15,-184,29,75,34,390,49,9,13,302,15',
63
+ '72,117,78,34,33,-96,9,13,-179,56,8,397,398,,33,,9,13,65,,72,,78,-44',
64
+ '-44,-44,-44,,,64,,,,29,75,,,49,65,64,53,15,68,29,129,34,44,49,83,64',
65
+ ',15,,29,75,34,33,49,,,,15,68,9,13,34,33,72,83,78,,,,9,13,,33,72,,78',
66
+ ',,,9,13,65,,72,,78,-38,-38,-38,-38,,65,64,,,,29,75,,,49,65,64,,15,68',
67
+ '29,75,34,,49,83,64,,15,68,29,75,34,33,49,83,,,15,68,9,13,34,33,72,83',
68
+ '78,,284,148,149,132,133,33,,,140,144,142,146,,,65,134,,,,137,139,143',
69
+ '145,,,64,,,,29,75,,,49,,9,13,15,68,72,,34,138,141,83,,148,149,132,133',
70
+ '135,136,33,140,144,9,13,,,72,134,78,,,,9,13,,64,72,,78,29,222,,,49,65',
71
+ ',,15,,,,34,,,65,64,,,,29,75,,33,49,,64,,15,68,29,75,34,,49,83,,,15,68',
72
+ '9,13,34,33,72,83,78,,,,9,13,,33,72,,78,59,60,61,57,,65,,,,,,,,,,65,64',
73
+ ',,,29,75,,,49,,64,,15,68,29,75,34,,49,83,,,15,68,9,13,34,33,72,83,78',
74
+ ',,,9,13,,33,72,152,78,,,,9,13,65,278,,,,369,,,,,65,64,,,,29,75,,,49',
75
+ ',64,,15,68,29,75,34,,49,83,64,,15,68,29,222,34,33,49,83,,,15,,9,13,34',
76
+ '33,72,,78,,,,9,13,,33,72,,78,,,,9,13,65,,72,,78,,,,,,65,64,,,,29,75',
77
+ ',,49,65,64,,15,68,29,75,34,,49,83,64,,15,68,29,75,34,33,49,83,,,15,68',
78
+ '9,13,34,33,72,83,78,,,,9,13,,33,72,,78,,,,9,13,65,,72,,78,,,,,,65,64',
79
+ ',,,29,75,,,49,65,64,,15,68,29,75,34,,49,83,64,,15,68,29,75,34,33,49',
80
+ '83,,,15,68,9,13,34,33,72,83,78,,,,9,13,,33,72,,78,,,,9,13,65,,72,,78',
81
+ ',,,,,65,64,,,,29,75,,,49,65,64,,15,68,29,75,34,,49,83,64,,15,68,29,75',
82
+ '34,33,49,83,,,15,68,9,13,34,33,72,83,78,,,,9,13,,33,72,,78,,,,9,13,65',
83
+ ',72,,78,,,,,,65,64,,,,29,75,,,49,65,64,,15,68,29,75,34,,49,83,64,,15',
84
+ '68,29,75,34,33,49,83,,,15,68,9,13,34,33,72,83,78,,,,9,13,,33,,,,,,,9',
85
+ '13,65,,72,,78,,,,,,,64,,,,29,75,,,49,65,64,53,15,68,29,129,34,44,49',
86
+ '83,64,,15,,29,75,34,33,49,,,,15,68,9,13,34,33,72,83,78,,,,9,13,,33,72',
87
+ ',78,,,,9,13,65,,72,,78,,,,,,65,64,,,,29,75,,,49,65,64,,15,68,29,75,34',
88
+ ',49,83,64,,15,68,29,75,34,33,49,83,,,15,68,9,13,34,33,72,83,78,,,,9',
89
+ '13,,33,72,,78,,,,9,13,65,,72,,78,,,,,,65,64,,,,29,75,,,49,65,64,,15',
90
+ '68,29,75,34,,49,83,64,,15,68,29,75,34,33,49,83,,,15,68,9,13,34,33,72',
91
+ '83,78,,,,9,13,,33,72,,78,,,,9,13,65,,,,223,,,,,,65,64,,,,29,75,,,49',
92
+ ',64,,15,68,29,75,34,,49,83,64,,15,68,29,222,34,33,49,83,,,15,,9,13,34',
93
+ '33,72,,78,,,,,,,33,,,,9,13,,,72,65,78,,,,,,,,,,64,,,,29,75,65,226,49',
94
+ ',,,15,68,,,34,64,,83,,29,75,,,49,,33,,15,68,,,34,9,13,83,,72,152,78',
95
+ ',,,33,,,,,,,9,13,,,72,65,78,,,,,,,,,,64,,,,29,75,65,,49,,,,15,68,,,34',
96
+ '64,,83,,29,75,,,49,,33,,15,68,9,13,34,,72,83,78,,,,9,13,,33,72,,78,',
97
+ ',,9,13,65,,72,,78,,,,,,65,64,,,,29,75,,,49,65,64,,15,68,29,75,34,,49',
98
+ '83,64,,15,68,29,75,34,33,49,83,,,15,68,9,13,34,33,72,83,78,,,230,,,',
99
+ '33,,,,,142,146,,,65,,,,,137,139,143,145,,,64,,,,29,75,,,49,,,,15,68',
100
+ ',,34,138,141,83,,148,149,132,133,135,136,33,140,144,147,,,,,134,,,,142',
101
+ '146,,,,,229,,,137,139,143,145,,,142,146,,,,,,,,137,139,143,145,,,,,138',
102
+ '141,,,148,149,132,133,135,136,,140,144,,,138,141,,134,148,149,132,133',
103
+ '135,136,,140,144,142,146,,,,134,,,,137,139,143,145,,,142,146,,,,,,,253',
104
+ '137,139,143,145,,,,,138,141,,,148,149,132,133,135,136,,140,144,,,138',
105
+ '141,,134,148,149,132,133,135,136,,140,144,142,146,,,,134,,,,137,139',
106
+ '143,145,,,142,146,,,,,,,,137,139,143,145,,,,,,141,,,148,149,132,133',
107
+ '135,136,,140,144,,,138,141,,134,148,149,132,133,135,136,,140,144,142',
108
+ '146,,,,134,,,,137,139,143,145,,,142,146,,,,,,,,137,139,143,145,,,,,138',
109
+ '141,,,148,149,132,133,135,136,,140,144,,,,,,134,148,149,132,133,135',
110
+ '136,,140,144,142,146,,,,134,,,,137,139,143,145,,,142,146,,,,,,,,137',
111
+ '139,143,145,,,,,,,,,148,149,132,133,135,136,,140,144,,,138,141,,134',
112
+ '148,149,132,133,135,136,,140,144,142,146,,,,134,,,,137,139,143,145,',
113
+ ',142,146,,,,,,,,137,139,143,145,,,,,138,141,,,148,149,132,133,135,136',
114
+ ',140,144,,,138,141,,134,148,149,132,133,135,136,,140,144,142,146,,,',
115
+ '134,,,,137,139,143,145,,,142,146,,,,,,,,137,139,143,145,,,,,138,141',
116
+ ',,148,149,132,133,135,136,,140,144,,,138,141,,134,148,149,132,133,135',
117
+ '136,,140,144,142,146,,,,134,,,,137,139,143,145,,,142,146,,,,,,,,137',
118
+ '139,143,145,,,,,138,141,146,,148,149,132,133,135,136,137,140,144,,,',
119
+ ',146,134,148,149,132,133,135,136,137,140,144,,,,,,134,,146,,148,149',
120
+ '132,133,135,136,137,140,144,,,,,146,134,148,149,132,133,135,136,137',
121
+ '140,144,,,,,,134,,,,148,149,132,133,135,136,,140,144,,,,,,134,148,149',
122
+ '132,133,135,136,,140,144,205,206,208,189,191,134,195,197,200,201,215',
123
+ ',207,209,,,,,,199,202,204,205,206,208,189,191,,195,197,200,201,215,',
124
+ '207,209,,190,194,,,199,202,204,205,206,208,189,191,,195,197,200,201',
125
+ '203,,207,209,,190,194,,,199,202,204,205,206,208,189,191,,195,197,200',
126
+ '201,203,,207,209,,190,194,,,199,202,204,205,206,208,189,191,,195,197',
127
+ '200,201,203,,207,209,,190,194,,,199,202,204,205,206,208,189,191,,195',
128
+ '197,200,201,215,,207,209,,190,194,,,199,202,204,148,149,132,133,135',
129
+ '136,,140,144,,,,,,134,190,194,148,149,132,133,135,136,,140,144,,,,,',
130
+ '134' ]
131
+ racc_action_table = arr = ::Array.new(2419, nil)
125
132
  idx = 0
126
133
  clist.each do |str|
127
134
  str.split(',', -1).each do |i|
@@ -131,102 +138,109 @@ clist = [
131
138
  end
132
139
 
133
140
  clist = [
134
- '96,96,162,12,157,12,216,216,91,261,261,79,304,96,96,105,261,126,12,126',
135
- '216,225,96,96,96,96,91,25,79,92,92,157,157,88,88,126,92,88,88,88,105',
136
- '296,12,162,296,96,96,261,200,96,96,96,96,96,96,88,96,96,238,238,210',
137
- '71,238,96,238,25,88,92,25,224,88,88,71,210,88,231,231,71,88,88,238,233',
138
- '88,366,366,88,200,25,223,200,366,238,298,88,1,238,238,292,1,238,298',
139
- '220,220,238,238,233,233,238,200,342,238,366,342,366,366,143,366,366',
140
- '238,366,366,366,199,366,366,366,143,221,366,239,239,143,366,239,220',
141
- '239,11,2,220,220,11,150,220,366,15,2,220,11,15,150,220,239,292,292,292',
142
- '292,172,364,364,172,199,220,239,199,364,240,239,239,237,215,239,214',
143
- '259,259,239,239,252,246,239,237,252,239,199,252,237,364,259,364,364',
144
- '239,364,364,67,364,364,364,247,364,364,364,219,219,364,67,119,249,364',
145
- '219,67,119,218,218,145,10,218,145,145,364,268,268,268,268,10,10,305',
146
- '268,268,250,219,305,219,219,268,219,219,213,219,219,219,211,219,219',
147
- '219,218,254,219,256,218,218,219,209,218,242,242,207,218,242,205,242',
148
- '218,219,279,279,279,279,279,279,204,279,279,218,203,264,264,242,279',
149
- '198,358,358,264,267,267,267,267,358,242,192,267,267,242,242,186,174',
150
- '242,267,265,265,242,242,163,159,242,265,156,242,358,155,358,358,151',
151
- '358,358,242,358,358,358,152,358,358,358,152,152,358,245,245,136,358',
152
- '245,167,245,280,280,167,167,260,280,280,358,260,260,17,17,280,131,17',
153
- '245,17,281,281,121,217,117,281,281,217,217,245,110,97,281,245,245,17',
154
- '287,245,288,289,290,245,245,291,90,245,17,89,245,295,17,17,86,85,17',
155
- '81,245,80,17,17,251,251,17,227,251,17,251,76,75,307,263,263,74,17,263',
156
- '311,263,312,73,72,346,346,251,7,7,7,7,4,4,4,4,317,263,251,70,68,65,251',
157
- '251,53,47,251,335,263,339,251,251,263,263,251,37,263,251,346,32,263',
158
- '263,346,346,263,251,346,263,24,24,346,345,22,347,346,263,21,19,343,343',
159
- '13,8,343,3,343,346,50,50,50,50,49,49,49,49,368,370,24,,24,24,343,24',
160
- '24,,24,24,24,,24,24,24,343,,24,,343,343,24,,343,,202,,343,343,,,343',
161
- '24,,343,202,202,42,42,42,42,,343,,202,202,202,202,,,,,,,,38,38,,,38',
162
- ',38,,,,,,202,202,,,202,202,202,202,202,202,38,202,202,40,40,,,40,202',
163
- '40,,38,,,,38,38,,,38,44,44,,38,44,40,44,38,,,,,,,,,40,,38,,40,40,44',
164
- ',40,,,,40,40,,,40,44,,40,,44,44,,,44,,40,,44,44,196,196,44,,196,44,196',
165
- ',,,195,195,,44,195,,195,,,,,,196,,,,,,,,,,195,196,,328,328,196,196,',
166
- ',196,328,195,,196,196,195,195,196,,195,196,,,195,195,,,195,196,,195',
167
- '328,,328,328,,328,328,195,328,328,328,,328,328,328,,,328,54,54,,328',
168
- '54,,54,,,,57,57,,,328,,,,,,61,61,54,,,,61,,,,,,,54,,,,54,54,,,54,,57',
169
- '57,54,54,57,57,54,57,57,54,61,,57,,61,61,57,54,61,62,62,,61,62,,62,61',
170
- '57,,63,63,,,63,,63,,61,,64,64,62,,64,,64,,,,,,63,62,,,,62,62,,,62,64',
171
- '63,,62,62,63,63,62,,63,62,64,,63,63,64,64,63,62,64,63,,,64,64,194,194',
172
- '64,63,194,64,194,,,,137,137,,64,,,,,,,193,193,194,,193,,193,,,,,,,194',
173
- ',,,194,194,,,194,193,137,,194,194,137,137,194,,137,194,193,,137,,193',
174
- '193,137,194,193,,,,193,193,69,69,193,137,69,193,69,,,,191,191,,193,191',
175
- ',191,,,,190,190,69,,190,,190,,,,,,191,69,,,,69,69,,,69,190,191,,69,69',
176
- '191,191,69,,191,69,190,,191,191,190,190,191,69,190,191,,,190,190,189',
177
- '189,190,191,189,190,189,,,,185,185,,190,185,,185,,,,310,310,189,,,,',
178
- ',,,,,185,189,,,,189,189,,,189,,185,,189,189,185,185,189,,185,189,310',
179
- ',185,185,310,310,185,189,310,185,,,310,,306,306,310,185,306,,306,,,',
180
- '184,184,,310,184,,184,,,,77,77,306,,77,,77,,,,,,184,306,,,,306,306,',
181
- ',306,77,184,,306,306,184,184,306,,184,306,77,,184,184,77,77,184,306',
182
- '77,184,,,77,77,183,183,77,184,183,77,183,,,,302,302,,77,302,,302,,,',
183
- '300,300,183,,,,,300,,,,,302,183,,,,183,183,,,183,,302,,183,183,302,302',
184
- '183,,302,183,300,,302,302,300,300,302,183,300,302,,,300,,82,82,300,302',
185
- '82,,82,,,,182,182,,300,182,,182,,,,181,181,82,,181,,181,,,,,,182,82',
186
- ',,,82,82,,,82,181,182,,82,82,182,182,82,,182,82,181,,182,182,181,181',
187
- '182,82,181,182,,,181,181,228,228,181,182,,181,,228,,,,,,181,,269,269',
188
- '269,269,269,269,,269,269,,294,294,,228,269,228,228,,228,228,,228,228',
189
- '228,,228,228,228,,,228,180,180,,228,180,,180,294,,294,294,,294,294,228',
190
- '294,294,294,,294,294,294,180,,294,179,179,,294,179,,179,,180,,,,180',
191
- '180,294,,180,,,,180,180,179,,180,178,178,180,,178,,178,,179,,180,,179',
192
- '179,,,179,,,,179,179,178,,179,95,95,179,,95,,95,,178,,179,,178,178,',
193
- ',178,,,,178,178,95,,178,0,0,178,,,,,,95,,178,,95,95,286,286,95,,286',
194
- ',95,95,,,95,,,95,0,,0,0,,0,0,95,0,0,0,,0,0,0,,,0,,286,,0,,286,286,,',
195
- '286,,,,286,0,177,177,286,,177,,177,,,,106,106,,286,106,,106,,,,107,107',
196
- '177,,107,,,,,,,,106,177,,,,177,177,,,177,,106,,177,177,106,106,177,',
197
- '106,177,107,,106,106,107,107,106,177,107,106,,,107,,108,108,107,106',
198
- '108,,108,,,,109,109,,107,109,109,109,,,,,,108,108,,,,,,,,,109,108,,282',
199
- '282,108,108,,,108,282,109,,108,108,109,109,108,,109,108,,,109,109,,',
200
- '109,108,,109,282,,282,282,,282,282,109,282,282,282,,282,282,282,,,282',
201
- '169,169,,282,169,,169,,,,,,,,282,,,168,168,,,168,169,168,,,,,,,,,,169',
202
- ',,,169,169,168,168,169,,,,169,169,,,169,168,,169,,168,168,118,118,168',
203
- ',169,140,168,168,,,168,,,168,,140,140,,,,,168,,,140,140,140,140,,,,229',
204
- '229,118,118,229,,118,118,,118,118,,,,118,,140,140,118,,140,140,140,140',
205
- '140,140,,140,140,118,,,,229,140,,,229,229,,,229,,113,,229,,,,229,,,113',
206
- '113,,,,,114,,229,113,113,113,113,,,114,114,,,,,,,,114,114,114,114,,',
207
- ',,113,113,,,113,113,113,113,113,113,,113,113,,,114,114,,113,114,114',
208
- '114,114,114,114,,114,114,316,316,,,,114,,,,316,316,316,316,,,319,319',
209
- ',,,,,,,319,319,319,319,,,,,,,,,316,316,316,316,316,316,,316,316,,,319',
210
- '319,,316,319,319,319,319,319,319,,319,319,324,324,,,,319,,,,324,324',
211
- '324,324,,,138,138,,,,,,,,138,138,138,138,,,,,324,324,,,324,324,324,324',
212
- '324,324,,324,324,,,138,138,,324,138,138,138,138,138,138,,138,138,139',
213
- '139,,,,138,,,,139,139,139,139,,,318,318,,,,,,,,318,318,318,318,,,,,139',
214
- '139,,,139,139,139,139,139,139,,139,139,,,318,318,,139,318,318,318,318',
215
- '318,318,,318,318,122,122,,,,318,,,,122,122,122,122,,,353,353,,,,,,,',
216
- '353,353,353,353,,,,,122,122,,,122,122,122,122,122,122,,122,122,,,353',
217
- '353,,122,353,353,353,353,353,353,,353,353,334,334,,,,353,,,,334,334',
218
- '334,334,,,164,164,,,,,,,164,164,164,164,164,,,,,334,334,,,334,334,334',
219
- '334,334,334,,334,334,,,164,164,,334,164,164,164,164,164,164,,164,164',
220
- '350,350,,,,164,,,,350,350,350,350,,,153,153,,,,,,,,153,153,153,153,',
221
- ',,,350,350,,,350,350,350,350,350,350,,350,350,,,153,153,,350,153,153',
222
- '153,153,153,153,,153,153,271,271,,,,153,,,,271,271,271,271,,,274,274',
223
- ',,,,,,,274,274,274,274,,,,,,271,,,271,271,271,271,271,271,,271,271,',
224
- ',,,,271,274,274,274,274,274,274,,274,274,315,315,,,,274,,,,315,315,315',
225
- '315,,,,272,,,,,,,,272,,,,,,,,,,276,,315,315,315,315,315,315,276,315',
226
- '315,,,,,275,315,272,272,272,272,272,272,275,272,272,,,,,,272,,278,,276',
227
- '276,276,276,276,276,278,276,276,,,,,,276,275,275,275,275,275,275,,275',
228
- '275,,,,,,275,,,,278,278,278,278,278,278,,278,278,,,,,,278' ]
229
- racc_action_check = arr = Array.new(2325, nil)
141
+ '0,0,88,88,71,75,320,23,156,23,95,156,177,12,320,88,88,12,227,227,177',
142
+ '71,23,75,88,88,88,88,0,174,0,0,227,0,0,95,0,0,0,307,0,0,0,229,229,0',
143
+ '23,88,88,0,229,88,88,88,88,88,88,237,88,88,0,230,230,210,236,88,0,174',
144
+ '279,279,174,229,294,229,229,317,229,229,317,229,229,229,279,229,229',
145
+ '229,390,390,229,174,210,210,229,390,230,235,294,294,230,230,78,78,230',
146
+ '229,309,309,230,78,309,229,230,286,243,233,390,286,390,390,286,390,390',
147
+ '230,390,390,390,243,390,390,390,388,388,390,129,232,129,390,388,309',
148
+ '78,14,179,309,309,226,173,309,390,14,222,309,129,179,390,309,281,281',
149
+ '179,388,219,388,388,281,388,388,309,388,388,388,215,388,388,388,380',
150
+ '380,388,106,153,231,388,380,153,153,173,212,10,173,106,231,231,388,198',
151
+ '106,281,10,10,388,231,231,231,231,380,21,380,380,173,380,380,22,380',
152
+ '380,380,22,380,380,380,269,269,380,22,231,231,380,193,231,231,231,231',
153
+ '231,231,270,231,231,380,361,361,273,273,231,380,21,273,273,21,269,175',
154
+ '269,269,273,269,269,166,269,269,269,315,269,269,269,147,147,269,21,275',
155
+ '1,269,147,361,1,102,298,361,361,311,311,361,269,254,254,361,102,298',
156
+ '269,361,254,102,298,147,364,147,147,364,147,147,361,147,147,147,158',
157
+ '147,147,147,121,121,147,242,121,144,147,140,315,315,315,315,123,257',
158
+ '257,257,257,147,370,370,257,257,184,147,285,184,184,257,121,121,121',
159
+ '121,121,121,121,121,121,121,121,122,121,121,118,291,291,121,110,121',
160
+ '121,121,291,370,272,272,104,370,370,272,272,370,121,223,223,370,272',
161
+ '121,121,370,255,255,100,291,92,291,291,255,291,291,370,291,291,291,301',
162
+ '291,291,291,26,26,291,87,303,228,291,82,223,228,228,81,223,223,238,79',
163
+ '223,291,225,225,223,187,225,291,223,187,187,77,26,251,26,26,313,26,26',
164
+ '223,26,26,26,314,26,26,26,342,342,26,74,316,280,26,342,225,280,280,250',
165
+ '225,225,73,69,225,26,324,67,225,64,327,26,225,328,55,332,342,333,342',
166
+ '342,50,342,342,225,342,342,342,48,342,342,342,248,248,342,249,346,45',
167
+ '342,248,36,352,35,35,30,28,35,360,35,342,4,4,4,4,24,342,5,5,5,5,248',
168
+ '362,248,248,35,248,248,239,248,248,248,20,248,248,248,35,367,248,247',
169
+ '35,35,248,371,35,8,8,374,35,8,246,8,35,248,244,58,58,240,2,248,393,395',
170
+ ',35,,40,40,8,,40,,40,11,11,11,11,,,8,,,,8,8,,,8,40,58,58,8,8,58,58,8',
171
+ '58,58,8,40,,58,,40,40,58,8,40,,,,40,40,44,44,40,58,44,40,44,,,,283,283',
172
+ ',40,283,,283,,,,167,167,44,,167,,167,47,47,47,47,,283,44,,,,44,44,,',
173
+ '44,167,283,,44,44,283,283,44,,283,44,167,,283,283,167,167,283,44,167',
174
+ '283,,,167,167,330,330,167,283,330,167,330,,165,258,258,258,258,167,',
175
+ ',258,258,165,165,,,330,258,,,,165,165,165,165,,,330,,,,330,330,,,330',
176
+ ',325,325,330,330,325,,330,165,165,330,,165,165,165,165,165,165,330,165',
177
+ '165,65,65,,,65,165,65,,,,276,276,,325,276,,276,325,325,,,325,65,,,325',
178
+ ',,,325,,,276,65,,,,65,65,,325,65,,276,,65,65,276,276,65,,276,65,,,276',
179
+ '276,13,13,276,65,13,276,13,,,,155,155,,276,155,,155,16,16,16,16,,13',
180
+ ',,,,,,,,,155,13,,,,13,13,,,13,,155,,13,13,155,155,13,,155,13,,,155,155',
181
+ '154,154,155,13,154,155,154,,,,72,72,,155,72,72,72,,,,318,318,154,154',
182
+ ',,,318,,,,,72,154,,,,154,154,,,154,,72,,154,154,72,72,154,,72,154,318',
183
+ ',72,72,318,318,72,154,318,72,,,318,,149,149,318,72,149,,149,,,,148,148',
184
+ ',318,148,,148,,,,146,146,149,,146,,146,,,,,,148,149,,,,149,149,,,149',
185
+ '146,148,,149,149,148,148,149,,148,149,146,,148,148,146,146,148,149,146',
186
+ '148,,,146,146,308,308,146,148,308,146,308,,,,145,145,,146,145,,145,',
187
+ ',,304,304,308,,304,,304,,,,,,145,308,,,,308,308,,,308,304,145,,308,308',
188
+ '145,145,308,,145,308,304,,145,145,304,304,145,308,304,145,,,304,304',
189
+ '83,83,304,145,83,304,83,,,,84,84,,304,84,,84,,,,85,85,83,,85,,85,,,',
190
+ ',,84,83,,,,83,83,,,83,85,84,,83,83,84,84,83,,84,83,85,,84,84,85,85,84',
191
+ '83,85,84,,,85,85,86,86,85,84,86,85,86,,,,143,143,,85,143,,143,,,,366',
192
+ '366,86,,366,,366,,,,,,143,86,,,,86,86,,,86,366,143,,86,86,143,143,86',
193
+ ',143,86,366,,143,143,366,366,143,86,366,143,,,366,366,90,90,366,143',
194
+ '90,366,90,,,,91,91,,366,,,,,,,142,142,90,,142,,142,,,,,,,90,,,,90,90',
195
+ ',,90,142,91,91,90,90,91,91,90,91,91,90,142,,91,,142,142,91,90,142,,',
196
+ ',142,142,141,141,142,91,141,142,141,,,,139,139,,142,139,,139,,,,138',
197
+ '138,141,,138,,138,,,,,,139,141,,,,141,141,,,141,138,139,,141,141,139',
198
+ '139,141,,139,141,138,,139,139,138,138,139,141,138,139,,,138,138,103',
199
+ '103,138,139,103,138,103,,,,293,293,,138,293,,293,,,,137,137,103,,137',
200
+ ',137,,,,,,293,103,,,,103,103,,,103,137,293,,103,103,293,293,103,,293',
201
+ '103,137,,293,293,137,137,293,103,137,293,,,137,137,136,136,137,293,136',
202
+ '137,136,,,,135,135,,137,135,,135,,,,109,109,136,,,,109,,,,,,135,136',
203
+ ',,,136,136,,,136,,135,,136,136,135,135,136,,135,136,109,,135,135,109',
204
+ '109,135,136,109,135,,,109,,292,292,109,135,292,,292,,,,,,,109,,,,112',
205
+ '112,,,112,292,112,,,,,,,,,,292,,,,292,292,112,112,292,,,,292,292,,,292',
206
+ '112,,292,,112,112,,,112,,292,,112,112,,,112,113,113,112,,113,113,113',
207
+ ',,,112,,,,,,,134,134,,,134,113,134,,,,,,,,,,113,,,,113,113,134,,113',
208
+ ',,,113,113,,,113,134,,113,,134,134,,,134,,113,,134,134,133,133,134,',
209
+ '133,134,133,,,,117,117,,134,117,,117,,,,132,132,133,,132,,132,,,,,,117',
210
+ '133,,,,133,133,,,133,132,117,,133,133,117,117,133,,117,133,132,,117',
211
+ '117,132,132,117,133,132,117,,,132,132,68,68,132,117,68,132,68,,,116',
212
+ ',,,132,,,,,116,116,,,68,,,,,116,116,116,116,,,68,,,,68,68,,,68,,,,68',
213
+ '68,,,68,116,116,68,,116,116,116,116,116,116,68,116,116,66,,,,,116,,',
214
+ ',66,66,,,,,114,,,66,66,66,66,,,114,114,,,,,,,,114,114,114,114,,,,,66',
215
+ '66,,,66,66,66,66,66,66,,66,66,,,114,114,,66,114,114,114,114,114,114',
216
+ ',114,114,170,170,,,,114,,,,170,170,170,170,,,131,131,,,,,,,131,131,131',
217
+ '131,131,,,,,170,170,,,170,170,170,170,170,170,,170,170,,,131,131,,170',
218
+ '131,131,131,131,131,131,,131,131,260,260,,,,131,,,,260,260,260,260,',
219
+ ',355,355,,,,,,,,355,355,355,355,,,,,,260,,,260,260,260,260,260,260,',
220
+ '260,260,,,355,355,,260,355,355,355,355,355,355,,355,355,358,358,,,,355',
221
+ ',,,358,358,358,358,,,349,349,,,,,,,,349,349,349,349,,,,,358,358,,,358',
222
+ '358,358,358,358,358,,358,358,,,,,,358,349,349,349,349,349,349,,349,349',
223
+ '348,348,,,,349,,,,348,348,348,348,,,341,341,,,,,,,,341,341,341,341,',
224
+ ',,,,,,,348,348,348,348,348,348,,348,348,,,341,341,,348,341,341,341,341',
225
+ '341,341,,341,341,336,336,,,,341,,,,336,336,336,336,,,164,164,,,,,,,',
226
+ '164,164,164,164,,,,,336,336,,,336,336,336,336,336,336,,336,336,,,164',
227
+ '164,,336,164,164,164,164,164,164,,164,164,163,163,,,,164,,,,163,163',
228
+ '163,163,,,377,377,,,,,,,,377,377,377,377,,,,,163,163,,,163,163,163,163',
229
+ '163,163,,163,163,,,377,377,,163,377,377,377,377,377,377,,377,377,151',
230
+ '151,,,,377,,,,151,151,151,151,,,263,263,,,,,,,,263,263,263,263,,,,,151',
231
+ '151,265,,151,151,151,151,151,151,265,151,151,,,,,264,151,263,263,263',
232
+ '263,263,263,264,263,263,,,,,,263,,267,,265,265,265,265,265,265,267,265',
233
+ '265,,,,,261,265,264,264,264,264,264,264,261,264,264,,,,,,264,,,,267',
234
+ '267,267,267,267,267,,267,267,,,,,,267,261,261,261,261,261,261,,261,261',
235
+ '107,107,107,107,107,261,107,107,107,107,107,,107,107,,,,,,107,107,107',
236
+ '306,306,306,306,306,,306,306,306,306,306,,306,306,,107,107,,,306,306',
237
+ '306,105,105,105,105,105,,105,105,105,105,105,,105,105,,306,306,,,105',
238
+ '105,105,302,302,302,302,302,,302,302,302,302,302,,302,302,,105,105,',
239
+ ',302,302,302,326,326,326,326,326,,326,326,326,326,326,,326,326,,302',
240
+ '302,,,326,326,326,188,188,188,188,188,,188,188,188,188,188,,188,188',
241
+ ',326,326,,,188,188,188,259,259,259,259,259,259,,259,259,,,,,,259,188',
242
+ '188,268,268,268,268,268,268,,268,268,,,,,,268' ]
243
+ racc_action_check = arr = ::Array.new(2419, nil)
230
244
  idx = 0
231
245
  clist.each do |str|
232
246
  str.split(',', -1).each do |i|
@@ -236,509 +250,534 @@ clist = [
236
250
  end
237
251
 
238
252
  racc_action_pointer = [
239
- 1378, 58, 122, 421, 351, nil, nil, 347, 440, nil,
240
- 207, 100, -3, 454, nil, 108, nil, 338, nil, 436,
241
- nil, 458, 431, nil, 448, 25, nil, nil, nil, nil,
242
- nil, nil, 435, nil, nil, nil, nil, 429, 531, nil,
243
- 556, nil, 452, nil, 573, nil, nil, 425, nil, 409,
244
- 405, nil, nil, 402, 701, nil, nil, 711, nil, nil,
245
- nil, 721, 763, 773, 783, 415, nil, 168, 414, 897,
246
- 381, 37, 366, 381, 376, 372, 388, 1051, nil, 5,
247
- 361, 359, 1165, nil, nil, 357, 356, nil, 31, 351,
248
- 365, 2, 27, nil, nil, 1353, -4, 358, nil, nil,
249
- nil, nil, nil, nil, nil, 3, 1449, 1459, 1506, 1516,
250
- 345, nil, nil, 1711, 1726, nil, nil, 339, 1643, 169,
251
- nil, 341, 1951, nil, nil, nil, 11, nil, nil, nil,
252
- nil, 332, nil, nil, nil, nil, 301, 840, 1846, 1891,
253
- 1643, nil, nil, 91, nil, 166, nil, nil, nil, nil,
254
- 123, 269, 309, 2086, nil, 295, 291, -18, nil, 288,
255
- nil, nil, -9, 262, 2026, nil, nil, 321, 1604, 1587,
256
- nil, nil, 147, nil, 281, nil, nil, 1439, 1328, 1303,
257
- 1278, 1185, 1175, 1098, 1041, 974, 229, nil, nil, 964,
258
- 917, 907, 224, 850, 830, 630, 620, nil, 268, 120,
259
- 46, nil, 496, 248, 244, 234, nil, 231, nil, 244,
260
- 49, 198, nil, 215, 159, 146, -5, 343, 208, 198,
261
- 99, 125, nil, 73, 44, 9, nil, 375, 1232, 1674,
262
- nil, 64, nil, 56, nil, nil, nil, 144, 56, 127,
263
- 153, nil, 250, nil, nil, 321, 168, 156, nil, 196,
264
- 187, 385, 140, nil, 236, nil, 239, nil, nil, 161,
265
- 327, 7, nil, 395, 212, 235, nil, 227, 165, 1196,
266
- nil, 2131, 2206, nil, 2146, 2239, 2224, nil, 2257, 208,
267
- 275, 292, 1541, nil, nil, nil, 1392, 354, 325, 357,
268
- 342, 347, 89, nil, 1257, 367, 10, nil, 80, nil,
269
- 1118, nil, 1108, nil, -13, 189, 1031, 387, nil, nil,
270
- 984, 393, 395, nil, nil, 2191, 1771, 409, 1906, 1786,
271
- nil, nil, nil, nil, 1831, nil, nil, nil, 655, nil,
272
- nil, nil, nil, nil, 2011, 420, nil, nil, nil, 419,
273
- nil, nil, 78, 458, nil, 445, 405, 447, nil, nil,
274
- 2071, nil, nil, 1966, nil, nil, nil, nil, 275, nil,
275
- nil, nil, nil, nil, 155, nil, 81, nil, 467, nil,
276
- 468, nil, nil, nil ]
253
+ -2, 227, 494, nil, 428, 434, nil, nil, 523, nil,
254
+ 178, 489, -23, 777, 124, nil, 733, nil, nil, nil,
255
+ 512, 199, 171, 1, 487, nil, 385, nil, 463, nil,
256
+ 462, nil, nil, nil, nil, 481, 458, nil, nil, nil,
257
+ 543, nil, nil, nil, 590, 472, nil, 556, 467, nil,
258
+ 454, nil, nil, nil, nil, 432, nil, nil, 533, nil,
259
+ nil, nil, nil, nil, 445, 720, 1692, 426, 1635, 422,
260
+ nil, -2, 844, 421, 410, -1, nil, 391, 98, 379,
261
+ nil, 375, 388, 1035, 1045, 1055, 1102, 366, -2, nil,
262
+ 1169, 1179, 373, nil, nil, -2, nil, nil, nil, nil,
263
+ 363, nil, 244, 1303, 347, 2269, 151, 2225, nil, 1390,
264
+ 335, nil, 1454, 1504, 1707, nil, 1638, 1578, 331, nil,
265
+ nil, 299, 332, 278, nil, nil, nil, nil, nil, 126,
266
+ nil, 1767, 1588, 1568, 1521, 1380, 1370, 1323, 1256, 1246,
267
+ 246, 1236, 1189, 1112, 244, 978, 921, 256, 911, 901,
268
+ nil, 2112, nil, 169, 834, 787, -1, nil, 286, nil,
269
+ nil, nil, nil, 2052, 2007, 660, 213, 610, nil, nil,
270
+ 1752, nil, nil, 142, 27, 236, nil, -6, nil, 116,
271
+ nil, nil, nil, nil, 277, nil, nil, 401, 2335, nil,
272
+ nil, nil, nil, 210, nil, nil, nil, nil, 179, nil,
273
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
274
+ 41, nil, 171, nil, nil, 116, nil, nil, nil, 147,
275
+ nil, nil, 124, 360, nil, 403, 120, 7, 385, 41,
276
+ 59, 170, 131, 72, nil, 75, 52, 34, 378, 485,
277
+ 514, nil, 281, 101, 511, nil, 524, 496, 471, 461,
278
+ 416, 404, nil, nil, 216, 309, nil, 261, 615, 2334,
279
+ 1812, 2193, nil, 2127, 2160, 2145, nil, 2178, 2351, 213,
280
+ 220, nil, 298, 180, nil, 255, 730, nil, nil, 57,
281
+ 428, 152, nil, 600, nil, 317, 75, nil, nil, nil,
282
+ nil, 342, 1437, 1313, 47, nil, nil, nil, 245, nil,
283
+ nil, 371, 2291, 382, 988, nil, 2247, 30, 968, 102,
284
+ nil, 261, nil, 394, 403, 246, 425, 44, 854, nil,
285
+ -6, nil, nil, nil, 439, 700, 2313, 443, 446, nil,
286
+ 657, nil, 422, 434, nil, nil, 1992, nil, nil, nil,
287
+ nil, 1947, 428, nil, nil, nil, 468, nil, 1932, 1887,
288
+ nil, nil, 473, nil, nil, 1827, nil, nil, 1872, nil,
289
+ 479, 231, 493, nil, 256, nil, 1122, 509, nil, nil,
290
+ 317, 515, nil, nil, 515, nil, nil, 2067, nil, nil,
291
+ 170, nil, nil, nil, nil, nil, nil, nil, 127, nil,
292
+ 84, nil, nil, 531, nil, 532, nil, nil, nil ]
277
293
 
278
294
  racc_action_default = [
279
- -184, -221, -219, -58, -221, -9, -155, -10, -221, -105,
280
- -201, -221, -156, -23, -11, -176, -160, -221, -82, -25,
281
- -12, -221, -26, -13, -1, -221, -159, -27, -14, -2,
282
- -161, -110, -29, -15, -3, -209, -80, -221, -81, -16,
283
- -221, -17, -6, -164, -221, -18, -7, -221, -163, -19,
284
- -8, -176, -175, -184, -221, -59, -33, -221, -30, -31,
285
- -32, -221, -221, -221, -221, -221, -57, -184, -61, -221,
286
- -93, -184, -100, -184, -219, -43, -201, -221, -50, -44,
287
- -47, -45, -221, -106, -48, -42, -51, -46, -221, -52,
288
- -49, -81, -221, -121, -120, -221, -221, -221, -4, -177,
289
- -181, -179, -180, -183, -182, -184, -221, -93, -221, -221,
290
- -37, -38, -113, -221, -221, -165, -166, -168, -221, -185,
291
- -186, -221, -91, -20, -28, -23, -81, -22, -24, -162,
292
- -156, -221, -158, -149, -157, -150, -81, -221, -90, -92,
293
- -221, -74, -201, -184, -73, -221, -65, -64, -81, -67,
294
- -221, -100, -221, -40, -94, -221, -207, -221, -98, -207,
295
- -99, -101, -221, -184, -221, -138, -204, -221, -221, -221,
296
- -217, -216, -221, -213, -221, -212, -131, -221, -221, -221,
297
- -221, -221, -221, -221, -221, -221, -221, -108, -107, -221,
298
- -221, -221, -221, -221, -221, -221, -221, 374, -221, -221,
299
- -221, -195, -221, -84, -85, -87, -88, -83, -86, -89,
300
- -81, -78, -76, -221, -207, -36, -221, -221, -221, -221,
301
- -221, -221, -21, -194, -221, -207, -189, -192, -221, -221,
302
- -152, -207, -218, -221, -62, -70, -69, -221, -221, -221,
303
- -207, -205, -221, -206, -112, -221, -221, -208, -63, -221,
304
- -208, -221, -221, -197, -221, -141, -206, -202, -104, -221,
305
- -221, -221, -210, -221, -128, -127, -122, -129, -130, -133,
306
- -109, -140, -135, -123, -139, -137, -134, -124, -136, -132,
307
- -125, -126, -221, -178, -196, -220, -79, -221, -93, -221,
308
- -206, -34, -202, -39, -5, -221, -116, -143, -221, -147,
309
- -221, -167, -221, -187, -221, -208, -221, -221, -170, -154,
310
- -221, -221, -206, -68, -66, -71, -72, -221, -41, -96,
311
- -55, -95, -56, -102, -97, -198, -199, -200, -221, -203,
312
- -103, -111, -214, -211, -215, -221, -174, -77, -53, -207,
313
- -54, -35, -116, -221, -115, -221, -221, -221, -144, -142,
314
- -193, -188, -190, -191, -169, -153, -151, -60, -221, -172,
315
- -173, -75, -114, -117, -221, -148, -221, -171, -221, -119,
316
- -221, -146, -118, -145 ]
295
+ -205, -240, -74, -19, -8, -20, -9, -185, -240, -124,
296
+ -220, -10, -197, -240, -238, -98, -240, -11, -176, -12,
297
+ -240, -240, -240, -177, -39, -13, -1, -181, -240, -129,
298
+ -41, -14, -2, -228, -96, -97, -42, -15, -3, -180,
299
+ -240, -43, -16, -182, -240, -45, -17, -6, -240, -184,
300
+ -240, -18, -7, -197, -196, -205, -75, -49, -240, -46,
301
+ -47, -48, -142, -141, -220, -240, -240, -238, -240, -59,
302
+ -66, -60, -240, -63, -61, -97, -64, -58, -240, -67,
303
+ -62, -68, -65, -240, -240, -240, -240, -205, -240, -125,
304
+ -240, -240, -240, -204, -202, -205, -198, -200, -201, -203,
305
+ -240, -73, -205, -240, -77, -109, -205, -119, -4, -240,
306
+ -53, -54, -240, -240, -240, -134, -240, -240, -189, -186,
307
+ -187, -109, -240, -206, -207, -40, -44, -37, -39, -97,
308
+ -38, -240, -240, -240, -240, -240, -240, -240, -240, -240,
309
+ -240, -240, -240, -240, -240, -240, -240, -240, -240, -240,
310
+ -159, -56, -223, -240, -240, -240, -240, -232, -240, -236,
311
+ -235, -231, -152, -106, -108, -240, -205, -240, -127, -126,
312
+ -107, -36, 399, -240, -240, -240, -214, -240, -220, -205,
313
+ -90, -89, -80, -97, -240, -81, -83, -240, -119, -25,
314
+ -29, -27, -113, -226, -35, -23, -110, -31, -240, -33,
315
+ -32, -114, -21, -112, -34, -28, -26, -22, -30, -24,
316
+ -240, -117, -226, -118, -120, -112, -183, -177, -179, -240,
317
+ -178, -170, -97, -240, -171, -240, -52, -240, -240, -240,
318
+ -240, -240, -240, -94, -92, -240, -226, -100, -101, -114,
319
+ -103, -104, -99, -97, -34, -102, -105, -24, -240, -213,
320
+ -240, -226, -210, -162, -149, -148, -143, -150, -151, -154,
321
+ -161, -156, -144, -160, -158, -155, -145, -157, -153, -5,
322
+ -240, -133, -146, -147, -224, -225, -240, -221, -123, -240,
323
+ -240, -240, -229, -240, -237, -240, -240, -216, -128, -199,
324
+ -215, -240, -240, -240, -240, -78, -86, -85, -240, -225,
325
+ -131, -226, -227, -240, -240, -79, -227, -240, -240, -240,
326
+ -173, -226, -55, -225, -50, -221, -240, -137, -240, -164,
327
+ -240, -168, -239, -188, -240, -95, -109, -240, -240, -191,
328
+ -240, -208, -227, -240, -132, -222, -57, -122, -130, -233,
329
+ -230, -234, -240, -219, -218, -217, -240, -195, -87, -88,
330
+ -84, -82, -240, -111, -71, -115, -121, -72, -116, -175,
331
+ -225, -240, -240, -51, -137, -136, -240, -240, -165, -163,
332
+ -240, -240, -69, -93, -226, -70, -190, -212, -211, -209,
333
+ -240, -193, -194, -76, -174, -172, -135, -138, -240, -169,
334
+ -240, -91, -192, -240, -140, -240, -167, -139, -166 ]
317
335
 
318
336
  racc_goto_table = [
319
- 12, 112, 24, 30, 98, 135, 156, 131, 53, 111,
320
- 246, 65, 226, 249, 99, 212, 206, 173, 116, 83,
321
- 66, 297, 73, 159, 12, 26, 158, 30, 295, 123,
322
- 344, 124, 16, 57, 152, 145, 103, 307, 128, 157,
323
- 68, 300, 29, 214, 323, 121, 314, 13, 133, 26,
324
- 188, 231, 287, 167, 117, 211, 16, 12, 254, 105,
325
- 30, 130, 198, 310, 30, 163, 127, 284, 289, 224,
326
- 225, 13, 110, 216, 217, 325, 362, 172, 118, 304,
327
- 21, 230, 26, 131, nil, 311, 26, nil, nil, 16,
328
- 222, 335, 124, 16, 317, 120, nil, nil, nil, 128,
329
- nil, 348, 240, nil, 125, 158, nil, 204, nil, nil,
330
- 30, 233, nil, nil, nil, 120, nil, nil, 12, nil,
331
- 6, 30, nil, nil, nil, nil, nil, 127, nil, nil,
332
- nil, nil, 26, 259, 260, 2, nil, 130, nil, 16,
333
- 30, nil, nil, 26, 6, nil, nil, 201, nil, nil,
334
- 16, nil, nil, nil, nil, nil, nil, nil, nil, 2,
335
- 27, nil, 26, nil, nil, 125, 299, nil, nil, 16,
336
- nil, nil, nil, 368, nil, 370, nil, 6, nil, nil,
337
- nil, 6, nil, nil, 27, 270, 332, 141, 283, 293,
338
- nil, 141, 301, 361, 337, 206, 129, 273, 352, nil,
339
- 309, 321, nil, 277, 158, 253, nil, nil, nil, nil,
340
- 103, 103, nil, nil, nil, nil, nil, 27, nil, 12,
341
- 130, nil, 30, 30, 339, nil, nil, 203, 12, nil,
342
- nil, 30, nil, nil, nil, nil, nil, nil, 6, nil,
343
- nil, nil, nil, nil, 26, 26, 299, nil, nil, nil,
344
- nil, 16, 16, 26, 355, 22, 131, 6, nil, 326,
345
- 16, nil, nil, 141, nil, nil, 13, 208, nil, nil,
346
- nil, nil, 129, nil, 98, 13, nil, 32, 27, 22,
347
- nil, nil, 12, nil, nil, 30, 204, nil, nil, 30,
348
- nil, nil, 365, nil, 12, nil, nil, 30, nil, nil,
349
- 130, 32, nil, 30, 363, nil, nil, 26, nil, nil,
350
- 130, 26, 22, 30, 16, nil, 134, nil, 16, 26,
351
- nil, nil, nil, nil, nil, 26, 16, nil, 12, 13,
352
- 358, 30, 16, nil, 32, 26, nil, nil, 98, 6,
353
- 6, 13, 16, nil, nil, nil, 130, 170, 6, 30,
354
- nil, nil, nil, 26, 2, 129, nil, 141, 12, nil,
355
- 16, 30, 207, 2, 12, nil, 12, 30, nil, 30,
356
- nil, 26, nil, 22, nil, 13, nil, nil, 16, 27,
357
- 19, nil, nil, 26, 209, nil, nil, nil, 27, 26,
358
- 16, 26, 134, nil, nil, 32, 16, nil, 16, nil,
359
- nil, nil, 6, nil, 19, 13, 203, nil, nil, nil,
360
- nil, 13, nil, 13, 6, nil, nil, 2, nil, nil,
361
- 6, nil, nil, nil, nil, nil, nil, nil, nil, 2,
362
- 6, nil, nil, nil, nil, 129, nil, 19, nil, nil,
363
- nil, 132, 27, nil, nil, 129, 208, 144, 6, nil,
364
- nil, 144, nil, nil, 27, nil, nil, nil, nil, nil,
365
- nil, nil, nil, 2, nil, nil, 6, nil, nil, nil,
366
- nil, nil, nil, nil, 22, 134, nil, nil, 6, nil,
367
- nil, 129, nil, 22, 6, nil, 6, 205, 27, nil,
368
- nil, nil, nil, 2, nil, nil, 32, nil, 19, 2,
369
- nil, 2, nil, nil, nil, 32, nil, nil, nil, nil,
370
- nil, nil, nil, nil, nil, nil, 170, 132, 27, nil,
371
- nil, nil, nil, 144, 27, nil, 27, nil, nil, nil,
372
- nil, nil, nil, 96, nil, nil, nil, 22, nil, nil,
373
- nil, 207, nil, nil, nil, nil, nil, nil, nil, 22,
374
- nil, nil, nil, nil, nil, 134, 113, nil, nil, 32,
375
- 114, nil, nil, 209, nil, 134, nil, nil, nil, nil,
376
- 122, 32, nil, nil, nil, nil, nil, nil, 138, 139,
377
- 140, nil, nil, 22, nil, nil, nil, nil, nil, nil,
378
- nil, nil, nil, 164, nil, nil, nil, nil, 165, 19,
379
- 132, 134, nil, nil, nil, 32, nil, nil, 19, nil,
380
- nil, 176, nil, 22, nil, nil, nil, 144, nil, 22,
381
- nil, 22, 202, nil, nil, nil, nil, nil, nil, nil,
382
- nil, nil, nil, nil, nil, 32, nil, nil, nil, nil,
383
- nil, 32, nil, 32, nil, nil, nil, nil, nil, nil,
337
+ 23, 26, 55, 27, 115, 111, 224, 252, 234, 108,
338
+ 157, 241, 120, 87, 39, 193, 219, 89, 270, 153,
339
+ 184, 32, 100, 96, 210, 211, 23, 319, 303, 27,
340
+ 101, 236, 93, 212, 104, 365, 125, 58, 318, 356,
341
+ 39, 127, 126, 351, 14, 122, 221, 307, 91, 169,
342
+ 187, 311, 324, 45, 118, 233, 285, 95, 23, 227,
343
+ 228, 27, 175, 361, 290, 250, 130, 18, 251, 125,
344
+ 14, 327, 39, 110, 171, 126, 124, 166, 345, 45,
345
+ 156, 43, 386, 20, nil, nil, 333, nil, nil, nil,
346
+ nil, 23, nil, 18, 27, nil, nil, 294, nil, 130,
347
+ 316, 279, 280, nil, nil, 39, 211, 43, 124, 217,
348
+ nil, 45, 27, nil, 301, 368, 176, nil, nil, 328,
349
+ 310, 238, nil, 39, 27, 18, nil, nil, 41, nil,
350
+ 219, 24, nil, nil, nil, 39, 352, 321, nil, 43,
351
+ nil, nil, nil, nil, 45, nil, 362, 23, nil, nil,
352
+ 27, 262, nil, 216, 41, 266, nil, 24, 18, nil,
353
+ nil, 39, 346, nil, nil, nil, nil, nil, nil, 180,
354
+ nil, 288, 43, 180, 246, 289, 18, nil, nil, nil,
355
+ nil, nil, nil, nil, 93, 93, 41, 287, 237, 128,
356
+ 43, 14, nil, nil, nil, 312, 323, nil, nil, nil,
357
+ 45, nil, 43, nil, nil, nil, nil, nil, nil, 391,
358
+ nil, nil, 373, 339, 18, 241, 378, nil, nil, 41,
359
+ 353, nil, 128, 217, 211, 321, 27, nil, 43, 23,
360
+ 217, nil, 27, 27, nil, nil, 374, 39, nil, nil,
361
+ nil, nil, nil, 39, 39, nil, 180, nil, 23, 245,
362
+ nil, 27, 108, nil, nil, nil, nil, nil, 384, 393,
363
+ nil, 395, 39, nil, nil, nil, nil, 216, 219, 23,
364
+ nil, nil, 27, 14, 216, 41, nil, 389, 24, 359,
365
+ nil, nil, 45, 39, nil, nil, nil, 344, nil, nil,
366
+ 18, 23, 14, nil, 27, nil, 18, 18, nil, nil,
367
+ nil, 45, nil, nil, 43, 39, nil, nil, nil, nil,
368
+ 43, 43, nil, 14, nil, 18, nil, nil, 217, nil,
369
+ nil, 27, 45, nil, nil, 238, nil, nil, 27, 43,
370
+ 387, nil, 39, nil, nil, 14, 18, nil, nil, 39,
371
+ nil, nil, 23, 380, 45, 27, nil, nil, nil, nil,
372
+ 43, nil, nil, nil, nil, nil, 39, 41, 18, nil,
373
+ 24, 217, 216, 108, 27, 180, nil, nil, nil, nil,
374
+ 217, nil, 43, 27, nil, 39, 41, 30, 246, 24,
375
+ 23, 36, nil, 27, 39, 18, 14, nil, 23, nil,
376
+ 23, 27, 237, 27, 39, 45, nil, 41, nil, 43,
377
+ 24, nil, 39, 30, 39, 216, 43, 36, nil, 18,
378
+ nil, nil, nil, nil, 216, nil, nil, nil, nil, 41,
379
+ nil, nil, 24, 43, 14, nil, nil, nil, 18, nil,
380
+ nil, nil, 14, 45, 14, 30, nil, 18, nil, 36,
381
+ nil, 45, 43, 45, nil, nil, nil, 18, nil, nil,
382
+ nil, 43, nil, 245, nil, 18, nil, 18, nil, 159,
383
+ nil, 43, nil, nil, nil, nil, nil, nil, 30, 43,
384
+ 41, 43, 36, 24, nil, nil, nil, nil, nil, 181,
385
+ nil, nil, nil, 181, nil, nil, 218, nil, nil, nil,
386
+ 220, nil, nil, nil, nil, nil, nil, nil, 240, nil,
387
+ nil, nil, 242, nil, nil, nil, nil, 66, 41, nil,
388
+ nil, 24, 88, nil, nil, nil, 41, nil, 41, 24,
389
+ nil, 24, nil, nil, 30, nil, nil, nil, 36, nil,
390
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 114,
391
+ nil, nil, nil, 116, nil, nil, nil, nil, nil, nil,
392
+ nil, nil, nil, nil, nil, nil, 181, nil, nil, nil,
393
+ nil, nil, nil, nil, 131, nil, nil, 150, nil, nil,
394
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
395
+ nil, nil, 162, 163, 164, 165, nil, nil, nil, 170,
384
396
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
385
- nil, nil, 19, nil, nil, nil, 205, nil, nil, nil,
386
- nil, nil, nil, nil, 19, nil, nil, nil, nil, nil,
387
- 132, nil, nil, nil, nil, nil, nil, nil, nil, nil,
388
- 132, nil, nil, 264, 265, 266, 267, 268, 269, 96,
389
- 271, 272, nil, nil, nil, 274, 275, 276, 19, 278,
390
- 279, 280, 281, nil, nil, nil, nil, nil, nil, nil,
391
- nil, nil, nil, nil, nil, nil, 132, nil, nil, nil,
392
- nil, nil, nil, nil, nil, nil, nil, nil, 19, nil,
393
- nil, nil, nil, nil, 19, nil, 19, nil, nil, nil,
394
- nil, nil, nil, nil, 315, 316, nil, nil, 318, nil,
395
- nil, 319, nil, nil, nil, nil, nil, 324, nil, nil,
396
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 334,
397
+ 218, nil, nil, nil, 220, nil, 30, 218, nil, nil,
398
+ 36, 220, nil, nil, nil, nil, 231, nil, nil, nil,
399
+ nil, nil, nil, nil, nil, 30, nil, nil, nil, 36,
400
+ nil, 254, 255, 256, 257, 258, 259, 260, 261, nil,
401
+ 263, 264, 265, nil, 267, 268, 30, 272, 273, nil,
402
+ 36, nil, nil, nil, nil, nil, nil, nil, nil, nil,
403
+ nil, nil, 159, nil, nil, nil, 88, nil, 30, nil,
404
+ nil, nil, 36, nil, nil, 181, nil, nil, nil, nil,
397
405
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
406
+ nil, nil, nil, nil, nil, 218, nil, nil, nil, 220,
407
+ nil, nil, 240, nil, nil, nil, 242, nil, nil, nil,
408
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 30,
409
+ nil, nil, nil, 36, nil, nil, nil, nil, nil, nil,
410
+ nil, nil, nil, nil, nil, nil, nil, nil, 218, nil,
411
+ nil, nil, 220, nil, nil, nil, nil, 218, nil, nil,
412
+ nil, 220, nil, nil, nil, nil, nil, 30, nil, nil,
413
+ nil, 36, nil, nil, nil, 30, nil, 30, nil, 36,
414
+ nil, 36, nil, nil, nil, 336, nil, nil, nil, nil,
415
+ nil, nil, 341, nil, nil, nil, nil, nil, nil, nil,
416
+ nil, 348, 349, nil, nil, nil, nil, nil, nil, nil,
417
+ nil, nil, nil, 355, nil, nil, nil, 358, nil, nil,
398
418
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
419
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 377,
399
420
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
400
- nil, nil, nil, nil, nil, nil, nil, nil, 350, nil,
401
- nil, nil, 353, nil, nil, nil, nil, nil, nil, nil,
402
421
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
403
422
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
404
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 113 ]
423
+ nil, nil, nil, nil, nil, 114 ]
405
424
 
406
425
  racc_goto_check = [
407
- 33, 59, 2, 37, 4, 68, 41, 66, 38, 29,
408
- 42, 33, 80, 42, 76, 51, 35, 83, 70, 57,
409
- 6, 64, 38, 43, 33, 36, 54, 37, 5, 20,
410
- 60, 10, 34, 21, 27, 46, 62, 5, 8, 46,
411
- 45, 63, 3, 41, 56, 72, 47, 22, 67, 36,
412
- 58, 69, 40, 27, 71, 39, 34, 33, 73, 74,
413
- 37, 33, 75, 31, 37, 72, 6, 77, 42, 78,
414
- 79, 22, 28, 27, 27, 81, 60, 82, 21, 42,
415
- 1, 68, 36, 66, nil, 42, 36, nil, nil, 34,
416
- 20, 5, 10, 34, 42, 3, nil, nil, nil, 8,
417
- nil, 64, 43, nil, 22, 54, nil, 33, nil, nil,
418
- 37, 46, nil, nil, nil, 3, nil, nil, 33, nil,
419
- 32, 37, nil, nil, nil, nil, nil, 6, nil, nil,
420
- nil, nil, 36, 27, 27, 53, nil, 33, nil, 34,
421
- 37, nil, nil, 36, 32, nil, nil, 3, nil, nil,
422
- 34, nil, nil, nil, nil, nil, nil, nil, nil, 53,
423
- 25, nil, 36, nil, nil, 22, 66, nil, nil, 34,
424
- nil, nil, nil, 5, nil, 5, nil, 32, nil, nil,
425
- nil, 32, nil, nil, 25, 57, 83, 32, 76, 29,
426
- nil, 32, 70, 42, 51, 35, 53, 62, 80, nil,
427
- 29, 54, nil, 62, 54, 3, nil, nil, nil, nil,
428
- 62, 62, nil, nil, nil, nil, nil, 25, nil, 33,
429
- 33, nil, 37, 37, 41, nil, nil, 32, 33, nil,
430
- nil, 37, nil, nil, nil, nil, nil, nil, 32, nil,
431
- nil, nil, nil, nil, 36, 36, 66, nil, nil, nil,
432
- nil, 34, 34, 36, 68, 24, 66, 32, nil, 38,
433
- 34, nil, nil, 32, nil, nil, 22, 25, nil, nil,
434
- nil, nil, 53, nil, 4, 22, nil, 26, 25, 24,
435
- nil, nil, 33, nil, nil, 37, 33, nil, nil, 37,
436
- nil, nil, 66, nil, 33, nil, nil, 37, nil, nil,
437
- 33, 26, nil, 37, 59, nil, nil, 36, nil, nil,
438
- 33, 36, 24, 37, 34, nil, 24, nil, 34, 36,
439
- nil, nil, nil, nil, nil, 36, 34, nil, 33, 22,
440
- 2, 37, 34, nil, 26, 36, nil, nil, 4, 32,
441
- 32, 22, 34, nil, nil, nil, 33, 24, 32, 37,
442
- nil, nil, nil, 36, 53, 53, nil, 32, 33, nil,
443
- 34, 37, 24, 53, 33, nil, 33, 37, nil, 37,
444
- nil, 36, nil, 24, nil, 22, nil, nil, 34, 25,
445
- 23, nil, nil, 36, 26, nil, nil, nil, 25, 36,
446
- 34, 36, 24, nil, nil, 26, 34, nil, 34, nil,
447
- nil, nil, 32, nil, 23, 22, 32, nil, nil, nil,
448
- nil, 22, nil, 22, 32, nil, nil, 53, nil, nil,
449
- 32, nil, nil, nil, nil, nil, nil, nil, nil, 53,
450
- 32, nil, nil, nil, nil, 53, nil, 23, nil, nil,
451
- nil, 23, 25, nil, nil, 53, 25, 23, 32, nil,
452
- nil, 23, nil, nil, 25, nil, nil, nil, nil, nil,
453
- nil, nil, nil, 53, nil, nil, 32, nil, nil, nil,
454
- nil, nil, nil, nil, 24, 24, nil, nil, 32, nil,
455
- nil, 53, nil, 24, 32, nil, 32, 23, 25, nil,
456
- nil, nil, nil, 53, nil, nil, 26, nil, 23, 53,
457
- nil, 53, nil, nil, nil, 26, nil, nil, nil, nil,
458
- nil, nil, nil, nil, nil, nil, 24, 23, 25, nil,
459
- nil, nil, nil, 23, 25, nil, 25, nil, nil, nil,
460
- nil, nil, nil, 30, nil, nil, nil, 24, nil, nil,
461
- nil, 24, nil, nil, nil, nil, nil, nil, nil, 24,
462
- nil, nil, nil, nil, nil, 24, 30, nil, nil, 26,
463
- 30, nil, nil, 26, nil, 24, nil, nil, nil, nil,
464
- 30, 26, nil, nil, nil, nil, nil, nil, 30, 30,
465
- 30, nil, nil, 24, nil, nil, nil, nil, nil, nil,
466
- nil, nil, nil, 30, nil, nil, nil, nil, 30, 23,
467
- 23, 24, nil, nil, nil, 26, nil, nil, 23, nil,
468
- nil, 30, nil, 24, nil, nil, nil, 23, nil, 24,
469
- nil, 24, 30, nil, nil, nil, nil, nil, nil, nil,
470
- nil, nil, nil, nil, nil, 26, nil, nil, nil, nil,
471
- nil, 26, nil, 26, nil, nil, nil, nil, nil, nil,
426
+ 35, 2, 40, 36, 62, 31, 71, 83, 53, 4,
427
+ 86, 37, 73, 40, 38, 43, 69, 60, 5, 29,
428
+ 48, 3, 35, 79, 48, 56, 35, 67, 44, 36,
429
+ 6, 43, 65, 45, 47, 63, 8, 23, 66, 59,
430
+ 38, 22, 10, 49, 55, 75, 70, 44, 23, 61,
431
+ 29, 72, 42, 28, 74, 41, 76, 77, 35, 29,
432
+ 29, 36, 78, 33, 80, 81, 6, 34, 82, 8,
433
+ 55, 44, 38, 30, 22, 10, 3, 75, 84, 28,
434
+ 85, 39, 63, 1, nil, nil, 44, nil, nil, nil,
435
+ nil, 35, nil, 34, 36, nil, nil, 48, nil, 6,
436
+ 5, 29, 29, nil, nil, 38, 56, 39, 3, 35,
437
+ nil, 28, 36, nil, 45, 67, 3, nil, nil, 5,
438
+ 71, 35, nil, 38, 36, 34, nil, nil, 27, nil,
439
+ 69, 24, nil, nil, nil, 38, 44, 69, nil, 39,
440
+ nil, nil, nil, nil, 28, nil, 44, 35, nil, nil,
441
+ 36, 65, nil, 55, 27, 65, nil, 24, 34, nil,
442
+ nil, 38, 5, nil, nil, nil, nil, nil, nil, 34,
443
+ nil, 60, 39, 34, 28, 79, 34, nil, nil, nil,
444
+ nil, nil, nil, nil, 65, 65, 27, 3, 34, 24,
445
+ 39, 55, nil, nil, nil, 31, 73, nil, nil, nil,
446
+ 28, nil, 39, nil, nil, nil, nil, nil, nil, 44,
447
+ nil, nil, 53, 86, 34, 37, 83, nil, nil, 27,
448
+ 56, nil, 24, 35, 56, 69, 36, nil, 39, 35,
449
+ 35, nil, 36, 36, nil, nil, 43, 38, nil, nil,
450
+ nil, nil, nil, 38, 38, nil, 34, nil, 35, 27,
451
+ nil, 36, 4, nil, nil, nil, nil, nil, 71, 5,
452
+ nil, 5, 38, nil, nil, nil, nil, 55, 69, 35,
453
+ nil, nil, 36, 55, 55, 27, nil, 69, 24, 31,
454
+ nil, nil, 28, 38, nil, nil, nil, 40, nil, nil,
455
+ 34, 35, 55, nil, 36, nil, 34, 34, nil, nil,
456
+ nil, 28, nil, nil, 39, 38, nil, nil, nil, nil,
457
+ 39, 39, nil, 55, nil, 34, nil, nil, 35, nil,
458
+ nil, 36, 28, nil, nil, 35, nil, nil, 36, 39,
459
+ 62, nil, 38, nil, nil, 55, 34, nil, nil, 38,
460
+ nil, nil, 35, 2, 28, 36, nil, nil, nil, nil,
461
+ 39, nil, nil, nil, nil, nil, 38, 27, 34, nil,
462
+ 24, 35, 55, 4, 36, 34, nil, nil, nil, nil,
463
+ 35, nil, 39, 36, nil, 38, 27, 25, 28, 24,
464
+ 35, 26, nil, 36, 38, 34, 55, nil, 35, nil,
465
+ 35, 36, 34, 36, 38, 28, nil, 27, nil, 39,
466
+ 24, nil, 38, 25, 38, 55, 39, 26, nil, 34,
467
+ nil, nil, nil, nil, 55, nil, nil, nil, nil, 27,
468
+ nil, nil, 24, 39, 55, nil, nil, nil, 34, nil,
469
+ nil, nil, 55, 28, 55, 25, nil, 34, nil, 26,
470
+ nil, 28, 39, 28, nil, nil, nil, 34, nil, nil,
471
+ nil, 39, nil, 27, nil, 34, nil, 34, nil, 26,
472
+ nil, 39, nil, nil, nil, nil, nil, nil, 25, 39,
473
+ 27, 39, 26, 24, nil, nil, nil, nil, nil, 25,
474
+ nil, nil, nil, 25, nil, nil, 25, nil, nil, nil,
475
+ 26, nil, nil, nil, nil, nil, nil, nil, 25, nil,
476
+ nil, nil, 26, nil, nil, nil, nil, 32, 27, nil,
477
+ nil, 24, 32, nil, nil, nil, 27, nil, 27, 24,
478
+ nil, 24, nil, nil, 25, nil, nil, nil, 26, nil,
479
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 32,
480
+ nil, nil, nil, 32, nil, nil, nil, nil, nil, nil,
481
+ nil, nil, nil, nil, nil, nil, 25, nil, nil, nil,
482
+ nil, nil, nil, nil, 32, nil, nil, 32, nil, nil,
472
483
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
473
- nil, nil, 23, nil, nil, nil, 23, nil, nil, nil,
474
- nil, nil, nil, nil, 23, nil, nil, nil, nil, nil,
475
- 23, nil, nil, nil, nil, nil, nil, nil, nil, nil,
476
- 23, nil, nil, 30, 30, 30, 30, 30, 30, 30,
477
- 30, 30, nil, nil, nil, 30, 30, 30, 23, 30,
478
- 30, 30, 30, nil, nil, nil, nil, nil, nil, nil,
479
- nil, nil, nil, nil, nil, nil, 23, nil, nil, nil,
480
- nil, nil, nil, nil, nil, nil, nil, nil, 23, nil,
481
- nil, nil, nil, nil, 23, nil, 23, nil, nil, nil,
482
- nil, nil, nil, nil, 30, 30, nil, nil, 30, nil,
483
- nil, 30, nil, nil, nil, nil, nil, 30, nil, nil,
484
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 30,
484
+ nil, nil, 32, 32, 32, 32, nil, nil, nil, 32,
485
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
486
+ 25, nil, nil, nil, 26, nil, 25, 25, nil, nil,
487
+ 26, 26, nil, nil, nil, nil, 32, nil, nil, nil,
488
+ nil, nil, nil, nil, nil, 25, nil, nil, nil, 26,
489
+ nil, 32, 32, 32, 32, 32, 32, 32, 32, nil,
490
+ 32, 32, 32, nil, 32, 32, 25, 32, 32, nil,
491
+ 26, nil, nil, nil, nil, nil, nil, nil, nil, nil,
492
+ nil, nil, 26, nil, nil, nil, 32, nil, 25, nil,
493
+ nil, nil, 26, nil, nil, 25, nil, nil, nil, nil,
485
494
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
495
+ nil, nil, nil, nil, nil, 25, nil, nil, nil, 26,
496
+ nil, nil, 25, nil, nil, nil, 26, nil, nil, nil,
497
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 25,
498
+ nil, nil, nil, 26, nil, nil, nil, nil, nil, nil,
499
+ nil, nil, nil, nil, nil, nil, nil, nil, 25, nil,
500
+ nil, nil, 26, nil, nil, nil, nil, 25, nil, nil,
501
+ nil, 26, nil, nil, nil, nil, nil, 25, nil, nil,
502
+ nil, 26, nil, nil, nil, 25, nil, 25, nil, 26,
503
+ nil, 26, nil, nil, nil, 32, nil, nil, nil, nil,
504
+ nil, nil, 32, nil, nil, nil, nil, nil, nil, nil,
505
+ nil, 32, 32, nil, nil, nil, nil, nil, nil, nil,
506
+ nil, nil, nil, 32, nil, nil, nil, 32, nil, nil,
486
507
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
508
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 32,
487
509
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
488
- nil, nil, nil, nil, nil, nil, nil, nil, 30, nil,
489
- nil, nil, 30, nil, nil, nil, nil, nil, nil, nil,
490
510
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
491
511
  nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
492
- nil, nil, nil, nil, nil, nil, nil, nil, nil, 30 ]
512
+ nil, nil, nil, nil, nil, 32 ]
493
513
 
494
514
  racc_goto_pointer = [
495
- nil, 80, 2, 42, -20, -191, 9, nil, -19, nil,
496
- -26, nil, nil, nil, nil, nil, nil, nil, nil, nil,
497
- -28, 29, 47, 380, 255, 160, 277, -35, 34, -29,
498
- 516, -168, 120, 0, 32, -91, 25, 3, 7, -52,
499
- -159, -64, -146, -49, nil, 28, -32, -191, nil, nil,
500
- nil, -92, nil, 135, -46, nil, -206, 2, -46, -39,
501
- -266, nil, 11, -179, -199, nil, -54, -13, -56, -86,
502
- -29, 7, -8, -105, 34, -43, -11, -133, -50, -49,
503
- -107, -177, -15, -75, nil ]
515
+ nil, 83, 1, 21, -17, -129, 8, nil, -22, nil,
516
+ -16, nil, nil, nil, nil, nil, nil, nil, nil, nil,
517
+ nil, nil, -17, 32, 131, 377, 381, 128, 53, -53,
518
+ 38, -30, 499, -248, 67, 0, 3, -110, 14, 81,
519
+ 1, -66, -181, -90, -165, -74, nil, 11, -82, -255,
520
+ nil, nil, nil, -113, nil, 44, -82, nil, nil, -267,
521
+ 4, -39, -36, -282, nil, 11, -192, -203, nil, -93,
522
+ -63, -103, -172, -36, 6, -10, -110, 36, -33, 2,
523
+ -110, -58, -55, -116, -208, 2, -68, nil ]
504
524
 
505
525
  racc_goto_default = [
506
- nil, nil, 294, 147, 34, nil, 42, 46, 50, 5,
507
- 7, 14, 20, 23, 28, 33, 39, 41, 45, 49,
508
- 4, nil, 78, 80, 85, 87, 90, nil, nil, 94,
509
- 153, 242, 75, 79, 81, 84, 86, 89, 37, nil,
510
- nil, nil, nil, nil, 11, nil, nil, 146, 237, 149,
511
- 150, nil, 213, 74, 154, 160, 161, nil, nil, nil,
512
- nil, 93, 43, nil, nil, 298, 8, nil, nil, nil,
513
- nil, nil, nil, nil, nil, nil, nil, 101, nil, nil,
514
- nil, nil, nil, nil, 174 ]
526
+ nil, nil, 269, 182, 38, nil, 47, 52, 4, 6,
527
+ 11, 17, 19, 25, 31, 37, 42, 46, 51, 3,
528
+ 5, 192, 16, nil, 70, 73, 77, 80, 82, nil,
529
+ nil, 63, 151, 276, 69, 71, 74, 76, 79, 81,
530
+ 50, nil, nil, nil, nil, nil, 22, nil, nil, 185,
531
+ 298, 186, 177, nil, 235, 67, 196, 198, 213, 214,
532
+ nil, nil, nil, nil, 62, 7, nil, nil, 320, 28,
533
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
534
+ 97, nil, nil, nil, nil, nil, nil, 158 ]
515
535
 
516
536
  racc_reduce_table = [
517
537
  0, 0, :racc_error,
518
- 1, 69, :_reduce_none,
519
- 1, 69, :_reduce_none,
520
- 1, 70, :_reduce_3,
521
- 2, 70, :_reduce_4,
522
- 1, 73, :_reduce_5,
523
- 1, 72, :_reduce_none,
524
- 1, 72, :_reduce_none,
525
- 1, 72, :_reduce_none,
526
- 1, 72, :_reduce_none,
527
- 1, 72, :_reduce_none,
528
- 1, 72, :_reduce_none,
529
- 1, 72, :_reduce_none,
530
- 1, 72, :_reduce_none,
531
- 1, 72, :_reduce_none,
532
- 1, 72, :_reduce_none,
533
- 1, 72, :_reduce_none,
534
- 1, 72, :_reduce_none,
535
- 1, 72, :_reduce_none,
536
- 1, 72, :_reduce_none,
537
- 3, 87, :_reduce_20,
538
- 3, 87, :_reduce_21,
539
- 1, 88, :_reduce_none,
540
- 1, 88, :_reduce_none,
541
- 1, 88, :_reduce_none,
542
- 1, 88, :_reduce_none,
543
- 1, 88, :_reduce_none,
544
- 1, 88, :_reduce_none,
545
- 1, 88, :_reduce_none,
546
- 1, 88, :_reduce_none,
547
- 1, 89, :_reduce_none,
548
- 1, 89, :_reduce_none,
549
- 1, 89, :_reduce_none,
550
- 1, 89, :_reduce_none,
551
- 4, 81, :_reduce_34,
552
- 5, 81, :_reduce_35,
553
- 3, 81, :_reduce_36,
554
- 2, 81, :_reduce_37,
555
- 1, 96, :_reduce_38,
556
- 3, 96, :_reduce_39,
557
- 1, 95, :_reduce_40,
558
- 3, 95, :_reduce_41,
559
- 1, 97, :_reduce_none,
560
- 1, 97, :_reduce_none,
561
- 1, 97, :_reduce_none,
562
- 1, 97, :_reduce_none,
563
- 1, 97, :_reduce_none,
564
- 1, 97, :_reduce_none,
565
- 1, 97, :_reduce_none,
566
- 1, 97, :_reduce_none,
567
- 1, 97, :_reduce_none,
568
- 1, 97, :_reduce_none,
569
- 1, 97, :_reduce_none,
570
- 5, 74, :_reduce_53,
571
- 5, 74, :_reduce_54,
572
- 5, 74, :_reduce_55,
573
- 5, 85, :_reduce_56,
574
- 2, 75, :_reduce_57,
575
- 1, 112, :_reduce_58,
576
- 2, 112, :_reduce_59,
577
- 6, 76, :_reduce_60,
578
- 2, 76, :_reduce_61,
579
- 3, 113, :_reduce_62,
580
- 3, 113, :_reduce_63,
581
- 1, 114, :_reduce_none,
582
- 1, 114, :_reduce_none,
583
- 3, 114, :_reduce_66,
584
- 1, 115, :_reduce_none,
585
- 3, 115, :_reduce_68,
586
- 1, 116, :_reduce_69,
587
- 1, 116, :_reduce_70,
588
- 3, 117, :_reduce_71,
589
- 3, 117, :_reduce_72,
590
- 1, 118, :_reduce_none,
538
+ 1, 70, :_reduce_none,
539
+ 1, 70, :_reduce_none,
540
+ 1, 71, :_reduce_3,
541
+ 2, 71, :_reduce_4,
542
+ 1, 74, :_reduce_5,
543
+ 1, 73, :_reduce_none,
544
+ 1, 73, :_reduce_none,
545
+ 1, 73, :_reduce_none,
546
+ 1, 73, :_reduce_none,
547
+ 1, 73, :_reduce_none,
548
+ 1, 73, :_reduce_none,
549
+ 1, 73, :_reduce_none,
550
+ 1, 73, :_reduce_none,
551
+ 1, 73, :_reduce_none,
552
+ 1, 73, :_reduce_none,
553
+ 1, 73, :_reduce_none,
554
+ 1, 73, :_reduce_none,
555
+ 1, 73, :_reduce_none,
556
+ 1, 73, :_reduce_none,
557
+ 1, 73, :_reduce_none,
558
+ 1, 90, :_reduce_none,
559
+ 1, 90, :_reduce_none,
560
+ 1, 90, :_reduce_none,
561
+ 1, 90, :_reduce_none,
562
+ 1, 90, :_reduce_none,
563
+ 1, 90, :_reduce_none,
564
+ 1, 90, :_reduce_none,
565
+ 1, 90, :_reduce_none,
566
+ 1, 90, :_reduce_none,
567
+ 1, 90, :_reduce_none,
568
+ 1, 90, :_reduce_none,
569
+ 1, 90, :_reduce_none,
570
+ 1, 90, :_reduce_none,
571
+ 1, 90, :_reduce_none,
572
+ 1, 90, :_reduce_none,
573
+ 3, 89, :_reduce_36,
574
+ 3, 89, :_reduce_37,
575
+ 1, 91, :_reduce_none,
576
+ 1, 91, :_reduce_none,
577
+ 1, 91, :_reduce_none,
578
+ 1, 91, :_reduce_none,
579
+ 1, 91, :_reduce_none,
580
+ 1, 91, :_reduce_none,
581
+ 1, 91, :_reduce_none,
582
+ 1, 91, :_reduce_none,
583
+ 1, 92, :_reduce_none,
584
+ 1, 92, :_reduce_none,
585
+ 1, 92, :_reduce_none,
586
+ 1, 92, :_reduce_none,
587
+ 4, 83, :_reduce_50,
588
+ 5, 83, :_reduce_51,
589
+ 3, 83, :_reduce_52,
590
+ 2, 83, :_reduce_53,
591
+ 1, 99, :_reduce_54,
592
+ 3, 99, :_reduce_55,
593
+ 1, 98, :_reduce_56,
594
+ 3, 98, :_reduce_57,
595
+ 1, 100, :_reduce_none,
596
+ 1, 100, :_reduce_none,
597
+ 1, 100, :_reduce_none,
598
+ 1, 100, :_reduce_none,
599
+ 1, 100, :_reduce_none,
600
+ 1, 100, :_reduce_none,
601
+ 1, 100, :_reduce_none,
602
+ 1, 100, :_reduce_none,
603
+ 1, 100, :_reduce_none,
604
+ 1, 100, :_reduce_none,
605
+ 1, 100, :_reduce_none,
606
+ 5, 75, :_reduce_69,
607
+ 5, 75, :_reduce_70,
608
+ 5, 75, :_reduce_71,
609
+ 5, 87, :_reduce_72,
610
+ 2, 76, :_reduce_73,
611
+ 1, 115, :_reduce_74,
612
+ 2, 115, :_reduce_75,
613
+ 6, 77, :_reduce_76,
614
+ 2, 77, :_reduce_77,
615
+ 3, 116, :_reduce_78,
616
+ 3, 116, :_reduce_79,
617
+ 1, 117, :_reduce_none,
618
+ 1, 117, :_reduce_none,
619
+ 3, 117, :_reduce_82,
591
620
  1, 118, :_reduce_none,
592
- 4, 119, :_reduce_75,
593
- 1, 107, :_reduce_76,
594
- 3, 107, :_reduce_77,
595
- 0, 108, :_reduce_none,
596
- 1, 108, :_reduce_none,
597
- 1, 105, :_reduce_80,
598
- 1, 100, :_reduce_81,
599
- 1, 101, :_reduce_82,
600
- 1, 120, :_reduce_none,
601
- 1, 120, :_reduce_none,
602
- 1, 120, :_reduce_none,
603
- 1, 120, :_reduce_none,
604
- 1, 120, :_reduce_none,
605
- 1, 120, :_reduce_none,
606
- 1, 120, :_reduce_none,
607
- 3, 77, :_reduce_90,
608
- 3, 77, :_reduce_91,
609
- 3, 86, :_reduce_92,
610
- 0, 109, :_reduce_93,
611
- 1, 109, :_reduce_94,
612
- 3, 109, :_reduce_95,
613
- 3, 122, :_reduce_96,
614
- 3, 123, :_reduce_97,
615
- 1, 124, :_reduce_none,
616
- 1, 124, :_reduce_none,
617
- 0, 111, :_reduce_100,
618
- 1, 111, :_reduce_101,
619
- 3, 111, :_reduce_102,
620
- 4, 104, :_reduce_103,
621
- 3, 104, :_reduce_104,
622
- 1, 92, :_reduce_105,
623
- 2, 92, :_reduce_106,
624
- 2, 125, :_reduce_107,
625
- 1, 126, :_reduce_108,
626
- 2, 126, :_reduce_109,
627
- 1, 102, :_reduce_110,
628
- 4, 90, :_reduce_111,
629
- 4, 90, :_reduce_112,
630
- 2, 79, :_reduce_113,
631
- 5, 127, :_reduce_114,
632
- 4, 127, :_reduce_115,
633
- 0, 128, :_reduce_none,
634
- 2, 128, :_reduce_117,
635
- 4, 128, :_reduce_118,
636
- 3, 128, :_reduce_119,
637
- 1, 98, :_reduce_none,
638
- 1, 98, :_reduce_none,
639
- 3, 98, :_reduce_122,
640
- 3, 98, :_reduce_123,
641
- 3, 98, :_reduce_124,
642
- 3, 98, :_reduce_125,
643
- 3, 98, :_reduce_126,
644
- 3, 98, :_reduce_127,
645
- 3, 98, :_reduce_128,
646
- 3, 98, :_reduce_129,
647
- 3, 98, :_reduce_130,
648
- 2, 98, :_reduce_131,
649
- 3, 98, :_reduce_132,
650
- 3, 98, :_reduce_133,
651
- 3, 98, :_reduce_134,
652
- 3, 98, :_reduce_135,
653
- 3, 98, :_reduce_136,
654
- 3, 98, :_reduce_137,
655
- 2, 98, :_reduce_138,
656
- 3, 98, :_reduce_139,
657
- 3, 98, :_reduce_140,
658
- 3, 98, :_reduce_141,
659
- 5, 78, :_reduce_142,
660
- 1, 131, :_reduce_143,
661
- 2, 131, :_reduce_144,
662
- 5, 132, :_reduce_145,
663
- 4, 132, :_reduce_146,
664
- 1, 133, :_reduce_147,
665
- 3, 133, :_reduce_148,
666
- 3, 93, :_reduce_149,
667
- 1, 135, :_reduce_none,
668
- 4, 135, :_reduce_151,
669
- 1, 137, :_reduce_none,
670
- 3, 137, :_reduce_153,
671
- 3, 136, :_reduce_154,
672
- 1, 134, :_reduce_none,
673
- 1, 134, :_reduce_none,
674
- 1, 134, :_reduce_none,
675
- 1, 134, :_reduce_none,
676
- 1, 134, :_reduce_none,
677
- 1, 134, :_reduce_none,
678
- 1, 134, :_reduce_none,
679
- 1, 134, :_reduce_none,
680
- 1, 134, :_reduce_163,
681
- 1, 134, :_reduce_none,
682
- 1, 138, :_reduce_165,
621
+ 3, 118, :_reduce_84,
622
+ 1, 119, :_reduce_85,
623
+ 1, 119, :_reduce_86,
624
+ 3, 120, :_reduce_87,
625
+ 3, 120, :_reduce_88,
626
+ 1, 121, :_reduce_none,
627
+ 1, 121, :_reduce_none,
628
+ 4, 122, :_reduce_91,
629
+ 1, 110, :_reduce_92,
630
+ 3, 110, :_reduce_93,
631
+ 0, 111, :_reduce_none,
632
+ 1, 111, :_reduce_none,
633
+ 1, 108, :_reduce_96,
634
+ 1, 103, :_reduce_97,
635
+ 1, 104, :_reduce_98,
636
+ 1, 123, :_reduce_none,
637
+ 1, 123, :_reduce_none,
638
+ 1, 123, :_reduce_none,
639
+ 1, 123, :_reduce_none,
640
+ 1, 123, :_reduce_none,
641
+ 1, 123, :_reduce_none,
642
+ 1, 123, :_reduce_none,
643
+ 3, 78, :_reduce_106,
644
+ 3, 78, :_reduce_107,
645
+ 3, 88, :_reduce_108,
646
+ 0, 112, :_reduce_109,
647
+ 1, 112, :_reduce_110,
648
+ 3, 112, :_reduce_111,
649
+ 1, 126, :_reduce_none,
650
+ 1, 126, :_reduce_none,
651
+ 1, 126, :_reduce_none,
652
+ 3, 125, :_reduce_115,
653
+ 3, 127, :_reduce_116,
654
+ 1, 128, :_reduce_none,
655
+ 1, 128, :_reduce_none,
656
+ 0, 114, :_reduce_119,
657
+ 1, 114, :_reduce_120,
658
+ 3, 114, :_reduce_121,
659
+ 4, 107, :_reduce_122,
660
+ 3, 107, :_reduce_123,
661
+ 1, 95, :_reduce_124,
662
+ 2, 95, :_reduce_125,
663
+ 2, 129, :_reduce_126,
664
+ 1, 130, :_reduce_127,
665
+ 2, 130, :_reduce_128,
666
+ 1, 105, :_reduce_129,
667
+ 4, 93, :_reduce_130,
668
+ 4, 93, :_reduce_131,
669
+ 5, 81, :_reduce_132,
670
+ 4, 81, :_reduce_133,
671
+ 2, 80, :_reduce_134,
672
+ 5, 131, :_reduce_135,
673
+ 4, 131, :_reduce_136,
674
+ 0, 132, :_reduce_none,
675
+ 2, 132, :_reduce_138,
676
+ 4, 132, :_reduce_139,
677
+ 3, 132, :_reduce_140,
678
+ 1, 101, :_reduce_none,
679
+ 1, 101, :_reduce_none,
680
+ 3, 101, :_reduce_143,
681
+ 3, 101, :_reduce_144,
682
+ 3, 101, :_reduce_145,
683
+ 3, 101, :_reduce_146,
684
+ 3, 101, :_reduce_147,
685
+ 3, 101, :_reduce_148,
686
+ 3, 101, :_reduce_149,
687
+ 3, 101, :_reduce_150,
688
+ 3, 101, :_reduce_151,
689
+ 2, 101, :_reduce_152,
690
+ 3, 101, :_reduce_153,
691
+ 3, 101, :_reduce_154,
692
+ 3, 101, :_reduce_155,
693
+ 3, 101, :_reduce_156,
694
+ 3, 101, :_reduce_157,
695
+ 3, 101, :_reduce_158,
696
+ 2, 101, :_reduce_159,
697
+ 3, 101, :_reduce_160,
698
+ 3, 101, :_reduce_161,
699
+ 3, 101, :_reduce_162,
700
+ 5, 79, :_reduce_163,
701
+ 1, 135, :_reduce_164,
702
+ 2, 135, :_reduce_165,
703
+ 5, 136, :_reduce_166,
704
+ 4, 136, :_reduce_167,
705
+ 1, 137, :_reduce_168,
706
+ 3, 137, :_reduce_169,
707
+ 3, 96, :_reduce_170,
683
708
  1, 139, :_reduce_none,
684
- 3, 139, :_reduce_167,
685
- 2, 80, :_reduce_168,
686
- 6, 82, :_reduce_169,
687
- 5, 82, :_reduce_170,
688
- 7, 83, :_reduce_171,
689
- 6, 83, :_reduce_172,
690
- 6, 84, :_reduce_173,
691
- 5, 84, :_reduce_174,
692
- 1, 106, :_reduce_175,
693
- 1, 106, :_reduce_176,
694
- 1, 142, :_reduce_177,
695
- 3, 142, :_reduce_178,
696
- 1, 144, :_reduce_179,
697
- 1, 145, :_reduce_180,
698
- 1, 145, :_reduce_181,
699
- 1, 145, :_reduce_182,
700
- 1, 145, :_reduce_none,
701
- 0, 71, :_reduce_184,
702
- 0, 146, :_reduce_185,
703
- 1, 140, :_reduce_none,
704
- 3, 140, :_reduce_187,
705
- 4, 140, :_reduce_188,
706
- 1, 147, :_reduce_none,
707
- 3, 147, :_reduce_190,
708
- 3, 148, :_reduce_191,
709
- 1, 148, :_reduce_192,
710
- 3, 148, :_reduce_193,
711
- 1, 148, :_reduce_194,
712
- 1, 143, :_reduce_none,
713
- 2, 143, :_reduce_196,
709
+ 4, 139, :_reduce_172,
714
710
  1, 141, :_reduce_none,
715
- 2, 141, :_reduce_198,
716
- 1, 149, :_reduce_none,
711
+ 3, 141, :_reduce_174,
712
+ 3, 140, :_reduce_175,
713
+ 1, 138, :_reduce_none,
714
+ 1, 138, :_reduce_none,
715
+ 1, 138, :_reduce_none,
716
+ 1, 138, :_reduce_none,
717
+ 1, 138, :_reduce_none,
718
+ 1, 138, :_reduce_none,
719
+ 1, 138, :_reduce_none,
720
+ 1, 138, :_reduce_none,
721
+ 1, 138, :_reduce_184,
722
+ 1, 138, :_reduce_none,
723
+ 1, 142, :_reduce_186,
724
+ 1, 143, :_reduce_none,
725
+ 3, 143, :_reduce_188,
726
+ 2, 82, :_reduce_189,
727
+ 6, 84, :_reduce_190,
728
+ 5, 84, :_reduce_191,
729
+ 7, 85, :_reduce_192,
730
+ 6, 85, :_reduce_193,
731
+ 6, 86, :_reduce_194,
732
+ 5, 86, :_reduce_195,
733
+ 1, 109, :_reduce_196,
734
+ 1, 109, :_reduce_197,
735
+ 1, 146, :_reduce_198,
736
+ 3, 146, :_reduce_199,
737
+ 1, 148, :_reduce_200,
738
+ 1, 149, :_reduce_201,
739
+ 1, 149, :_reduce_202,
740
+ 1, 149, :_reduce_203,
717
741
  1, 149, :_reduce_none,
718
- 1, 91, :_reduce_201,
719
- 3, 103, :_reduce_202,
720
- 4, 103, :_reduce_203,
721
- 2, 103, :_reduce_204,
722
- 1, 99, :_reduce_none,
723
- 1, 99, :_reduce_none,
724
- 0, 110, :_reduce_none,
725
- 1, 110, :_reduce_208,
726
- 1, 130, :_reduce_209,
727
- 3, 129, :_reduce_210,
728
- 4, 129, :_reduce_211,
729
- 2, 129, :_reduce_212,
730
- 1, 150, :_reduce_none,
731
- 3, 150, :_reduce_214,
732
- 3, 151, :_reduce_215,
733
- 1, 152, :_reduce_216,
734
- 1, 152, :_reduce_217,
735
- 4, 121, :_reduce_218,
736
- 1, 94, :_reduce_none,
737
- 4, 94, :_reduce_220 ]
738
-
739
- racc_reduce_n = 221
740
-
741
- racc_shift_n = 374
742
+ 0, 72, :_reduce_205,
743
+ 0, 150, :_reduce_206,
744
+ 1, 144, :_reduce_none,
745
+ 3, 144, :_reduce_208,
746
+ 4, 144, :_reduce_209,
747
+ 1, 151, :_reduce_none,
748
+ 3, 151, :_reduce_211,
749
+ 3, 152, :_reduce_212,
750
+ 1, 152, :_reduce_213,
751
+ 1, 147, :_reduce_none,
752
+ 2, 147, :_reduce_215,
753
+ 1, 145, :_reduce_none,
754
+ 2, 145, :_reduce_217,
755
+ 1, 153, :_reduce_none,
756
+ 1, 153, :_reduce_none,
757
+ 1, 94, :_reduce_220,
758
+ 3, 106, :_reduce_221,
759
+ 4, 106, :_reduce_222,
760
+ 2, 106, :_reduce_223,
761
+ 1, 102, :_reduce_none,
762
+ 1, 102, :_reduce_none,
763
+ 0, 113, :_reduce_none,
764
+ 1, 113, :_reduce_227,
765
+ 1, 134, :_reduce_228,
766
+ 3, 133, :_reduce_229,
767
+ 4, 133, :_reduce_230,
768
+ 2, 133, :_reduce_231,
769
+ 1, 154, :_reduce_none,
770
+ 3, 154, :_reduce_233,
771
+ 3, 155, :_reduce_234,
772
+ 1, 156, :_reduce_235,
773
+ 1, 156, :_reduce_236,
774
+ 4, 124, :_reduce_237,
775
+ 1, 97, :_reduce_none,
776
+ 4, 97, :_reduce_239 ]
777
+
778
+ racc_reduce_n = 240
779
+
780
+ racc_shift_n = 399
742
781
 
743
782
  racc_token_table = {
744
783
  false => 0,
@@ -808,9 +847,10 @@ racc_token_table = {
808
847
  :OUT_EDGE => 64,
809
848
  :IN_EDGE_SUB => 65,
810
849
  :OUT_EDGE_SUB => 66,
811
- :IN => 67 }
850
+ :IN => 67,
851
+ :UNLESS => 68 }
812
852
 
813
- racc_nt_base = 68
853
+ racc_nt_base = 69
814
854
 
815
855
  racc_use_result_var = true
816
856
 
@@ -899,6 +939,7 @@ Racc_token_to_s_table = [
899
939
  "IN_EDGE_SUB",
900
940
  "OUT_EDGE_SUB",
901
941
  "IN",
942
+ "UNLESS",
902
943
  "$start",
903
944
  "program",
904
945
  "statements_and_declarations",
@@ -911,6 +952,7 @@ Racc_token_to_s_table = [
911
952
  "assignment",
912
953
  "casestatement",
913
954
  "ifstatement_begin",
955
+ "unlessstatement",
914
956
  "import",
915
957
  "fstatement",
916
958
  "definition",
@@ -919,6 +961,7 @@ Racc_token_to_s_table = [
919
961
  "resourceoverride",
920
962
  "append",
921
963
  "relationship",
964
+ "keyword",
922
965
  "relationship_side",
923
966
  "edge",
924
967
  "resourceref",
@@ -954,6 +997,7 @@ Racc_token_to_s_table = [
954
997
  "resourcename",
955
998
  "hasharrayaccess",
956
999
  "param",
1000
+ "param_name",
957
1001
  "addparam",
958
1002
  "anyparam",
959
1003
  "dqrval",
@@ -1056,21 +1100,9 @@ module_eval(<<'.,.,', 'grammar.ra', 46)
1056
1100
 
1057
1101
  # reduce 19 omitted
1058
1102
 
1059
- module_eval(<<'.,.,', 'grammar.ra', 72)
1060
- def _reduce_20(val, _values, result)
1061
- result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1062
-
1063
- result
1064
- end
1065
- .,.,
1066
-
1067
- module_eval(<<'.,.,', 'grammar.ra', 75)
1068
- def _reduce_21(val, _values, result)
1069
- result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1103
+ # reduce 20 omitted
1070
1104
 
1071
- result
1072
- end
1073
- .,.,
1105
+ # reduce 21 omitted
1074
1106
 
1075
1107
  # reduce 22 omitted
1076
1108
 
@@ -1096,8 +1128,52 @@ module_eval(<<'.,.,', 'grammar.ra', 75)
1096
1128
 
1097
1129
  # reduce 33 omitted
1098
1130
 
1099
- module_eval(<<'.,.,', 'grammar.ra', 90)
1100
- def _reduce_34(val, _values, result)
1131
+ # reduce 34 omitted
1132
+
1133
+ # reduce 35 omitted
1134
+
1135
+ module_eval(<<'.,.,', 'grammar.ra', 89)
1136
+ def _reduce_36(val, _values, result)
1137
+ result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1138
+
1139
+ result
1140
+ end
1141
+ .,.,
1142
+
1143
+ module_eval(<<'.,.,', 'grammar.ra', 92)
1144
+ def _reduce_37(val, _values, result)
1145
+ result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
1146
+
1147
+ result
1148
+ end
1149
+ .,.,
1150
+
1151
+ # reduce 38 omitted
1152
+
1153
+ # reduce 39 omitted
1154
+
1155
+ # reduce 40 omitted
1156
+
1157
+ # reduce 41 omitted
1158
+
1159
+ # reduce 42 omitted
1160
+
1161
+ # reduce 43 omitted
1162
+
1163
+ # reduce 44 omitted
1164
+
1165
+ # reduce 45 omitted
1166
+
1167
+ # reduce 46 omitted
1168
+
1169
+ # reduce 47 omitted
1170
+
1171
+ # reduce 48 omitted
1172
+
1173
+ # reduce 49 omitted
1174
+
1175
+ module_eval(<<'.,.,', 'grammar.ra', 107)
1176
+ def _reduce_50(val, _values, result)
1101
1177
  result = ast AST::Function,
1102
1178
  :name => val[0][:value],
1103
1179
  :line => val[0][:line],
@@ -1108,8 +1184,8 @@ module_eval(<<'.,.,', 'grammar.ra', 90)
1108
1184
  end
1109
1185
  .,.,
1110
1186
 
1111
- module_eval(<<'.,.,', 'grammar.ra', 97)
1112
- def _reduce_35(val, _values, result)
1187
+ module_eval(<<'.,.,', 'grammar.ra', 114)
1188
+ def _reduce_51(val, _values, result)
1113
1189
  result = ast AST::Function,
1114
1190
  :name => val[0][:value],
1115
1191
  :line => val[0][:line],
@@ -1120,8 +1196,8 @@ module_eval(<<'.,.,', 'grammar.ra', 97)
1120
1196
  end
1121
1197
  .,.,
1122
1198
 
1123
- module_eval(<<'.,.,', 'grammar.ra', 103)
1124
- def _reduce_36(val, _values, result)
1199
+ module_eval(<<'.,.,', 'grammar.ra', 120)
1200
+ def _reduce_52(val, _values, result)
1125
1201
  result = ast AST::Function,
1126
1202
  :name => val[0][:value],
1127
1203
  :line => val[0][:line],
@@ -1132,8 +1208,8 @@ module_eval(<<'.,.,', 'grammar.ra', 103)
1132
1208
  end
1133
1209
  .,.,
1134
1210
 
1135
- module_eval(<<'.,.,', 'grammar.ra', 110)
1136
- def _reduce_37(val, _values, result)
1211
+ module_eval(<<'.,.,', 'grammar.ra', 127)
1212
+ def _reduce_53(val, _values, result)
1137
1213
  result = ast AST::Function,
1138
1214
  :name => val[0][:value],
1139
1215
  :line => val[0][:line],
@@ -1144,15 +1220,15 @@ module_eval(<<'.,.,', 'grammar.ra', 110)
1144
1220
  end
1145
1221
  .,.,
1146
1222
 
1147
- module_eval(<<'.,.,', 'grammar.ra', 117)
1148
- def _reduce_38(val, _values, result)
1223
+ module_eval(<<'.,.,', 'grammar.ra', 134)
1224
+ def _reduce_54(val, _values, result)
1149
1225
  result = aryfy(val[0])
1150
1226
  result
1151
1227
  end
1152
1228
  .,.,
1153
1229
 
1154
- module_eval(<<'.,.,', 'grammar.ra', 120)
1155
- def _reduce_39(val, _values, result)
1230
+ module_eval(<<'.,.,', 'grammar.ra', 137)
1231
+ def _reduce_55(val, _values, result)
1156
1232
  val[0].push(val[2])
1157
1233
  result = val[0]
1158
1234
 
@@ -1160,44 +1236,44 @@ module_eval(<<'.,.,', 'grammar.ra', 120)
1160
1236
  end
1161
1237
  .,.,
1162
1238
 
1163
- module_eval(<<'.,.,', 'grammar.ra', 124)
1164
- def _reduce_40(val, _values, result)
1239
+ module_eval(<<'.,.,', 'grammar.ra', 141)
1240
+ def _reduce_56(val, _values, result)
1165
1241
  result = aryfy(val[0])
1166
1242
  result
1167
1243
  end
1168
1244
  .,.,
1169
1245
 
1170
- module_eval(<<'.,.,', 'grammar.ra', 125)
1171
- def _reduce_41(val, _values, result)
1246
+ module_eval(<<'.,.,', 'grammar.ra', 142)
1247
+ def _reduce_57(val, _values, result)
1172
1248
  result = val[0].push(val[2])
1173
1249
  result
1174
1250
  end
1175
1251
  .,.,
1176
1252
 
1177
- # reduce 42 omitted
1253
+ # reduce 58 omitted
1178
1254
 
1179
- # reduce 43 omitted
1255
+ # reduce 59 omitted
1180
1256
 
1181
- # reduce 44 omitted
1257
+ # reduce 60 omitted
1182
1258
 
1183
- # reduce 45 omitted
1259
+ # reduce 61 omitted
1184
1260
 
1185
- # reduce 46 omitted
1261
+ # reduce 62 omitted
1186
1262
 
1187
- # reduce 47 omitted
1263
+ # reduce 63 omitted
1188
1264
 
1189
- # reduce 48 omitted
1265
+ # reduce 64 omitted
1190
1266
 
1191
- # reduce 49 omitted
1267
+ # reduce 65 omitted
1192
1268
 
1193
- # reduce 50 omitted
1269
+ # reduce 66 omitted
1194
1270
 
1195
- # reduce 51 omitted
1271
+ # reduce 67 omitted
1196
1272
 
1197
- # reduce 52 omitted
1273
+ # reduce 68 omitted
1198
1274
 
1199
- module_eval(<<'.,.,', 'grammar.ra', 140)
1200
- def _reduce_53(val, _values, result)
1275
+ module_eval(<<'.,.,', 'grammar.ra', 157)
1276
+ def _reduce_69(val, _values, result)
1201
1277
  @lexer.commentpop
1202
1278
  result = ast(AST::Resource, :type => val[0], :instances => val[2])
1203
1279
 
@@ -1205,8 +1281,8 @@ module_eval(<<'.,.,', 'grammar.ra', 140)
1205
1281
  end
1206
1282
  .,.,
1207
1283
 
1208
- module_eval(<<'.,.,', 'grammar.ra', 143)
1209
- def _reduce_54(val, _values, result)
1284
+ module_eval(<<'.,.,', 'grammar.ra', 160)
1285
+ def _reduce_70(val, _values, result)
1210
1286
  # This is a deprecated syntax.
1211
1287
  error "All resource specifications require names"
1212
1288
 
@@ -1214,8 +1290,8 @@ module_eval(<<'.,.,', 'grammar.ra', 143)
1214
1290
  end
1215
1291
  .,.,
1216
1292
 
1217
- module_eval(<<'.,.,', 'grammar.ra', 146)
1218
- def _reduce_55(val, _values, result)
1293
+ module_eval(<<'.,.,', 'grammar.ra', 163)
1294
+ def _reduce_71(val, _values, result)
1219
1295
  # a defaults setting for a type
1220
1296
  @lexer.commentpop
1221
1297
  result = ast(AST::ResourceDefaults, :type => val[0].value, :parameters => val[2])
@@ -1224,8 +1300,8 @@ module_eval(<<'.,.,', 'grammar.ra', 146)
1224
1300
  end
1225
1301
  .,.,
1226
1302
 
1227
- module_eval(<<'.,.,', 'grammar.ra', 153)
1228
- def _reduce_56(val, _values, result)
1303
+ module_eval(<<'.,.,', 'grammar.ra', 170)
1304
+ def _reduce_72(val, _values, result)
1229
1305
  @lexer.commentpop
1230
1306
  result = ast AST::ResourceOverride, :object => val[0], :parameters => val[2]
1231
1307
 
@@ -1233,8 +1309,8 @@ module_eval(<<'.,.,', 'grammar.ra', 153)
1233
1309
  end
1234
1310
  .,.,
1235
1311
 
1236
- module_eval(<<'.,.,', 'grammar.ra', 160)
1237
- def _reduce_57(val, _values, result)
1312
+ module_eval(<<'.,.,', 'grammar.ra', 177)
1313
+ def _reduce_73(val, _values, result)
1238
1314
  type = val[0]
1239
1315
 
1240
1316
  if (type == :exported and ! Puppet[:storeconfigs])
@@ -1254,22 +1330,22 @@ module_eval(<<'.,.,', 'grammar.ra', 160)
1254
1330
  end
1255
1331
  .,.,
1256
1332
 
1257
- module_eval(<<'.,.,', 'grammar.ra', 176)
1258
- def _reduce_58(val, _values, result)
1333
+ module_eval(<<'.,.,', 'grammar.ra', 193)
1334
+ def _reduce_74(val, _values, result)
1259
1335
  result = :virtual
1260
1336
  result
1261
1337
  end
1262
1338
  .,.,
1263
1339
 
1264
- module_eval(<<'.,.,', 'grammar.ra', 177)
1265
- def _reduce_59(val, _values, result)
1340
+ module_eval(<<'.,.,', 'grammar.ra', 194)
1341
+ def _reduce_75(val, _values, result)
1266
1342
  result = :exported
1267
1343
  result
1268
1344
  end
1269
1345
  .,.,
1270
1346
 
1271
- module_eval(<<'.,.,', 'grammar.ra', 182)
1272
- def _reduce_60(val, _values, result)
1347
+ module_eval(<<'.,.,', 'grammar.ra', 199)
1348
+ def _reduce_76(val, _values, result)
1273
1349
  @lexer.commentpop
1274
1350
  type = val[0].value.downcase
1275
1351
  args = {:type => type}
@@ -1291,8 +1367,8 @@ module_eval(<<'.,.,', 'grammar.ra', 182)
1291
1367
  end
1292
1368
  .,.,
1293
1369
 
1294
- module_eval(<<'.,.,', 'grammar.ra', 200)
1295
- def _reduce_61(val, _values, result)
1370
+ module_eval(<<'.,.,', 'grammar.ra', 217)
1371
+ def _reduce_77(val, _values, result)
1296
1372
  type = val[0].value.downcase
1297
1373
  args = {:type => type }
1298
1374
 
@@ -1312,8 +1388,8 @@ module_eval(<<'.,.,', 'grammar.ra', 200)
1312
1388
  end
1313
1389
  .,.,
1314
1390
 
1315
- module_eval(<<'.,.,', 'grammar.ra', 218)
1316
- def _reduce_62(val, _values, result)
1391
+ module_eval(<<'.,.,', 'grammar.ra', 235)
1392
+ def _reduce_78(val, _values, result)
1317
1393
  if val[1]
1318
1394
  result = val[1]
1319
1395
  result.form = :virtual
@@ -1325,8 +1401,8 @@ module_eval(<<'.,.,', 'grammar.ra', 218)
1325
1401
  end
1326
1402
  .,.,
1327
1403
 
1328
- module_eval(<<'.,.,', 'grammar.ra', 226)
1329
- def _reduce_63(val, _values, result)
1404
+ module_eval(<<'.,.,', 'grammar.ra', 243)
1405
+ def _reduce_79(val, _values, result)
1330
1406
  if val[1]
1331
1407
  result = val[1]
1332
1408
  result.form = :exported
@@ -1338,22 +1414,22 @@ module_eval(<<'.,.,', 'grammar.ra', 226)
1338
1414
  end
1339
1415
  .,.,
1340
1416
 
1341
- # reduce 64 omitted
1417
+ # reduce 80 omitted
1342
1418
 
1343
- # reduce 65 omitted
1419
+ # reduce 81 omitted
1344
1420
 
1345
- module_eval(<<'.,.,', 'grammar.ra', 239)
1346
- def _reduce_66(val, _values, result)
1421
+ module_eval(<<'.,.,', 'grammar.ra', 256)
1422
+ def _reduce_82(val, _values, result)
1347
1423
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
1348
1424
 
1349
1425
  result
1350
1426
  end
1351
1427
  .,.,
1352
1428
 
1353
- # reduce 67 omitted
1429
+ # reduce 83 omitted
1354
1430
 
1355
- module_eval(<<'.,.,', 'grammar.ra', 244)
1356
- def _reduce_68(val, _values, result)
1431
+ module_eval(<<'.,.,', 'grammar.ra', 261)
1432
+ def _reduce_84(val, _values, result)
1357
1433
  result = val[1]
1358
1434
  result.parens = true
1359
1435
 
@@ -1361,22 +1437,22 @@ module_eval(<<'.,.,', 'grammar.ra', 244)
1361
1437
  end
1362
1438
  .,.,
1363
1439
 
1364
- module_eval(<<'.,.,', 'grammar.ra', 248)
1365
- def _reduce_69(val, _values, result)
1440
+ module_eval(<<'.,.,', 'grammar.ra', 265)
1441
+ def _reduce_85(val, _values, result)
1366
1442
  result=val[0][:value]
1367
1443
  result
1368
1444
  end
1369
1445
  .,.,
1370
1446
 
1371
- module_eval(<<'.,.,', 'grammar.ra', 249)
1372
- def _reduce_70(val, _values, result)
1447
+ module_eval(<<'.,.,', 'grammar.ra', 266)
1448
+ def _reduce_86(val, _values, result)
1373
1449
  result=val[0][:value]
1374
1450
  result
1375
1451
  end
1376
1452
  .,.,
1377
1453
 
1378
- module_eval(<<'.,.,', 'grammar.ra', 252)
1379
- def _reduce_71(val, _values, result)
1454
+ module_eval(<<'.,.,', 'grammar.ra', 269)
1455
+ def _reduce_87(val, _values, result)
1380
1456
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
1381
1457
  #result = ast AST::CollExpr
1382
1458
  #result.push *val
@@ -1385,8 +1461,8 @@ module_eval(<<'.,.,', 'grammar.ra', 252)
1385
1461
  end
1386
1462
  .,.,
1387
1463
 
1388
- module_eval(<<'.,.,', 'grammar.ra', 257)
1389
- def _reduce_72(val, _values, result)
1464
+ module_eval(<<'.,.,', 'grammar.ra', 274)
1465
+ def _reduce_88(val, _values, result)
1390
1466
  result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
1391
1467
  #result = ast AST::CollExpr
1392
1468
  #result.push *val
@@ -1395,27 +1471,27 @@ module_eval(<<'.,.,', 'grammar.ra', 257)
1395
1471
  end
1396
1472
  .,.,
1397
1473
 
1398
- # reduce 73 omitted
1474
+ # reduce 89 omitted
1399
1475
 
1400
- # reduce 74 omitted
1476
+ # reduce 90 omitted
1401
1477
 
1402
- module_eval(<<'.,.,', 'grammar.ra', 266)
1403
- def _reduce_75(val, _values, result)
1478
+ module_eval(<<'.,.,', 'grammar.ra', 283)
1479
+ def _reduce_91(val, _values, result)
1404
1480
  result = ast AST::ResourceInstance, :title => val[0], :parameters => val[2]
1405
1481
 
1406
1482
  result
1407
1483
  end
1408
1484
  .,.,
1409
1485
 
1410
- module_eval(<<'.,.,', 'grammar.ra', 269)
1411
- def _reduce_76(val, _values, result)
1486
+ module_eval(<<'.,.,', 'grammar.ra', 286)
1487
+ def _reduce_92(val, _values, result)
1412
1488
  result = aryfy(val[0])
1413
1489
  result
1414
1490
  end
1415
1491
  .,.,
1416
1492
 
1417
- module_eval(<<'.,.,', 'grammar.ra', 271)
1418
- def _reduce_77(val, _values, result)
1493
+ module_eval(<<'.,.,', 'grammar.ra', 288)
1494
+ def _reduce_93(val, _values, result)
1419
1495
  val[0].push val[2]
1420
1496
  result = val[0]
1421
1497
 
@@ -1423,50 +1499,50 @@ module_eval(<<'.,.,', 'grammar.ra', 271)
1423
1499
  end
1424
1500
  .,.,
1425
1501
 
1426
- # reduce 78 omitted
1502
+ # reduce 94 omitted
1427
1503
 
1428
- # reduce 79 omitted
1504
+ # reduce 95 omitted
1429
1505
 
1430
- module_eval(<<'.,.,', 'grammar.ra', 279)
1431
- def _reduce_80(val, _values, result)
1506
+ module_eval(<<'.,.,', 'grammar.ra', 296)
1507
+ def _reduce_96(val, _values, result)
1432
1508
  result = ast AST::Undef, :value => :undef
1433
1509
 
1434
1510
  result
1435
1511
  end
1436
1512
  .,.,
1437
1513
 
1438
- module_eval(<<'.,.,', 'grammar.ra', 283)
1439
- def _reduce_81(val, _values, result)
1514
+ module_eval(<<'.,.,', 'grammar.ra', 300)
1515
+ def _reduce_97(val, _values, result)
1440
1516
  result = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
1441
1517
 
1442
1518
  result
1443
1519
  end
1444
1520
  .,.,
1445
1521
 
1446
- module_eval(<<'.,.,', 'grammar.ra', 287)
1447
- def _reduce_82(val, _values, result)
1522
+ module_eval(<<'.,.,', 'grammar.ra', 304)
1523
+ def _reduce_98(val, _values, result)
1448
1524
  result = ast AST::Type, :value => val[0][:value], :line => val[0][:line]
1449
1525
 
1450
1526
  result
1451
1527
  end
1452
1528
  .,.,
1453
1529
 
1454
- # reduce 83 omitted
1530
+ # reduce 99 omitted
1455
1531
 
1456
- # reduce 84 omitted
1532
+ # reduce 100 omitted
1457
1533
 
1458
- # reduce 85 omitted
1534
+ # reduce 101 omitted
1459
1535
 
1460
- # reduce 86 omitted
1536
+ # reduce 102 omitted
1461
1537
 
1462
- # reduce 87 omitted
1538
+ # reduce 103 omitted
1463
1539
 
1464
- # reduce 88 omitted
1540
+ # reduce 104 omitted
1465
1541
 
1466
- # reduce 89 omitted
1542
+ # reduce 105 omitted
1467
1543
 
1468
- module_eval(<<'.,.,', 'grammar.ra', 299)
1469
- def _reduce_90(val, _values, result)
1544
+ module_eval(<<'.,.,', 'grammar.ra', 316)
1545
+ def _reduce_106(val, _values, result)
1470
1546
  raise Puppet::ParseError, "Cannot assign to variables in other namespaces" if val[0][:value] =~ /::/
1471
1547
  # this is distinct from referencing a variable
1472
1548
  variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
@@ -1476,16 +1552,16 @@ module_eval(<<'.,.,', 'grammar.ra', 299)
1476
1552
  end
1477
1553
  .,.,
1478
1554
 
1479
- module_eval(<<'.,.,', 'grammar.ra', 305)
1480
- def _reduce_91(val, _values, result)
1555
+ module_eval(<<'.,.,', 'grammar.ra', 322)
1556
+ def _reduce_107(val, _values, result)
1481
1557
  result = ast AST::VarDef, :name => val[0], :value => val[2]
1482
1558
 
1483
1559
  result
1484
1560
  end
1485
1561
  .,.,
1486
1562
 
1487
- module_eval(<<'.,.,', 'grammar.ra', 309)
1488
- def _reduce_92(val, _values, result)
1563
+ module_eval(<<'.,.,', 'grammar.ra', 326)
1564
+ def _reduce_108(val, _values, result)
1489
1565
  variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
1490
1566
  result = ast AST::VarDef, :name => variable, :value => val[2], :append => true, :line => val[0][:line]
1491
1567
 
@@ -1493,23 +1569,23 @@ module_eval(<<'.,.,', 'grammar.ra', 309)
1493
1569
  end
1494
1570
  .,.,
1495
1571
 
1496
- module_eval(<<'.,.,', 'grammar.ra', 315)
1497
- def _reduce_93(val, _values, result)
1572
+ module_eval(<<'.,.,', 'grammar.ra', 332)
1573
+ def _reduce_109(val, _values, result)
1498
1574
  result = ast AST::ASTArray
1499
1575
 
1500
1576
  result
1501
1577
  end
1502
1578
  .,.,
1503
1579
 
1504
- module_eval(<<'.,.,', 'grammar.ra', 317)
1505
- def _reduce_94(val, _values, result)
1580
+ module_eval(<<'.,.,', 'grammar.ra', 334)
1581
+ def _reduce_110(val, _values, result)
1506
1582
  result = aryfy(val[0])
1507
1583
  result
1508
1584
  end
1509
1585
  .,.,
1510
1586
 
1511
- module_eval(<<'.,.,', 'grammar.ra', 319)
1512
- def _reduce_95(val, _values, result)
1587
+ module_eval(<<'.,.,', 'grammar.ra', 336)
1588
+ def _reduce_111(val, _values, result)
1513
1589
  val[0].push(val[2])
1514
1590
  result = val[0]
1515
1591
 
@@ -1517,16 +1593,22 @@ module_eval(<<'.,.,', 'grammar.ra', 319)
1517
1593
  end
1518
1594
  .,.,
1519
1595
 
1520
- module_eval(<<'.,.,', 'grammar.ra', 324)
1521
- def _reduce_96(val, _values, result)
1596
+ # reduce 112 omitted
1597
+
1598
+ # reduce 113 omitted
1599
+
1600
+ # reduce 114 omitted
1601
+
1602
+ module_eval(<<'.,.,', 'grammar.ra', 345)
1603
+ def _reduce_115(val, _values, result)
1522
1604
  result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2]
1523
1605
 
1524
1606
  result
1525
1607
  end
1526
1608
  .,.,
1527
1609
 
1528
- module_eval(<<'.,.,', 'grammar.ra', 328)
1529
- def _reduce_97(val, _values, result)
1610
+ module_eval(<<'.,.,', 'grammar.ra', 349)
1611
+ def _reduce_116(val, _values, result)
1530
1612
  result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2],
1531
1613
  :add => true
1532
1614
 
@@ -1534,27 +1616,27 @@ module_eval(<<'.,.,', 'grammar.ra', 328)
1534
1616
  end
1535
1617
  .,.,
1536
1618
 
1537
- # reduce 98 omitted
1619
+ # reduce 117 omitted
1538
1620
 
1539
- # reduce 99 omitted
1621
+ # reduce 118 omitted
1540
1622
 
1541
- module_eval(<<'.,.,', 'grammar.ra', 337)
1542
- def _reduce_100(val, _values, result)
1623
+ module_eval(<<'.,.,', 'grammar.ra', 358)
1624
+ def _reduce_119(val, _values, result)
1543
1625
  result = ast AST::ASTArray
1544
1626
 
1545
1627
  result
1546
1628
  end
1547
1629
  .,.,
1548
1630
 
1549
- module_eval(<<'.,.,', 'grammar.ra', 339)
1550
- def _reduce_101(val, _values, result)
1631
+ module_eval(<<'.,.,', 'grammar.ra', 360)
1632
+ def _reduce_120(val, _values, result)
1551
1633
  result = aryfy(val[0])
1552
1634
  result
1553
1635
  end
1554
1636
  .,.,
1555
1637
 
1556
- module_eval(<<'.,.,', 'grammar.ra', 341)
1557
- def _reduce_102(val, _values, result)
1638
+ module_eval(<<'.,.,', 'grammar.ra', 362)
1639
+ def _reduce_121(val, _values, result)
1558
1640
  val[0].push(val[2])
1559
1641
  result = val[0]
1560
1642
 
@@ -1562,8 +1644,8 @@ module_eval(<<'.,.,', 'grammar.ra', 341)
1562
1644
  end
1563
1645
  .,.,
1564
1646
 
1565
- module_eval(<<'.,.,', 'grammar.ra', 347)
1566
- def _reduce_103(val, _values, result)
1647
+ module_eval(<<'.,.,', 'grammar.ra', 368)
1648
+ def _reduce_122(val, _values, result)
1567
1649
  result = ast AST::Function,
1568
1650
  :name => val[0][:value], :line => val[0][:line],
1569
1651
  :arguments => val[2],
@@ -1573,8 +1655,8 @@ module_eval(<<'.,.,', 'grammar.ra', 347)
1573
1655
  end
1574
1656
  .,.,
1575
1657
 
1576
- module_eval(<<'.,.,', 'grammar.ra', 352)
1577
- def _reduce_104(val, _values, result)
1658
+ module_eval(<<'.,.,', 'grammar.ra', 373)
1659
+ def _reduce_123(val, _values, result)
1578
1660
  result = ast AST::Function,
1579
1661
  :name => val[0][:value], :line => val[0][:line],
1580
1662
  :arguments => AST::ASTArray.new({}),
@@ -1584,51 +1666,51 @@ module_eval(<<'.,.,', 'grammar.ra', 352)
1584
1666
  end
1585
1667
  .,.,
1586
1668
 
1587
- module_eval(<<'.,.,', 'grammar.ra', 358)
1588
- def _reduce_105(val, _values, result)
1669
+ module_eval(<<'.,.,', 'grammar.ra', 379)
1670
+ def _reduce_124(val, _values, result)
1589
1671
  result = ast AST::String, :value => val[0][:value], :line => val[0][:line]
1590
1672
  result
1591
1673
  end
1592
1674
  .,.,
1593
1675
 
1594
- module_eval(<<'.,.,', 'grammar.ra', 359)
1595
- def _reduce_106(val, _values, result)
1676
+ module_eval(<<'.,.,', 'grammar.ra', 380)
1677
+ def _reduce_125(val, _values, result)
1596
1678
  result = ast AST::Concat, :value => [ast(AST::String,val[0])]+val[1], :line => val[0][:line]
1597
1679
  result
1598
1680
  end
1599
1681
  .,.,
1600
1682
 
1601
- module_eval(<<'.,.,', 'grammar.ra', 361)
1602
- def _reduce_107(val, _values, result)
1683
+ module_eval(<<'.,.,', 'grammar.ra', 382)
1684
+ def _reduce_126(val, _values, result)
1603
1685
  result = [val[0]] + val[1]
1604
1686
  result
1605
1687
  end
1606
1688
  .,.,
1607
1689
 
1608
- module_eval(<<'.,.,', 'grammar.ra', 363)
1609
- def _reduce_108(val, _values, result)
1690
+ module_eval(<<'.,.,', 'grammar.ra', 384)
1691
+ def _reduce_127(val, _values, result)
1610
1692
  result = [ast(AST::String,val[0])]
1611
1693
  result
1612
1694
  end
1613
1695
  .,.,
1614
1696
 
1615
- module_eval(<<'.,.,', 'grammar.ra', 364)
1616
- def _reduce_109(val, _values, result)
1697
+ module_eval(<<'.,.,', 'grammar.ra', 385)
1698
+ def _reduce_128(val, _values, result)
1617
1699
  result = [ast(AST::String,val[0])] + val[1]
1618
1700
  result
1619
1701
  end
1620
1702
  .,.,
1621
1703
 
1622
- module_eval(<<'.,.,', 'grammar.ra', 367)
1623
- def _reduce_110(val, _values, result)
1704
+ module_eval(<<'.,.,', 'grammar.ra', 388)
1705
+ def _reduce_129(val, _values, result)
1624
1706
  result = ast AST::Boolean, :value => val[0][:value], :line => val[0][:line]
1625
1707
 
1626
1708
  result
1627
1709
  end
1628
1710
  .,.,
1629
1711
 
1630
- module_eval(<<'.,.,', 'grammar.ra', 371)
1631
- def _reduce_111(val, _values, result)
1712
+ module_eval(<<'.,.,', 'grammar.ra', 392)
1713
+ def _reduce_130(val, _values, result)
1632
1714
  Puppet.warning addcontext("Deprecation notice: Resource references should now be capitalized")
1633
1715
  result = ast AST::ResourceReference, :type => val[0][:value], :line => val[0][:line], :title => val[2]
1634
1716
 
@@ -1636,24 +1718,51 @@ module_eval(<<'.,.,', 'grammar.ra', 371)
1636
1718
  end
1637
1719
  .,.,
1638
1720
 
1639
- module_eval(<<'.,.,', 'grammar.ra', 374)
1640
- def _reduce_112(val, _values, result)
1721
+ module_eval(<<'.,.,', 'grammar.ra', 395)
1722
+ def _reduce_131(val, _values, result)
1641
1723
  result = ast AST::ResourceReference, :type => val[0].value, :title => val[2]
1642
1724
 
1643
1725
  result
1644
1726
  end
1645
1727
  .,.,
1646
1728
 
1647
- module_eval(<<'.,.,', 'grammar.ra', 378)
1648
- def _reduce_113(val, _values, result)
1729
+ module_eval(<<'.,.,', 'grammar.ra', 399)
1730
+ def _reduce_132(val, _values, result)
1731
+ @lexer.commentpop
1732
+ args = {
1733
+ :test => ast(AST::Not, :value => val[1]),
1734
+ :statements => val[3]
1735
+ }
1736
+
1737
+ result = ast AST::IfStatement, args
1738
+
1739
+ result
1740
+ end
1741
+ .,.,
1742
+
1743
+ module_eval(<<'.,.,', 'grammar.ra', 408)
1744
+ def _reduce_133(val, _values, result)
1745
+ @lexer.commentpop
1746
+ args = {
1747
+ :test => ast(AST::Not, :value => val[1]),
1748
+ :statements => ast(AST::Nop)
1749
+ }
1750
+ result = ast AST::IfStatement, args
1751
+
1752
+ result
1753
+ end
1754
+ .,.,
1755
+
1756
+ module_eval(<<'.,.,', 'grammar.ra', 417)
1757
+ def _reduce_134(val, _values, result)
1649
1758
  result = val[1]
1650
1759
 
1651
1760
  result
1652
1761
  end
1653
1762
  .,.,
1654
1763
 
1655
- module_eval(<<'.,.,', 'grammar.ra', 382)
1656
- def _reduce_114(val, _values, result)
1764
+ module_eval(<<'.,.,', 'grammar.ra', 421)
1765
+ def _reduce_135(val, _values, result)
1657
1766
  @lexer.commentpop
1658
1767
  args = {
1659
1768
  :test => val[0],
@@ -1668,8 +1777,8 @@ module_eval(<<'.,.,', 'grammar.ra', 382)
1668
1777
  end
1669
1778
  .,.,
1670
1779
 
1671
- module_eval(<<'.,.,', 'grammar.ra', 393)
1672
- def _reduce_115(val, _values, result)
1780
+ module_eval(<<'.,.,', 'grammar.ra', 432)
1781
+ def _reduce_136(val, _values, result)
1673
1782
  @lexer.commentpop
1674
1783
  args = {
1675
1784
  :test => val[0],
@@ -1684,18 +1793,18 @@ module_eval(<<'.,.,', 'grammar.ra', 393)
1684
1793
  end
1685
1794
  .,.,
1686
1795
 
1687
- # reduce 116 omitted
1796
+ # reduce 137 omitted
1688
1797
 
1689
- module_eval(<<'.,.,', 'grammar.ra', 406)
1690
- def _reduce_117(val, _values, result)
1798
+ module_eval(<<'.,.,', 'grammar.ra', 445)
1799
+ def _reduce_138(val, _values, result)
1691
1800
  result = ast AST::Else, :statements => val[1]
1692
1801
 
1693
1802
  result
1694
1803
  end
1695
1804
  .,.,
1696
1805
 
1697
- module_eval(<<'.,.,', 'grammar.ra', 409)
1698
- def _reduce_118(val, _values, result)
1806
+ module_eval(<<'.,.,', 'grammar.ra', 448)
1807
+ def _reduce_139(val, _values, result)
1699
1808
  @lexer.commentpop
1700
1809
  result = ast AST::Else, :statements => val[2]
1701
1810
 
@@ -1703,8 +1812,8 @@ module_eval(<<'.,.,', 'grammar.ra', 409)
1703
1812
  end
1704
1813
  .,.,
1705
1814
 
1706
- module_eval(<<'.,.,', 'grammar.ra', 413)
1707
- def _reduce_119(val, _values, result)
1815
+ module_eval(<<'.,.,', 'grammar.ra', 452)
1816
+ def _reduce_140(val, _values, result)
1708
1817
  @lexer.commentpop
1709
1818
  result = ast AST::Else, :statements => ast(AST::Nop)
1710
1819
 
@@ -1712,172 +1821,172 @@ module_eval(<<'.,.,', 'grammar.ra', 413)
1712
1821
  end
1713
1822
  .,.,
1714
1823
 
1715
- # reduce 120 omitted
1824
+ # reduce 141 omitted
1716
1825
 
1717
- # reduce 121 omitted
1826
+ # reduce 142 omitted
1718
1827
 
1719
- module_eval(<<'.,.,', 'grammar.ra', 432)
1720
- def _reduce_122(val, _values, result)
1828
+ module_eval(<<'.,.,', 'grammar.ra', 471)
1829
+ def _reduce_143(val, _values, result)
1721
1830
  result = ast AST::InOperator, :lval => val[0], :rval => val[2]
1722
1831
 
1723
1832
  result
1724
1833
  end
1725
1834
  .,.,
1726
1835
 
1727
- module_eval(<<'.,.,', 'grammar.ra', 435)
1728
- def _reduce_123(val, _values, result)
1836
+ module_eval(<<'.,.,', 'grammar.ra', 474)
1837
+ def _reduce_144(val, _values, result)
1729
1838
  result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1730
1839
 
1731
1840
  result
1732
1841
  end
1733
1842
  .,.,
1734
1843
 
1735
- module_eval(<<'.,.,', 'grammar.ra', 438)
1736
- def _reduce_124(val, _values, result)
1844
+ module_eval(<<'.,.,', 'grammar.ra', 477)
1845
+ def _reduce_145(val, _values, result)
1737
1846
  result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1738
1847
 
1739
1848
  result
1740
1849
  end
1741
1850
  .,.,
1742
1851
 
1743
- module_eval(<<'.,.,', 'grammar.ra', 441)
1744
- def _reduce_125(val, _values, result)
1852
+ module_eval(<<'.,.,', 'grammar.ra', 480)
1853
+ def _reduce_146(val, _values, result)
1745
1854
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1746
1855
 
1747
1856
  result
1748
1857
  end
1749
1858
  .,.,
1750
1859
 
1751
- module_eval(<<'.,.,', 'grammar.ra', 444)
1752
- def _reduce_126(val, _values, result)
1860
+ module_eval(<<'.,.,', 'grammar.ra', 483)
1861
+ def _reduce_147(val, _values, result)
1753
1862
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1754
1863
 
1755
1864
  result
1756
1865
  end
1757
1866
  .,.,
1758
1867
 
1759
- module_eval(<<'.,.,', 'grammar.ra', 447)
1760
- def _reduce_127(val, _values, result)
1868
+ module_eval(<<'.,.,', 'grammar.ra', 486)
1869
+ def _reduce_148(val, _values, result)
1761
1870
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1762
1871
 
1763
1872
  result
1764
1873
  end
1765
1874
  .,.,
1766
1875
 
1767
- module_eval(<<'.,.,', 'grammar.ra', 450)
1768
- def _reduce_128(val, _values, result)
1876
+ module_eval(<<'.,.,', 'grammar.ra', 489)
1877
+ def _reduce_149(val, _values, result)
1769
1878
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1770
1879
 
1771
1880
  result
1772
1881
  end
1773
1882
  .,.,
1774
1883
 
1775
- module_eval(<<'.,.,', 'grammar.ra', 453)
1776
- def _reduce_129(val, _values, result)
1884
+ module_eval(<<'.,.,', 'grammar.ra', 492)
1885
+ def _reduce_150(val, _values, result)
1777
1886
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1778
1887
 
1779
1888
  result
1780
1889
  end
1781
1890
  .,.,
1782
1891
 
1783
- module_eval(<<'.,.,', 'grammar.ra', 456)
1784
- def _reduce_130(val, _values, result)
1892
+ module_eval(<<'.,.,', 'grammar.ra', 495)
1893
+ def _reduce_151(val, _values, result)
1785
1894
  result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1786
1895
 
1787
1896
  result
1788
1897
  end
1789
1898
  .,.,
1790
1899
 
1791
- module_eval(<<'.,.,', 'grammar.ra', 459)
1792
- def _reduce_131(val, _values, result)
1900
+ module_eval(<<'.,.,', 'grammar.ra', 498)
1901
+ def _reduce_152(val, _values, result)
1793
1902
  result = ast AST::Minus, :value => val[1]
1794
1903
 
1795
1904
  result
1796
1905
  end
1797
1906
  .,.,
1798
1907
 
1799
- module_eval(<<'.,.,', 'grammar.ra', 462)
1800
- def _reduce_132(val, _values, result)
1908
+ module_eval(<<'.,.,', 'grammar.ra', 501)
1909
+ def _reduce_153(val, _values, result)
1801
1910
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1802
1911
 
1803
1912
  result
1804
1913
  end
1805
1914
  .,.,
1806
1915
 
1807
- module_eval(<<'.,.,', 'grammar.ra', 465)
1808
- def _reduce_133(val, _values, result)
1916
+ module_eval(<<'.,.,', 'grammar.ra', 504)
1917
+ def _reduce_154(val, _values, result)
1809
1918
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1810
1919
 
1811
1920
  result
1812
1921
  end
1813
1922
  .,.,
1814
1923
 
1815
- module_eval(<<'.,.,', 'grammar.ra', 468)
1816
- def _reduce_134(val, _values, result)
1924
+ module_eval(<<'.,.,', 'grammar.ra', 507)
1925
+ def _reduce_155(val, _values, result)
1817
1926
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1818
1927
 
1819
1928
  result
1820
1929
  end
1821
1930
  .,.,
1822
1931
 
1823
- module_eval(<<'.,.,', 'grammar.ra', 471)
1824
- def _reduce_135(val, _values, result)
1932
+ module_eval(<<'.,.,', 'grammar.ra', 510)
1933
+ def _reduce_156(val, _values, result)
1825
1934
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1826
1935
 
1827
1936
  result
1828
1937
  end
1829
1938
  .,.,
1830
1939
 
1831
- module_eval(<<'.,.,', 'grammar.ra', 474)
1832
- def _reduce_136(val, _values, result)
1940
+ module_eval(<<'.,.,', 'grammar.ra', 513)
1941
+ def _reduce_157(val, _values, result)
1833
1942
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1834
1943
 
1835
1944
  result
1836
1945
  end
1837
1946
  .,.,
1838
1947
 
1839
- module_eval(<<'.,.,', 'grammar.ra', 477)
1840
- def _reduce_137(val, _values, result)
1948
+ module_eval(<<'.,.,', 'grammar.ra', 516)
1949
+ def _reduce_158(val, _values, result)
1841
1950
  result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1842
1951
 
1843
1952
  result
1844
1953
  end
1845
1954
  .,.,
1846
1955
 
1847
- module_eval(<<'.,.,', 'grammar.ra', 480)
1848
- def _reduce_138(val, _values, result)
1956
+ module_eval(<<'.,.,', 'grammar.ra', 519)
1957
+ def _reduce_159(val, _values, result)
1849
1958
  result = ast AST::Not, :value => val[1]
1850
1959
 
1851
1960
  result
1852
1961
  end
1853
1962
  .,.,
1854
1963
 
1855
- module_eval(<<'.,.,', 'grammar.ra', 483)
1856
- def _reduce_139(val, _values, result)
1964
+ module_eval(<<'.,.,', 'grammar.ra', 522)
1965
+ def _reduce_160(val, _values, result)
1857
1966
  result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1858
1967
 
1859
1968
  result
1860
1969
  end
1861
1970
  .,.,
1862
1971
 
1863
- module_eval(<<'.,.,', 'grammar.ra', 486)
1864
- def _reduce_140(val, _values, result)
1972
+ module_eval(<<'.,.,', 'grammar.ra', 525)
1973
+ def _reduce_161(val, _values, result)
1865
1974
  result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
1866
1975
 
1867
1976
  result
1868
1977
  end
1869
1978
  .,.,
1870
1979
 
1871
- module_eval(<<'.,.,', 'grammar.ra', 489)
1872
- def _reduce_141(val, _values, result)
1980
+ module_eval(<<'.,.,', 'grammar.ra', 528)
1981
+ def _reduce_162(val, _values, result)
1873
1982
  result = val[1]
1874
1983
 
1875
1984
  result
1876
1985
  end
1877
1986
  .,.,
1878
1987
 
1879
- module_eval(<<'.,.,', 'grammar.ra', 493)
1880
- def _reduce_142(val, _values, result)
1988
+ module_eval(<<'.,.,', 'grammar.ra', 532)
1989
+ def _reduce_163(val, _values, result)
1881
1990
  @lexer.commentpop
1882
1991
  result = ast AST::CaseStatement, :test => val[1], :options => val[3]
1883
1992
 
@@ -1885,15 +1994,15 @@ module_eval(<<'.,.,', 'grammar.ra', 493)
1885
1994
  end
1886
1995
  .,.,
1887
1996
 
1888
- module_eval(<<'.,.,', 'grammar.ra', 497)
1889
- def _reduce_143(val, _values, result)
1997
+ module_eval(<<'.,.,', 'grammar.ra', 536)
1998
+ def _reduce_164(val, _values, result)
1890
1999
  result = aryfy(val[0])
1891
2000
  result
1892
2001
  end
1893
2002
  .,.,
1894
2003
 
1895
- module_eval(<<'.,.,', 'grammar.ra', 499)
1896
- def _reduce_144(val, _values, result)
2004
+ module_eval(<<'.,.,', 'grammar.ra', 538)
2005
+ def _reduce_165(val, _values, result)
1897
2006
  val[0].push val[1]
1898
2007
  result = val[0]
1899
2008
 
@@ -1901,8 +2010,8 @@ module_eval(<<'.,.,', 'grammar.ra', 499)
1901
2010
  end
1902
2011
  .,.,
1903
2012
 
1904
- module_eval(<<'.,.,', 'grammar.ra', 504)
1905
- def _reduce_145(val, _values, result)
2013
+ module_eval(<<'.,.,', 'grammar.ra', 543)
2014
+ def _reduce_166(val, _values, result)
1906
2015
  @lexer.commentpop
1907
2016
  result = ast AST::CaseOpt, :value => val[0], :statements => val[3]
1908
2017
 
@@ -1910,8 +2019,8 @@ module_eval(<<'.,.,', 'grammar.ra', 504)
1910
2019
  end
1911
2020
  .,.,
1912
2021
 
1913
- module_eval(<<'.,.,', 'grammar.ra', 507)
1914
- def _reduce_146(val, _values, result)
2022
+ module_eval(<<'.,.,', 'grammar.ra', 546)
2023
+ def _reduce_167(val, _values, result)
1915
2024
  @lexer.commentpop
1916
2025
 
1917
2026
  result = ast(
@@ -1925,15 +2034,15 @@ module_eval(<<'.,.,', 'grammar.ra', 507)
1925
2034
  end
1926
2035
  .,.,
1927
2036
 
1928
- module_eval(<<'.,.,', 'grammar.ra', 517)
1929
- def _reduce_147(val, _values, result)
2037
+ module_eval(<<'.,.,', 'grammar.ra', 556)
2038
+ def _reduce_168(val, _values, result)
1930
2039
  result = aryfy(val[0])
1931
2040
  result
1932
2041
  end
1933
2042
  .,.,
1934
2043
 
1935
- module_eval(<<'.,.,', 'grammar.ra', 519)
1936
- def _reduce_148(val, _values, result)
2044
+ module_eval(<<'.,.,', 'grammar.ra', 558)
2045
+ def _reduce_169(val, _values, result)
1937
2046
  val[0].push(val[2])
1938
2047
  result = val[0]
1939
2048
 
@@ -1941,18 +2050,18 @@ module_eval(<<'.,.,', 'grammar.ra', 519)
1941
2050
  end
1942
2051
  .,.,
1943
2052
 
1944
- module_eval(<<'.,.,', 'grammar.ra', 524)
1945
- def _reduce_149(val, _values, result)
2053
+ module_eval(<<'.,.,', 'grammar.ra', 563)
2054
+ def _reduce_170(val, _values, result)
1946
2055
  result = ast AST::Selector, :param => val[0], :values => val[2]
1947
2056
 
1948
2057
  result
1949
2058
  end
1950
2059
  .,.,
1951
2060
 
1952
- # reduce 150 omitted
2061
+ # reduce 171 omitted
1953
2062
 
1954
- module_eval(<<'.,.,', 'grammar.ra', 529)
1955
- def _reduce_151(val, _values, result)
2063
+ module_eval(<<'.,.,', 'grammar.ra', 568)
2064
+ def _reduce_172(val, _values, result)
1956
2065
  @lexer.commentpop
1957
2066
  result = val[1]
1958
2067
 
@@ -1960,10 +2069,10 @@ module_eval(<<'.,.,', 'grammar.ra', 529)
1960
2069
  end
1961
2070
  .,.,
1962
2071
 
1963
- # reduce 152 omitted
2072
+ # reduce 173 omitted
1964
2073
 
1965
- module_eval(<<'.,.,', 'grammar.ra', 535)
1966
- def _reduce_153(val, _values, result)
2074
+ module_eval(<<'.,.,', 'grammar.ra', 574)
2075
+ def _reduce_174(val, _values, result)
1967
2076
  if val[0].instance_of?(AST::ASTArray)
1968
2077
  val[0].push(val[2])
1969
2078
  result = val[0]
@@ -1975,58 +2084,58 @@ module_eval(<<'.,.,', 'grammar.ra', 535)
1975
2084
  end
1976
2085
  .,.,
1977
2086
 
1978
- module_eval(<<'.,.,', 'grammar.ra', 544)
1979
- def _reduce_154(val, _values, result)
2087
+ module_eval(<<'.,.,', 'grammar.ra', 583)
2088
+ def _reduce_175(val, _values, result)
1980
2089
  result = ast AST::ResourceParam, :param => val[0], :value => val[2]
1981
2090
 
1982
2091
  result
1983
2092
  end
1984
2093
  .,.,
1985
2094
 
1986
- # reduce 155 omitted
2095
+ # reduce 176 omitted
1987
2096
 
1988
- # reduce 156 omitted
2097
+ # reduce 177 omitted
1989
2098
 
1990
- # reduce 157 omitted
2099
+ # reduce 178 omitted
1991
2100
 
1992
- # reduce 158 omitted
2101
+ # reduce 179 omitted
1993
2102
 
1994
- # reduce 159 omitted
2103
+ # reduce 180 omitted
1995
2104
 
1996
- # reduce 160 omitted
2105
+ # reduce 181 omitted
1997
2106
 
1998
- # reduce 161 omitted
2107
+ # reduce 182 omitted
1999
2108
 
2000
- # reduce 162 omitted
2109
+ # reduce 183 omitted
2001
2110
 
2002
- module_eval(<<'.,.,', 'grammar.ra', 556)
2003
- def _reduce_163(val, _values, result)
2111
+ module_eval(<<'.,.,', 'grammar.ra', 595)
2112
+ def _reduce_184(val, _values, result)
2004
2113
  result = ast AST::Default, :value => val[0][:value], :line => val[0][:line]
2005
2114
 
2006
2115
  result
2007
2116
  end
2008
2117
  .,.,
2009
2118
 
2010
- # reduce 164 omitted
2119
+ # reduce 185 omitted
2011
2120
 
2012
- module_eval(<<'.,.,', 'grammar.ra', 561)
2013
- def _reduce_165(val, _values, result)
2121
+ module_eval(<<'.,.,', 'grammar.ra', 600)
2122
+ def _reduce_186(val, _values, result)
2014
2123
  result = [val[0][:value]]
2015
2124
  result
2016
2125
  end
2017
2126
  .,.,
2018
2127
 
2019
- # reduce 166 omitted
2128
+ # reduce 187 omitted
2020
2129
 
2021
- module_eval(<<'.,.,', 'grammar.ra', 563)
2022
- def _reduce_167(val, _values, result)
2130
+ module_eval(<<'.,.,', 'grammar.ra', 602)
2131
+ def _reduce_188(val, _values, result)
2023
2132
  result = val[0] += val[2]
2024
2133
  result
2025
2134
  end
2026
2135
  .,.,
2027
2136
 
2028
- module_eval(<<'.,.,', 'grammar.ra', 566)
2029
- def _reduce_168(val, _values, result)
2137
+ module_eval(<<'.,.,', 'grammar.ra', 605)
2138
+ def _reduce_189(val, _values, result)
2030
2139
  val[1].each do |file|
2031
2140
  import(file)
2032
2141
  end
@@ -2037,8 +2146,8 @@ module_eval(<<'.,.,', 'grammar.ra', 566)
2037
2146
  end
2038
2147
  .,.,
2039
2148
 
2040
- module_eval(<<'.,.,', 'grammar.ra', 576)
2041
- def _reduce_169(val, _values, result)
2149
+ module_eval(<<'.,.,', 'grammar.ra', 615)
2150
+ def _reduce_190(val, _values, result)
2042
2151
  @lexer.commentpop
2043
2152
  result = Puppet::Parser::AST::Definition.new(classname(val[1]),
2044
2153
  ast_context(true).merge(:arguments => val[2], :code => val[4],
@@ -2051,8 +2160,8 @@ module_eval(<<'.,.,', 'grammar.ra', 576)
2051
2160
  end
2052
2161
  .,.,
2053
2162
 
2054
- module_eval(<<'.,.,', 'grammar.ra', 584)
2055
- def _reduce_170(val, _values, result)
2163
+ module_eval(<<'.,.,', 'grammar.ra', 623)
2164
+ def _reduce_191(val, _values, result)
2056
2165
  @lexer.commentpop
2057
2166
  result = Puppet::Parser::AST::Definition.new(classname(val[1]),
2058
2167
  ast_context(true).merge(:arguments => val[2], :line => val[0][:line]))
@@ -2062,8 +2171,8 @@ module_eval(<<'.,.,', 'grammar.ra', 584)
2062
2171
  end
2063
2172
  .,.,
2064
2173
 
2065
- module_eval(<<'.,.,', 'grammar.ra', 592)
2066
- def _reduce_171(val, _values, result)
2174
+ module_eval(<<'.,.,', 'grammar.ra', 631)
2175
+ def _reduce_192(val, _values, result)
2067
2176
  @lexer.commentpop
2068
2177
  # Our class gets defined in the parent namespace, not our own.
2069
2178
  @lexer.namepop
@@ -2075,8 +2184,8 @@ module_eval(<<'.,.,', 'grammar.ra', 592)
2075
2184
  end
2076
2185
  .,.,
2077
2186
 
2078
- module_eval(<<'.,.,', 'grammar.ra', 599)
2079
- def _reduce_172(val, _values, result)
2187
+ module_eval(<<'.,.,', 'grammar.ra', 638)
2188
+ def _reduce_193(val, _values, result)
2080
2189
  @lexer.commentpop
2081
2190
  # Our class gets defined in the parent namespace, not our own.
2082
2191
  @lexer.namepop
@@ -2088,8 +2197,8 @@ module_eval(<<'.,.,', 'grammar.ra', 599)
2088
2197
  end
2089
2198
  .,.,
2090
2199
 
2091
- module_eval(<<'.,.,', 'grammar.ra', 608)
2092
- def _reduce_173(val, _values, result)
2200
+ module_eval(<<'.,.,', 'grammar.ra', 647)
2201
+ def _reduce_194(val, _values, result)
2093
2202
  @lexer.commentpop
2094
2203
  result = Puppet::Parser::AST::Node.new(val[1],
2095
2204
  ast_context(true).merge(:parent => val[2], :code => val[4],
@@ -2099,8 +2208,8 @@ module_eval(<<'.,.,', 'grammar.ra', 608)
2099
2208
  end
2100
2209
  .,.,
2101
2210
 
2102
- module_eval(<<'.,.,', 'grammar.ra', 613)
2103
- def _reduce_174(val, _values, result)
2211
+ module_eval(<<'.,.,', 'grammar.ra', 652)
2212
+ def _reduce_195(val, _values, result)
2104
2213
  @lexer.commentpop
2105
2214
  result = Puppet::Parser::AST::Node.new(val[1], ast_context(true).merge(:parent => val[2], :line => val[0][:line]))
2106
2215
 
@@ -2108,30 +2217,30 @@ module_eval(<<'.,.,', 'grammar.ra', 613)
2108
2217
  end
2109
2218
  .,.,
2110
2219
 
2111
- module_eval(<<'.,.,', 'grammar.ra', 617)
2112
- def _reduce_175(val, _values, result)
2220
+ module_eval(<<'.,.,', 'grammar.ra', 656)
2221
+ def _reduce_196(val, _values, result)
2113
2222
  result = val[0][:value]
2114
2223
  result
2115
2224
  end
2116
2225
  .,.,
2117
2226
 
2118
- module_eval(<<'.,.,', 'grammar.ra', 618)
2119
- def _reduce_176(val, _values, result)
2227
+ module_eval(<<'.,.,', 'grammar.ra', 657)
2228
+ def _reduce_197(val, _values, result)
2120
2229
  result = "class"
2121
2230
  result
2122
2231
  end
2123
2232
  .,.,
2124
2233
 
2125
- module_eval(<<'.,.,', 'grammar.ra', 623)
2126
- def _reduce_177(val, _values, result)
2234
+ module_eval(<<'.,.,', 'grammar.ra', 662)
2235
+ def _reduce_198(val, _values, result)
2127
2236
  result = [result]
2128
2237
 
2129
2238
  result
2130
2239
  end
2131
2240
  .,.,
2132
2241
 
2133
- module_eval(<<'.,.,', 'grammar.ra', 626)
2134
- def _reduce_178(val, _values, result)
2242
+ module_eval(<<'.,.,', 'grammar.ra', 665)
2243
+ def _reduce_199(val, _values, result)
2135
2244
  result = val[0]
2136
2245
  result << val[2]
2137
2246
 
@@ -2139,65 +2248,65 @@ module_eval(<<'.,.,', 'grammar.ra', 626)
2139
2248
  end
2140
2249
  .,.,
2141
2250
 
2142
- module_eval(<<'.,.,', 'grammar.ra', 631)
2143
- def _reduce_179(val, _values, result)
2251
+ module_eval(<<'.,.,', 'grammar.ra', 670)
2252
+ def _reduce_200(val, _values, result)
2144
2253
  result = ast AST::HostName, :value => val[0]
2145
2254
 
2146
2255
  result
2147
2256
  end
2148
2257
  .,.,
2149
2258
 
2150
- module_eval(<<'.,.,', 'grammar.ra', 634)
2151
- def _reduce_180(val, _values, result)
2259
+ module_eval(<<'.,.,', 'grammar.ra', 673)
2260
+ def _reduce_201(val, _values, result)
2152
2261
  result = val[0][:value]
2153
2262
  result
2154
2263
  end
2155
2264
  .,.,
2156
2265
 
2157
- module_eval(<<'.,.,', 'grammar.ra', 635)
2158
- def _reduce_181(val, _values, result)
2266
+ module_eval(<<'.,.,', 'grammar.ra', 674)
2267
+ def _reduce_202(val, _values, result)
2159
2268
  result = val[0][:value]
2160
2269
  result
2161
2270
  end
2162
2271
  .,.,
2163
2272
 
2164
- module_eval(<<'.,.,', 'grammar.ra', 636)
2165
- def _reduce_182(val, _values, result)
2273
+ module_eval(<<'.,.,', 'grammar.ra', 675)
2274
+ def _reduce_203(val, _values, result)
2166
2275
  result = val[0][:value]
2167
2276
  result
2168
2277
  end
2169
2278
  .,.,
2170
2279
 
2171
- # reduce 183 omitted
2280
+ # reduce 204 omitted
2172
2281
 
2173
- module_eval(<<'.,.,', 'grammar.ra', 640)
2174
- def _reduce_184(val, _values, result)
2282
+ module_eval(<<'.,.,', 'grammar.ra', 679)
2283
+ def _reduce_205(val, _values, result)
2175
2284
  result = nil
2176
2285
 
2177
2286
  result
2178
2287
  end
2179
2288
  .,.,
2180
2289
 
2181
- module_eval(<<'.,.,', 'grammar.ra', 644)
2182
- def _reduce_185(val, _values, result)
2290
+ module_eval(<<'.,.,', 'grammar.ra', 683)
2291
+ def _reduce_206(val, _values, result)
2183
2292
  result = ast AST::ASTArray, :children => []
2184
2293
 
2185
2294
  result
2186
2295
  end
2187
2296
  .,.,
2188
2297
 
2189
- # reduce 186 omitted
2298
+ # reduce 207 omitted
2190
2299
 
2191
- module_eval(<<'.,.,', 'grammar.ra', 649)
2192
- def _reduce_187(val, _values, result)
2300
+ module_eval(<<'.,.,', 'grammar.ra', 688)
2301
+ def _reduce_208(val, _values, result)
2193
2302
  result = nil
2194
2303
 
2195
2304
  result
2196
2305
  end
2197
2306
  .,.,
2198
2307
 
2199
- module_eval(<<'.,.,', 'grammar.ra', 652)
2200
- def _reduce_188(val, _values, result)
2308
+ module_eval(<<'.,.,', 'grammar.ra', 691)
2309
+ def _reduce_209(val, _values, result)
2201
2310
  result = val[1]
2202
2311
  result = [result] unless result[0].is_a?(Array)
2203
2312
 
@@ -2205,10 +2314,10 @@ module_eval(<<'.,.,', 'grammar.ra', 652)
2205
2314
  end
2206
2315
  .,.,
2207
2316
 
2208
- # reduce 189 omitted
2317
+ # reduce 210 omitted
2209
2318
 
2210
- module_eval(<<'.,.,', 'grammar.ra', 658)
2211
- def _reduce_190(val, _values, result)
2319
+ module_eval(<<'.,.,', 'grammar.ra', 697)
2320
+ def _reduce_211(val, _values, result)
2212
2321
  result = val[0]
2213
2322
  result = [result] unless result[0].is_a?(Array)
2214
2323
  result << val[2]
@@ -2217,116 +2326,96 @@ module_eval(<<'.,.,', 'grammar.ra', 658)
2217
2326
  end
2218
2327
  .,.,
2219
2328
 
2220
- module_eval(<<'.,.,', 'grammar.ra', 664)
2221
- def _reduce_191(val, _values, result)
2222
- Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
2223
- result = [val[0][:value], val[2]]
2224
-
2225
- result
2226
- end
2227
- .,.,
2228
-
2229
- module_eval(<<'.,.,', 'grammar.ra', 668)
2230
- def _reduce_192(val, _values, result)
2231
- Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
2232
- result = [val[0][:value]]
2233
-
2234
- result
2235
- end
2236
- .,.,
2237
-
2238
- module_eval(<<'.,.,', 'grammar.ra', 671)
2239
- def _reduce_193(val, _values, result)
2240
- result = [val[0][:value], val[2]]
2241
-
2329
+ module_eval(<<'.,.,', 'grammar.ra', 703)
2330
+ def _reduce_212(val, _values, result)
2331
+ result = [val[0][:value], val[2]]
2242
2332
  result
2243
2333
  end
2244
2334
  .,.,
2245
2335
 
2246
- module_eval(<<'.,.,', 'grammar.ra', 673)
2247
- def _reduce_194(val, _values, result)
2248
- result = [val[0][:value]]
2249
-
2336
+ module_eval(<<'.,.,', 'grammar.ra', 704)
2337
+ def _reduce_213(val, _values, result)
2338
+ result = [val[0][:value]]
2250
2339
  result
2251
2340
  end
2252
2341
  .,.,
2253
2342
 
2254
- # reduce 195 omitted
2343
+ # reduce 214 omitted
2255
2344
 
2256
- module_eval(<<'.,.,', 'grammar.ra', 678)
2257
- def _reduce_196(val, _values, result)
2345
+ module_eval(<<'.,.,', 'grammar.ra', 708)
2346
+ def _reduce_215(val, _values, result)
2258
2347
  result = val[1]
2259
2348
 
2260
2349
  result
2261
2350
  end
2262
2351
  .,.,
2263
2352
 
2264
- # reduce 197 omitted
2353
+ # reduce 216 omitted
2265
2354
 
2266
- module_eval(<<'.,.,', 'grammar.ra', 683)
2267
- def _reduce_198(val, _values, result)
2355
+ module_eval(<<'.,.,', 'grammar.ra', 713)
2356
+ def _reduce_217(val, _values, result)
2268
2357
  result = val[1]
2269
2358
 
2270
2359
  result
2271
2360
  end
2272
2361
  .,.,
2273
2362
 
2274
- # reduce 199 omitted
2363
+ # reduce 218 omitted
2275
2364
 
2276
- # reduce 200 omitted
2365
+ # reduce 219 omitted
2277
2366
 
2278
- module_eval(<<'.,.,', 'grammar.ra', 689)
2279
- def _reduce_201(val, _values, result)
2367
+ module_eval(<<'.,.,', 'grammar.ra', 719)
2368
+ def _reduce_220(val, _values, result)
2280
2369
  result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
2281
2370
 
2282
2371
  result
2283
2372
  end
2284
2373
  .,.,
2285
2374
 
2286
- module_eval(<<'.,.,', 'grammar.ra', 692)
2287
- def _reduce_202(val, _values, result)
2375
+ module_eval(<<'.,.,', 'grammar.ra', 722)
2376
+ def _reduce_221(val, _values, result)
2288
2377
  result = val[1]
2289
2378
  result
2290
2379
  end
2291
2380
  .,.,
2292
2381
 
2293
- module_eval(<<'.,.,', 'grammar.ra', 693)
2294
- def _reduce_203(val, _values, result)
2382
+ module_eval(<<'.,.,', 'grammar.ra', 723)
2383
+ def _reduce_222(val, _values, result)
2295
2384
  result = val[1]
2296
2385
  result
2297
2386
  end
2298
2387
  .,.,
2299
2388
 
2300
- module_eval(<<'.,.,', 'grammar.ra', 694)
2301
- def _reduce_204(val, _values, result)
2389
+ module_eval(<<'.,.,', 'grammar.ra', 724)
2390
+ def _reduce_223(val, _values, result)
2302
2391
  result = ast AST::ASTArray
2303
2392
  result
2304
2393
  end
2305
2394
  .,.,
2306
2395
 
2307
- # reduce 205 omitted
2396
+ # reduce 224 omitted
2308
2397
 
2309
- # reduce 206 omitted
2398
+ # reduce 225 omitted
2310
2399
 
2311
- # reduce 207 omitted
2400
+ # reduce 226 omitted
2312
2401
 
2313
- module_eval(<<'.,.,', 'grammar.ra', 700)
2314
- def _reduce_208(val, _values, result)
2402
+ module_eval(<<'.,.,', 'grammar.ra', 730)
2403
+ def _reduce_227(val, _values, result)
2315
2404
  result = nil
2316
2405
  result
2317
2406
  end
2318
2407
  .,.,
2319
2408
 
2320
- module_eval(<<'.,.,', 'grammar.ra', 703)
2321
- def _reduce_209(val, _values, result)
2409
+ module_eval(<<'.,.,', 'grammar.ra', 733)
2410
+ def _reduce_228(val, _values, result)
2322
2411
  result = ast AST::Regex, :value => val[0][:value]
2323
2412
 
2324
2413
  result
2325
2414
  end
2326
2415
  .,.,
2327
2416
 
2328
- module_eval(<<'.,.,', 'grammar.ra', 707)
2329
- def _reduce_210(val, _values, result)
2417
+ module_eval(<<'.,.,', 'grammar.ra', 737)
2418
+ def _reduce_229(val, _values, result)
2330
2419
  if val[1].instance_of?(AST::ASTHash)
2331
2420
  result = val[1]
2332
2421
  else
@@ -2337,8 +2426,8 @@ module_eval(<<'.,.,', 'grammar.ra', 707)
2337
2426
  end
2338
2427
  .,.,
2339
2428
 
2340
- module_eval(<<'.,.,', 'grammar.ra', 714)
2341
- def _reduce_211(val, _values, result)
2429
+ module_eval(<<'.,.,', 'grammar.ra', 744)
2430
+ def _reduce_230(val, _values, result)
2342
2431
  if val[1].instance_of?(AST::ASTHash)
2343
2432
  result = val[1]
2344
2433
  else
@@ -2349,18 +2438,18 @@ module_eval(<<'.,.,', 'grammar.ra', 714)
2349
2438
  end
2350
2439
  .,.,
2351
2440
 
2352
- module_eval(<<'.,.,', 'grammar.ra', 720)
2353
- def _reduce_212(val, _values, result)
2441
+ module_eval(<<'.,.,', 'grammar.ra', 750)
2442
+ def _reduce_231(val, _values, result)
2354
2443
  result = ast AST::ASTHash
2355
2444
 
2356
2445
  result
2357
2446
  end
2358
2447
  .,.,
2359
2448
 
2360
- # reduce 213 omitted
2449
+ # reduce 232 omitted
2361
2450
 
2362
- module_eval(<<'.,.,', 'grammar.ra', 725)
2363
- def _reduce_214(val, _values, result)
2451
+ module_eval(<<'.,.,', 'grammar.ra', 755)
2452
+ def _reduce_233(val, _values, result)
2364
2453
  if val[0].instance_of?(AST::ASTHash)
2365
2454
  result = val[0].merge(val[2])
2366
2455
  else
@@ -2372,40 +2461,40 @@ module_eval(<<'.,.,', 'grammar.ra', 725)
2372
2461
  end
2373
2462
  .,.,
2374
2463
 
2375
- module_eval(<<'.,.,', 'grammar.ra', 734)
2376
- def _reduce_215(val, _values, result)
2464
+ module_eval(<<'.,.,', 'grammar.ra', 764)
2465
+ def _reduce_234(val, _values, result)
2377
2466
  result = ast AST::ASTHash, { :value => { val[0] => val[2] } }
2378
2467
 
2379
2468
  result
2380
2469
  end
2381
2470
  .,.,
2382
2471
 
2383
- module_eval(<<'.,.,', 'grammar.ra', 737)
2384
- def _reduce_216(val, _values, result)
2472
+ module_eval(<<'.,.,', 'grammar.ra', 767)
2473
+ def _reduce_235(val, _values, result)
2385
2474
  result = val[0][:value]
2386
2475
  result
2387
2476
  end
2388
2477
  .,.,
2389
2478
 
2390
- module_eval(<<'.,.,', 'grammar.ra', 738)
2391
- def _reduce_217(val, _values, result)
2479
+ module_eval(<<'.,.,', 'grammar.ra', 768)
2480
+ def _reduce_236(val, _values, result)
2392
2481
  result = val[0]
2393
2482
  result
2394
2483
  end
2395
2484
  .,.,
2396
2485
 
2397
- module_eval(<<'.,.,', 'grammar.ra', 741)
2398
- def _reduce_218(val, _values, result)
2486
+ module_eval(<<'.,.,', 'grammar.ra', 771)
2487
+ def _reduce_237(val, _values, result)
2399
2488
  result = ast AST::HashOrArrayAccess, :variable => val[0][:value], :key => val[2]
2400
2489
 
2401
2490
  result
2402
2491
  end
2403
2492
  .,.,
2404
2493
 
2405
- # reduce 219 omitted
2494
+ # reduce 238 omitted
2406
2495
 
2407
- module_eval(<<'.,.,', 'grammar.ra', 746)
2408
- def _reduce_220(val, _values, result)
2496
+ module_eval(<<'.,.,', 'grammar.ra', 776)
2497
+ def _reduce_239(val, _values, result)
2409
2498
  result = ast AST::HashOrArrayAccess, :variable => val[0], :key => val[2]
2410
2499
 
2411
2500
  result