puppet 3.7.0-x64-mingw32

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 (2487) hide show
  1. checksums.yaml +7 -0
  2. data/COMMITTERS.md +244 -0
  3. data/CONTRIBUTING.md +91 -0
  4. data/Gemfile +100 -0
  5. data/LICENSE +17 -0
  6. data/README.md +76 -0
  7. data/Rakefile +68 -0
  8. data/bin/extlookup2hiera +56 -0
  9. data/bin/puppet +8 -0
  10. data/conf/auth.conf +120 -0
  11. data/conf/fileserver.conf +42 -0
  12. data/conf/tagmail.conf +16 -0
  13. data/examples/hiera/README.md +91 -0
  14. data/examples/hiera/etc/hiera.yaml +15 -0
  15. data/examples/hiera/etc/hieradb/common.yaml +3 -0
  16. data/examples/hiera/etc/hieradb/dc1.yaml +6 -0
  17. data/examples/hiera/etc/hieradb/development.yaml +2 -0
  18. data/examples/hiera/etc/puppet.conf +3 -0
  19. data/examples/hiera/modules/data/manifests/common.pp +4 -0
  20. data/examples/hiera/modules/ntp/manifests/config.pp +6 -0
  21. data/examples/hiera/modules/ntp/manifests/data.pp +4 -0
  22. data/examples/hiera/modules/ntp/templates/ntp.conf.erb +3 -0
  23. data/examples/hiera/modules/users/manifests/common.pp +4 -0
  24. data/examples/hiera/modules/users/manifests/dc1.pp +4 -0
  25. data/examples/hiera/modules/users/manifests/development.pp +4 -0
  26. data/examples/hiera/site.pp +3 -0
  27. data/ext/README.environment +8 -0
  28. data/ext/autotest/Rakefile +8 -0
  29. data/ext/autotest/config +43 -0
  30. data/ext/autotest/readme.rst +16 -0
  31. data/ext/build_defaults.yaml +38 -0
  32. data/ext/cert_inspector +140 -0
  33. data/ext/dbfix.sql +132 -0
  34. data/ext/debian/README.Debian +8 -0
  35. data/ext/debian/README.source +2 -0
  36. data/ext/debian/TODO.Debian +1 -0
  37. data/ext/debian/changelog.erb +1122 -0
  38. data/ext/debian/compat +1 -0
  39. data/ext/debian/control +144 -0
  40. data/ext/debian/copyright +361 -0
  41. data/ext/debian/docs +1 -0
  42. data/ext/debian/fileserver.conf +41 -0
  43. data/ext/debian/puppet-common.dirs +13 -0
  44. data/ext/debian/puppet-common.install +4 -0
  45. data/ext/debian/puppet-common.lintian-overrides +5 -0
  46. data/ext/debian/puppet-common.manpages +35 -0
  47. data/ext/debian/puppet-common.postinst +35 -0
  48. data/ext/debian/puppet-common.postrm +33 -0
  49. data/ext/debian/puppet-el.dirs +1 -0
  50. data/ext/debian/puppet-el.emacsen-install +25 -0
  51. data/ext/debian/puppet-el.emacsen-remove +11 -0
  52. data/ext/debian/puppet-el.emacsen-startup +9 -0
  53. data/ext/debian/puppet-el.install +1 -0
  54. data/ext/debian/puppet-testsuite.install +2 -0
  55. data/ext/debian/puppet-testsuite.lintian-overrides +4 -0
  56. data/ext/debian/puppet.conf +14 -0
  57. data/ext/debian/puppet.default +9 -0
  58. data/ext/debian/puppet.init +117 -0
  59. data/ext/debian/puppet.lintian-overrides +3 -0
  60. data/ext/debian/puppet.logrotate +12 -0
  61. data/ext/debian/puppet.postinst +20 -0
  62. data/ext/debian/puppet.postrm +20 -0
  63. data/ext/debian/puppet.preinst +20 -0
  64. data/ext/debian/puppetmaster-common.install +2 -0
  65. data/ext/debian/puppetmaster-common.manpages +2 -0
  66. data/ext/debian/puppetmaster-common.puppetqd.default +27 -0
  67. data/ext/debian/puppetmaster-common.puppetqd.init +84 -0
  68. data/ext/debian/puppetmaster-passenger.dirs +4 -0
  69. data/ext/debian/puppetmaster-passenger.postinst +162 -0
  70. data/ext/debian/puppetmaster-passenger.postrm +61 -0
  71. data/ext/debian/puppetmaster.README.debian +15 -0
  72. data/ext/debian/puppetmaster.default +14 -0
  73. data/ext/debian/puppetmaster.init +137 -0
  74. data/ext/debian/puppetmaster.lintian-overrides +3 -0
  75. data/ext/debian/puppetmaster.postinst +20 -0
  76. data/ext/debian/puppetmaster.postrm +5 -0
  77. data/ext/debian/puppetmaster.preinst +22 -0
  78. data/ext/debian/rules +129 -0
  79. data/ext/debian/source/format +1 -0
  80. data/ext/debian/source/options +1 -0
  81. data/ext/debian/vim-puppet.README.Debian +13 -0
  82. data/ext/debian/vim-puppet.dirs +3 -0
  83. data/ext/debian/vim-puppet.yaml +5 -0
  84. data/ext/debian/watch +2 -0
  85. data/ext/emacs/puppet-mode-init.el +6 -0
  86. data/ext/emacs/puppet-mode.el +434 -0
  87. data/ext/envpuppet +139 -0
  88. data/ext/envpuppet.bat +14 -0
  89. data/ext/freebsd/puppetd +26 -0
  90. data/ext/freebsd/puppetmasterd +26 -0
  91. data/ext/gentoo/conf.d/puppet +5 -0
  92. data/ext/gentoo/conf.d/puppetmaster +12 -0
  93. data/ext/gentoo/init.d/puppet +38 -0
  94. data/ext/gentoo/init.d/puppetmaster +51 -0
  95. data/ext/gentoo/puppet/fileserver.conf +41 -0
  96. data/ext/gentoo/puppet/puppet.conf +25 -0
  97. data/ext/ips/puppet-agent +44 -0
  98. data/ext/ips/puppet-master +44 -0
  99. data/ext/ips/puppet.conf +29 -0
  100. data/ext/ips/puppet.p5m.erb +12 -0
  101. data/ext/ips/puppetagent.xml +42 -0
  102. data/ext/ips/puppetmaster.xml +42 -0
  103. data/ext/ips/rules +19 -0
  104. data/ext/ips/transforms +34 -0
  105. data/ext/ldap/puppet.schema +24 -0
  106. data/ext/logcheck/puppet +23 -0
  107. data/ext/nagios/check_puppet.rb +123 -0
  108. data/ext/nagios/naggen +309 -0
  109. data/ext/osx/file_mapping.yaml +33 -0
  110. data/ext/osx/postflight.erb +109 -0
  111. data/ext/osx/preflight.erb +52 -0
  112. data/ext/osx/prototype.plist.erb +38 -0
  113. data/ext/project_data.yaml +50 -0
  114. data/ext/puppet-load.rb +393 -0
  115. data/ext/puppet-nm-dispatcher +13 -0
  116. data/ext/puppet-test +566 -0
  117. data/ext/puppetlisten/puppetlisten.rb +75 -0
  118. data/ext/puppetlisten/puppetrun.rb +38 -0
  119. data/ext/pure_ruby_dsl/dsl_test.rb +7 -0
  120. data/ext/rack/config.ru +36 -0
  121. data/ext/rack/example-passenger-vhost.conf +57 -0
  122. data/ext/redhat/client.init +119 -0
  123. data/ext/redhat/client.sysconfig +11 -0
  124. data/ext/redhat/fileserver.conf +41 -0
  125. data/ext/redhat/logrotate +10 -0
  126. data/ext/redhat/puppet.conf +25 -0
  127. data/ext/redhat/puppet.spec.erb +860 -0
  128. data/ext/redhat/queue.init +105 -0
  129. data/ext/redhat/server.init +128 -0
  130. data/ext/redhat/server.sysconfig +13 -0
  131. data/ext/regexp_nodes/classes/databases +2 -0
  132. data/ext/regexp_nodes/classes/webservers +2 -0
  133. data/ext/regexp_nodes/environment/development +2 -0
  134. data/ext/regexp_nodes/parameters/service/prod +1 -0
  135. data/ext/regexp_nodes/parameters/service/qa +3 -0
  136. data/ext/regexp_nodes/parameters/service/sandbox +1 -0
  137. data/ext/regexp_nodes/regexp_nodes.rb +271 -0
  138. data/ext/solaris/pkginfo +6 -0
  139. data/ext/solaris/smf/puppetd.xml +77 -0
  140. data/ext/solaris/smf/puppetmasterd.xml +77 -0
  141. data/ext/solaris/smf/svc-puppetd +64 -0
  142. data/ext/solaris/smf/svc-puppetmasterd +60 -0
  143. data/ext/suse/client.init +144 -0
  144. data/ext/suse/puppet.spec +310 -0
  145. data/ext/suse/server.init +173 -0
  146. data/ext/systemd/puppet.service +12 -0
  147. data/ext/systemd/puppetmaster.service +11 -0
  148. data/ext/upload_facts.rb +119 -0
  149. data/ext/vim/README +3 -0
  150. data/ext/vim/ftdetect/puppet.vim +2 -0
  151. data/ext/vim/ftplugin/puppet.vim +94 -0
  152. data/ext/vim/indent/puppet.vim +76 -0
  153. data/ext/vim/syntax/puppet.vim +115 -0
  154. data/ext/windows/eventlog/Rakefile +32 -0
  155. data/ext/windows/eventlog/puppetres.dll +0 -0
  156. data/ext/windows/eventlog/puppetres.mc +18 -0
  157. data/ext/windows/service/daemon.bat +6 -0
  158. data/ext/windows/service/daemon.rb +175 -0
  159. data/ext/yaml_nodes.rb +105 -0
  160. data/install.rb +429 -0
  161. data/lib/hiera/backend/puppet_backend.rb +103 -0
  162. data/lib/hiera/scope.rb +60 -0
  163. data/lib/hiera_puppet.rb +87 -0
  164. data/lib/puppet.rb +277 -0
  165. data/lib/puppet/agent.rb +121 -0
  166. data/lib/puppet/agent/disabler.rb +53 -0
  167. data/lib/puppet/agent/locker.rb +43 -0
  168. data/lib/puppet/application.rb +516 -0
  169. data/lib/puppet/application/agent.rb +480 -0
  170. data/lib/puppet/application/apply.rb +299 -0
  171. data/lib/puppet/application/ca.rb +5 -0
  172. data/lib/puppet/application/catalog.rb +4 -0
  173. data/lib/puppet/application/cert.rb +277 -0
  174. data/lib/puppet/application/certificate.rb +15 -0
  175. data/lib/puppet/application/certificate_request.rb +7 -0
  176. data/lib/puppet/application/certificate_revocation_list.rb +7 -0
  177. data/lib/puppet/application/config.rb +4 -0
  178. data/lib/puppet/application/describe.rb +254 -0
  179. data/lib/puppet/application/device.rb +238 -0
  180. data/lib/puppet/application/doc.rb +273 -0
  181. data/lib/puppet/application/face_base.rb +250 -0
  182. data/lib/puppet/application/facts.rb +4 -0
  183. data/lib/puppet/application/file.rb +4 -0
  184. data/lib/puppet/application/filebucket.rb +184 -0
  185. data/lib/puppet/application/help.rb +4 -0
  186. data/lib/puppet/application/indirection_base.rb +4 -0
  187. data/lib/puppet/application/inspect.rb +179 -0
  188. data/lib/puppet/application/instrumentation_data.rb +7 -0
  189. data/lib/puppet/application/instrumentation_listener.rb +7 -0
  190. data/lib/puppet/application/instrumentation_probe.rb +7 -0
  191. data/lib/puppet/application/key.rb +4 -0
  192. data/lib/puppet/application/kick.rb +351 -0
  193. data/lib/puppet/application/man.rb +4 -0
  194. data/lib/puppet/application/master.rb +304 -0
  195. data/lib/puppet/application/module.rb +4 -0
  196. data/lib/puppet/application/node.rb +4 -0
  197. data/lib/puppet/application/parser.rb +5 -0
  198. data/lib/puppet/application/plugin.rb +3 -0
  199. data/lib/puppet/application/queue.rb +161 -0
  200. data/lib/puppet/application/report.rb +4 -0
  201. data/lib/puppet/application/resource.rb +228 -0
  202. data/lib/puppet/application/resource_type.rb +7 -0
  203. data/lib/puppet/application/secret_agent.rb +9 -0
  204. data/lib/puppet/application/status.rb +4 -0
  205. data/lib/puppet/bindings.rb +147 -0
  206. data/lib/puppet/coercion.rb +40 -0
  207. data/lib/puppet/configurer.rb +303 -0
  208. data/lib/puppet/configurer/downloader.rb +66 -0
  209. data/lib/puppet/configurer/downloader_factory.rb +34 -0
  210. data/lib/puppet/configurer/fact_handler.rb +37 -0
  211. data/lib/puppet/configurer/plugin_handler.rb +23 -0
  212. data/lib/puppet/confine.rb +80 -0
  213. data/lib/puppet/confine/any.rb +26 -0
  214. data/lib/puppet/confine/exists.rb +19 -0
  215. data/lib/puppet/confine/false.rb +19 -0
  216. data/lib/puppet/confine/feature.rb +17 -0
  217. data/lib/puppet/confine/true.rb +20 -0
  218. data/lib/puppet/confine/variable.rb +59 -0
  219. data/lib/puppet/confine_collection.rb +50 -0
  220. data/lib/puppet/confiner.rb +46 -0
  221. data/lib/puppet/context.rb +101 -0
  222. data/lib/puppet/context/trusted_information.rb +56 -0
  223. data/lib/puppet/daemon.rb +182 -0
  224. data/lib/puppet/data_binding.rb +12 -0
  225. data/lib/puppet/defaults.rb +2091 -0
  226. data/lib/puppet/dsl.rb +7 -0
  227. data/lib/puppet/dsl/resource_api.rb +120 -0
  228. data/lib/puppet/dsl/resource_type_api.rb +34 -0
  229. data/lib/puppet/environments.rb +367 -0
  230. data/lib/puppet/error.rb +62 -0
  231. data/lib/puppet/external/dot.rb +326 -0
  232. data/lib/puppet/external/nagios.rb +46 -0
  233. data/lib/puppet/external/nagios/base.rb +472 -0
  234. data/lib/puppet/external/nagios/grammar.ry +248 -0
  235. data/lib/puppet/external/nagios/makefile +9 -0
  236. data/lib/puppet/external/nagios/parser.rb +400 -0
  237. data/lib/puppet/external/pson/common.rb +385 -0
  238. data/lib/puppet/external/pson/pure.rb +15 -0
  239. data/lib/puppet/external/pson/pure/generator.rb +394 -0
  240. data/lib/puppet/external/pson/pure/parser.rb +318 -0
  241. data/lib/puppet/external/pson/version.rb +8 -0
  242. data/lib/puppet/face.rb +12 -0
  243. data/lib/puppet/face/ca.rb +254 -0
  244. data/lib/puppet/face/catalog.rb +130 -0
  245. data/lib/puppet/face/catalog/select.rb +49 -0
  246. data/lib/puppet/face/certificate.rb +160 -0
  247. data/lib/puppet/face/certificate_request.rb +53 -0
  248. data/lib/puppet/face/certificate_revocation_list.rb +58 -0
  249. data/lib/puppet/face/config.rb +119 -0
  250. data/lib/puppet/face/facts.rb +81 -0
  251. data/lib/puppet/face/file.rb +47 -0
  252. data/lib/puppet/face/file/download.rb +57 -0
  253. data/lib/puppet/face/file/store.rb +21 -0
  254. data/lib/puppet/face/help.rb +194 -0
  255. data/lib/puppet/face/help/action.erb +86 -0
  256. data/lib/puppet/face/help/face.erb +111 -0
  257. data/lib/puppet/face/help/global.erb +16 -0
  258. data/lib/puppet/face/help/man.erb +152 -0
  259. data/lib/puppet/face/instrumentation_data.rb +30 -0
  260. data/lib/puppet/face/instrumentation_listener.rb +98 -0
  261. data/lib/puppet/face/instrumentation_probe.rb +79 -0
  262. data/lib/puppet/face/key.rb +15 -0
  263. data/lib/puppet/face/man.rb +99 -0
  264. data/lib/puppet/face/module.rb +19 -0
  265. data/lib/puppet/face/module/build.rb +63 -0
  266. data/lib/puppet/face/module/changes.rb +41 -0
  267. data/lib/puppet/face/module/generate.rb +251 -0
  268. data/lib/puppet/face/module/install.rb +145 -0
  269. data/lib/puppet/face/module/list.rb +275 -0
  270. data/lib/puppet/face/module/search.rb +94 -0
  271. data/lib/puppet/face/module/uninstall.rb +78 -0
  272. data/lib/puppet/face/module/upgrade.rb +86 -0
  273. data/lib/puppet/face/node.rb +43 -0
  274. data/lib/puppet/face/node/clean.rb +159 -0
  275. data/lib/puppet/face/parser.rb +160 -0
  276. data/lib/puppet/face/plugin.rb +65 -0
  277. data/lib/puppet/face/report.rb +54 -0
  278. data/lib/puppet/face/resource.rb +53 -0
  279. data/lib/puppet/face/resource_type.rb +81 -0
  280. data/lib/puppet/face/secret_agent.rb +54 -0
  281. data/lib/puppet/face/status.rb +53 -0
  282. data/lib/puppet/feature/base.rb +94 -0
  283. data/lib/puppet/feature/cfacter.rb +14 -0
  284. data/lib/puppet/feature/eventlog.rb +5 -0
  285. data/lib/puppet/feature/external_facts.rb +5 -0
  286. data/lib/puppet/feature/libuser.rb +8 -0
  287. data/lib/puppet/feature/msgpack.rb +3 -0
  288. data/lib/puppet/feature/pe_license.rb +4 -0
  289. data/lib/puppet/feature/pson.rb +4 -0
  290. data/lib/puppet/feature/rack.rb +19 -0
  291. data/lib/puppet/feature/rails.rb +47 -0
  292. data/lib/puppet/feature/rdoc1.rb +16 -0
  293. data/lib/puppet/feature/rubygems.rb +7 -0
  294. data/lib/puppet/feature/selinux.rb +3 -0
  295. data/lib/puppet/feature/ssh.rb +3 -0
  296. data/lib/puppet/feature/stomp.rb +5 -0
  297. data/lib/puppet/feature/zlib.rb +5 -0
  298. data/lib/puppet/file_bucket.rb +4 -0
  299. data/lib/puppet/file_bucket/dipper.rb +119 -0
  300. data/lib/puppet/file_bucket/file.rb +157 -0
  301. data/lib/puppet/file_collection.rb +19 -0
  302. data/lib/puppet/file_collection/lookup.rb +10 -0
  303. data/lib/puppet/file_serving.rb +3 -0
  304. data/lib/puppet/file_serving/base.rb +95 -0
  305. data/lib/puppet/file_serving/configuration.rb +109 -0
  306. data/lib/puppet/file_serving/configuration/parser.rb +121 -0
  307. data/lib/puppet/file_serving/content.rb +45 -0
  308. data/lib/puppet/file_serving/fileset.rb +172 -0
  309. data/lib/puppet/file_serving/metadata.rb +199 -0
  310. data/lib/puppet/file_serving/mount.rb +39 -0
  311. data/lib/puppet/file_serving/mount/file.rb +121 -0
  312. data/lib/puppet/file_serving/mount/modules.rb +24 -0
  313. data/lib/puppet/file_serving/mount/pluginfacts.rb +35 -0
  314. data/lib/puppet/file_serving/mount/plugins.rb +35 -0
  315. data/lib/puppet/file_serving/terminus_helper.rb +21 -0
  316. data/lib/puppet/file_serving/terminus_selector.rb +30 -0
  317. data/lib/puppet/file_system.rb +366 -0
  318. data/lib/puppet/file_system/file18.rb +5 -0
  319. data/lib/puppet/file_system/file19.rb +46 -0
  320. data/lib/puppet/file_system/file19windows.rb +107 -0
  321. data/lib/puppet/file_system/file_impl.rb +145 -0
  322. data/lib/puppet/file_system/memory_file.rb +71 -0
  323. data/lib/puppet/file_system/memory_impl.rb +78 -0
  324. data/lib/puppet/file_system/path_pattern.rb +97 -0
  325. data/lib/puppet/file_system/uniquefile.rb +190 -0
  326. data/lib/puppet/forge.rb +226 -0
  327. data/lib/puppet/forge/cache.rb +59 -0
  328. data/lib/puppet/forge/errors.rb +112 -0
  329. data/lib/puppet/forge/repository.rb +182 -0
  330. data/lib/puppet/functions.rb +555 -0
  331. data/lib/puppet/functions/assert_type.rb +59 -0
  332. data/lib/puppet/functions/each.rb +111 -0
  333. data/lib/puppet/functions/epp.rb +54 -0
  334. data/lib/puppet/functions/filter.rb +113 -0
  335. data/lib/puppet/functions/import.rb +7 -0
  336. data/lib/puppet/functions/inline_epp.rb +88 -0
  337. data/lib/puppet/functions/map.rb +97 -0
  338. data/lib/puppet/functions/match.rb +102 -0
  339. data/lib/puppet/functions/reduce.rb +94 -0
  340. data/lib/puppet/functions/slice.rb +126 -0
  341. data/lib/puppet/functions/with.rb +23 -0
  342. data/lib/puppet/graph.rb +11 -0
  343. data/lib/puppet/graph/key.rb +26 -0
  344. data/lib/puppet/graph/prioritizer.rb +29 -0
  345. data/lib/puppet/graph/random_prioritizer.rb +16 -0
  346. data/lib/puppet/graph/rb_tree_map.rb +388 -0
  347. data/lib/puppet/graph/relationship_graph.rb +246 -0
  348. data/lib/puppet/graph/sequential_prioritizer.rb +31 -0
  349. data/lib/puppet/graph/simple_graph.rb +566 -0
  350. data/lib/puppet/graph/title_hash_prioritizer.rb +16 -0
  351. data/lib/puppet/indirector.rb +61 -0
  352. data/lib/puppet/indirector/active_record.rb +29 -0
  353. data/lib/puppet/indirector/catalog/active_record.rb +39 -0
  354. data/lib/puppet/indirector/catalog/compiler.rb +182 -0
  355. data/lib/puppet/indirector/catalog/json.rb +6 -0
  356. data/lib/puppet/indirector/catalog/msgpack.rb +6 -0
  357. data/lib/puppet/indirector/catalog/queue.rb +9 -0
  358. data/lib/puppet/indirector/catalog/rest.rb +6 -0
  359. data/lib/puppet/indirector/catalog/static_compiler.rb +214 -0
  360. data/lib/puppet/indirector/catalog/store_configs.rb +8 -0
  361. data/lib/puppet/indirector/catalog/yaml.rb +22 -0
  362. data/lib/puppet/indirector/certificate/ca.rb +9 -0
  363. data/lib/puppet/indirector/certificate/disabled_ca.rb +22 -0
  364. data/lib/puppet/indirector/certificate/file.rb +9 -0
  365. data/lib/puppet/indirector/certificate/rest.rb +16 -0
  366. data/lib/puppet/indirector/certificate_request/ca.rb +22 -0
  367. data/lib/puppet/indirector/certificate_request/disabled_ca.rb +22 -0
  368. data/lib/puppet/indirector/certificate_request/file.rb +8 -0
  369. data/lib/puppet/indirector/certificate_request/memory.rb +6 -0
  370. data/lib/puppet/indirector/certificate_request/rest.rb +10 -0
  371. data/lib/puppet/indirector/certificate_revocation_list/ca.rb +8 -0
  372. data/lib/puppet/indirector/certificate_revocation_list/disabled_ca.rb +22 -0
  373. data/lib/puppet/indirector/certificate_revocation_list/file.rb +8 -0
  374. data/lib/puppet/indirector/certificate_revocation_list/rest.rb +10 -0
  375. data/lib/puppet/indirector/certificate_status.rb +4 -0
  376. data/lib/puppet/indirector/certificate_status/file.rb +91 -0
  377. data/lib/puppet/indirector/certificate_status/rest.rb +11 -0
  378. data/lib/puppet/indirector/code.rb +6 -0
  379. data/lib/puppet/indirector/couch.rb +78 -0
  380. data/lib/puppet/indirector/data_binding/hiera.rb +7 -0
  381. data/lib/puppet/indirector/data_binding/none.rb +5 -0
  382. data/lib/puppet/indirector/direct_file_server.rb +19 -0
  383. data/lib/puppet/indirector/envelope.rb +11 -0
  384. data/lib/puppet/indirector/errors.rb +5 -0
  385. data/lib/puppet/indirector/exec.rb +38 -0
  386. data/lib/puppet/indirector/face.rb +139 -0
  387. data/lib/puppet/indirector/facts/active_record.rb +44 -0
  388. data/lib/puppet/indirector/facts/couch.rb +36 -0
  389. data/lib/puppet/indirector/facts/facter.rb +78 -0
  390. data/lib/puppet/indirector/facts/inventory_active_record.rb +110 -0
  391. data/lib/puppet/indirector/facts/inventory_service.rb +20 -0
  392. data/lib/puppet/indirector/facts/memory.rb +9 -0
  393. data/lib/puppet/indirector/facts/network_device.rb +24 -0
  394. data/lib/puppet/indirector/facts/rest.rb +8 -0
  395. data/lib/puppet/indirector/facts/store_configs.rb +8 -0
  396. data/lib/puppet/indirector/facts/yaml.rb +82 -0
  397. data/lib/puppet/indirector/file_bucket_file/file.rb +142 -0
  398. data/lib/puppet/indirector/file_bucket_file/rest.rb +8 -0
  399. data/lib/puppet/indirector/file_bucket_file/selector.rb +53 -0
  400. data/lib/puppet/indirector/file_content.rb +5 -0
  401. data/lib/puppet/indirector/file_content/file.rb +7 -0
  402. data/lib/puppet/indirector/file_content/file_server.rb +7 -0
  403. data/lib/puppet/indirector/file_content/rest.rb +9 -0
  404. data/lib/puppet/indirector/file_content/selector.rb +30 -0
  405. data/lib/puppet/indirector/file_metadata.rb +5 -0
  406. data/lib/puppet/indirector/file_metadata/file.rb +22 -0
  407. data/lib/puppet/indirector/file_metadata/file_server.rb +7 -0
  408. data/lib/puppet/indirector/file_metadata/rest.rb +9 -0
  409. data/lib/puppet/indirector/file_metadata/selector.rb +30 -0
  410. data/lib/puppet/indirector/file_server.rb +65 -0
  411. data/lib/puppet/indirector/hiera.rb +48 -0
  412. data/lib/puppet/indirector/indirection.rb +336 -0
  413. data/lib/puppet/indirector/instrumentation_data.rb +3 -0
  414. data/lib/puppet/indirector/instrumentation_data/local.rb +22 -0
  415. data/lib/puppet/indirector/instrumentation_data/rest.rb +8 -0
  416. data/lib/puppet/indirector/instrumentation_listener.rb +3 -0
  417. data/lib/puppet/indirector/instrumentation_listener/local.rb +26 -0
  418. data/lib/puppet/indirector/instrumentation_listener/rest.rb +8 -0
  419. data/lib/puppet/indirector/instrumentation_probe.rb +3 -0
  420. data/lib/puppet/indirector/instrumentation_probe/local.rb +27 -0
  421. data/lib/puppet/indirector/instrumentation_probe/rest.rb +8 -0
  422. data/lib/puppet/indirector/json.rb +76 -0
  423. data/lib/puppet/indirector/key/ca.rb +16 -0
  424. data/lib/puppet/indirector/key/disabled_ca.rb +22 -0
  425. data/lib/puppet/indirector/key/file.rb +49 -0
  426. data/lib/puppet/indirector/key/memory.rb +6 -0
  427. data/lib/puppet/indirector/ldap.rb +79 -0
  428. data/lib/puppet/indirector/memory.rb +34 -0
  429. data/lib/puppet/indirector/msgpack.rb +82 -0
  430. data/lib/puppet/indirector/node/active_record.rb +22 -0
  431. data/lib/puppet/indirector/node/exec.rb +69 -0
  432. data/lib/puppet/indirector/node/ldap.rb +257 -0
  433. data/lib/puppet/indirector/node/memory.rb +10 -0
  434. data/lib/puppet/indirector/node/msgpack.rb +7 -0
  435. data/lib/puppet/indirector/node/plain.rb +20 -0
  436. data/lib/puppet/indirector/node/rest.rb +7 -0
  437. data/lib/puppet/indirector/node/store_configs.rb +8 -0
  438. data/lib/puppet/indirector/node/write_only_yaml.rb +32 -0
  439. data/lib/puppet/indirector/node/yaml.rb +22 -0
  440. data/lib/puppet/indirector/none.rb +9 -0
  441. data/lib/puppet/indirector/plain.rb +9 -0
  442. data/lib/puppet/indirector/queue.rb +80 -0
  443. data/lib/puppet/indirector/report/msgpack.rb +11 -0
  444. data/lib/puppet/indirector/report/processor.rb +59 -0
  445. data/lib/puppet/indirector/report/rest.rb +15 -0
  446. data/lib/puppet/indirector/report/yaml.rb +11 -0
  447. data/lib/puppet/indirector/request.rb +318 -0
  448. data/lib/puppet/indirector/resource/active_record.rb +104 -0
  449. data/lib/puppet/indirector/resource/ral.rb +64 -0
  450. data/lib/puppet/indirector/resource/rest.rb +17 -0
  451. data/lib/puppet/indirector/resource/store_configs.rb +13 -0
  452. data/lib/puppet/indirector/resource/validator.rb +8 -0
  453. data/lib/puppet/indirector/resource_type.rb +5 -0
  454. data/lib/puppet/indirector/resource_type/parser.rb +101 -0
  455. data/lib/puppet/indirector/resource_type/rest.rb +7 -0
  456. data/lib/puppet/indirector/rest.rb +267 -0
  457. data/lib/puppet/indirector/run/local.rb +15 -0
  458. data/lib/puppet/indirector/run/rest.rb +12 -0
  459. data/lib/puppet/indirector/ssl_file.rb +180 -0
  460. data/lib/puppet/indirector/status.rb +3 -0
  461. data/lib/puppet/indirector/status/local.rb +12 -0
  462. data/lib/puppet/indirector/status/rest.rb +9 -0
  463. data/lib/puppet/indirector/store_configs.rb +30 -0
  464. data/lib/puppet/indirector/terminus.rb +169 -0
  465. data/lib/puppet/indirector/yaml.rb +63 -0
  466. data/lib/puppet/interface.rb +235 -0
  467. data/lib/puppet/interface/action.rb +374 -0
  468. data/lib/puppet/interface/action_builder.rb +149 -0
  469. data/lib/puppet/interface/action_manager.rb +101 -0
  470. data/lib/puppet/interface/documentation.rb +342 -0
  471. data/lib/puppet/interface/face_collection.rb +125 -0
  472. data/lib/puppet/interface/option.rb +150 -0
  473. data/lib/puppet/interface/option_builder.rb +93 -0
  474. data/lib/puppet/interface/option_manager.rb +99 -0
  475. data/lib/puppet/loaders.rb +19 -0
  476. data/lib/puppet/metatype/manager.rb +184 -0
  477. data/lib/puppet/module.rb +339 -0
  478. data/lib/puppet/module_tool.rb +194 -0
  479. data/lib/puppet/module_tool/applications.rb +14 -0
  480. data/lib/puppet/module_tool/applications/application.rb +98 -0
  481. data/lib/puppet/module_tool/applications/builder.rb +148 -0
  482. data/lib/puppet/module_tool/applications/checksummer.rb +62 -0
  483. data/lib/puppet/module_tool/applications/installer.rb +353 -0
  484. data/lib/puppet/module_tool/applications/searcher.rb +29 -0
  485. data/lib/puppet/module_tool/applications/uninstaller.rb +117 -0
  486. data/lib/puppet/module_tool/applications/unpacker.rb +100 -0
  487. data/lib/puppet/module_tool/applications/upgrader.rb +279 -0
  488. data/lib/puppet/module_tool/checksums.rb +49 -0
  489. data/lib/puppet/module_tool/contents_description.rb +84 -0
  490. data/lib/puppet/module_tool/dependency.rb +42 -0
  491. data/lib/puppet/module_tool/errors.rb +11 -0
  492. data/lib/puppet/module_tool/errors/base.rb +15 -0
  493. data/lib/puppet/module_tool/errors/installer.rb +95 -0
  494. data/lib/puppet/module_tool/errors/shared.rb +188 -0
  495. data/lib/puppet/module_tool/errors/uninstaller.rb +45 -0
  496. data/lib/puppet/module_tool/errors/upgrader.rb +63 -0
  497. data/lib/puppet/module_tool/install_directory.rb +45 -0
  498. data/lib/puppet/module_tool/installed_modules.rb +98 -0
  499. data/lib/puppet/module_tool/local_tarball.rb +90 -0
  500. data/lib/puppet/module_tool/metadata.rb +209 -0
  501. data/lib/puppet/module_tool/modulefile.rb +78 -0
  502. data/lib/puppet/module_tool/shared_behaviors.rb +180 -0
  503. data/lib/puppet/module_tool/skeleton/templates/generator/Gemfile +7 -0
  504. data/lib/puppet/module_tool/skeleton/templates/generator/README.md.erb +79 -0
  505. data/lib/puppet/module_tool/skeleton/templates/generator/Rakefile +18 -0
  506. data/lib/puppet/module_tool/skeleton/templates/generator/manifests/init.pp.erb +41 -0
  507. data/lib/puppet/module_tool/skeleton/templates/generator/metadata.json.erb +1 -0
  508. data/lib/puppet/module_tool/skeleton/templates/generator/spec/classes/init_spec.rb.erb +7 -0
  509. data/lib/puppet/module_tool/skeleton/templates/generator/spec/spec_helper.rb +1 -0
  510. data/lib/puppet/module_tool/skeleton/templates/generator/tests/init.pp.erb +12 -0
  511. data/lib/puppet/module_tool/tar.rb +17 -0
  512. data/lib/puppet/module_tool/tar/gnu.rb +19 -0
  513. data/lib/puppet/module_tool/tar/mini.rb +53 -0
  514. data/lib/puppet/network.rb +3 -0
  515. data/lib/puppet/network/auth_config_parser.rb +84 -0
  516. data/lib/puppet/network/authconfig.rb +76 -0
  517. data/lib/puppet/network/authentication.rb +35 -0
  518. data/lib/puppet/network/authorization.rb +34 -0
  519. data/lib/puppet/network/authstore.rb +282 -0
  520. data/lib/puppet/network/client_request.rb +29 -0
  521. data/lib/puppet/network/format.rb +110 -0
  522. data/lib/puppet/network/format_handler.rb +105 -0
  523. data/lib/puppet/network/format_support.rb +124 -0
  524. data/lib/puppet/network/formats.rb +216 -0
  525. data/lib/puppet/network/http.rb +20 -0
  526. data/lib/puppet/network/http/api.rb +2 -0
  527. data/lib/puppet/network/http/api/v1.rb +222 -0
  528. data/lib/puppet/network/http/api/v2.rb +32 -0
  529. data/lib/puppet/network/http/api/v2/authorization.rb +15 -0
  530. data/lib/puppet/network/http/api/v2/environments.rb +35 -0
  531. data/lib/puppet/network/http/compression.rb +114 -0
  532. data/lib/puppet/network/http/connection.rb +240 -0
  533. data/lib/puppet/network/http/error.rb +69 -0
  534. data/lib/puppet/network/http/factory.rb +44 -0
  535. data/lib/puppet/network/http/handler.rb +186 -0
  536. data/lib/puppet/network/http/issues.rb +11 -0
  537. data/lib/puppet/network/http/memory_response.rb +13 -0
  538. data/lib/puppet/network/http/nocache_pool.rb +21 -0
  539. data/lib/puppet/network/http/pool.rb +120 -0
  540. data/lib/puppet/network/http/rack.rb +33 -0
  541. data/lib/puppet/network/http/rack/rest.rb +138 -0
  542. data/lib/puppet/network/http/request.rb +56 -0
  543. data/lib/puppet/network/http/response.rb +11 -0
  544. data/lib/puppet/network/http/route.rb +100 -0
  545. data/lib/puppet/network/http/session.rb +17 -0
  546. data/lib/puppet/network/http/site.rb +39 -0
  547. data/lib/puppet/network/http/webrick.rb +119 -0
  548. data/lib/puppet/network/http/webrick/rest.rb +104 -0
  549. data/lib/puppet/network/http_pool.rb +61 -0
  550. data/lib/puppet/network/resolver.rb +86 -0
  551. data/lib/puppet/network/rest_controller.rb +2 -0
  552. data/lib/puppet/network/rights.rb +219 -0
  553. data/lib/puppet/network/server.rb +39 -0
  554. data/lib/puppet/node.rb +184 -0
  555. data/lib/puppet/node/environment.rb +595 -0
  556. data/lib/puppet/node/facts.rb +155 -0
  557. data/lib/puppet/parameter.rb +585 -0
  558. data/lib/puppet/parameter/boolean.rb +15 -0
  559. data/lib/puppet/parameter/package_options.rb +31 -0
  560. data/lib/puppet/parameter/path.rb +57 -0
  561. data/lib/puppet/parameter/value.rb +93 -0
  562. data/lib/puppet/parameter/value_collection.rb +211 -0
  563. data/lib/puppet/parser.rb +7 -0
  564. data/lib/puppet/parser/ast.rb +129 -0
  565. data/lib/puppet/parser/ast/arithmetic_operator.rb +91 -0
  566. data/lib/puppet/parser/ast/astarray.rb +50 -0
  567. data/lib/puppet/parser/ast/asthash.rb +37 -0
  568. data/lib/puppet/parser/ast/block_expression.rb +40 -0
  569. data/lib/puppet/parser/ast/boolean_operator.rb +46 -0
  570. data/lib/puppet/parser/ast/branch.rb +22 -0
  571. data/lib/puppet/parser/ast/caseopt.rb +52 -0
  572. data/lib/puppet/parser/ast/casestatement.rb +41 -0
  573. data/lib/puppet/parser/ast/collection.rb +53 -0
  574. data/lib/puppet/parser/ast/collexpr.rb +109 -0
  575. data/lib/puppet/parser/ast/comparison_operator.rb +38 -0
  576. data/lib/puppet/parser/ast/definition.rb +17 -0
  577. data/lib/puppet/parser/ast/else.rb +22 -0
  578. data/lib/puppet/parser/ast/function.rb +59 -0
  579. data/lib/puppet/parser/ast/hostclass.rb +29 -0
  580. data/lib/puppet/parser/ast/ifstatement.rb +34 -0
  581. data/lib/puppet/parser/ast/in_operator.rb +24 -0
  582. data/lib/puppet/parser/ast/lambda.rb +135 -0
  583. data/lib/puppet/parser/ast/leaf.rb +232 -0
  584. data/lib/puppet/parser/ast/match_operator.rb +28 -0
  585. data/lib/puppet/parser/ast/method_call.rb +77 -0
  586. data/lib/puppet/parser/ast/minus.rb +23 -0
  587. data/lib/puppet/parser/ast/node.rb +25 -0
  588. data/lib/puppet/parser/ast/nop.rb +11 -0
  589. data/lib/puppet/parser/ast/not.rb +19 -0
  590. data/lib/puppet/parser/ast/pops_bridge.rb +252 -0
  591. data/lib/puppet/parser/ast/relationship.rb +47 -0
  592. data/lib/puppet/parser/ast/resource.rb +67 -0
  593. data/lib/puppet/parser/ast/resource_defaults.rb +24 -0
  594. data/lib/puppet/parser/ast/resource_instance.rb +9 -0
  595. data/lib/puppet/parser/ast/resource_override.rb +62 -0
  596. data/lib/puppet/parser/ast/resource_reference.rb +28 -0
  597. data/lib/puppet/parser/ast/resourceparam.rb +27 -0
  598. data/lib/puppet/parser/ast/selector.rb +50 -0
  599. data/lib/puppet/parser/ast/top_level_construct.rb +4 -0
  600. data/lib/puppet/parser/ast/vardef.rb +38 -0
  601. data/lib/puppet/parser/code_merger.rb +13 -0
  602. data/lib/puppet/parser/collector.rb +177 -0
  603. data/lib/puppet/parser/compiler.rb +626 -0
  604. data/lib/puppet/parser/e4_parser_adapter.rb +81 -0
  605. data/lib/puppet/parser/files.rb +137 -0
  606. data/lib/puppet/parser/functions.rb +262 -0
  607. data/lib/puppet/parser/functions/assert_type.rb +31 -0
  608. data/lib/puppet/parser/functions/contain.rb +36 -0
  609. data/lib/puppet/parser/functions/create_resources.rb +82 -0
  610. data/lib/puppet/parser/functions/defined.rb +73 -0
  611. data/lib/puppet/parser/functions/digest.rb +5 -0
  612. data/lib/puppet/parser/functions/each.rb +48 -0
  613. data/lib/puppet/parser/functions/epp.rb +45 -0
  614. data/lib/puppet/parser/functions/extlookup.rb +153 -0
  615. data/lib/puppet/parser/functions/fail.rb +4 -0
  616. data/lib/puppet/parser/functions/file.rb +31 -0
  617. data/lib/puppet/parser/functions/filter.rb +44 -0
  618. data/lib/puppet/parser/functions/fqdn_rand.rb +21 -0
  619. data/lib/puppet/parser/functions/generate.rb +37 -0
  620. data/lib/puppet/parser/functions/hiera.rb +26 -0
  621. data/lib/puppet/parser/functions/hiera_array.rb +27 -0
  622. data/lib/puppet/parser/functions/hiera_hash.rb +29 -0
  623. data/lib/puppet/parser/functions/hiera_include.rb +44 -0
  624. data/lib/puppet/parser/functions/include.rb +35 -0
  625. data/lib/puppet/parser/functions/inline_epp.rb +76 -0
  626. data/lib/puppet/parser/functions/inline_template.rb +21 -0
  627. data/lib/puppet/parser/functions/lookup.rb +144 -0
  628. data/lib/puppet/parser/functions/map.rb +43 -0
  629. data/lib/puppet/parser/functions/match.rb +28 -0
  630. data/lib/puppet/parser/functions/md5.rb +5 -0
  631. data/lib/puppet/parser/functions/realize.rb +14 -0
  632. data/lib/puppet/parser/functions/reduce.rb +71 -0
  633. data/lib/puppet/parser/functions/regsubst.rb +116 -0
  634. data/lib/puppet/parser/functions/require.rb +61 -0
  635. data/lib/puppet/parser/functions/search.rb +12 -0
  636. data/lib/puppet/parser/functions/sha1.rb +5 -0
  637. data/lib/puppet/parser/functions/shellquote.rb +61 -0
  638. data/lib/puppet/parser/functions/slice.rb +48 -0
  639. data/lib/puppet/parser/functions/split.rb +28 -0
  640. data/lib/puppet/parser/functions/sprintf.rb +36 -0
  641. data/lib/puppet/parser/functions/tag.rb +6 -0
  642. data/lib/puppet/parser/functions/tagged.rb +18 -0
  643. data/lib/puppet/parser/functions/template.rb +30 -0
  644. data/lib/puppet/parser/functions/versioncmp.rb +30 -0
  645. data/lib/puppet/parser/functions/with.rb +21 -0
  646. data/lib/puppet/parser/grammar.ra +806 -0
  647. data/lib/puppet/parser/lexer.rb +608 -0
  648. data/lib/puppet/parser/makefile +8 -0
  649. data/lib/puppet/parser/methods.rb +69 -0
  650. data/lib/puppet/parser/parser.rb +2559 -0
  651. data/lib/puppet/parser/parser_factory.rb +76 -0
  652. data/lib/puppet/parser/parser_support.rb +195 -0
  653. data/lib/puppet/parser/relationship.rb +62 -0
  654. data/lib/puppet/parser/resource.rb +277 -0
  655. data/lib/puppet/parser/resource/param.rb +25 -0
  656. data/lib/puppet/parser/scope.rb +906 -0
  657. data/lib/puppet/parser/templatewrapper.rb +127 -0
  658. data/lib/puppet/parser/type_loader.rb +152 -0
  659. data/lib/puppet/parser/yaml_trimmer.rb +7 -0
  660. data/lib/puppet/pops.rb +118 -0
  661. data/lib/puppet/pops/adaptable.rb +190 -0
  662. data/lib/puppet/pops/adapters.rb +109 -0
  663. data/lib/puppet/pops/binder/binder.rb +393 -0
  664. data/lib/puppet/pops/binder/binder_issues.rb +122 -0
  665. data/lib/puppet/pops/binder/bindings_checker.rb +197 -0
  666. data/lib/puppet/pops/binder/bindings_composer.rb +175 -0
  667. data/lib/puppet/pops/binder/bindings_factory.rb +805 -0
  668. data/lib/puppet/pops/binder/bindings_label_provider.rb +43 -0
  669. data/lib/puppet/pops/binder/bindings_loader.rb +88 -0
  670. data/lib/puppet/pops/binder/bindings_model.rb +68 -0
  671. data/lib/puppet/pops/binder/bindings_model_dumper.rb +187 -0
  672. data/lib/puppet/pops/binder/bindings_model_meta.rb +215 -0
  673. data/lib/puppet/pops/binder/bindings_validator_factory.rb +28 -0
  674. data/lib/puppet/pops/binder/config/binder_config.rb +107 -0
  675. data/lib/puppet/pops/binder/config/binder_config_checker.rb +142 -0
  676. data/lib/puppet/pops/binder/config/diagnostic_producer.rb +32 -0
  677. data/lib/puppet/pops/binder/config/issues.rb +86 -0
  678. data/lib/puppet/pops/binder/injector.rb +767 -0
  679. data/lib/puppet/pops/binder/injector_entry.rb +57 -0
  680. data/lib/puppet/pops/binder/key_factory.rb +67 -0
  681. data/lib/puppet/pops/binder/lookup.rb +199 -0
  682. data/lib/puppet/pops/binder/producers.rb +826 -0
  683. data/lib/puppet/pops/binder/scheme_handler/confdir_scheme.rb +34 -0
  684. data/lib/puppet/pops/binder/scheme_handler/module_scheme.rb +84 -0
  685. data/lib/puppet/pops/binder/scheme_handler/symbolic_scheme.rb +53 -0
  686. data/lib/puppet/pops/binder/system_bindings.rb +60 -0
  687. data/lib/puppet/pops/containment.rb +104 -0
  688. data/lib/puppet/pops/evaluator/access_operator.rb +604 -0
  689. data/lib/puppet/pops/evaluator/callable_mismatch_describer.rb +175 -0
  690. data/lib/puppet/pops/evaluator/callable_signature.rb +100 -0
  691. data/lib/puppet/pops/evaluator/closure.rb +228 -0
  692. data/lib/puppet/pops/evaluator/compare_operator.rb +172 -0
  693. data/lib/puppet/pops/evaluator/epp_evaluator.rb +88 -0
  694. data/lib/puppet/pops/evaluator/evaluator_impl.rb +1115 -0
  695. data/lib/puppet/pops/evaluator/external_syntax_support.rb +49 -0
  696. data/lib/puppet/pops/evaluator/relationship_operator.rb +157 -0
  697. data/lib/puppet/pops/evaluator/runtime3_support.rb +573 -0
  698. data/lib/puppet/pops/functions/dispatch.rb +76 -0
  699. data/lib/puppet/pops/functions/dispatcher.rb +70 -0
  700. data/lib/puppet/pops/functions/function.rb +77 -0
  701. data/lib/puppet/pops/issue_reporter.rb +87 -0
  702. data/lib/puppet/pops/issues.rb +548 -0
  703. data/lib/puppet/pops/label_provider.rb +76 -0
  704. data/lib/puppet/pops/loader/base_loader.rb +102 -0
  705. data/lib/puppet/pops/loader/dependency_loader.rb +60 -0
  706. data/lib/puppet/pops/loader/gem_support.rb +49 -0
  707. data/lib/puppet/pops/loader/loader.rb +180 -0
  708. data/lib/puppet/pops/loader/loader_paths.rb +118 -0
  709. data/lib/puppet/pops/loader/module_loaders.rb +242 -0
  710. data/lib/puppet/pops/loader/null_loader.rb +44 -0
  711. data/lib/puppet/pops/loader/ruby_function_instantiator.rb +34 -0
  712. data/lib/puppet/pops/loader/simple_environment_loader.rb +20 -0
  713. data/lib/puppet/pops/loader/static_loader.rb +79 -0
  714. data/lib/puppet/pops/loader/uri_helper.rb +22 -0
  715. data/lib/puppet/pops/loaders.rb +240 -0
  716. data/lib/puppet/pops/model/ast_transformer.rb +643 -0
  717. data/lib/puppet/pops/model/ast_tree_dumper.rb +386 -0
  718. data/lib/puppet/pops/model/factory.rb +1040 -0
  719. data/lib/puppet/pops/model/model.rb +114 -0
  720. data/lib/puppet/pops/model/model_label_provider.rb +106 -0
  721. data/lib/puppet/pops/model/model_meta.rb +576 -0
  722. data/lib/puppet/pops/model/model_tree_dumper.rb +407 -0
  723. data/lib/puppet/pops/model/tree_dumper.rb +59 -0
  724. data/lib/puppet/pops/parser/code_merger.rb +17 -0
  725. data/lib/puppet/pops/parser/egrammar.ra +757 -0
  726. data/lib/puppet/pops/parser/eparser.rb +2655 -0
  727. data/lib/puppet/pops/parser/epp_parser.rb +51 -0
  728. data/lib/puppet/pops/parser/epp_support.rb +247 -0
  729. data/lib/puppet/pops/parser/evaluating_parser.rb +140 -0
  730. data/lib/puppet/pops/parser/heredoc_support.rb +139 -0
  731. data/lib/puppet/pops/parser/interpolation_support.rb +231 -0
  732. data/lib/puppet/pops/parser/lexer2.rb +696 -0
  733. data/lib/puppet/pops/parser/lexer_support.rb +113 -0
  734. data/lib/puppet/pops/parser/locatable.rb +23 -0
  735. data/lib/puppet/pops/parser/locator.rb +291 -0
  736. data/lib/puppet/pops/parser/parser_support.rb +213 -0
  737. data/lib/puppet/pops/parser/slurp_support.rb +95 -0
  738. data/lib/puppet/pops/patterns.rb +44 -0
  739. data/lib/puppet/pops/semantic_error.rb +17 -0
  740. data/lib/puppet/pops/types/class_loader.rb +129 -0
  741. data/lib/puppet/pops/types/enumeration.rb +34 -0
  742. data/lib/puppet/pops/types/type_calculator.rb +1698 -0
  743. data/lib/puppet/pops/types/type_factory.rb +432 -0
  744. data/lib/puppet/pops/types/type_parser.rb +475 -0
  745. data/lib/puppet/pops/types/types.rb +397 -0
  746. data/lib/puppet/pops/types/types_meta.rb +223 -0
  747. data/lib/puppet/pops/utils.rb +122 -0
  748. data/lib/puppet/pops/validation.rb +432 -0
  749. data/lib/puppet/pops/validation/checker4_0.rb +760 -0
  750. data/lib/puppet/pops/validation/validator_factory_4_0.rb +30 -0
  751. data/lib/puppet/pops/visitable.rb +6 -0
  752. data/lib/puppet/pops/visitor.rb +89 -0
  753. data/lib/puppet/property.rb +617 -0
  754. data/lib/puppet/property/boolean.rb +7 -0
  755. data/lib/puppet/property/ensure.rb +105 -0
  756. data/lib/puppet/property/keyvalue.rb +95 -0
  757. data/lib/puppet/property/list.rb +78 -0
  758. data/lib/puppet/property/ordered_list.rb +29 -0
  759. data/lib/puppet/provider.rb +651 -0
  760. data/lib/puppet/provider/aixobject.rb +392 -0
  761. data/lib/puppet/provider/augeas/augeas.rb +509 -0
  762. data/lib/puppet/provider/cisco.rb +9 -0
  763. data/lib/puppet/provider/command.rb +25 -0
  764. data/lib/puppet/provider/computer/computer.rb +20 -0
  765. data/lib/puppet/provider/confine.rb +6 -0
  766. data/lib/puppet/provider/cron/crontab.rb +260 -0
  767. data/lib/puppet/provider/exec.rb +100 -0
  768. data/lib/puppet/provider/exec/posix.rb +48 -0
  769. data/lib/puppet/provider/exec/shell.rb +25 -0
  770. data/lib/puppet/provider/exec/windows.rb +55 -0
  771. data/lib/puppet/provider/file/posix.rb +136 -0
  772. data/lib/puppet/provider/file/windows.rb +104 -0
  773. data/lib/puppet/provider/group/aix.rb +141 -0
  774. data/lib/puppet/provider/group/directoryservice.rb +12 -0
  775. data/lib/puppet/provider/group/groupadd.rb +85 -0
  776. data/lib/puppet/provider/group/ldap.rb +45 -0
  777. data/lib/puppet/provider/group/pw.rb +48 -0
  778. data/lib/puppet/provider/group/windows_adsi.rb +86 -0
  779. data/lib/puppet/provider/host/parsed.rb +44 -0
  780. data/lib/puppet/provider/interface/cisco.rb +27 -0
  781. data/lib/puppet/provider/ldap.rb +137 -0
  782. data/lib/puppet/provider/macauthorization/macauthorization.rb +309 -0
  783. data/lib/puppet/provider/mailalias/aliases.rb +39 -0
  784. data/lib/puppet/provider/maillist/mailman.rb +108 -0
  785. data/lib/puppet/provider/mcx/mcxcontent.rb +172 -0
  786. data/lib/puppet/provider/mount.rb +58 -0
  787. data/lib/puppet/provider/mount/parsed.rb +123 -0
  788. data/lib/puppet/provider/naginator.rb +63 -0
  789. data/lib/puppet/provider/nameservice.rb +292 -0
  790. data/lib/puppet/provider/nameservice/directoryservice.rb +588 -0
  791. data/lib/puppet/provider/nameservice/objectadd.rb +33 -0
  792. data/lib/puppet/provider/nameservice/pw.rb +21 -0
  793. data/lib/puppet/provider/network_device.rb +68 -0
  794. data/lib/puppet/provider/package.rb +52 -0
  795. data/lib/puppet/provider/package/aix.rb +152 -0
  796. data/lib/puppet/provider/package/appdmg.rb +106 -0
  797. data/lib/puppet/provider/package/apple.rb +47 -0
  798. data/lib/puppet/provider/package/apt.rb +116 -0
  799. data/lib/puppet/provider/package/aptitude.rb +29 -0
  800. data/lib/puppet/provider/package/aptrpm.rb +83 -0
  801. data/lib/puppet/provider/package/blastwave.rb +111 -0
  802. data/lib/puppet/provider/package/dpkg.rb +165 -0
  803. data/lib/puppet/provider/package/fink.rb +79 -0
  804. data/lib/puppet/provider/package/freebsd.rb +47 -0
  805. data/lib/puppet/provider/package/gem.rb +135 -0
  806. data/lib/puppet/provider/package/hpux.rb +44 -0
  807. data/lib/puppet/provider/package/macports.rb +107 -0
  808. data/lib/puppet/provider/package/msi.rb +125 -0
  809. data/lib/puppet/provider/package/nim.rb +280 -0
  810. data/lib/puppet/provider/package/openbsd.rb +228 -0
  811. data/lib/puppet/provider/package/opkg.rb +76 -0
  812. data/lib/puppet/provider/package/pacman.rb +234 -0
  813. data/lib/puppet/provider/package/pip.rb +119 -0
  814. data/lib/puppet/provider/package/pkg.rb +190 -0
  815. data/lib/puppet/provider/package/pkgdmg.rb +149 -0
  816. data/lib/puppet/provider/package/pkgin.rb +87 -0
  817. data/lib/puppet/provider/package/pkgutil.rb +186 -0
  818. data/lib/puppet/provider/package/portage.rb +149 -0
  819. data/lib/puppet/provider/package/ports.rb +94 -0
  820. data/lib/puppet/provider/package/portupgrade.rb +241 -0
  821. data/lib/puppet/provider/package/rpm.rb +187 -0
  822. data/lib/puppet/provider/package/rug.rb +52 -0
  823. data/lib/puppet/provider/package/sun.rb +132 -0
  824. data/lib/puppet/provider/package/sunfreeware.rb +9 -0
  825. data/lib/puppet/provider/package/up2date.rb +40 -0
  826. data/lib/puppet/provider/package/urpmi.rb +55 -0
  827. data/lib/puppet/provider/package/windows.rb +113 -0
  828. data/lib/puppet/provider/package/windows/exe_package.rb +70 -0
  829. data/lib/puppet/provider/package/windows/msi_package.rb +62 -0
  830. data/lib/puppet/provider/package/windows/package.rb +92 -0
  831. data/lib/puppet/provider/package/yum.rb +199 -0
  832. data/lib/puppet/provider/package/yumhelper.py +159 -0
  833. data/lib/puppet/provider/package/zypper.rb +90 -0
  834. data/lib/puppet/provider/parsedfile.rb +459 -0
  835. data/lib/puppet/provider/scheduled_task/win32_taskscheduler.rb +559 -0
  836. data/lib/puppet/provider/selboolean/getsetsebool.rb +47 -0
  837. data/lib/puppet/provider/selmodule/semodule.rb +134 -0
  838. data/lib/puppet/provider/service/base.rb +106 -0
  839. data/lib/puppet/provider/service/bsd.rb +51 -0
  840. data/lib/puppet/provider/service/daemontools.rb +194 -0
  841. data/lib/puppet/provider/service/debian.rb +64 -0
  842. data/lib/puppet/provider/service/freebsd.rb +143 -0
  843. data/lib/puppet/provider/service/gentoo.rb +45 -0
  844. data/lib/puppet/provider/service/init.rb +169 -0
  845. data/lib/puppet/provider/service/launchd.rb +353 -0
  846. data/lib/puppet/provider/service/openbsd.rb +342 -0
  847. data/lib/puppet/provider/service/openrc.rb +71 -0
  848. data/lib/puppet/provider/service/openwrt.rb +36 -0
  849. data/lib/puppet/provider/service/redhat.rb +67 -0
  850. data/lib/puppet/provider/service/runit.rb +111 -0
  851. data/lib/puppet/provider/service/service.rb +42 -0
  852. data/lib/puppet/provider/service/smf.rb +116 -0
  853. data/lib/puppet/provider/service/src.rb +120 -0
  854. data/lib/puppet/provider/service/systemd.rb +65 -0
  855. data/lib/puppet/provider/service/upstart.rb +355 -0
  856. data/lib/puppet/provider/service/windows.rb +106 -0
  857. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +89 -0
  858. data/lib/puppet/provider/sshkey/parsed.rb +40 -0
  859. data/lib/puppet/provider/user/aix.rb +369 -0
  860. data/lib/puppet/provider/user/directoryservice.rb +685 -0
  861. data/lib/puppet/provider/user/hpux.rb +66 -0
  862. data/lib/puppet/provider/user/ldap.rb +128 -0
  863. data/lib/puppet/provider/user/pw.rb +97 -0
  864. data/lib/puppet/provider/user/user_role_add.rb +210 -0
  865. data/lib/puppet/provider/user/useradd.rb +231 -0
  866. data/lib/puppet/provider/user/windows_adsi.rb +99 -0
  867. data/lib/puppet/provider/vlan/cisco.rb +28 -0
  868. data/lib/puppet/provider/yumrepo/inifile.rb +300 -0
  869. data/lib/puppet/provider/zfs/zfs.rb +83 -0
  870. data/lib/puppet/provider/zone/solaris.rb +361 -0
  871. data/lib/puppet/provider/zpool/zpool.rb +120 -0
  872. data/lib/puppet/rails.rb +139 -0
  873. data/lib/puppet/rails/benchmark.rb +63 -0
  874. data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +13 -0
  875. data/lib/puppet/rails/database/002_remove_duplicated_index_on_all_tables.rb +13 -0
  876. data/lib/puppet/rails/database/003_add_environment_to_host.rb +9 -0
  877. data/lib/puppet/rails/database/004_add_inventory_service_tables.rb +36 -0
  878. data/lib/puppet/rails/database/schema.rb +136 -0
  879. data/lib/puppet/rails/fact_name.rb +7 -0
  880. data/lib/puppet/rails/fact_value.rb +10 -0
  881. data/lib/puppet/rails/host.rb +258 -0
  882. data/lib/puppet/rails/inventory_fact.rb +5 -0
  883. data/lib/puppet/rails/inventory_node.rb +43 -0
  884. data/lib/puppet/rails/param_name.rb +25 -0
  885. data/lib/puppet/rails/param_value.rb +74 -0
  886. data/lib/puppet/rails/puppet_tag.rb +10 -0
  887. data/lib/puppet/rails/resource.rb +235 -0
  888. data/lib/puppet/rails/resource_tag.rb +26 -0
  889. data/lib/puppet/rails/source_file.rb +8 -0
  890. data/lib/puppet/reference/configuration.rb +73 -0
  891. data/lib/puppet/reference/function.rb +17 -0
  892. data/lib/puppet/reference/indirection.rb +71 -0
  893. data/lib/puppet/reference/metaparameter.rb +44 -0
  894. data/lib/puppet/reference/providers.rb +119 -0
  895. data/lib/puppet/reference/report.rb +23 -0
  896. data/lib/puppet/reference/type.rb +116 -0
  897. data/lib/puppet/relationship.rb +103 -0
  898. data/lib/puppet/reports.rb +89 -0
  899. data/lib/puppet/reports/http.rb +31 -0
  900. data/lib/puppet/reports/log.rb +14 -0
  901. data/lib/puppet/reports/rrdgraph.rb +128 -0
  902. data/lib/puppet/reports/store.rb +68 -0
  903. data/lib/puppet/reports/tagmail.rb +179 -0
  904. data/lib/puppet/resource.rb +610 -0
  905. data/lib/puppet/resource/catalog.rb +554 -0
  906. data/lib/puppet/resource/status.rb +155 -0
  907. data/lib/puppet/resource/type.rb +413 -0
  908. data/lib/puppet/resource/type_collection.rb +230 -0
  909. data/lib/puppet/resource/type_collection_helper.rb +7 -0
  910. data/lib/puppet/run.rb +109 -0
  911. data/lib/puppet/scheduler.rb +16 -0
  912. data/lib/puppet/scheduler/job.rb +53 -0
  913. data/lib/puppet/scheduler/scheduler.rb +44 -0
  914. data/lib/puppet/scheduler/splay_job.rb +32 -0
  915. data/lib/puppet/scheduler/timer.rb +13 -0
  916. data/lib/puppet/settings.rb +1392 -0
  917. data/lib/puppet/settings/array_setting.rb +17 -0
  918. data/lib/puppet/settings/autosign_setting.rb +22 -0
  919. data/lib/puppet/settings/base_setting.rb +195 -0
  920. data/lib/puppet/settings/boolean_setting.rb +32 -0
  921. data/lib/puppet/settings/config_file.rb +139 -0
  922. data/lib/puppet/settings/directory_setting.rb +12 -0
  923. data/lib/puppet/settings/duration_setting.rb +32 -0
  924. data/lib/puppet/settings/enum_setting.rb +16 -0
  925. data/lib/puppet/settings/environment_conf.rb +175 -0
  926. data/lib/puppet/settings/errors.rb +11 -0
  927. data/lib/puppet/settings/file_or_directory_setting.rb +34 -0
  928. data/lib/puppet/settings/file_setting.rb +234 -0
  929. data/lib/puppet/settings/ini_file.rb +171 -0
  930. data/lib/puppet/settings/path_setting.rb +8 -0
  931. data/lib/puppet/settings/priority_setting.rb +42 -0
  932. data/lib/puppet/settings/string_setting.rb +9 -0
  933. data/lib/puppet/settings/terminus_setting.rb +14 -0
  934. data/lib/puppet/settings/ttl_setting.rb +48 -0
  935. data/lib/puppet/settings/value_translator.rb +15 -0
  936. data/lib/puppet/ssl.rb +13 -0
  937. data/lib/puppet/ssl/base.rb +140 -0
  938. data/lib/puppet/ssl/certificate.rb +65 -0
  939. data/lib/puppet/ssl/certificate_authority.rb +517 -0
  940. data/lib/puppet/ssl/certificate_authority/autosign_command.rb +45 -0
  941. data/lib/puppet/ssl/certificate_authority/interface.rb +178 -0
  942. data/lib/puppet/ssl/certificate_factory.rb +219 -0
  943. data/lib/puppet/ssl/certificate_request.rb +299 -0
  944. data/lib/puppet/ssl/certificate_request_attributes.rb +37 -0
  945. data/lib/puppet/ssl/certificate_revocation_list.rb +110 -0
  946. data/lib/puppet/ssl/certificate_signer.rb +22 -0
  947. data/lib/puppet/ssl/configuration.rb +64 -0
  948. data/lib/puppet/ssl/digest.rb +20 -0
  949. data/lib/puppet/ssl/host.rb +372 -0
  950. data/lib/puppet/ssl/inventory.rb +55 -0
  951. data/lib/puppet/ssl/key.rb +59 -0
  952. data/lib/puppet/ssl/oids.rb +78 -0
  953. data/lib/puppet/ssl/validator.rb +60 -0
  954. data/lib/puppet/ssl/validator/default_validator.rb +154 -0
  955. data/lib/puppet/ssl/validator/no_validator.rb +20 -0
  956. data/lib/puppet/status.rb +45 -0
  957. data/lib/puppet/test/test_helper.rb +243 -0
  958. data/lib/puppet/transaction.rb +369 -0
  959. data/lib/puppet/transaction/additional_resource_generator.rb +126 -0
  960. data/lib/puppet/transaction/event.rb +107 -0
  961. data/lib/puppet/transaction/event_manager.rb +122 -0
  962. data/lib/puppet/transaction/report.rb +383 -0
  963. data/lib/puppet/transaction/resource_harness.rb +251 -0
  964. data/lib/puppet/type.rb +2452 -0
  965. data/lib/puppet/type/augeas.rb +201 -0
  966. data/lib/puppet/type/component.rb +77 -0
  967. data/lib/puppet/type/computer.rb +66 -0
  968. data/lib/puppet/type/cron.rb +488 -0
  969. data/lib/puppet/type/exec.rb +592 -0
  970. data/lib/puppet/type/file.rb +933 -0
  971. data/lib/puppet/type/file/checksum.rb +43 -0
  972. data/lib/puppet/type/file/content.rb +241 -0
  973. data/lib/puppet/type/file/ctime.rb +20 -0
  974. data/lib/puppet/type/file/ensure.rb +189 -0
  975. data/lib/puppet/type/file/group.rb +41 -0
  976. data/lib/puppet/type/file/mode.rb +168 -0
  977. data/lib/puppet/type/file/mtime.rb +18 -0
  978. data/lib/puppet/type/file/owner.rb +44 -0
  979. data/lib/puppet/type/file/selcontext.rb +124 -0
  980. data/lib/puppet/type/file/source.rb +259 -0
  981. data/lib/puppet/type/file/target.rb +87 -0
  982. data/lib/puppet/type/file/type.rb +19 -0
  983. data/lib/puppet/type/filebucket.rb +122 -0
  984. data/lib/puppet/type/group.rb +188 -0
  985. data/lib/puppet/type/host.rb +86 -0
  986. data/lib/puppet/type/interface.rb +116 -0
  987. data/lib/puppet/type/k5login.rb +88 -0
  988. data/lib/puppet/type/macauthorization.rb +167 -0
  989. data/lib/puppet/type/mailalias.rb +48 -0
  990. data/lib/puppet/type/maillist.rb +62 -0
  991. data/lib/puppet/type/mcx.rb +98 -0
  992. data/lib/puppet/type/mount.rb +286 -0
  993. data/lib/puppet/type/nagios_command.rb +3 -0
  994. data/lib/puppet/type/nagios_contact.rb +3 -0
  995. data/lib/puppet/type/nagios_contactgroup.rb +3 -0
  996. data/lib/puppet/type/nagios_host.rb +3 -0
  997. data/lib/puppet/type/nagios_hostdependency.rb +3 -0
  998. data/lib/puppet/type/nagios_hostescalation.rb +3 -0
  999. data/lib/puppet/type/nagios_hostextinfo.rb +3 -0
  1000. data/lib/puppet/type/nagios_hostgroup.rb +3 -0
  1001. data/lib/puppet/type/nagios_service.rb +3 -0
  1002. data/lib/puppet/type/nagios_servicedependency.rb +3 -0
  1003. data/lib/puppet/type/nagios_serviceescalation.rb +3 -0
  1004. data/lib/puppet/type/nagios_serviceextinfo.rb +3 -0
  1005. data/lib/puppet/type/nagios_servicegroup.rb +3 -0
  1006. data/lib/puppet/type/nagios_timeperiod.rb +3 -0
  1007. data/lib/puppet/type/notify.rb +44 -0
  1008. data/lib/puppet/type/package.rb +466 -0
  1009. data/lib/puppet/type/resources.rb +187 -0
  1010. data/lib/puppet/type/router.rb +17 -0
  1011. data/lib/puppet/type/schedule.rb +469 -0
  1012. data/lib/puppet/type/scheduled_task.rb +169 -0
  1013. data/lib/puppet/type/selboolean.rb +26 -0
  1014. data/lib/puppet/type/selmodule.rb +59 -0
  1015. data/lib/puppet/type/service.rb +234 -0
  1016. data/lib/puppet/type/ssh_authorized_key.rb +153 -0
  1017. data/lib/puppet/type/sshkey.rb +73 -0
  1018. data/lib/puppet/type/stage.rb +27 -0
  1019. data/lib/puppet/type/tidy.rb +324 -0
  1020. data/lib/puppet/type/user.rb +688 -0
  1021. data/lib/puppet/type/vlan.rb +26 -0
  1022. data/lib/puppet/type/whit.rb +34 -0
  1023. data/lib/puppet/type/yumrepo.rb +363 -0
  1024. data/lib/puppet/type/zfs.rb +150 -0
  1025. data/lib/puppet/type/zone.rb +382 -0
  1026. data/lib/puppet/type/zpool.rb +91 -0
  1027. data/lib/puppet/util.rb +554 -0
  1028. data/lib/puppet/util/autoload.rb +227 -0
  1029. data/lib/puppet/util/backups.rb +86 -0
  1030. data/lib/puppet/util/cacher.rb +74 -0
  1031. data/lib/puppet/util/checksums.rb +202 -0
  1032. data/lib/puppet/util/classgen.rb +236 -0
  1033. data/lib/puppet/util/colors.rb +217 -0
  1034. data/lib/puppet/util/command_line.rb +199 -0
  1035. data/lib/puppet/util/command_line/puppet_option_parser.rb +87 -0
  1036. data/lib/puppet/util/command_line/trollop.rb +824 -0
  1037. data/lib/puppet/util/constant_inflector.rb +24 -0
  1038. data/lib/puppet/util/diff.rb +79 -0
  1039. data/lib/puppet/util/docs.rb +128 -0
  1040. data/lib/puppet/util/errors.rb +106 -0
  1041. data/lib/puppet/util/execution.rb +327 -0
  1042. data/lib/puppet/util/execution_stub.rb +26 -0
  1043. data/lib/puppet/util/feature.rb +97 -0
  1044. data/lib/puppet/util/file_watcher.rb +28 -0
  1045. data/lib/puppet/util/fileparsing.rb +376 -0
  1046. data/lib/puppet/util/filetype.rb +303 -0
  1047. data/lib/puppet/util/http_proxy.rb +65 -0
  1048. data/lib/puppet/util/inifile.rb +341 -0
  1049. data/lib/puppet/util/inline_docs.rb +26 -0
  1050. data/lib/puppet/util/instance_loader.rb +81 -0
  1051. data/lib/puppet/util/instrumentation.rb +152 -0
  1052. data/lib/puppet/util/instrumentation/data.rb +46 -0
  1053. data/lib/puppet/util/instrumentation/indirection_probe.rb +41 -0
  1054. data/lib/puppet/util/instrumentation/instrumentable.rb +136 -0
  1055. data/lib/puppet/util/instrumentation/listener.rb +72 -0
  1056. data/lib/puppet/util/instrumentation/listeners/log.rb +23 -0
  1057. data/lib/puppet/util/instrumentation/listeners/performance.rb +24 -0
  1058. data/lib/puppet/util/json_lockfile.rb +44 -0
  1059. data/lib/puppet/util/ldap.rb +2 -0
  1060. data/lib/puppet/util/ldap/connection.rb +71 -0
  1061. data/lib/puppet/util/ldap/generator.rb +42 -0
  1062. data/lib/puppet/util/ldap/manager.rb +278 -0
  1063. data/lib/puppet/util/libuser.conf +15 -0
  1064. data/lib/puppet/util/libuser.rb +12 -0
  1065. data/lib/puppet/util/limits.rb +12 -0
  1066. data/lib/puppet/util/lockfile.rb +66 -0
  1067. data/lib/puppet/util/log.rb +343 -0
  1068. data/lib/puppet/util/log/destination.rb +49 -0
  1069. data/lib/puppet/util/log/destinations.rb +232 -0
  1070. data/lib/puppet/util/log/rate_limited_logger.rb +40 -0
  1071. data/lib/puppet/util/logging.rb +181 -0
  1072. data/lib/puppet/util/metaid.rb +21 -0
  1073. data/lib/puppet/util/methodhelper.rb +32 -0
  1074. data/lib/puppet/util/metric.rb +210 -0
  1075. data/lib/puppet/util/monkey_patches.rb +225 -0
  1076. data/lib/puppet/util/monkey_patches/lines.rb +13 -0
  1077. data/lib/puppet/util/nagios_maker.rb +85 -0
  1078. data/lib/puppet/util/network_device.rb +17 -0
  1079. data/lib/puppet/util/network_device/base.rb +27 -0
  1080. data/lib/puppet/util/network_device/cisco.rb +4 -0
  1081. data/lib/puppet/util/network_device/cisco/device.rb +267 -0
  1082. data/lib/puppet/util/network_device/cisco/facts.rb +72 -0
  1083. data/lib/puppet/util/network_device/cisco/interface.rb +82 -0
  1084. data/lib/puppet/util/network_device/config.rb +93 -0
  1085. data/lib/puppet/util/network_device/ipcalc.rb +68 -0
  1086. data/lib/puppet/util/network_device/transport.rb +5 -0
  1087. data/lib/puppet/util/network_device/transport/base.rb +26 -0
  1088. data/lib/puppet/util/network_device/transport/ssh.rb +122 -0
  1089. data/lib/puppet/util/network_device/transport/telnet.rb +44 -0
  1090. data/lib/puppet/util/package.rb +31 -0
  1091. data/lib/puppet/util/pidlock.rb +62 -0
  1092. data/lib/puppet/util/platform.rb +22 -0
  1093. data/lib/puppet/util/plugins.rb +82 -0
  1094. data/lib/puppet/util/posix.rb +137 -0
  1095. data/lib/puppet/util/profiler.rb +53 -0
  1096. data/lib/puppet/util/profiler/aggregate.rb +85 -0
  1097. data/lib/puppet/util/profiler/around_profiler.rb +67 -0
  1098. data/lib/puppet/util/profiler/logging.rb +48 -0
  1099. data/lib/puppet/util/profiler/object_counts.rb +17 -0
  1100. data/lib/puppet/util/profiler/wall_clock.rb +35 -0
  1101. data/lib/puppet/util/provider_features.rb +184 -0
  1102. data/lib/puppet/util/pson.rb +13 -0
  1103. data/lib/puppet/util/queue.rb +96 -0
  1104. data/lib/puppet/util/queue/stomp.rb +60 -0
  1105. data/lib/puppet/util/rails/cache_accumulator.rb +65 -0
  1106. data/lib/puppet/util/rails/collection_merger.rb +17 -0
  1107. data/lib/puppet/util/rails/reference_serializer.rb +32 -0
  1108. data/lib/puppet/util/rdoc.rb +96 -0
  1109. data/lib/puppet/util/rdoc/code_objects.rb +334 -0
  1110. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +910 -0
  1111. data/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb +1085 -0
  1112. data/lib/puppet/util/rdoc/parser.rb +22 -0
  1113. data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +477 -0
  1114. data/lib/puppet/util/rdoc/parser/puppet_parser_rdoc1.rb +19 -0
  1115. data/lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb +14 -0
  1116. data/lib/puppet/util/reference.rb +124 -0
  1117. data/lib/puppet/util/resource_template.rb +61 -0
  1118. data/lib/puppet/util/retryaction.rb +47 -0
  1119. data/lib/puppet/util/rubygems.rb +75 -0
  1120. data/lib/puppet/util/run_mode.rb +82 -0
  1121. data/lib/puppet/util/selinux.rb +222 -0
  1122. data/lib/puppet/util/ssl.rb +53 -0
  1123. data/lib/puppet/util/storage.rb +89 -0
  1124. data/lib/puppet/util/suidmanager.rb +191 -0
  1125. data/lib/puppet/util/symbolic_file_mode.rb +144 -0
  1126. data/lib/puppet/util/tag_set.rb +41 -0
  1127. data/lib/puppet/util/tagging.rb +56 -0
  1128. data/lib/puppet/util/terminal.rb +16 -0
  1129. data/lib/puppet/util/user_attr.rb +21 -0
  1130. data/lib/puppet/util/warnings.rb +32 -0
  1131. data/lib/puppet/util/watched_file.rb +37 -0
  1132. data/lib/puppet/util/watcher.rb +17 -0
  1133. data/lib/puppet/util/watcher/change_watcher.rb +33 -0
  1134. data/lib/puppet/util/watcher/periodic_watcher.rb +37 -0
  1135. data/lib/puppet/util/watcher/timer.rb +19 -0
  1136. data/lib/puppet/util/windows.rb +28 -0
  1137. data/lib/puppet/util/windows/access_control_entry.rb +84 -0
  1138. data/lib/puppet/util/windows/access_control_list.rb +113 -0
  1139. data/lib/puppet/util/windows/adsi.rb +430 -0
  1140. data/lib/puppet/util/windows/api_types.rb +255 -0
  1141. data/lib/puppet/util/windows/com.rb +224 -0
  1142. data/lib/puppet/util/windows/error.rb +83 -0
  1143. data/lib/puppet/util/windows/file.rb +401 -0
  1144. data/lib/puppet/util/windows/process.rb +354 -0
  1145. data/lib/puppet/util/windows/registry.rb +80 -0
  1146. data/lib/puppet/util/windows/root_certs.rb +108 -0
  1147. data/lib/puppet/util/windows/security.rb +920 -0
  1148. data/lib/puppet/util/windows/security_descriptor.rb +62 -0
  1149. data/lib/puppet/util/windows/sid.rb +162 -0
  1150. data/lib/puppet/util/windows/string.rb +16 -0
  1151. data/lib/puppet/util/windows/taskscheduler.rb +1241 -0
  1152. data/lib/puppet/util/windows/user.rb +292 -0
  1153. data/lib/puppet/util/yaml.rb +24 -0
  1154. data/lib/puppet/util/zaml.rb +419 -0
  1155. data/lib/puppet/vendor.rb +57 -0
  1156. data/lib/puppet/vendor/load_pathspec.rb +1 -0
  1157. data/lib/puppet/vendor/load_rgen.rb +1 -0
  1158. data/lib/puppet/vendor/load_safe_yaml.rb +1 -0
  1159. data/lib/puppet/vendor/load_semantic.rb +1 -0
  1160. data/lib/puppet/vendor/pathspec/CHANGELOG.md +2 -0
  1161. data/lib/puppet/vendor/pathspec/LICENSE +201 -0
  1162. data/lib/puppet/vendor/pathspec/PUPPET_README.md +6 -0
  1163. data/lib/puppet/vendor/pathspec/README.md +53 -0
  1164. data/lib/puppet/vendor/pathspec/lib/pathspec.rb +121 -0
  1165. data/lib/puppet/vendor/pathspec/lib/pathspec/gitignorespec.rb +275 -0
  1166. data/lib/puppet/vendor/pathspec/lib/pathspec/regexspec.rb +17 -0
  1167. data/lib/puppet/vendor/pathspec/lib/pathspec/spec.rb +14 -0
  1168. data/lib/puppet/vendor/require_vendored.rb +9 -0
  1169. data/lib/puppet/vendor/rgen/CHANGELOG +197 -0
  1170. data/lib/puppet/vendor/rgen/MIT-LICENSE +20 -0
  1171. data/lib/puppet/vendor/rgen/PUPPET_README.md +6 -0
  1172. data/lib/puppet/vendor/rgen/README.rdoc +78 -0
  1173. data/lib/puppet/vendor/rgen/Rakefile +41 -0
  1174. data/lib/puppet/vendor/rgen/TODO +41 -0
  1175. data/lib/puppet/vendor/rgen/anounce.txt +61 -0
  1176. data/lib/puppet/vendor/rgen/design_rationale.txt +71 -0
  1177. data/lib/puppet/vendor/rgen/lib/ea_support/ea_support.rb +54 -0
  1178. data/lib/puppet/vendor/rgen/lib/ea_support/id_store.rb +32 -0
  1179. data/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel.rb +562 -0
  1180. data/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_ext.rb +45 -0
  1181. data/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_metamodel_generator.rb +43 -0
  1182. data/lib/puppet/vendor/rgen/lib/ea_support/uml13_ea_to_uml13.rb +103 -0
  1183. data/lib/puppet/vendor/rgen/lib/ea_support/uml13_to_uml13_ea.rb +89 -0
  1184. data/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel.rb +559 -0
  1185. data/lib/puppet/vendor/rgen/lib/metamodels/uml13_metamodel_ext.rb +26 -0
  1186. data/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb +20 -0
  1187. data/lib/puppet/vendor/rgen/lib/mmgen/mm_ext/ecore_mmgen_ext.rb +91 -0
  1188. data/lib/puppet/vendor/rgen/lib/mmgen/mmgen.rb +28 -0
  1189. data/lib/puppet/vendor/rgen/lib/mmgen/templates/annotations.tpl +37 -0
  1190. data/lib/puppet/vendor/rgen/lib/mmgen/templates/metamodel_generator.tpl +172 -0
  1191. data/lib/puppet/vendor/rgen/lib/rgen/array_extensions.rb +45 -0
  1192. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore.rb +218 -0
  1193. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_builder_methods.rb +81 -0
  1194. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_ext.rb +69 -0
  1195. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_interface.rb +47 -0
  1196. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ecore_to_ruby.rb +167 -0
  1197. data/lib/puppet/vendor/rgen/lib/rgen/ecore/ruby_to_ecore.rb +91 -0
  1198. data/lib/puppet/vendor/rgen/lib/rgen/environment.rb +129 -0
  1199. data/lib/puppet/vendor/rgen/lib/rgen/fragment/dump_file_cache.rb +63 -0
  1200. data/lib/puppet/vendor/rgen/lib/rgen/fragment/fragmented_model.rb +140 -0
  1201. data/lib/puppet/vendor/rgen/lib/rgen/fragment/model_fragment.rb +289 -0
  1202. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_instantiator.rb +66 -0
  1203. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/abstract_xml_instantiator.rb +66 -0
  1204. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/default_xml_instantiator.rb +117 -0
  1205. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/ecore_xml_instantiator.rb +169 -0
  1206. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_instantiator.rb +126 -0
  1207. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.rb +331 -0
  1208. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/json_parser.y +94 -0
  1209. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/nodebased_xml_instantiator.rb +137 -0
  1210. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/qualified_name_resolver.rb +97 -0
  1211. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/reference_resolver.rb +128 -0
  1212. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/resolution_helper.rb +47 -0
  1213. data/lib/puppet/vendor/rgen/lib/rgen/instantiator/xmi11_instantiator.rb +168 -0
  1214. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder.rb +224 -0
  1215. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_extensions.rb +556 -0
  1216. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/builder_runtime.rb +174 -0
  1217. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/constant_order_helper.rb +89 -0
  1218. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb +77 -0
  1219. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/annotation.rb +30 -0
  1220. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/intermediate/feature.rb +168 -0
  1221. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/mm_multiple.rb +23 -0
  1222. data/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/module_extension.rb +42 -0
  1223. data/lib/puppet/vendor/rgen/lib/rgen/model_builder.rb +32 -0
  1224. data/lib/puppet/vendor/rgen/lib/rgen/model_builder/builder_context.rb +334 -0
  1225. data/lib/puppet/vendor/rgen/lib/rgen/model_builder/model_serializer.rb +225 -0
  1226. data/lib/puppet/vendor/rgen/lib/rgen/model_builder/reference_resolver.rb +156 -0
  1227. data/lib/puppet/vendor/rgen/lib/rgen/serializer/json_serializer.rb +121 -0
  1228. data/lib/puppet/vendor/rgen/lib/rgen/serializer/opposite_reference_filter.rb +18 -0
  1229. data/lib/puppet/vendor/rgen/lib/rgen/serializer/qualified_name_provider.rb +47 -0
  1230. data/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi11_serializer.rb +116 -0
  1231. data/lib/puppet/vendor/rgen/lib/rgen/serializer/xmi20_serializer.rb +71 -0
  1232. data/lib/puppet/vendor/rgen/lib/rgen/serializer/xml_serializer.rb +98 -0
  1233. data/lib/puppet/vendor/rgen/lib/rgen/template_language.rb +297 -0
  1234. data/lib/puppet/vendor/rgen/lib/rgen/template_language/directory_template_container.rb +83 -0
  1235. data/lib/puppet/vendor/rgen/lib/rgen/template_language/output_handler.rb +87 -0
  1236. data/lib/puppet/vendor/rgen/lib/rgen/template_language/template_container.rb +234 -0
  1237. data/lib/puppet/vendor/rgen/lib/rgen/template_language/template_helper.rb +26 -0
  1238. data/lib/puppet/vendor/rgen/lib/rgen/transformer.rb +475 -0
  1239. data/lib/puppet/vendor/rgen/lib/rgen/util/auto_class_creator.rb +61 -0
  1240. data/lib/puppet/vendor/rgen/lib/rgen/util/cached_glob.rb +67 -0
  1241. data/lib/puppet/vendor/rgen/lib/rgen/util/file_cache_map.rb +124 -0
  1242. data/lib/puppet/vendor/rgen/lib/rgen/util/file_change_detector.rb +84 -0
  1243. data/lib/puppet/vendor/rgen/lib/rgen/util/method_delegation.rb +114 -0
  1244. data/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator.rb +68 -0
  1245. data/lib/puppet/vendor/rgen/lib/rgen/util/model_comparator_base.rb +142 -0
  1246. data/lib/puppet/vendor/rgen/lib/rgen/util/model_dumper.rb +29 -0
  1247. data/lib/puppet/vendor/rgen/lib/rgen/util/name_helper.rb +42 -0
  1248. data/lib/puppet/vendor/rgen/lib/rgen/util/pattern_matcher.rb +329 -0
  1249. data/lib/puppet/vendor/rgen/lib/transformers/ecore_to_uml13.rb +79 -0
  1250. data/lib/puppet/vendor/rgen/lib/transformers/uml13_to_ecore.rb +127 -0
  1251. data/lib/puppet/vendor/rgen/test/array_extensions_test.rb +64 -0
  1252. data/lib/puppet/vendor/rgen/test/ea_instantiator_test.rb +35 -0
  1253. data/lib/puppet/vendor/rgen/test/ea_serializer_test.rb +23 -0
  1254. data/lib/puppet/vendor/rgen/test/ecore_self_test.rb +54 -0
  1255. data/lib/puppet/vendor/rgen/test/environment_test.rb +90 -0
  1256. data/lib/puppet/vendor/rgen/test/json_test.rb +171 -0
  1257. data/lib/puppet/vendor/rgen/test/metamodel_builder_test.rb +1482 -0
  1258. data/lib/puppet/vendor/rgen/test/metamodel_from_ecore_test.rb +57 -0
  1259. data/lib/puppet/vendor/rgen/test/metamodel_order_test.rb +131 -0
  1260. data/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test.rb +98 -0
  1261. data/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/TestModel.rb +70 -0
  1262. data/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel.ecore +42 -0
  1263. data/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/houseMetamodel_from_ecore.rb +44 -0
  1264. data/lib/puppet/vendor/rgen/test/metamodel_roundtrip_test/using_builtin_types.ecore +9 -0
  1265. data/lib/puppet/vendor/rgen/test/method_delegation_test.rb +178 -0
  1266. data/lib/puppet/vendor/rgen/test/model_builder/builder_context_test.rb +59 -0
  1267. data/lib/puppet/vendor/rgen/test/model_builder/builder_test.rb +242 -0
  1268. data/lib/puppet/vendor/rgen/test/model_builder/ecore_original.rb +163 -0
  1269. data/lib/puppet/vendor/rgen/test/model_builder/ecore_original_regenerated.rb +163 -0
  1270. data/lib/puppet/vendor/rgen/test/model_builder/reference_resolver_test.rb +156 -0
  1271. data/lib/puppet/vendor/rgen/test/model_builder/serializer_test.rb +94 -0
  1272. data/lib/puppet/vendor/rgen/test/model_builder/statemachine_metamodel.rb +42 -0
  1273. data/lib/puppet/vendor/rgen/test/model_builder/test_model/statemachine1.rb +23 -0
  1274. data/lib/puppet/vendor/rgen/test/model_builder_test.rb +6 -0
  1275. data/lib/puppet/vendor/rgen/test/model_fragment_test.rb +30 -0
  1276. data/lib/puppet/vendor/rgen/test/output_handler_test.rb +58 -0
  1277. data/lib/puppet/vendor/rgen/test/qualified_name_provider_test.rb +48 -0
  1278. data/lib/puppet/vendor/rgen/test/qualified_name_resolver_test.rb +102 -0
  1279. data/lib/puppet/vendor/rgen/test/reference_resolver_test.rb +117 -0
  1280. data/lib/puppet/vendor/rgen/test/rgen_test.rb +26 -0
  1281. data/lib/puppet/vendor/rgen/test/template_language_test.rb +163 -0
  1282. data/lib/puppet/vendor/rgen/test/template_language_test/expected_result1.txt +29 -0
  1283. data/lib/puppet/vendor/rgen/test/template_language_test/expected_result2.txt +9 -0
  1284. data/lib/puppet/vendor/rgen/test/template_language_test/expected_result3.txt +4 -0
  1285. data/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestDefaultIndent.out +1 -0
  1286. data/lib/puppet/vendor/rgen/test/template_language_test/indentStringTestTabIndent.out +1 -0
  1287. data/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/a.tpl +12 -0
  1288. data/lib/puppet/vendor/rgen/test/template_language_test/templates/callback_indent_test/b.tpl +5 -0
  1289. data/lib/puppet/vendor/rgen/test/template_language_test/templates/code/array.tpl +11 -0
  1290. data/lib/puppet/vendor/rgen/test/template_language_test/templates/content/author.tpl +7 -0
  1291. data/lib/puppet/vendor/rgen/test/template_language_test/templates/content/chapter.tpl +5 -0
  1292. data/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/local.tpl +8 -0
  1293. data/lib/puppet/vendor/rgen/test/template_language_test/templates/define_local_test/test.tpl +8 -0
  1294. data/lib/puppet/vendor/rgen/test/template_language_test/templates/evaluate_test/test.tpl +7 -0
  1295. data/lib/puppet/vendor/rgen/test/template_language_test/templates/indent_string_test.tpl +12 -0
  1296. data/lib/puppet/vendor/rgen/test/template_language_test/templates/index/c/cmod.tpl +1 -0
  1297. data/lib/puppet/vendor/rgen/test/template_language_test/templates/index/chapter.tpl +3 -0
  1298. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_backslash_r_test.tpl +5 -0
  1299. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/no_indent.tpl +3 -0
  1300. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/sub1/no_indent.tpl +3 -0
  1301. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test.tpl +24 -0
  1302. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test2.tpl +13 -0
  1303. data/lib/puppet/vendor/rgen/test/template_language_test/templates/no_indent_test/test3.tpl +10 -0
  1304. data/lib/puppet/vendor/rgen/test/template_language_test/templates/null_context_test.tpl +17 -0
  1305. data/lib/puppet/vendor/rgen/test/template_language_test/templates/root.tpl +31 -0
  1306. data/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1.tpl +9 -0
  1307. data/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/sub1/sub1.tpl +3 -0
  1308. data/lib/puppet/vendor/rgen/test/template_language_test/templates/template_resolution_test/test.tpl +4 -0
  1309. data/lib/puppet/vendor/rgen/test/template_language_test/testout.txt +29 -0
  1310. data/lib/puppet/vendor/rgen/test/testmodel/class_model_checker.rb +119 -0
  1311. data/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.eap +0 -0
  1312. data/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel.xml +1029 -0
  1313. data/lib/puppet/vendor/rgen/test/testmodel/ea_testmodel_partial.xml +317 -0
  1314. data/lib/puppet/vendor/rgen/test/testmodel/ecore_model_checker.rb +101 -0
  1315. data/lib/puppet/vendor/rgen/test/testmodel/manual_testmodel.xml +22 -0
  1316. data/lib/puppet/vendor/rgen/test/testmodel/object_model_checker.rb +67 -0
  1317. data/lib/puppet/vendor/rgen/test/transformer_test.rb +254 -0
  1318. data/lib/puppet/vendor/rgen/test/util/file_cache_map_test.rb +99 -0
  1319. data/lib/puppet/vendor/rgen/test/util/pattern_matcher_test.rb +97 -0
  1320. data/lib/puppet/vendor/rgen/test/util_test.rb +5 -0
  1321. data/lib/puppet/vendor/rgen/test/xml_instantiator_test.rb +160 -0
  1322. data/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_ecore_model_checker.rb +94 -0
  1323. data/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_ecore_instantiator.rb +53 -0
  1324. data/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_metamodel.rb +49 -0
  1325. data/lib/puppet/vendor/rgen/test/xml_instantiator_test/simple_xmi_to_ecore.rb +75 -0
  1326. data/lib/puppet/vendor/safe_yaml/CHANGES.md +104 -0
  1327. data/lib/puppet/vendor/safe_yaml/Gemfile +11 -0
  1328. data/lib/puppet/vendor/safe_yaml/LICENSE.txt +22 -0
  1329. data/lib/puppet/vendor/safe_yaml/PUPPET_README.md +6 -0
  1330. data/lib/puppet/vendor/safe_yaml/README.md +179 -0
  1331. data/lib/puppet/vendor/safe_yaml/Rakefile +6 -0
  1332. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml.rb +253 -0
  1333. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/deep.rb +34 -0
  1334. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/date.rb +27 -0
  1335. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/hexadecimal.rb +12 -0
  1336. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/parse/sexagesimal.rb +26 -0
  1337. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_handler.rb +92 -0
  1338. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/psych_resolver.rb +52 -0
  1339. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/resolver.rb +94 -0
  1340. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/safe_to_ruby_visitor.rb +17 -0
  1341. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_hack.rb +36 -0
  1342. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_node_monkeypatch.rb +43 -0
  1343. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/syck_resolver.rb +38 -0
  1344. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform.rb +41 -0
  1345. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_boolean.rb +21 -0
  1346. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_date.rb +11 -0
  1347. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_float.rb +33 -0
  1348. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_integer.rb +25 -0
  1349. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_nil.rb +18 -0
  1350. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/to_symbol.rb +13 -0
  1351. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/transform/transformation_map.rb +47 -0
  1352. data/lib/puppet/vendor/safe_yaml/lib/safe_yaml/version.rb +3 -0
  1353. data/lib/puppet/vendor/safe_yaml/run_specs_all_ruby_versions.sh +21 -0
  1354. data/lib/puppet/vendor/safe_yaml/safe_yaml.gemspec +18 -0
  1355. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.2.yaml +2 -0
  1356. data/lib/puppet/vendor/safe_yaml/spec/exploit.1.9.3.yaml +2 -0
  1357. data/lib/puppet/vendor/safe_yaml/spec/psych_resolver_spec.rb +10 -0
  1358. data/lib/puppet/vendor/safe_yaml/spec/resolver_specs.rb +250 -0
  1359. data/lib/puppet/vendor/safe_yaml/spec/safe_yaml_spec.rb +702 -0
  1360. data/lib/puppet/vendor/safe_yaml/spec/spec_helper.rb +18 -0
  1361. data/lib/puppet/vendor/safe_yaml/spec/support/exploitable_back_door.rb +29 -0
  1362. data/lib/puppet/vendor/safe_yaml/spec/syck_resolver_spec.rb +10 -0
  1363. data/lib/puppet/vendor/safe_yaml/spec/transform/base64_spec.rb +11 -0
  1364. data/lib/puppet/vendor/safe_yaml/spec/transform/to_date_spec.rb +34 -0
  1365. data/lib/puppet/vendor/safe_yaml/spec/transform/to_float_spec.rb +42 -0
  1366. data/lib/puppet/vendor/safe_yaml/spec/transform/to_integer_spec.rb +59 -0
  1367. data/lib/puppet/vendor/safe_yaml/spec/transform/to_symbol_spec.rb +49 -0
  1368. data/lib/puppet/vendor/safe_yaml_patches.rb +9 -0
  1369. data/lib/puppet/vendor/semantic/Gemfile +20 -0
  1370. data/lib/puppet/vendor/semantic/PUPPET_README.md +6 -0
  1371. data/lib/puppet/vendor/semantic/Rakefile +69 -0
  1372. data/lib/puppet/vendor/semantic/lib/semantic.rb +7 -0
  1373. data/lib/puppet/vendor/semantic/lib/semantic/dependency.rb +181 -0
  1374. data/lib/puppet/vendor/semantic/lib/semantic/dependency/graph.rb +60 -0
  1375. data/lib/puppet/vendor/semantic/lib/semantic/dependency/graph_node.rb +117 -0
  1376. data/lib/puppet/vendor/semantic/lib/semantic/dependency/module_release.rb +46 -0
  1377. data/lib/puppet/vendor/semantic/lib/semantic/dependency/source.rb +25 -0
  1378. data/lib/puppet/vendor/semantic/lib/semantic/dependency/unsatisfiable_graph.rb +31 -0
  1379. data/lib/puppet/vendor/semantic/lib/semantic/version.rb +168 -0
  1380. data/lib/puppet/vendor/semantic/lib/semantic/version_range.rb +424 -0
  1381. data/lib/puppet/vendor/semantic/spec/spec_helper.rb +24 -0
  1382. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_node_spec.rb +141 -0
  1383. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/graph_spec.rb +162 -0
  1384. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/module_release_spec.rb +143 -0
  1385. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/source_spec.rb +5 -0
  1386. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency/unsatisfiable_graph_spec.rb +44 -0
  1387. data/lib/puppet/vendor/semantic/spec/unit/semantic/dependency_spec.rb +383 -0
  1388. data/lib/puppet/vendor/semantic/spec/unit/semantic/version_range_spec.rb +307 -0
  1389. data/lib/puppet/vendor/semantic/spec/unit/semantic/version_spec.rb +608 -0
  1390. data/lib/puppet/version.rb +89 -0
  1391. data/lib/puppetx.rb +89 -0
  1392. data/lib/puppetx/puppet/bindings_scheme_handler.rb +130 -0
  1393. data/lib/puppetx/puppet/syntax_checker.rb +91 -0
  1394. data/lib/puppetx/puppetlabs/syntax_checkers/json.rb +37 -0
  1395. data/lib/semver.rb +124 -0
  1396. data/man/man5/puppet.conf.5 +1581 -0
  1397. data/man/man8/extlookup2hiera.8 +23 -0
  1398. data/man/man8/puppet-agent.8 +157 -0
  1399. data/man/man8/puppet-apply.8 +80 -0
  1400. data/man/man8/puppet-ca.8 +170 -0
  1401. data/man/man8/puppet-catalog.8 +292 -0
  1402. data/man/man8/puppet-cert.8 +97 -0
  1403. data/man/man8/puppet-certificate.8 +238 -0
  1404. data/man/man8/puppet-certificate_request.8 +168 -0
  1405. data/man/man8/puppet-certificate_revocation_list.8 +165 -0
  1406. data/man/man8/puppet-config.8 +76 -0
  1407. data/man/man8/puppet-describe.8 +51 -0
  1408. data/man/man8/puppet-device.8 +86 -0
  1409. data/man/man8/puppet-doc.8 +119 -0
  1410. data/man/man8/puppet-facts.8 +223 -0
  1411. data/man/man8/puppet-file.8 +215 -0
  1412. data/man/man8/puppet-filebucket.8 +81 -0
  1413. data/man/man8/puppet-help.8 +64 -0
  1414. data/man/man8/puppet-inspect.8 +36 -0
  1415. data/man/man8/puppet-instrumentation_data.8 +141 -0
  1416. data/man/man8/puppet-instrumentation_listener.8 +218 -0
  1417. data/man/man8/puppet-instrumentation_probe.8 +203 -0
  1418. data/man/man8/puppet-key.8 +129 -0
  1419. data/man/man8/puppet-kick.8 +131 -0
  1420. data/man/man8/puppet-man.8 +70 -0
  1421. data/man/man8/puppet-master.8 +78 -0
  1422. data/man/man8/puppet-module.8 +422 -0
  1423. data/man/man8/puppet-node.8 +211 -0
  1424. data/man/man8/puppet-parser.8 +73 -0
  1425. data/man/man8/puppet-plugin.8 +73 -0
  1426. data/man/man8/puppet-queue.8 +55 -0
  1427. data/man/man8/puppet-report.8 +186 -0
  1428. data/man/man8/puppet-resource.8 +84 -0
  1429. data/man/man8/puppet-resource_type.8 +214 -0
  1430. data/man/man8/puppet-secret_agent.8 +70 -0
  1431. data/man/man8/puppet-status.8 +150 -0
  1432. data/man/man8/puppet.8 +10 -0
  1433. data/spec/fixtures/faulty_face/puppet/face/syntax.rb +8 -0
  1434. data/spec/fixtures/hiera.yaml +9 -0
  1435. data/spec/fixtures/integration/node/environment/sitedir/00_a.pp +2 -0
  1436. data/spec/fixtures/integration/node/environment/sitedir/01_b.pp +6 -0
  1437. data/spec/fixtures/integration/node/environment/sitedir/03_empty.pp +0 -0
  1438. data/spec/fixtures/integration/node/environment/sitedir/04_include.pp +2 -0
  1439. data/spec/fixtures/integration/node/environment/sitedir2/00_a.pp +2 -0
  1440. data/spec/fixtures/integration/node/environment/sitedir2/02_folder/01_b.pp +6 -0
  1441. data/spec/fixtures/integration/node/environment/sitedir2/03_c.pp +1 -0
  1442. data/spec/fixtures/integration/node/environment/sitedir2/04_include.pp +2 -0
  1443. data/spec/fixtures/integration/provider/cron/crontab/create_normal_entry +19 -0
  1444. data/spec/fixtures/integration/provider/cron/crontab/create_special_entry +18 -0
  1445. data/spec/fixtures/integration/provider/cron/crontab/crontab_user1 +15 -0
  1446. data/spec/fixtures/integration/provider/cron/crontab/crontab_user2 +4 -0
  1447. data/spec/fixtures/integration/provider/cron/crontab/modify_entry +13 -0
  1448. data/spec/fixtures/integration/provider/cron/crontab/moved_cronjob_input1 +15 -0
  1449. data/spec/fixtures/integration/provider/cron/crontab/moved_cronjob_input2 +6 -0
  1450. data/spec/fixtures/integration/provider/cron/crontab/purged +8 -0
  1451. data/spec/fixtures/integration/provider/cron/crontab/remove_named_resource +12 -0
  1452. data/spec/fixtures/integration/provider/cron/crontab/remove_unnamed_resource +14 -0
  1453. data/spec/fixtures/integration/provider/cron/crontab/unspecialized +15 -0
  1454. data/spec/fixtures/integration/provider/mailalias/aliases/test1 +28 -0
  1455. data/spec/fixtures/java.tgz +0 -0
  1456. data/spec/fixtures/manifests/site.pp +0 -0
  1457. data/spec/fixtures/releases/jamtur01-apache/Modulefile +2 -0
  1458. data/spec/fixtures/releases/jamtur01-apache/files/httpd +24 -0
  1459. data/spec/fixtures/releases/jamtur01-apache/files/test.vhost +18 -0
  1460. data/spec/fixtures/releases/jamtur01-apache/lib/puppet/provider/a2mod/debian.rb +21 -0
  1461. data/spec/fixtures/releases/jamtur01-apache/lib/puppet/type/a2mod.rb +12 -0
  1462. data/spec/fixtures/releases/jamtur01-apache/manifests/dev.pp +5 -0
  1463. data/spec/fixtures/releases/jamtur01-apache/manifests/init.pp +34 -0
  1464. data/spec/fixtures/releases/jamtur01-apache/manifests/params.pp +17 -0
  1465. data/spec/fixtures/releases/jamtur01-apache/manifests/php.pp +5 -0
  1466. data/spec/fixtures/releases/jamtur01-apache/manifests/ssl.pp +15 -0
  1467. data/spec/fixtures/releases/jamtur01-apache/manifests/vhost.pp +15 -0
  1468. data/spec/fixtures/releases/jamtur01-apache/metadata.json +1 -0
  1469. data/spec/fixtures/releases/jamtur01-apache/templates/vhost-default.conf.erb +20 -0
  1470. data/spec/fixtures/releases/jamtur01-apache/tests/apache.pp +1 -0
  1471. data/spec/fixtures/releases/jamtur01-apache/tests/dev.pp +1 -0
  1472. data/spec/fixtures/releases/jamtur01-apache/tests/init.pp +1 -0
  1473. data/spec/fixtures/releases/jamtur01-apache/tests/php.pp +1 -0
  1474. data/spec/fixtures/releases/jamtur01-apache/tests/ssl.pp +1 -0
  1475. data/spec/fixtures/releases/jamtur01-apache/tests/vhost.pp +2 -0
  1476. data/spec/fixtures/stdlib.tgz +0 -0
  1477. data/spec/fixtures/unit/indirector/data_binding/hiera/global.yaml +10 -0
  1478. data/spec/fixtures/unit/indirector/data_binding/hiera/invalid.yaml +1 -0
  1479. data/spec/fixtures/unit/indirector/hiera/global.yaml +10 -0
  1480. data/spec/fixtures/unit/indirector/hiera/invalid.yaml +1 -0
  1481. data/spec/fixtures/unit/module/trailing-comma.json +24 -0
  1482. data/spec/fixtures/unit/parser/functions/create_resources/foo/manifests/init.pp +3 -0
  1483. data/spec/fixtures/unit/parser/functions/create_resources/foo/manifests/wrongdefine.pp +3 -0
  1484. data/spec/fixtures/unit/parser/lexer/aliastest.pp +16 -0
  1485. data/spec/fixtures/unit/parser/lexer/append.pp +11 -0
  1486. data/spec/fixtures/unit/parser/lexer/argumentdefaults.pp +14 -0
  1487. data/spec/fixtures/unit/parser/lexer/arithmetic_expression.pp +8 -0
  1488. data/spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp +3 -0
  1489. data/spec/fixtures/unit/parser/lexer/casestatement.pp +65 -0
  1490. data/spec/fixtures/unit/parser/lexer/classheirarchy.pp +15 -0
  1491. data/spec/fixtures/unit/parser/lexer/classincludes.pp +17 -0
  1492. data/spec/fixtures/unit/parser/lexer/classpathtest.pp +11 -0
  1493. data/spec/fixtures/unit/parser/lexer/collection.pp +10 -0
  1494. data/spec/fixtures/unit/parser/lexer/collection_override.pp +8 -0
  1495. data/spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp +20 -0
  1496. data/spec/fixtures/unit/parser/lexer/componentmetaparams.pp +11 -0
  1497. data/spec/fixtures/unit/parser/lexer/componentrequire.pp +8 -0
  1498. data/spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp +23 -0
  1499. data/spec/fixtures/unit/parser/lexer/defineoverrides.pp +17 -0
  1500. data/spec/fixtures/unit/parser/lexer/emptyclass.pp +9 -0
  1501. data/spec/fixtures/unit/parser/lexer/emptyexec.pp +3 -0
  1502. data/spec/fixtures/unit/parser/lexer/emptyifelse.pp +9 -0
  1503. data/spec/fixtures/unit/parser/lexer/falsevalues.pp +3 -0
  1504. data/spec/fixtures/unit/parser/lexer/filecreate.pp +11 -0
  1505. data/spec/fixtures/unit/parser/lexer/fqdefinition.pp +5 -0
  1506. data/spec/fixtures/unit/parser/lexer/fqparents.pp +11 -0
  1507. data/spec/fixtures/unit/parser/lexer/funccomma.pp +5 -0
  1508. data/spec/fixtures/unit/parser/lexer/hash.pp +33 -0
  1509. data/spec/fixtures/unit/parser/lexer/ifexpression.pp +12 -0
  1510. data/spec/fixtures/unit/parser/lexer/implicititeration.pp +15 -0
  1511. data/spec/fixtures/unit/parser/lexer/multilinecomments.pp +10 -0
  1512. data/spec/fixtures/unit/parser/lexer/multipleclass.pp +9 -0
  1513. data/spec/fixtures/unit/parser/lexer/multipleinstances.pp +7 -0
  1514. data/spec/fixtures/unit/parser/lexer/multisubs.pp +13 -0
  1515. data/spec/fixtures/unit/parser/lexer/namevartest.pp +9 -0
  1516. data/spec/fixtures/unit/parser/lexer/scopetest.pp +13 -0
  1517. data/spec/fixtures/unit/parser/lexer/selectorvalues.pp +49 -0
  1518. data/spec/fixtures/unit/parser/lexer/simpledefaults.pp +5 -0
  1519. data/spec/fixtures/unit/parser/lexer/simpleselector.pp +38 -0
  1520. data/spec/fixtures/unit/parser/lexer/singleary.pp +19 -0
  1521. data/spec/fixtures/unit/parser/lexer/singlequote.pp +11 -0
  1522. data/spec/fixtures/unit/parser/lexer/singleselector.pp +22 -0
  1523. data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +11 -0
  1524. data/spec/fixtures/unit/parser/lexer/tag.pp +9 -0
  1525. data/spec/fixtures/unit/parser/lexer/tagged.pp +35 -0
  1526. data/spec/fixtures/unit/parser/lexer/virtualresources.pp +14 -0
  1527. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/binder_config.yaml +10 -0
  1528. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/lib/puppet/bindings/confdirtest.rb +10 -0
  1529. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppet/bindings/awesome2/default.rb +20 -0
  1530. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/awesome2/lib/puppetx/awesome2/echo_scheme_handler.rb +18 -0
  1531. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/bad/lib/puppet/bindings/bad/default.rb +5 -0
  1532. data/spec/fixtures/unit/pops/binder/bindings_composer/ok/modules/good/lib/puppet/bindings/good/default.rb +6 -0
  1533. data/spec/fixtures/unit/pops/binder/config/binder_config/ok/binder_config.yaml +9 -0
  1534. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/usee/lib/puppet/functions/usee/callee.rb +5 -0
  1535. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/lib/puppet/functions/user/caller.rb +5 -0
  1536. data/spec/fixtures/unit/pops/loaders/loaders/dependent_modules_with_metadata/user/metadata.json +9 -0
  1537. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/modulea/rb_func_a.rb +5 -0
  1538. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/lib/puppet/functions/rb_func_a.rb +5 -0
  1539. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/manifests/init.pp +3 -0
  1540. data/spec/fixtures/unit/pops/loaders/loaders/single_module/modules/modulea/metadata.json +19 -0
  1541. data/spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/lib/puppet/functions/moduleb/rb_func_b.rb +6 -0
  1542. data/spec/fixtures/unit/pops/loaders/loaders/wo_metadata_module/modules/moduleb/manifests/init.pp +3 -0
  1543. data/spec/fixtures/unit/pops/parser/lexer/aliastest.pp +16 -0
  1544. data/spec/fixtures/unit/pops/parser/lexer/append.pp +11 -0
  1545. data/spec/fixtures/unit/pops/parser/lexer/argumentdefaults.pp +14 -0
  1546. data/spec/fixtures/unit/pops/parser/lexer/arithmetic_expression.pp +8 -0
  1547. data/spec/fixtures/unit/pops/parser/lexer/arraytrailingcomma.pp +3 -0
  1548. data/spec/fixtures/unit/pops/parser/lexer/casestatement.pp +65 -0
  1549. data/spec/fixtures/unit/pops/parser/lexer/classheirarchy.pp +15 -0
  1550. data/spec/fixtures/unit/pops/parser/lexer/classincludes.pp +17 -0
  1551. data/spec/fixtures/unit/pops/parser/lexer/classpathtest.pp +11 -0
  1552. data/spec/fixtures/unit/pops/parser/lexer/collection.pp +10 -0
  1553. data/spec/fixtures/unit/pops/parser/lexer/collection_override.pp +8 -0
  1554. data/spec/fixtures/unit/pops/parser/lexer/collection_within_virtual_definitions.pp +20 -0
  1555. data/spec/fixtures/unit/pops/parser/lexer/componentmetaparams.pp +11 -0
  1556. data/spec/fixtures/unit/pops/parser/lexer/componentrequire.pp +8 -0
  1557. data/spec/fixtures/unit/pops/parser/lexer/deepclassheirarchy.pp +23 -0
  1558. data/spec/fixtures/unit/pops/parser/lexer/defineoverrides.pp +17 -0
  1559. data/spec/fixtures/unit/pops/parser/lexer/emptyclass.pp +9 -0
  1560. data/spec/fixtures/unit/pops/parser/lexer/emptyexec.pp +3 -0
  1561. data/spec/fixtures/unit/pops/parser/lexer/emptyifelse.pp +9 -0
  1562. data/spec/fixtures/unit/pops/parser/lexer/falsevalues.pp +3 -0
  1563. data/spec/fixtures/unit/pops/parser/lexer/filecreate.pp +11 -0
  1564. data/spec/fixtures/unit/pops/parser/lexer/fqdefinition.pp +5 -0
  1565. data/spec/fixtures/unit/pops/parser/lexer/fqparents.pp +11 -0
  1566. data/spec/fixtures/unit/pops/parser/lexer/funccomma.pp +5 -0
  1567. data/spec/fixtures/unit/pops/parser/lexer/hash.pp +33 -0
  1568. data/spec/fixtures/unit/pops/parser/lexer/ifexpression.pp +12 -0
  1569. data/spec/fixtures/unit/pops/parser/lexer/implicititeration.pp +15 -0
  1570. data/spec/fixtures/unit/pops/parser/lexer/multilinecomments.pp +10 -0
  1571. data/spec/fixtures/unit/pops/parser/lexer/multipleclass.pp +9 -0
  1572. data/spec/fixtures/unit/pops/parser/lexer/multipleinstances.pp +7 -0
  1573. data/spec/fixtures/unit/pops/parser/lexer/multisubs.pp +13 -0
  1574. data/spec/fixtures/unit/pops/parser/lexer/namevartest.pp +9 -0
  1575. data/spec/fixtures/unit/pops/parser/lexer/scopetest.pp +13 -0
  1576. data/spec/fixtures/unit/pops/parser/lexer/selectorvalues.pp +49 -0
  1577. data/spec/fixtures/unit/pops/parser/lexer/simpledefaults.pp +5 -0
  1578. data/spec/fixtures/unit/pops/parser/lexer/simpleselector.pp +38 -0
  1579. data/spec/fixtures/unit/pops/parser/lexer/singleary.pp +19 -0
  1580. data/spec/fixtures/unit/pops/parser/lexer/singlequote.pp +11 -0
  1581. data/spec/fixtures/unit/pops/parser/lexer/singleselector.pp +22 -0
  1582. data/spec/fixtures/unit/pops/parser/lexer/subclass_name_duplication.pp +11 -0
  1583. data/spec/fixtures/unit/pops/parser/lexer/tag.pp +9 -0
  1584. data/spec/fixtures/unit/pops/parser/lexer/tagged.pp +35 -0
  1585. data/spec/fixtures/unit/pops/parser/lexer/virtualresources.pp +14 -0
  1586. data/spec/fixtures/unit/provider/augeas/augeas/augeas/lenses/test.aug +13 -0
  1587. data/spec/fixtures/unit/provider/augeas/augeas/etc/fstab +10 -0
  1588. data/spec/fixtures/unit/provider/augeas/augeas/etc/hosts +6 -0
  1589. data/spec/fixtures/unit/provider/augeas/augeas/etc/test +3 -0
  1590. data/spec/fixtures/unit/provider/augeas/augeas/test.aug +13 -0
  1591. data/spec/fixtures/unit/provider/cron/crontab/single_line.yaml +272 -0
  1592. data/spec/fixtures/unit/provider/cron/crontab/vixie_header.txt +3 -0
  1593. data/spec/fixtures/unit/provider/cron/parsed/managed +6 -0
  1594. data/spec/fixtures/unit/provider/cron/parsed/simple +9 -0
  1595. data/spec/fixtures/unit/provider/host/parsed/valid_hosts +19 -0
  1596. data/spec/fixtures/unit/provider/mount/mount-output.aix.txt +7 -0
  1597. data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +144 -0
  1598. data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -0
  1599. data/spec/fixtures/unit/provider/mount/parsed/darwin.mount +6 -0
  1600. data/spec/fixtures/unit/provider/mount/parsed/freebsd.fstab +8 -0
  1601. data/spec/fixtures/unit/provider/mount/parsed/freebsd.mount +3 -0
  1602. data/spec/fixtures/unit/provider/mount/parsed/hpux.mount +17 -0
  1603. data/spec/fixtures/unit/provider/mount/parsed/linux.fstab +11 -0
  1604. data/spec/fixtures/unit/provider/mount/parsed/linux.mount +5 -0
  1605. data/spec/fixtures/unit/provider/mount/parsed/netbsd.fstab +9 -0
  1606. data/spec/fixtures/unit/provider/mount/parsed/netbsd.mount +8 -0
  1607. data/spec/fixtures/unit/provider/mount/parsed/openbsd.fstab +4 -0
  1608. data/spec/fixtures/unit/provider/mount/parsed/openbsd.mount +4 -0
  1609. data/spec/fixtures/unit/provider/mount/parsed/solaris.fstab +11 -0
  1610. data/spec/fixtures/unit/provider/mount/parsed/solaris.mount +6 -0
  1611. data/spec/fixtures/unit/provider/naginator/define_empty_param +6 -0
  1612. data/spec/fixtures/unit/provider/package/gem/gem-list-single-package +4 -0
  1613. data/spec/fixtures/unit/provider/package/gem/line-with-1.8.5-warning +14 -0
  1614. data/spec/fixtures/unit/provider/package/openbsd/pkginfo.detail +19 -0
  1615. data/spec/fixtures/unit/provider/package/openbsd/pkginfo.list +10 -0
  1616. data/spec/fixtures/unit/provider/package/openbsd/pkginfo.query +1 -0
  1617. data/spec/fixtures/unit/provider/package/openbsd/pkginfo_flavors.list +2 -0
  1618. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris10 +1 -0
  1619. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.installed +1 -0
  1620. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.ifo.known +1 -0
  1621. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.installed +1 -0
  1622. data/spec/fixtures/unit/provider/package/pkg/dummy_solaris11.known +1 -0
  1623. data/spec/fixtures/unit/provider/package/pkg/incomplete +1 -0
  1624. data/spec/fixtures/unit/provider/package/pkg/publisher +2 -0
  1625. data/spec/fixtures/unit/provider/package/pkg/simple +2 -0
  1626. data/spec/fixtures/unit/provider/package/pkg/solaris11 +2 -0
  1627. data/spec/fixtures/unit/provider/package/pkg/unknown_status +12 -0
  1628. data/spec/fixtures/unit/provider/package/sun/dummy.server +12 -0
  1629. data/spec/fixtures/unit/provider/package/sun/simple +24 -0
  1630. data/spec/fixtures/unit/provider/package/zypper/zypper-list-updates-SLES11sp1.out +369 -0
  1631. data/spec/fixtures/unit/provider/parsedfile/simple.txt +4 -0
  1632. data/spec/fixtures/unit/provider/service/gentoo/rc_update_show +30 -0
  1633. data/spec/fixtures/unit/provider/service/openrc/rcservice_list +8 -0
  1634. data/spec/fixtures/unit/provider/service/openrc/rcstatus +43 -0
  1635. data/spec/fixtures/unit/provider/service/smf/svcs.out +3 -0
  1636. data/spec/fixtures/unit/provider/service/systemd/list_unit_files_services +7 -0
  1637. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys +7 -0
  1638. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1 +3 -0
  1639. data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2 +1 -0
  1640. data/spec/fixtures/unit/provider/sshkey/parsed/sample +21 -0
  1641. data/spec/fixtures/unit/provider/zfs/zfs/zfs-list.out +2 -0
  1642. data/spec/fixtures/unit/provider/zpool/zpool/zpool-list.out +2 -0
  1643. data/spec/fixtures/unit/reports/tagmail/tagmail_email.conf +2 -0
  1644. data/spec/fixtures/unit/reports/tagmail/tagmail_failers.conf +3 -0
  1645. data/spec/fixtures/unit/reports/tagmail/tagmail_passers.conf +30 -0
  1646. data/spec/fixtures/unit/type/user/authorized_keys +5 -0
  1647. data/spec/fixtures/unit/util/filetype/aixtab_output +44 -0
  1648. data/spec/fixtures/unit/util/filetype/suntab_output +9 -0
  1649. data/spec/fixtures/unit/util/monkey_patches/x509.pem +32 -0
  1650. data/spec/fixtures/unit/util/rdoc/basic.pp +16 -0
  1651. data/spec/fixtures/yaml/report0.25.x.yaml +64 -0
  1652. data/spec/fixtures/yaml/report2.6.x.yaml +190 -0
  1653. data/spec/fixtures/yaml/test.local.yaml +16 -0
  1654. data/spec/integration/agent/logging_spec.rb +182 -0
  1655. data/spec/integration/application/apply_spec.rb +109 -0
  1656. data/spec/integration/application/doc_spec.rb +57 -0
  1657. data/spec/integration/configurer_spec.rb +67 -0
  1658. data/spec/integration/data_binding.rb +100 -0
  1659. data/spec/integration/defaults_spec.rb +341 -0
  1660. data/spec/integration/directory_environments_spec.rb +51 -0
  1661. data/spec/integration/environments/default_manifest_spec.rb +274 -0
  1662. data/spec/integration/faces/ca_spec.rb +354 -0
  1663. data/spec/integration/faces/documentation_spec.rb +58 -0
  1664. data/spec/integration/faces/plugin_spec.rb +62 -0
  1665. data/spec/integration/file_bucket/file_spec.rb +65 -0
  1666. data/spec/integration/file_serving/content_spec.rb +8 -0
  1667. data/spec/integration/file_serving/fileset_spec.rb +13 -0
  1668. data/spec/integration/file_serving/metadata_spec.rb +9 -0
  1669. data/spec/integration/file_serving/terminus_helper_spec.rb +21 -0
  1670. data/spec/integration/indirector/catalog/compiler_spec.rb +65 -0
  1671. data/spec/integration/indirector/catalog/queue_spec.rb +55 -0
  1672. data/spec/integration/indirector/direct_file_server_spec.rb +64 -0
  1673. data/spec/integration/indirector/facts/facter_spec.rb +22 -0
  1674. data/spec/integration/indirector/file_content/file_server_spec.rb +89 -0
  1675. data/spec/integration/indirector/file_metadata/file_server_spec.rb +14 -0
  1676. data/spec/integration/indirector/node/ldap_spec.rb +14 -0
  1677. data/spec/integration/network/authconfig_spec.rb +257 -0
  1678. data/spec/integration/network/formats_spec.rb +91 -0
  1679. data/spec/integration/node/environment_spec.rb +125 -0
  1680. data/spec/integration/node/facts_spec.rb +41 -0
  1681. data/spec/integration/node_spec.rb +82 -0
  1682. data/spec/integration/parser/catalog_spec.rb +125 -0
  1683. data/spec/integration/parser/class_spec.rb +37 -0
  1684. data/spec/integration/parser/collector_spec.rb +276 -0
  1685. data/spec/integration/parser/compiler_spec.rb +525 -0
  1686. data/spec/integration/parser/conditionals_spec.rb +117 -0
  1687. data/spec/integration/parser/functions/require_spec.rb +43 -0
  1688. data/spec/integration/parser/future_compiler_spec.rb +750 -0
  1689. data/spec/integration/parser/node_spec.rb +185 -0
  1690. data/spec/integration/parser/parser_spec.rb +207 -0
  1691. data/spec/integration/parser/resource_expressions_spec.rb +286 -0
  1692. data/spec/integration/parser/ruby_manifest_spec.rb +119 -0
  1693. data/spec/integration/parser/scope_spec.rb +741 -0
  1694. data/spec/integration/parser/undef_param_spec.rb +87 -0
  1695. data/spec/integration/provider/cron/crontab_spec.rb +241 -0
  1696. data/spec/integration/provider/mailalias/aliases_spec.rb +10 -0
  1697. data/spec/integration/provider/mount_spec.rb +169 -0
  1698. data/spec/integration/provider/package_spec.rb +44 -0
  1699. data/spec/integration/provider/service/init_spec.rb +46 -0
  1700. data/spec/integration/provider/service/systemd_spec.rb +20 -0
  1701. data/spec/integration/provider/ssh_authorized_key_spec.rb +219 -0
  1702. data/spec/integration/reference/providers_spec.rb +16 -0
  1703. data/spec/integration/reports_spec.rb +14 -0
  1704. data/spec/integration/resource/catalog_spec.rb +54 -0
  1705. data/spec/integration/resource/type_collection_spec.rb +94 -0
  1706. data/spec/integration/ssl/autosign_spec.rb +130 -0
  1707. data/spec/integration/ssl/certificate_authority_spec.rb +163 -0
  1708. data/spec/integration/ssl/certificate_request_spec.rb +48 -0
  1709. data/spec/integration/ssl/certificate_revocation_list_spec.rb +35 -0
  1710. data/spec/integration/ssl/host_spec.rb +82 -0
  1711. data/spec/integration/transaction/report_spec.rb +24 -0
  1712. data/spec/integration/transaction_spec.rb +362 -0
  1713. data/spec/integration/type/exec_spec.rb +77 -0
  1714. data/spec/integration/type/file_spec.rb +1378 -0
  1715. data/spec/integration/type/nagios_spec.rb +71 -0
  1716. data/spec/integration/type/package_spec.rb +28 -0
  1717. data/spec/integration/type/sshkey_spec.rb +22 -0
  1718. data/spec/integration/type/tidy_spec.rb +34 -0
  1719. data/spec/integration/type/user_spec.rb +36 -0
  1720. data/spec/integration/type_spec.rb +32 -0
  1721. data/spec/integration/util/autoload_spec.rb +107 -0
  1722. data/spec/integration/util/execution_spec.rb +17 -0
  1723. data/spec/integration/util/feature_spec.rb +53 -0
  1724. data/spec/integration/util/rdoc/parser_spec.rb +268 -0
  1725. data/spec/integration/util/settings_spec.rb +89 -0
  1726. data/spec/integration/util/windows/process_spec.rb +34 -0
  1727. data/spec/integration/util/windows/security_spec.rb +864 -0
  1728. data/spec/integration/util/windows/user_spec.rb +125 -0
  1729. data/spec/integration/util_spec.rb +111 -0
  1730. data/spec/lib/matchers/containment_matchers.rb +52 -0
  1731. data/spec/lib/matchers/include.rb +27 -0
  1732. data/spec/lib/matchers/include_in_order.rb +21 -0
  1733. data/spec/lib/matchers/include_in_order_spec.rb +30 -0
  1734. data/spec/lib/matchers/include_spec.rb +32 -0
  1735. data/spec/lib/matchers/json.rb +167 -0
  1736. data/spec/lib/matchers/match_tokens2.rb +74 -0
  1737. data/spec/lib/matchers/relationship_graph_matchers.rb +48 -0
  1738. data/spec/lib/matchers/resource.rb +68 -0
  1739. data/spec/lib/puppet/face/1.0.0/huzzah.rb +8 -0
  1740. data/spec/lib/puppet/face/basetest.rb +51 -0
  1741. data/spec/lib/puppet/face/huzzah.rb +8 -0
  1742. data/spec/lib/puppet/face/huzzah/obsolete.rb +6 -0
  1743. data/spec/lib/puppet/face/version_matching.rb +12 -0
  1744. data/spec/lib/puppet/indirector/indirector_testing/json.rb +6 -0
  1745. data/spec/lib/puppet/indirector/indirector_testing/memory.rb +7 -0
  1746. data/spec/lib/puppet/indirector/indirector_testing/msgpack.rb +6 -0
  1747. data/spec/lib/puppet/indirector_testing.rb +37 -0
  1748. data/spec/lib/puppet_spec/compiler.rb +49 -0
  1749. data/spec/lib/puppet_spec/database.rb +29 -0
  1750. data/spec/lib/puppet_spec/files.rb +88 -0
  1751. data/spec/lib/puppet_spec/fixtures.rb +28 -0
  1752. data/spec/lib/puppet_spec/language.rb +74 -0
  1753. data/spec/lib/puppet_spec/matchers.rb +147 -0
  1754. data/spec/lib/puppet_spec/module_tool/shared_functions.rb +56 -0
  1755. data/spec/lib/puppet_spec/module_tool/stub_source.rb +136 -0
  1756. data/spec/lib/puppet_spec/modules.rb +26 -0
  1757. data/spec/lib/puppet_spec/pops.rb +16 -0
  1758. data/spec/lib/puppet_spec/scope.rb +14 -0
  1759. data/spec/lib/puppet_spec/settings.rb +15 -0
  1760. data/spec/lib/puppet_spec/verbose.rb +9 -0
  1761. data/spec/monkey_patches/alias_should_to_must.rb +21 -0
  1762. data/spec/shared_behaviours/all_parsedfile_providers.rb +21 -0
  1763. data/spec/shared_behaviours/an_indirector_face.rb +6 -0
  1764. data/spec/shared_behaviours/documentation_on_faces.rb +263 -0
  1765. data/spec/shared_behaviours/file_server_terminus.rb +41 -0
  1766. data/spec/shared_behaviours/file_serving.rb +75 -0
  1767. data/spec/shared_behaviours/file_serving_model.rb +72 -0
  1768. data/spec/shared_behaviours/hiera_indirections.rb +99 -0
  1769. data/spec/shared_behaviours/iterative_functions.rb +69 -0
  1770. data/spec/shared_behaviours/memory_terminus.rb +28 -0
  1771. data/spec/shared_behaviours/path_parameters.rb +160 -0
  1772. data/spec/shared_behaviours/store_configs_terminus.rb +21 -0
  1773. data/spec/shared_behaviours/things_that_declare_options.rb +262 -0
  1774. data/spec/shared_contexts/checksums.rb +55 -0
  1775. data/spec/shared_contexts/platform.rb +52 -0
  1776. data/spec/spec_helper.rb +193 -0
  1777. data/spec/unit/agent/disabler_spec.rb +64 -0
  1778. data/spec/unit/agent/locker_spec.rb +100 -0
  1779. data/spec/unit/agent_spec.rb +327 -0
  1780. data/spec/unit/application/agent_spec.rb +656 -0
  1781. data/spec/unit/application/apply_spec.rb +460 -0
  1782. data/spec/unit/application/cert_spec.rb +220 -0
  1783. data/spec/unit/application/certificate_spec.rb +22 -0
  1784. data/spec/unit/application/config_spec.rb +9 -0
  1785. data/spec/unit/application/describe_spec.rb +79 -0
  1786. data/spec/unit/application/device_spec.rb +415 -0
  1787. data/spec/unit/application/doc_spec.rb +344 -0
  1788. data/spec/unit/application/face_base_spec.rb +408 -0
  1789. data/spec/unit/application/facts_spec.rb +32 -0
  1790. data/spec/unit/application/filebucket_spec.rb +207 -0
  1791. data/spec/unit/application/indirection_base_spec.rb +52 -0
  1792. data/spec/unit/application/inspect_spec.rb +287 -0
  1793. data/spec/unit/application/kick_spec.rb +296 -0
  1794. data/spec/unit/application/master_spec.rb +363 -0
  1795. data/spec/unit/application/queue_spec.rb +168 -0
  1796. data/spec/unit/application/resource_spec.rb +209 -0
  1797. data/spec/unit/application/secret_agent_spec.rb +34 -0
  1798. data/spec/unit/application_spec.rb +645 -0
  1799. data/spec/unit/configurer/downloader_factory_spec.rb +96 -0
  1800. data/spec/unit/configurer/downloader_spec.rb +222 -0
  1801. data/spec/unit/configurer/fact_handler_spec.rb +89 -0
  1802. data/spec/unit/configurer/plugin_handler_spec.rb +39 -0
  1803. data/spec/unit/configurer_spec.rb +680 -0
  1804. data/spec/unit/confine/exists_spec.rb +80 -0
  1805. data/spec/unit/confine/false_spec.rb +52 -0
  1806. data/spec/unit/confine/feature_spec.rb +57 -0
  1807. data/spec/unit/confine/true_spec.rb +52 -0
  1808. data/spec/unit/confine/variable_spec.rb +106 -0
  1809. data/spec/unit/confine_collection_spec.rb +133 -0
  1810. data/spec/unit/confine_spec.rb +77 -0
  1811. data/spec/unit/confiner_spec.rb +62 -0
  1812. data/spec/unit/context/trusted_information_spec.rb +124 -0
  1813. data/spec/unit/context_spec.rb +136 -0
  1814. data/spec/unit/daemon_spec.rb +255 -0
  1815. data/spec/unit/data_binding_spec.rb +11 -0
  1816. data/spec/unit/defaults_spec.rb +74 -0
  1817. data/spec/unit/dsl/resource_api_spec.rb +180 -0
  1818. data/spec/unit/dsl/resource_type_api_spec.rb +53 -0
  1819. data/spec/unit/environments_spec.rb +383 -0
  1820. data/spec/unit/face/catalog_spec.rb +7 -0
  1821. data/spec/unit/face/certificate_spec.rb +223 -0
  1822. data/spec/unit/face/config_spec.rb +147 -0
  1823. data/spec/unit/face/facts_spec.rb +23 -0
  1824. data/spec/unit/face/file_spec.rb +12 -0
  1825. data/spec/unit/face/help_spec.rb +144 -0
  1826. data/spec/unit/face/instrumentation_data_spec.rb +7 -0
  1827. data/spec/unit/face/instrumentation_listener_spec.rb +38 -0
  1828. data/spec/unit/face/instrumentation_probe_spec.rb +21 -0
  1829. data/spec/unit/face/module/build_spec.rb +69 -0
  1830. data/spec/unit/face/module/install_spec.rb +42 -0
  1831. data/spec/unit/face/module/list_spec.rb +241 -0
  1832. data/spec/unit/face/module/search_spec.rb +201 -0
  1833. data/spec/unit/face/module/uninstall_spec.rb +49 -0
  1834. data/spec/unit/face/module/upgrade_spec.rb +26 -0
  1835. data/spec/unit/face/module_spec.rb +3 -0
  1836. data/spec/unit/face/node_spec.rb +272 -0
  1837. data/spec/unit/face/parser_spec.rb +111 -0
  1838. data/spec/unit/face/plugin_spec.rb +10 -0
  1839. data/spec/unit/face/secret_agent_spec.rb +27 -0
  1840. data/spec/unit/face_spec.rb +1 -0
  1841. data/spec/unit/file_bucket/dipper_spec.rb +176 -0
  1842. data/spec/unit/file_bucket/file_spec.rb +76 -0
  1843. data/spec/unit/file_serving/base_spec.rb +168 -0
  1844. data/spec/unit/file_serving/configuration/parser_spec.rb +186 -0
  1845. data/spec/unit/file_serving/configuration_spec.rb +231 -0
  1846. data/spec/unit/file_serving/content_spec.rb +112 -0
  1847. data/spec/unit/file_serving/fileset_spec.rb +354 -0
  1848. data/spec/unit/file_serving/metadata_spec.rb +432 -0
  1849. data/spec/unit/file_serving/mount/file_spec.rb +189 -0
  1850. data/spec/unit/file_serving/mount/modules_spec.rb +70 -0
  1851. data/spec/unit/file_serving/mount/pluginfacts_spec.rb +73 -0
  1852. data/spec/unit/file_serving/mount/plugins_spec.rb +73 -0
  1853. data/spec/unit/file_serving/mount_spec.rb +31 -0
  1854. data/spec/unit/file_serving/terminus_helper_spec.rb +94 -0
  1855. data/spec/unit/file_serving/terminus_selector_spec.rb +58 -0
  1856. data/spec/unit/file_system/path_pattern_spec.rb +138 -0
  1857. data/spec/unit/file_system/uniquefile_spec.rb +184 -0
  1858. data/spec/unit/file_system_spec.rb +508 -0
  1859. data/spec/unit/forge/errors_spec.rb +80 -0
  1860. data/spec/unit/forge/module_release_spec.rb +220 -0
  1861. data/spec/unit/forge/repository_spec.rb +230 -0
  1862. data/spec/unit/forge_spec.rb +172 -0
  1863. data/spec/unit/functions/assert_type_spec.rb +78 -0
  1864. data/spec/unit/functions/each_spec.rb +111 -0
  1865. data/spec/unit/functions/epp_spec.rb +155 -0
  1866. data/spec/unit/functions/filter_spec.rb +131 -0
  1867. data/spec/unit/functions/inline_epp_spec.rb +97 -0
  1868. data/spec/unit/functions/map_spec.rb +169 -0
  1869. data/spec/unit/functions/match_spec.rb +57 -0
  1870. data/spec/unit/functions/reduce_spec.rb +96 -0
  1871. data/spec/unit/functions/slice_spec.rb +148 -0
  1872. data/spec/unit/functions/with_spec.rb +35 -0
  1873. data/spec/unit/functions4_spec.rb +670 -0
  1874. data/spec/unit/graph/key_spec.rb +41 -0
  1875. data/spec/unit/graph/rb_tree_map_spec.rb +572 -0
  1876. data/spec/unit/graph/relationship_graph_spec.rb +387 -0
  1877. data/spec/unit/graph/sequential_prioritizer_spec.rb +32 -0
  1878. data/spec/unit/graph/simple_graph.rb +721 -0
  1879. data/spec/unit/graph/title_hash_prioritizer_spec.rb +49 -0
  1880. data/spec/unit/hiera/backend/puppet_backend_spec.rb +148 -0
  1881. data/spec/unit/hiera/scope_spec.rb +89 -0
  1882. data/spec/unit/hiera_puppet_spec.rb +118 -0
  1883. data/spec/unit/indirector/active_record_spec.rb +75 -0
  1884. data/spec/unit/indirector/catalog/active_record_spec.rb +107 -0
  1885. data/spec/unit/indirector/catalog/compiler_spec.rb +272 -0
  1886. data/spec/unit/indirector/catalog/json_spec.rb +12 -0
  1887. data/spec/unit/indirector/catalog/msgpack_spec.rb +12 -0
  1888. data/spec/unit/indirector/catalog/queue_spec.rb +19 -0
  1889. data/spec/unit/indirector/catalog/rest_spec.rb +10 -0
  1890. data/spec/unit/indirector/catalog/static_compiler_spec.rb +236 -0
  1891. data/spec/unit/indirector/catalog/store_configs_spec.rb +17 -0
  1892. data/spec/unit/indirector/catalog/yaml_spec.rb +24 -0
  1893. data/spec/unit/indirector/certificate/ca_spec.rb +23 -0
  1894. data/spec/unit/indirector/certificate/disabled_ca_spec.rb +33 -0
  1895. data/spec/unit/indirector/certificate/file_spec.rb +23 -0
  1896. data/spec/unit/indirector/certificate/rest_spec.rb +63 -0
  1897. data/spec/unit/indirector/certificate_request/ca_spec.rb +57 -0
  1898. data/spec/unit/indirector/certificate_request/disabled_ca_spec.rb +33 -0
  1899. data/spec/unit/indirector/certificate_request/file_spec.rb +15 -0
  1900. data/spec/unit/indirector/certificate_request/rest_spec.rb +26 -0
  1901. data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +16 -0
  1902. data/spec/unit/indirector/certificate_revocation_list/disabled_ca_spec.rb +33 -0
  1903. data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +17 -0
  1904. data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +26 -0
  1905. data/spec/unit/indirector/certificate_status/file_spec.rb +191 -0
  1906. data/spec/unit/indirector/certificate_status/rest_spec.rb +18 -0
  1907. data/spec/unit/indirector/code_spec.rb +31 -0
  1908. data/spec/unit/indirector/data_binding/hiera_spec.rb +19 -0
  1909. data/spec/unit/indirector/data_binding/none_spec.rb +28 -0
  1910. data/spec/unit/indirector/direct_file_server_spec.rb +80 -0
  1911. data/spec/unit/indirector/envelope_spec.rb +33 -0
  1912. data/spec/unit/indirector/exec_spec.rb +58 -0
  1913. data/spec/unit/indirector/face_spec.rb +70 -0
  1914. data/spec/unit/indirector/facts/active_record_spec.rb +113 -0
  1915. data/spec/unit/indirector/facts/couch_spec.rb +102 -0
  1916. data/spec/unit/indirector/facts/facter_spec.rb +170 -0
  1917. data/spec/unit/indirector/facts/inventory_active_record_spec.rb +175 -0
  1918. data/spec/unit/indirector/facts/inventory_service_spec.rb +21 -0
  1919. data/spec/unit/indirector/facts/network_device_spec.rb +88 -0
  1920. data/spec/unit/indirector/facts/rest_spec.rb +10 -0
  1921. data/spec/unit/indirector/facts/store_configs_spec.rb +17 -0
  1922. data/spec/unit/indirector/facts/yaml_spec.rb +239 -0
  1923. data/spec/unit/indirector/file_bucket_file/file_spec.rb +286 -0
  1924. data/spec/unit/indirector/file_bucket_file/rest_spec.rb +10 -0
  1925. data/spec/unit/indirector/file_bucket_file/selector_spec.rb +29 -0
  1926. data/spec/unit/indirector/file_content/file_server_spec.rb +14 -0
  1927. data/spec/unit/indirector/file_content/file_spec.rb +14 -0
  1928. data/spec/unit/indirector/file_content/rest_spec.rb +14 -0
  1929. data/spec/unit/indirector/file_content/selector_spec.rb +10 -0
  1930. data/spec/unit/indirector/file_metadata/file_server_spec.rb +14 -0
  1931. data/spec/unit/indirector/file_metadata/file_spec.rb +50 -0
  1932. data/spec/unit/indirector/file_metadata/rest_spec.rb +13 -0
  1933. data/spec/unit/indirector/file_metadata/selector_spec.rb +11 -0
  1934. data/spec/unit/indirector/file_server_spec.rb +263 -0
  1935. data/spec/unit/indirector/hiera_spec.rb +17 -0
  1936. data/spec/unit/indirector/indirection_spec.rb +875 -0
  1937. data/spec/unit/indirector/instrumentation_data/local_spec.rb +52 -0
  1938. data/spec/unit/indirector/instrumentation_data/rest_spec.rb +11 -0
  1939. data/spec/unit/indirector/instrumentation_listener/local_spec.rb +65 -0
  1940. data/spec/unit/indirector/instrumentation_listener/rest_spec.rb +11 -0
  1941. data/spec/unit/indirector/instrumentation_probe/local_spec.rb +65 -0
  1942. data/spec/unit/indirector/instrumentation_probe/rest_spec.rb +11 -0
  1943. data/spec/unit/indirector/json_spec.rb +193 -0
  1944. data/spec/unit/indirector/key/ca_spec.rb +23 -0
  1945. data/spec/unit/indirector/key/disabled_ca_spec.rb +33 -0
  1946. data/spec/unit/indirector/key/file_spec.rb +97 -0
  1947. data/spec/unit/indirector/ldap_spec.rb +137 -0
  1948. data/spec/unit/indirector/memory_spec.rb +27 -0
  1949. data/spec/unit/indirector/msgpack_spec.rb +191 -0
  1950. data/spec/unit/indirector/node/active_record_spec.rb +48 -0
  1951. data/spec/unit/indirector/node/exec_spec.rb +76 -0
  1952. data/spec/unit/indirector/node/ldap_spec.rb +441 -0
  1953. data/spec/unit/indirector/node/memory_spec.rb +18 -0
  1954. data/spec/unit/indirector/node/msgpack_spec.rb +24 -0
  1955. data/spec/unit/indirector/node/plain_spec.rb +26 -0
  1956. data/spec/unit/indirector/node/rest_spec.rb +12 -0
  1957. data/spec/unit/indirector/node/store_configs_spec.rb +17 -0
  1958. data/spec/unit/indirector/node/yaml_spec.rb +24 -0
  1959. data/spec/unit/indirector/none_spec.rb +33 -0
  1960. data/spec/unit/indirector/plain_spec.rb +27 -0
  1961. data/spec/unit/indirector/queue_spec.rb +115 -0
  1962. data/spec/unit/indirector/report/msgpack_spec.rb +28 -0
  1963. data/spec/unit/indirector/report/processor_spec.rb +100 -0
  1964. data/spec/unit/indirector/report/rest_spec.rb +67 -0
  1965. data/spec/unit/indirector/report/yaml_spec.rb +28 -0
  1966. data/spec/unit/indirector/request_spec.rb +603 -0
  1967. data/spec/unit/indirector/resource/active_record_spec.rb +166 -0
  1968. data/spec/unit/indirector/resource/ral_spec.rb +147 -0
  1969. data/spec/unit/indirector/resource/rest_spec.rb +10 -0
  1970. data/spec/unit/indirector/resource/store_configs_spec.rb +23 -0
  1971. data/spec/unit/indirector/resource_type/parser_spec.rb +254 -0
  1972. data/spec/unit/indirector/resource_type/rest_spec.rb +14 -0
  1973. data/spec/unit/indirector/rest_spec.rb +589 -0
  1974. data/spec/unit/indirector/run/local_spec.rb +21 -0
  1975. data/spec/unit/indirector/run/rest_spec.rb +10 -0
  1976. data/spec/unit/indirector/ssl_file_spec.rb +328 -0
  1977. data/spec/unit/indirector/status/local_spec.rb +11 -0
  1978. data/spec/unit/indirector/status/rest_spec.rb +10 -0
  1979. data/spec/unit/indirector/store_configs_spec.rb +8 -0
  1980. data/spec/unit/indirector/terminus_spec.rb +264 -0
  1981. data/spec/unit/indirector/yaml_spec.rb +166 -0
  1982. data/spec/unit/indirector_spec.rb +150 -0
  1983. data/spec/unit/interface/action_builder_spec.rb +217 -0
  1984. data/spec/unit/interface/action_manager_spec.rb +280 -0
  1985. data/spec/unit/interface/action_spec.rb +650 -0
  1986. data/spec/unit/interface/documentation_spec.rb +33 -0
  1987. data/spec/unit/interface/face_collection_spec.rb +212 -0
  1988. data/spec/unit/interface/option_builder_spec.rb +86 -0
  1989. data/spec/unit/interface/option_spec.rb +156 -0
  1990. data/spec/unit/interface_spec.rb +271 -0
  1991. data/spec/unit/man_spec.rb +32 -0
  1992. data/spec/unit/module_spec.rb +722 -0
  1993. data/spec/unit/module_tool/application_spec.rb +25 -0
  1994. data/spec/unit/module_tool/applications/builder_spec.rb +416 -0
  1995. data/spec/unit/module_tool/applications/checksummer_spec.rb +115 -0
  1996. data/spec/unit/module_tool/applications/installer_spec.rb +363 -0
  1997. data/spec/unit/module_tool/applications/searcher_spec.rb +38 -0
  1998. data/spec/unit/module_tool/applications/uninstaller_spec.rb +165 -0
  1999. data/spec/unit/module_tool/applications/unpacker_spec.rb +74 -0
  2000. data/spec/unit/module_tool/applications/upgrader_spec.rb +324 -0
  2001. data/spec/unit/module_tool/install_directory_spec.rb +70 -0
  2002. data/spec/unit/module_tool/installed_modules_spec.rb +49 -0
  2003. data/spec/unit/module_tool/metadata_spec.rb +301 -0
  2004. data/spec/unit/module_tool/tar/gnu_spec.rb +23 -0
  2005. data/spec/unit/module_tool/tar/mini_spec.rb +60 -0
  2006. data/spec/unit/module_tool/tar_spec.rb +31 -0
  2007. data/spec/unit/module_tool_spec.rb +330 -0
  2008. data/spec/unit/network/auth_config_parser_spec.rb +101 -0
  2009. data/spec/unit/network/authconfig_spec.rb +109 -0
  2010. data/spec/unit/network/authentication_spec.rb +104 -0
  2011. data/spec/unit/network/authorization_spec.rb +34 -0
  2012. data/spec/unit/network/authstore_spec.rb +424 -0
  2013. data/spec/unit/network/format_handler_spec.rb +94 -0
  2014. data/spec/unit/network/format_spec.rb +197 -0
  2015. data/spec/unit/network/format_support_spec.rb +199 -0
  2016. data/spec/unit/network/formats_spec.rb +422 -0
  2017. data/spec/unit/network/http/api/v1_spec.rb +529 -0
  2018. data/spec/unit/network/http/api/v2/authorization_spec.rb +57 -0
  2019. data/spec/unit/network/http/api/v2/environments_spec.rb +63 -0
  2020. data/spec/unit/network/http/api/v2_spec.rb +14 -0
  2021. data/spec/unit/network/http/compression_spec.rb +196 -0
  2022. data/spec/unit/network/http/connection_spec.rb +306 -0
  2023. data/spec/unit/network/http/error_spec.rb +30 -0
  2024. data/spec/unit/network/http/factory_spec.rb +82 -0
  2025. data/spec/unit/network/http/handler_spec.rb +232 -0
  2026. data/spec/unit/network/http/nocache_pool_spec.rb +43 -0
  2027. data/spec/unit/network/http/pool_spec.rb +269 -0
  2028. data/spec/unit/network/http/rack/rest_spec.rb +316 -0
  2029. data/spec/unit/network/http/rack_spec.rb +43 -0
  2030. data/spec/unit/network/http/route_spec.rb +91 -0
  2031. data/spec/unit/network/http/session_spec.rb +43 -0
  2032. data/spec/unit/network/http/site_spec.rb +90 -0
  2033. data/spec/unit/network/http/webrick/rest_spec.rb +231 -0
  2034. data/spec/unit/network/http/webrick_spec.rb +271 -0
  2035. data/spec/unit/network/http_pool_spec.rb +98 -0
  2036. data/spec/unit/network/http_spec.rb +10 -0
  2037. data/spec/unit/network/resolver_spec.rb +207 -0
  2038. data/spec/unit/network/rights_spec.rb +440 -0
  2039. data/spec/unit/network/server_spec.rb +95 -0
  2040. data/spec/unit/node/environment_spec.rb +581 -0
  2041. data/spec/unit/node/facts_spec.rb +175 -0
  2042. data/spec/unit/node_spec.rb +321 -0
  2043. data/spec/unit/other/selinux_spec.rb +99 -0
  2044. data/spec/unit/parameter/boolean_spec.rb +35 -0
  2045. data/spec/unit/parameter/package_options_spec.rb +44 -0
  2046. data/spec/unit/parameter/path_spec.rb +24 -0
  2047. data/spec/unit/parameter/value_collection_spec.rb +166 -0
  2048. data/spec/unit/parameter/value_spec.rb +87 -0
  2049. data/spec/unit/parameter_spec.rb +193 -0
  2050. data/spec/unit/parser/ast/arithmetic_operator_spec.rb +160 -0
  2051. data/spec/unit/parser/ast/astarray_spec.rb +56 -0
  2052. data/spec/unit/parser/ast/asthash_spec.rb +98 -0
  2053. data/spec/unit/parser/ast/block_expression_spec.rb +67 -0
  2054. data/spec/unit/parser/ast/boolean_operator_spec.rb +54 -0
  2055. data/spec/unit/parser/ast/casestatement_spec.rb +168 -0
  2056. data/spec/unit/parser/ast/collection_spec.rb +70 -0
  2057. data/spec/unit/parser/ast/collexpr_spec.rb +120 -0
  2058. data/spec/unit/parser/ast/comparison_operator_spec.rb +118 -0
  2059. data/spec/unit/parser/ast/definition_spec.rb +21 -0
  2060. data/spec/unit/parser/ast/function_spec.rb +92 -0
  2061. data/spec/unit/parser/ast/hostclass_spec.rb +72 -0
  2062. data/spec/unit/parser/ast/ifstatement_spec.rb +77 -0
  2063. data/spec/unit/parser/ast/in_operator_spec.rb +61 -0
  2064. data/spec/unit/parser/ast/leaf_spec.rb +511 -0
  2065. data/spec/unit/parser/ast/match_operator_spec.rb +51 -0
  2066. data/spec/unit/parser/ast/minus_spec.rb +37 -0
  2067. data/spec/unit/parser/ast/node_spec.rb +30 -0
  2068. data/spec/unit/parser/ast/nop_spec.rb +19 -0
  2069. data/spec/unit/parser/ast/not_spec.rb +31 -0
  2070. data/spec/unit/parser/ast/relationship_spec.rb +87 -0
  2071. data/spec/unit/parser/ast/resource_defaults_spec.rb +21 -0
  2072. data/spec/unit/parser/ast/resource_override_spec.rb +50 -0
  2073. data/spec/unit/parser/ast/resource_reference_spec.rb +56 -0
  2074. data/spec/unit/parser/ast/resource_spec.rb +183 -0
  2075. data/spec/unit/parser/ast/resourceparam_spec.rb +51 -0
  2076. data/spec/unit/parser/ast/selector_spec.rb +88 -0
  2077. data/spec/unit/parser/ast/vardef_spec.rb +68 -0
  2078. data/spec/unit/parser/ast_spec.rb +76 -0
  2079. data/spec/unit/parser/collector_spec.rb +438 -0
  2080. data/spec/unit/parser/compiler_spec.rb +910 -0
  2081. data/spec/unit/parser/files_spec.rb +168 -0
  2082. data/spec/unit/parser/functions/contain_spec.rb +236 -0
  2083. data/spec/unit/parser/functions/create_resources_spec.rb +213 -0
  2084. data/spec/unit/parser/functions/defined_spec.rb +114 -0
  2085. data/spec/unit/parser/functions/digest_spec.rb +31 -0
  2086. data/spec/unit/parser/functions/extlookup_spec.rb +102 -0
  2087. data/spec/unit/parser/functions/fail_spec.rb +28 -0
  2088. data/spec/unit/parser/functions/file_spec.rb +98 -0
  2089. data/spec/unit/parser/functions/fqdn_rand_spec.rb +46 -0
  2090. data/spec/unit/parser/functions/generate_spec.rb +136 -0
  2091. data/spec/unit/parser/functions/hiera_array_spec.rb +26 -0
  2092. data/spec/unit/parser/functions/hiera_hash_spec.rb +22 -0
  2093. data/spec/unit/parser/functions/hiera_include_spec.rb +39 -0
  2094. data/spec/unit/parser/functions/hiera_spec.rb +22 -0
  2095. data/spec/unit/parser/functions/include_spec.rb +65 -0
  2096. data/spec/unit/parser/functions/inline_template_spec.rb +34 -0
  2097. data/spec/unit/parser/functions/lookup_spec.rb +146 -0
  2098. data/spec/unit/parser/functions/realize_spec.rb +61 -0
  2099. data/spec/unit/parser/functions/regsubst_spec.rb +196 -0
  2100. data/spec/unit/parser/functions/require_spec.rb +75 -0
  2101. data/spec/unit/parser/functions/search_spec.rb +28 -0
  2102. data/spec/unit/parser/functions/shared.rb +82 -0
  2103. data/spec/unit/parser/functions/shellquote_spec.rb +67 -0
  2104. data/spec/unit/parser/functions/split_spec.rb +53 -0
  2105. data/spec/unit/parser/functions/sprintf_spec.rb +51 -0
  2106. data/spec/unit/parser/functions/tag_spec.rb +28 -0
  2107. data/spec/unit/parser/functions/template_spec.rb +89 -0
  2108. data/spec/unit/parser/functions/versioncmp_spec.rb +33 -0
  2109. data/spec/unit/parser/functions_spec.rb +132 -0
  2110. data/spec/unit/parser/lexer_spec.rb +877 -0
  2111. data/spec/unit/parser/parser_spec.rb +535 -0
  2112. data/spec/unit/parser/relationship_spec.rb +93 -0
  2113. data/spec/unit/parser/resource/param_spec.rb +44 -0
  2114. data/spec/unit/parser/resource_spec.rb +586 -0
  2115. data/spec/unit/parser/scope_spec.rb +661 -0
  2116. data/spec/unit/parser/templatewrapper_spec.rb +118 -0
  2117. data/spec/unit/parser/type_loader_spec.rb +224 -0
  2118. data/spec/unit/pops/adaptable_spec.rb +141 -0
  2119. data/spec/unit/pops/benchmark_spec.rb +142 -0
  2120. data/spec/unit/pops/binder/binder_spec.rb +43 -0
  2121. data/spec/unit/pops/binder/bindings_checker_spec.rb +155 -0
  2122. data/spec/unit/pops/binder/bindings_composer_spec.rb +66 -0
  2123. data/spec/unit/pops/binder/bindings_validator_factory_spec.rb +18 -0
  2124. data/spec/unit/pops/binder/config/binder_config_spec.rb +35 -0
  2125. data/spec/unit/pops/binder/injector_spec.rb +786 -0
  2126. data/spec/unit/pops/containment_spec.rb +26 -0
  2127. data/spec/unit/pops/evaluator/access_ops_spec.rb +441 -0
  2128. data/spec/unit/pops/evaluator/arithmetic_ops_spec.rb +77 -0
  2129. data/spec/unit/pops/evaluator/basic_expressions_spec.rb +103 -0
  2130. data/spec/unit/pops/evaluator/collections_ops_spec.rb +111 -0
  2131. data/spec/unit/pops/evaluator/comparison_ops_spec.rb +259 -0
  2132. data/spec/unit/pops/evaluator/conditionals_spec.rb +190 -0
  2133. data/spec/unit/pops/evaluator/evaluating_parser_spec.rb +1300 -0
  2134. data/spec/unit/pops/evaluator/evaluator_rspec_helper.rb +75 -0
  2135. data/spec/unit/pops/evaluator/logical_ops_spec.rb +90 -0
  2136. data/spec/unit/pops/evaluator/string_interpolation_spec.rb +44 -0
  2137. data/spec/unit/pops/evaluator/variables_spec.rb +89 -0
  2138. data/spec/unit/pops/factory_rspec_helper.rb +77 -0
  2139. data/spec/unit/pops/factory_spec.rb +306 -0
  2140. data/spec/unit/pops/issues_spec.rb +196 -0
  2141. data/spec/unit/pops/label_provider_spec.rb +42 -0
  2142. data/spec/unit/pops/loaders/dependency_loader_spec.rb +61 -0
  2143. data/spec/unit/pops/loaders/loader_paths_spec.rb +55 -0
  2144. data/spec/unit/pops/loaders/loaders_spec.rb +125 -0
  2145. data/spec/unit/pops/loaders/module_loaders_spec.rb +90 -0
  2146. data/spec/unit/pops/loaders/static_loader_spec.rb +52 -0
  2147. data/spec/unit/pops/model/ast_transformer_spec.rb +76 -0
  2148. data/spec/unit/pops/model/model_spec.rb +37 -0
  2149. data/spec/unit/pops/parser/epp_parser_spec.rb +115 -0
  2150. data/spec/unit/pops/parser/evaluating_parser_spec.rb +89 -0
  2151. data/spec/unit/pops/parser/lexer2_spec.rb +464 -0
  2152. data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +278 -0
  2153. data/spec/unit/pops/parser/parse_calls_spec.rb +104 -0
  2154. data/spec/unit/pops/parser/parse_conditionals_spec.rb +157 -0
  2155. data/spec/unit/pops/parser/parse_containers_spec.rb +261 -0
  2156. data/spec/unit/pops/parser/parse_heredoc_spec.rb +87 -0
  2157. data/spec/unit/pops/parser/parse_resource_spec.rb +324 -0
  2158. data/spec/unit/pops/parser/parser_rspec_helper.rb +11 -0
  2159. data/spec/unit/pops/parser/parser_spec.rb +33 -0
  2160. data/spec/unit/pops/parser/parsing_typed_parameters_spec.rb +72 -0
  2161. data/spec/unit/pops/parser/rgen_sanitycheck_spec.rb +23 -0
  2162. data/spec/unit/pops/transformer/transform_basic_expressions_spec.rb +243 -0
  2163. data/spec/unit/pops/transformer/transform_calls_spec.rb +115 -0
  2164. data/spec/unit/pops/transformer/transform_conditionals_spec.rb +123 -0
  2165. data/spec/unit/pops/transformer/transform_containers_spec.rb +190 -0
  2166. data/spec/unit/pops/transformer/transformer_rspec_helper.rb +27 -0
  2167. data/spec/unit/pops/types/enumeration_spec.rb +50 -0
  2168. data/spec/unit/pops/types/type_calculator_spec.rb +1800 -0
  2169. data/spec/unit/pops/types/type_factory_spec.rb +281 -0
  2170. data/spec/unit/pops/types/type_parser_spec.rb +240 -0
  2171. data/spec/unit/pops/validator/validator_spec.rb +184 -0
  2172. data/spec/unit/pops/visitor_spec.rb +94 -0
  2173. data/spec/unit/property/boolean_spec.rb +24 -0
  2174. data/spec/unit/property/ensure_spec.rb +12 -0
  2175. data/spec/unit/property/keyvalue_spec.rb +170 -0
  2176. data/spec/unit/property/list_spec.rb +173 -0
  2177. data/spec/unit/property/ordered_list_spec.rb +63 -0
  2178. data/spec/unit/property_spec.rb +541 -0
  2179. data/spec/unit/provider/README.markdown +4 -0
  2180. data/spec/unit/provider/aixobject_spec.rb +101 -0
  2181. data/spec/unit/provider/augeas/augeas_spec.rb +944 -0
  2182. data/spec/unit/provider/cisco_spec.rb +15 -0
  2183. data/spec/unit/provider/command_spec.rb +62 -0
  2184. data/spec/unit/provider/cron/crontab_spec.rb +207 -0
  2185. data/spec/unit/provider/cron/parsed_spec.rb +336 -0
  2186. data/spec/unit/provider/exec/posix_spec.rb +219 -0
  2187. data/spec/unit/provider/exec/shell_spec.rb +53 -0
  2188. data/spec/unit/provider/exec/windows_spec.rb +107 -0
  2189. data/spec/unit/provider/exec_spec.rb +35 -0
  2190. data/spec/unit/provider/file/posix_spec.rb +232 -0
  2191. data/spec/unit/provider/file/windows_spec.rb +154 -0
  2192. data/spec/unit/provider/group/groupadd_spec.rb +76 -0
  2193. data/spec/unit/provider/group/ldap_spec.rb +101 -0
  2194. data/spec/unit/provider/group/pw_spec.rb +81 -0
  2195. data/spec/unit/provider/group/windows_adsi_spec.rb +168 -0
  2196. data/spec/unit/provider/host/parsed_spec.rb +197 -0
  2197. data/spec/unit/provider/interface/cisco_spec.rb +57 -0
  2198. data/spec/unit/provider/ldap_spec.rb +244 -0
  2199. data/spec/unit/provider/macauthorization_spec.rb +152 -0
  2200. data/spec/unit/provider/mcx/mcxcontent_spec.rb +192 -0
  2201. data/spec/unit/provider/mount/parsed_spec.rb +283 -0
  2202. data/spec/unit/provider/mount_spec.rb +165 -0
  2203. data/spec/unit/provider/naginator_spec.rb +79 -0
  2204. data/spec/unit/provider/nameservice/directoryservice_spec.rb +189 -0
  2205. data/spec/unit/provider/nameservice_spec.rb +304 -0
  2206. data/spec/unit/provider/network_device_spec.rb +152 -0
  2207. data/spec/unit/provider/package/aix_spec.rb +107 -0
  2208. data/spec/unit/provider/package/appdmg_spec.rb +42 -0
  2209. data/spec/unit/provider/package/apt_spec.rb +160 -0
  2210. data/spec/unit/provider/package/aptitude_spec.rb +45 -0
  2211. data/spec/unit/provider/package/aptrpm_spec.rb +47 -0
  2212. data/spec/unit/provider/package/dpkg_spec.rb +281 -0
  2213. data/spec/unit/provider/package/freebsd_spec.rb +54 -0
  2214. data/spec/unit/provider/package/gem_spec.rb +187 -0
  2215. data/spec/unit/provider/package/hpux_spec.rb +51 -0
  2216. data/spec/unit/provider/package/macports_spec.rb +140 -0
  2217. data/spec/unit/provider/package/msi_spec.rb +229 -0
  2218. data/spec/unit/provider/package/nim_spec.rb +250 -0
  2219. data/spec/unit/provider/package/openbsd_spec.rb +369 -0
  2220. data/spec/unit/provider/package/opkg_spec.rb +180 -0
  2221. data/spec/unit/provider/package/pacman_spec.rb +314 -0
  2222. data/spec/unit/provider/package/pip_spec.rb +247 -0
  2223. data/spec/unit/provider/package/pkg_spec.rb +255 -0
  2224. data/spec/unit/provider/package/pkgdmg_spec.rb +144 -0
  2225. data/spec/unit/provider/package/pkgin_spec.rb +178 -0
  2226. data/spec/unit/provider/package/pkgutil_spec.rb +235 -0
  2227. data/spec/unit/provider/package/portage_spec.rb +65 -0
  2228. data/spec/unit/provider/package/rpm_spec.rb +390 -0
  2229. data/spec/unit/provider/package/sun_spec.rb +114 -0
  2230. data/spec/unit/provider/package/up2date_spec.rb +24 -0
  2231. data/spec/unit/provider/package/urpmi.rb +80 -0
  2232. data/spec/unit/provider/package/windows/exe_package_spec.rb +99 -0
  2233. data/spec/unit/provider/package/windows/msi_package_spec.rb +115 -0
  2234. data/spec/unit/provider/package/windows/package_spec.rb +141 -0
  2235. data/spec/unit/provider/package/windows_spec.rb +251 -0
  2236. data/spec/unit/provider/package/yum_spec.rb +308 -0
  2237. data/spec/unit/provider/package/zypper_spec.rb +186 -0
  2238. data/spec/unit/provider/parsedfile_spec.rb +228 -0
  2239. data/spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb +1574 -0
  2240. data/spec/unit/provider/selboolean_spec.rb +36 -0
  2241. data/spec/unit/provider/selmodule-example.pp +0 -0
  2242. data/spec/unit/provider/selmodule_spec.rb +73 -0
  2243. data/spec/unit/provider/service/base_spec.rb +77 -0
  2244. data/spec/unit/provider/service/daemontools_spec.rb +171 -0
  2245. data/spec/unit/provider/service/debian_spec.rb +116 -0
  2246. data/spec/unit/provider/service/freebsd_spec.rb +75 -0
  2247. data/spec/unit/provider/service/gentoo_spec.rb +241 -0
  2248. data/spec/unit/provider/service/init_spec.rb +212 -0
  2249. data/spec/unit/provider/service/launchd_spec.rb +290 -0
  2250. data/spec/unit/provider/service/openbsd_spec.rb +256 -0
  2251. data/spec/unit/provider/service/openrc_spec.rb +225 -0
  2252. data/spec/unit/provider/service/openwrt_spec.rb +109 -0
  2253. data/spec/unit/provider/service/redhat_spec.rb +162 -0
  2254. data/spec/unit/provider/service/runit_spec.rb +145 -0
  2255. data/spec/unit/provider/service/smf_spec.rb +153 -0
  2256. data/spec/unit/provider/service/src_spec.rb +173 -0
  2257. data/spec/unit/provider/service/systemd_spec.rb +158 -0
  2258. data/spec/unit/provider/service/upstart_spec.rb +533 -0
  2259. data/spec/unit/provider/service/windows_spec.rb +183 -0
  2260. data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +261 -0
  2261. data/spec/unit/provider/sshkey/parsed_spec.rb +71 -0
  2262. data/spec/unit/provider/user/aix_spec.rb +162 -0
  2263. data/spec/unit/provider/user/directoryservice_spec.rb +1114 -0
  2264. data/spec/unit/provider/user/hpux_spec.rb +52 -0
  2265. data/spec/unit/provider/user/ldap_spec.rb +289 -0
  2266. data/spec/unit/provider/user/pw_spec.rb +214 -0
  2267. data/spec/unit/provider/user/user_role_add_spec.rb +357 -0
  2268. data/spec/unit/provider/user/useradd_spec.rb +430 -0
  2269. data/spec/unit/provider/user/windows_adsi_spec.rb +173 -0
  2270. data/spec/unit/provider/vlan/cisco_spec.rb +55 -0
  2271. data/spec/unit/provider/yumrepo/inifile_spec.rb +309 -0
  2272. data/spec/unit/provider/zfs/zfs_spec.rb +106 -0
  2273. data/spec/unit/provider/zone/solaris_spec.rb +195 -0
  2274. data/spec/unit/provider/zpool/zpool_spec.rb +214 -0
  2275. data/spec/unit/provider_spec.rb +714 -0
  2276. data/spec/unit/puppet_spec.rb +41 -0
  2277. data/spec/unit/rails/host_spec.rb +162 -0
  2278. data/spec/unit/rails/param_value_spec.rb +46 -0
  2279. data/spec/unit/rails/resource_spec.rb +115 -0
  2280. data/spec/unit/rails_spec.rb +244 -0
  2281. data/spec/unit/relationship_spec.rb +228 -0
  2282. data/spec/unit/reports/http_spec.rb +100 -0
  2283. data/spec/unit/reports/rrdgraph_spec.rb +29 -0
  2284. data/spec/unit/reports/store_spec.rb +60 -0
  2285. data/spec/unit/reports/tagmail_spec.rb +218 -0
  2286. data/spec/unit/reports_spec.rb +60 -0
  2287. data/spec/unit/resource/catalog_spec.rb +884 -0
  2288. data/spec/unit/resource/status_spec.rb +220 -0
  2289. data/spec/unit/resource/type_collection_helper_spec.rb +24 -0
  2290. data/spec/unit/resource/type_collection_spec.rb +418 -0
  2291. data/spec/unit/resource/type_spec.rb +777 -0
  2292. data/spec/unit/resource_spec.rb +979 -0
  2293. data/spec/unit/run_spec.rb +175 -0
  2294. data/spec/unit/scheduler/job_spec.rb +79 -0
  2295. data/spec/unit/scheduler/scheduler_spec.rb +116 -0
  2296. data/spec/unit/scheduler/splay_job_spec.rb +35 -0
  2297. data/spec/unit/semver_spec.rb +303 -0
  2298. data/spec/unit/settings/array_setting_spec.rb +39 -0
  2299. data/spec/unit/settings/autosign_setting_spec.rb +103 -0
  2300. data/spec/unit/settings/config_file_spec.rb +176 -0
  2301. data/spec/unit/settings/directory_setting_spec.rb +32 -0
  2302. data/spec/unit/settings/duration_setting_spec.rb +45 -0
  2303. data/spec/unit/settings/enum_setting_spec.rb +27 -0
  2304. data/spec/unit/settings/environment_conf_spec.rb +118 -0
  2305. data/spec/unit/settings/file_setting_spec.rb +298 -0
  2306. data/spec/unit/settings/ini_file_spec.rb +184 -0
  2307. data/spec/unit/settings/path_setting_spec.rb +30 -0
  2308. data/spec/unit/settings/priority_setting_spec.rb +66 -0
  2309. data/spec/unit/settings/string_setting_spec.rb +75 -0
  2310. data/spec/unit/settings/terminus_setting_spec.rb +28 -0
  2311. data/spec/unit/settings/value_translator_spec.rb +77 -0
  2312. data/spec/unit/settings_spec.rb +1883 -0
  2313. data/spec/unit/ssl/base_spec.rb +85 -0
  2314. data/spec/unit/ssl/certificate_authority/autosign_command_spec.rb +30 -0
  2315. data/spec/unit/ssl/certificate_authority/interface_spec.rb +366 -0
  2316. data/spec/unit/ssl/certificate_authority_spec.rb +1130 -0
  2317. data/spec/unit/ssl/certificate_factory_spec.rb +168 -0
  2318. data/spec/unit/ssl/certificate_request_attributes_spec.rb +61 -0
  2319. data/spec/unit/ssl/certificate_request_spec.rb +369 -0
  2320. data/spec/unit/ssl/certificate_revocation_list_spec.rb +196 -0
  2321. data/spec/unit/ssl/certificate_spec.rb +193 -0
  2322. data/spec/unit/ssl/configuration_spec.rb +134 -0
  2323. data/spec/unit/ssl/digest_spec.rb +35 -0
  2324. data/spec/unit/ssl/host_spec.rb +940 -0
  2325. data/spec/unit/ssl/inventory_spec.rb +150 -0
  2326. data/spec/unit/ssl/key_spec.rb +191 -0
  2327. data/spec/unit/ssl/oids_spec.rb +48 -0
  2328. data/spec/unit/ssl/validator_spec.rb +353 -0
  2329. data/spec/unit/status_spec.rb +51 -0
  2330. data/spec/unit/transaction/additional_resource_generator_spec.rb +411 -0
  2331. data/spec/unit/transaction/event_manager_spec.rb +310 -0
  2332. data/spec/unit/transaction/event_spec.rb +192 -0
  2333. data/spec/unit/transaction/report_spec.rb +497 -0
  2334. data/spec/unit/transaction/resource_harness_spec.rb +542 -0
  2335. data/spec/unit/transaction_spec.rb +722 -0
  2336. data/spec/unit/type/README.markdown +4 -0
  2337. data/spec/unit/type/augeas_spec.rb +119 -0
  2338. data/spec/unit/type/component_spec.rb +53 -0
  2339. data/spec/unit/type/computer_spec.rb +80 -0
  2340. data/spec/unit/type/cron_spec.rb +543 -0
  2341. data/spec/unit/type/exec_spec.rb +772 -0
  2342. data/spec/unit/type/file/checksum_spec.rb +79 -0
  2343. data/spec/unit/type/file/content_spec.rb +516 -0
  2344. data/spec/unit/type/file/ctime_spec.rb +34 -0
  2345. data/spec/unit/type/file/ensure_spec.rb +123 -0
  2346. data/spec/unit/type/file/group_spec.rb +60 -0
  2347. data/spec/unit/type/file/mode_spec.rb +220 -0
  2348. data/spec/unit/type/file/mtime_spec.rb +34 -0
  2349. data/spec/unit/type/file/owner_spec.rb +58 -0
  2350. data/spec/unit/type/file/selinux_spec.rb +89 -0
  2351. data/spec/unit/type/file/source_spec.rb +577 -0
  2352. data/spec/unit/type/file/type_spec.rb +19 -0
  2353. data/spec/unit/type/file_spec.rb +1504 -0
  2354. data/spec/unit/type/filebucket_spec.rb +103 -0
  2355. data/spec/unit/type/group_spec.rb +84 -0
  2356. data/spec/unit/type/host_spec.rb +665 -0
  2357. data/spec/unit/type/interface_spec.rb +97 -0
  2358. data/spec/unit/type/k5login_spec.rb +115 -0
  2359. data/spec/unit/type/macauthorization_spec.rb +110 -0
  2360. data/spec/unit/type/mailalias_spec.rb +21 -0
  2361. data/spec/unit/type/maillist_spec.rb +41 -0
  2362. data/spec/unit/type/mcx_spec.rb +79 -0
  2363. data/spec/unit/type/mount_spec.rb +592 -0
  2364. data/spec/unit/type/nagios_spec.rb +293 -0
  2365. data/spec/unit/type/noop_metaparam_spec.rb +38 -0
  2366. data/spec/unit/type/package/package_settings_spec.rb +135 -0
  2367. data/spec/unit/type/package_spec.rb +324 -0
  2368. data/spec/unit/type/resources_spec.rb +318 -0
  2369. data/spec/unit/type/schedule_spec.rb +607 -0
  2370. data/spec/unit/type/scheduled_task_spec.rb +103 -0
  2371. data/spec/unit/type/selboolean_spec.rb +44 -0
  2372. data/spec/unit/type/selmodule_spec.rb +17 -0
  2373. data/spec/unit/type/service_spec.rb +261 -0
  2374. data/spec/unit/type/ssh_authorized_key_spec.rb +258 -0
  2375. data/spec/unit/type/sshkey_spec.rb +77 -0
  2376. data/spec/unit/type/stage_spec.rb +8 -0
  2377. data/spec/unit/type/tidy_spec.rb +433 -0
  2378. data/spec/unit/type/user_spec.rb +514 -0
  2379. data/spec/unit/type/vlan_spec.rb +44 -0
  2380. data/spec/unit/type/whit_spec.rb +10 -0
  2381. data/spec/unit/type/yumrepo_spec.rb +387 -0
  2382. data/spec/unit/type/zfs_spec.rb +46 -0
  2383. data/spec/unit/type/zone_spec.rb +172 -0
  2384. data/spec/unit/type/zpool_spec.rb +109 -0
  2385. data/spec/unit/type_spec.rb +1114 -0
  2386. data/spec/unit/util/autoload_spec.rb +256 -0
  2387. data/spec/unit/util/backups_spec.rb +134 -0
  2388. data/spec/unit/util/cache_accumulator_spec.rb +74 -0
  2389. data/spec/unit/util/cacher_spec.rb +107 -0
  2390. data/spec/unit/util/checksums_spec.rb +180 -0
  2391. data/spec/unit/util/colors_spec.rb +89 -0
  2392. data/spec/unit/util/command_line_spec.rb +192 -0
  2393. data/spec/unit/util/command_line_utils/puppet_option_parser_spec.rb +129 -0
  2394. data/spec/unit/util/constant_inflector_spec.rb +56 -0
  2395. data/spec/unit/util/diff_spec.rb +39 -0
  2396. data/spec/unit/util/docs_spec.rb +100 -0
  2397. data/spec/unit/util/errors_spec.rb +37 -0
  2398. data/spec/unit/util/execution_spec.rb +630 -0
  2399. data/spec/unit/util/execution_stub_spec.rb +39 -0
  2400. data/spec/unit/util/feature_spec.rb +106 -0
  2401. data/spec/unit/util/filetype_spec.rb +211 -0
  2402. data/spec/unit/util/http_proxy_spec.rb +125 -0
  2403. data/spec/unit/util/inifile_spec.rb +492 -0
  2404. data/spec/unit/util/inline_docs_spec.rb +31 -0
  2405. data/spec/unit/util/instrumentation/data_spec.rb +46 -0
  2406. data/spec/unit/util/instrumentation/indirection_probe_spec.rb +21 -0
  2407. data/spec/unit/util/instrumentation/instrumentable_spec.rb +186 -0
  2408. data/spec/unit/util/instrumentation/listener_spec.rb +101 -0
  2409. data/spec/unit/util/instrumentation/listeners/log_spec.rb +34 -0
  2410. data/spec/unit/util/instrumentation/listeners/performance_spec.rb +36 -0
  2411. data/spec/unit/util/instrumentation_spec.rb +181 -0
  2412. data/spec/unit/util/json_lockfile_spec.rb +50 -0
  2413. data/spec/unit/util/ldap/connection_spec.rb +161 -0
  2414. data/spec/unit/util/ldap/generator_spec.rb +50 -0
  2415. data/spec/unit/util/ldap/manager_spec.rb +641 -0
  2416. data/spec/unit/util/lockfile_spec.rb +118 -0
  2417. data/spec/unit/util/log/destinations_spec.rb +227 -0
  2418. data/spec/unit/util/log/rate_limited_logger_spec.rb +51 -0
  2419. data/spec/unit/util/log_spec.rb +378 -0
  2420. data/spec/unit/util/logging_spec.rb +205 -0
  2421. data/spec/unit/util/metric_spec.rb +98 -0
  2422. data/spec/unit/util/monkey_patches/lines_spec.rb +83 -0
  2423. data/spec/unit/util/monkey_patches_spec.rb +328 -0
  2424. data/spec/unit/util/nagios_maker_spec.rb +122 -0
  2425. data/spec/unit/util/network_device/cisco/device_spec.rb +445 -0
  2426. data/spec/unit/util/network_device/cisco/facts_spec.rb +64 -0
  2427. data/spec/unit/util/network_device/cisco/interface_spec.rb +88 -0
  2428. data/spec/unit/util/network_device/config_spec.rb +86 -0
  2429. data/spec/unit/util/network_device/ipcalc_spec.rb +62 -0
  2430. data/spec/unit/util/network_device/transport/base_spec.rb +41 -0
  2431. data/spec/unit/util/network_device/transport/ssh_spec.rb +218 -0
  2432. data/spec/unit/util/network_device/transport/telnet_spec.rb +84 -0
  2433. data/spec/unit/util/network_device_spec.rb +50 -0
  2434. data/spec/unit/util/package_spec.rb +20 -0
  2435. data/spec/unit/util/pidlock_spec.rb +218 -0
  2436. data/spec/unit/util/posix_spec.rb +251 -0
  2437. data/spec/unit/util/profiler/aggregate_spec.rb +59 -0
  2438. data/spec/unit/util/profiler/around_profiler_spec.rb +61 -0
  2439. data/spec/unit/util/profiler/logging_spec.rb +70 -0
  2440. data/spec/unit/util/profiler/object_counts_spec.rb +14 -0
  2441. data/spec/unit/util/profiler/wall_clock_spec.rb +13 -0
  2442. data/spec/unit/util/profiler_spec.rb +55 -0
  2443. data/spec/unit/util/pson_spec.rb +71 -0
  2444. data/spec/unit/util/queue/stomp_spec.rb +137 -0
  2445. data/spec/unit/util/queue_spec.rb +94 -0
  2446. data/spec/unit/util/rdoc/parser_spec.rb +608 -0
  2447. data/spec/unit/util/rdoc_spec.rb +141 -0
  2448. data/spec/unit/util/reference_serializer_spec.rb +51 -0
  2449. data/spec/unit/util/reference_spec.rb +39 -0
  2450. data/spec/unit/util/resource_template_spec.rb +57 -0
  2451. data/spec/unit/util/retryaction_spec.rb +62 -0
  2452. data/spec/unit/util/rubygems_spec.rb +82 -0
  2453. data/spec/unit/util/run_mode_spec.rb +145 -0
  2454. data/spec/unit/util/selinux_spec.rb +289 -0
  2455. data/spec/unit/util/ssl_spec.rb +92 -0
  2456. data/spec/unit/util/storage_spec.rb +210 -0
  2457. data/spec/unit/util/suidmanager_spec.rb +297 -0
  2458. data/spec/unit/util/symbolic_file_mode_spec.rb +182 -0
  2459. data/spec/unit/util/tag_set_spec.rb +46 -0
  2460. data/spec/unit/util/tagging_spec.rb +162 -0
  2461. data/spec/unit/util/terminal_spec.rb +42 -0
  2462. data/spec/unit/util/user_attr_spec.rb +46 -0
  2463. data/spec/unit/util/warnings_spec.rb +38 -0
  2464. data/spec/unit/util/watched_file_spec.rb +52 -0
  2465. data/spec/unit/util/watcher/periodic_watcher_spec.rb +52 -0
  2466. data/spec/unit/util/watcher_spec.rb +56 -0
  2467. data/spec/unit/util/windows/access_control_entry_spec.rb +67 -0
  2468. data/spec/unit/util/windows/access_control_list_spec.rb +133 -0
  2469. data/spec/unit/util/windows/adsi_spec.rb +440 -0
  2470. data/spec/unit/util/windows/api_types_spec.rb +28 -0
  2471. data/spec/unit/util/windows/registry_spec.rb +141 -0
  2472. data/spec/unit/util/windows/root_certs_spec.rb +17 -0
  2473. data/spec/unit/util/windows/security_descriptor_spec.rb +117 -0
  2474. data/spec/unit/util/windows/sid_spec.rb +166 -0
  2475. data/spec/unit/util/windows/string_spec.rb +58 -0
  2476. data/spec/unit/util/yaml_spec.rb +55 -0
  2477. data/spec/unit/util/zaml_spec.rb +308 -0
  2478. data/spec/unit/util_spec.rb +577 -0
  2479. data/spec/unit/version_spec.rb +42 -0
  2480. data/spec/watchr.rb +142 -0
  2481. data/tasks/benchmark.rake +144 -0
  2482. data/tasks/ci.rake +29 -0
  2483. data/tasks/manpages.rake +84 -0
  2484. data/tasks/parallel.rake +408 -0
  2485. data/tasks/parser.rake +19 -0
  2486. data/tasks/yard.rake +59 -0
  2487. metadata +3727 -0
@@ -0,0 +1,2655 @@
1
+ #
2
+ # DO NOT MODIFY!!!!
3
+ # This file is automatically generated by Racc 1.4.9
4
+ # from Racc grammer file "".
5
+ #
6
+
7
+ require 'racc/parser.rb'
8
+
9
+ require 'puppet'
10
+ require 'puppet/pops'
11
+
12
+ module Puppet
13
+ class ParseError < Puppet::Error; end
14
+ class ImportError < Racc::ParseError; end
15
+ class AlreadyImportedError < ImportError; end
16
+ end
17
+
18
+ module Puppet
19
+ module Pops
20
+ module Parser
21
+ class Parser < Racc::Parser
22
+
23
+ module_eval(<<'...end egrammar.ra/module_eval...', 'egrammar.ra', 753)
24
+
25
+ # Make emacs happy
26
+ # Local Variables:
27
+ # mode: ruby
28
+ # End:
29
+ ...end egrammar.ra/module_eval...
30
+ ##### State transition tables begin ###
31
+
32
+ clist = [
33
+ '58,61,388,275,59,53,317,54,-236,80,-238,-237,236,133,-129,-234,-239',
34
+ '-225,256,255,318,392,278,101,18,104,278,99,100,333,42,373,45,237,47',
35
+ '12,111,46,36,39,110,44,37,10,11,276,134,66,17,103,-236,38,-238,-237',
36
+ '15,16,-129,-234,-239,-225,58,61,67,334,59,53,236,54,43,277,79,81,35',
37
+ '62,278,64,65,63,107,66,48,49,51,50,18,111,52,237,79,110,42,236,45,79',
38
+ '47,113,236,46,36,39,252,44,37,253,66,312,111,66,17,66,110,38,237,254',
39
+ '15,16,369,237,368,111,58,61,67,110,59,53,229,54,43,340,111,265,35,62',
40
+ '110,64,65,359,267,268,48,49,51,50,18,111,52,307,71,110,42,369,45,368',
41
+ '47,12,236,46,36,39,69,44,37,10,11,342,273,66,17,66,329,38,58,61,15,16',
42
+ '59,237,254,326,58,61,67,249,59,53,249,54,43,72,73,74,35,62,350,64,65',
43
+ '351,273,274,48,49,51,50,18,353,52,248,247,356,42,316,45,312,47,12,361',
44
+ '46,36,39,362,44,37,10,11,236,225,66,17,228,226,38,366,313,15,16,370',
45
+ '372,75,77,76,78,67,312,249,225,379,79,43,381,299,273,35,62,79,64,65',
46
+ '215,214,71,48,49,51,50,58,61,52,153,59,53,385,54,310,150,119,79,273',
47
+ '148,391,306,119,302,120,395,372,397,398,399,18,58,61,119,402,59,42,403',
48
+ '45,404,47,12,300,46,36,39,79,44,37,10,11,71,412,66,17,68,414,38,415',
49
+ '416,15,16,302,,,,,,67,,133,,,130,43,,,,35,62,,64,65,,,,48,49,51,50,58',
50
+ '61,52,67,59,53,,54,408,80,,,,134,62,,,,,,,,,101,18,104,,99,100,,42,',
51
+ '45,,47,12,,46,36,39,,44,37,10,11,,,66,17,103,,38,,,15,16,,,,,58,61,67',
52
+ ',59,53,,54,43,,,81,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47',
53
+ '113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54',
54
+ '43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39',
55
+ ',44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
56
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11',
57
+ ',,66,17,,,38,,,15,16,,,,,,,67,,,,,,43,,,,35,62,,64,65,,,,48,49,51,50',
58
+ '58,61,52,,59,53,,54,406,80,,,,,,,,,,,,,,101,18,104,,99,100,,42,,45,',
59
+ '47,12,,46,36,39,,44,37,10,11,,,66,17,103,,38,,,15,16,,,,,58,61,67,,59',
60
+ '53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46',
61
+ '36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35',
62
+ '62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,',
63
+ ',,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,',
64
+ '48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38',
65
+ ',,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18',
66
+ ',52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,',
67
+ ',,,67,,,,,,43,,,,35,62,,64,65,,,,48,49,51,50,58,61,52,,59,53,,54,401',
68
+ '80,,,,,,,,,,,,,,101,18,104,,99,100,,42,,45,,47,12,,46,36,39,,44,37,10',
69
+ '11,,,66,17,103,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65',
70
+ ',,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,',
71
+ ',38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50',
72
+ '18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,',
73
+ ',58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42',
74
+ ',45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59',
75
+ '53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46',
76
+ '36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,,,67,,,,,,43,,,,35,62,,64,65',
77
+ ',,,48,49,51,50,58,61,52,,59,53,,54,320,,,,,,,,,,,,,,,,18,58,61,,,59',
78
+ '42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,,,,,67,',
79
+ '133,,,130,43,,,,35,62,,64,65,,,,48,49,51,50,58,61,52,67,59,53,,54,322',
80
+ '80,,,,134,62,,,,,,,,,101,18,104,,99,100,,42,,45,,47,12,,46,36,39,,44',
81
+ '37,10,11,,,66,17,103,,38,,,15,16,,,,,58,61,67,,59,53,137,54,43,,,,35',
82
+ '62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10',
83
+ '11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,139,54,43,,,,35,62,,64,65',
84
+ ',,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17',
85
+ ',,38,,,15,16,,,,,,,67,,,,,,43,,,,35,62,,64,65,,,,48,49,51,50,58,61,52',
86
+ ',59,53,,54,141,80,,,,,,,,,,,,,,101,18,104,,99,100,,42,,45,,47,12,,46',
87
+ '36,39,,44,37,10,11,,,66,17,103,,38,,,15,16,,,,,58,61,67,,59,53,,54,43',
88
+ ',,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44',
89
+ '37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64',
90
+ '65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66',
91
+ '17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49',
92
+ '51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15',
93
+ '16,,,,,58,61,67,,59,53,,152,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52',
94
+ ',,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61',
95
+ '67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47',
96
+ '113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54',
97
+ '43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39',
98
+ ',44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
99
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,',
100
+ '66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48',
101
+ '49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38',
102
+ ',,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18',
103
+ ',52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,',
104
+ ',58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42',
105
+ ',45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67',
106
+ ',59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12',
107
+ ',46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54',
108
+ '43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39',
109
+ ',44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
110
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11',
111
+ ',,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48',
112
+ '49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38',
113
+ ',,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18',
114
+ ',52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,',
115
+ ',58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,169',
116
+ '183,175,184,47,176,186,177,36,168,,171,166,,,,,66,17,187,182,167,,,15',
117
+ '165,,,,,,,67,,,,,185,170,,,,35,62,,64,65,,,,178,179,181,180,58,61,52',
118
+ ',59,53,,54,,,,,,,,,,,,,,,,,18,,,,,,42,,45,,47,113,,46,36,39,,44,37,',
119
+ ',,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,',
120
+ '48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38',
121
+ ',,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18',
122
+ ',52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58',
123
+ '61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45',
124
+ ',47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53',
125
+ ',54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36',
126
+ '39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
127
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,',
128
+ '66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48',
129
+ '49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,',
130
+ '15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,',
131
+ '52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58',
132
+ '61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45',
133
+ ',47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53',
134
+ ',54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36',
135
+ '39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
136
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,',
137
+ '66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48',
138
+ '49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,',
139
+ '15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,',
140
+ '52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58',
141
+ '61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45',
142
+ ',47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53',
143
+ ',54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36',
144
+ '39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62',
145
+ ',64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,',
146
+ '66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48',
147
+ '49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,',
148
+ '15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,',
149
+ '52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58',
150
+ '61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45',
151
+ ',47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53',
152
+ ',54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36',
153
+ '39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,211,35',
154
+ '62,,64,65,,,,48,49,51,50,18,213,52,,,,42,,45,,47,12,,46,36,39,,44,37',
155
+ '10,11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65',
156
+ ',,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,',
157
+ ',38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50',
158
+ '18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,',
159
+ ',58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42',
160
+ ',45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59',
161
+ '53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46',
162
+ '36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,274',
163
+ ',35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44',
164
+ '37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65',
165
+ ',,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17',
166
+ ',,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51',
167
+ '50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16',
168
+ ',,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,',
169
+ '42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,,,,,67,',
170
+ ',,,,43,,,,35,62,,64,65,,,,48,49,51,50,58,61,52,,59,53,,54,335,,,,,,',
171
+ ',,,,,,,,,18,58,61,,,59,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17',
172
+ ',,38,,,15,16,,,,,,,67,,133,,,130,43,,,,35,62,,64,65,,,,48,49,51,50,58',
173
+ '61,52,67,59,53,,54,374,,,,,134,62,,,,,,,,,,18,,,,,,42,,45,,47,113,,46',
174
+ '36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35',
175
+ '62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10',
176
+ '11,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,',
177
+ ',,48,49,51,50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17',
178
+ ',,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51',
179
+ '50,18,,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15',
180
+ '16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52',
181
+ ',,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,,,67,',
182
+ ',,,,43,,,,35,62,,64,65,,,,48,49,51,50,58,61,52,,59,53,,54,141,,,,,,',
183
+ ',,,,,,,,,18,,,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,',
184
+ ',15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18',
185
+ '241,52,,,,42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16',
186
+ ',,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,',
187
+ '42,,45,,47,12,,46,36,39,,44,37,10,11,,,66,17,,,38,,,15,16,,,,,58,61',
188
+ '67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47',
189
+ '113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54',
190
+ '43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39',
191
+ ',44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64',
192
+ '65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17',
193
+ ',,38,,,15,16,,,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51',
194
+ '50,18,,52,,,,42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16',
195
+ ',,,,58,61,67,,59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,',
196
+ '42,,45,,47,113,,46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67',
197
+ ',59,53,,54,43,,,,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113',
198
+ ',46,36,39,,44,37,,,,,66,17,,,38,,,15,16,,,,,58,61,67,,59,53,,54,43,',
199
+ ',,35,62,,64,65,,,,48,49,51,50,18,,52,,,,42,,45,,47,113,,46,36,39,,44',
200
+ '37,,,,,66,17,,,38,,,15,16,,,,,,,67,,,,,,43,,,,35,62,,64,65,80,,,48,49',
201
+ '51,50,,,52,,,96,91,101,,104,,99,100,,92,94,93,95,,58,61,,,59,,,,,,,',
202
+ ',,103,,,,98,97,,,84,85,87,86,89,90,,82,83,80,,244,,,81,,,133,,,130,96',
203
+ '91,101,,104,,99,100,,92,94,93,95,,88,,,,,67,,,,,,,,,103,134,62,,98,97',
204
+ ',,84,85,87,86,89,90,,82,83,80,,243,,,81,,,,,,,96,91,101,,104,80,99,100',
205
+ ',92,94,93,95,,88,,,,,101,,104,,99,100,,,,103,,,,98,97,,,84,85,87,86',
206
+ '89,90,,82,83,103,,,,,81,,,,,87,86,,,,82,83,80,,242,,,81,,,,88,,,96,91',
207
+ '101,,104,80,99,100,,92,94,93,95,,88,,,,,101,,104,,99,100,,,,103,,,,98',
208
+ '97,,80,84,85,87,86,89,90,,82,83,103,,96,91,101,81,104,,99,100,,92,94',
209
+ '93,95,82,83,,,,,,81,,,,88,,,,103,,,,98,97,,80,84,85,87,86,89,90,,82',
210
+ '83,,,96,91,101,81,104,,99,100,,92,94,93,95,,,,,,,,,,,,88,,,,103,,,,98',
211
+ '97,,,84,85,87,86,89,90,,82,83,,,,,,81,80,,,,,,,,,,267,268,96,91,101',
212
+ '303,104,80,99,100,88,92,94,93,95,,,,,,,101,,104,,99,100,,,,103,,,,98',
213
+ '97,,,84,85,87,86,89,90,,82,83,103,,,,,81,,,84,85,87,86,,,,82,83,80,',
214
+ ',,,81,,,,88,,,96,91,101,,104,,99,100,,92,94,93,95,,88,,,,,,,,,,,,,,103',
215
+ ',,,98,97,,,84,85,87,86,89,90,80,82,83,,,279,,,81,,,,96,91,101,,104,80',
216
+ '99,100,,92,94,93,95,,,,,88,,101,,104,,99,100,,,,103,,,,98,97,,80,84',
217
+ '85,87,86,89,90,,82,83,103,,96,91,101,81,104,,99,100,,92,94,93,95,82',
218
+ '83,,,,,,81,,,,88,,,,103,,,,,97,,80,84,85,87,86,89,90,,82,83,,,96,91',
219
+ '101,81,104,,99,100,,92,94,93,95,,,,,,,,,,,,88,,,,103,,,,98,97,,,84,85',
220
+ '87,86,89,90,80,82,83,,,,,,81,,,,96,91,101,271,104,80,99,100,,92,94,93',
221
+ '95,,,,,88,,101,,104,,99,100,,,,103,,,,98,97,,80,84,85,87,86,89,90,,82',
222
+ '83,103,,96,91,101,81,104,,99,100,,92,94,93,95,82,83,,,,,,81,,,,88,,',
223
+ ',103,,,,98,97,,80,84,85,87,86,89,90,,82,83,,,96,91,101,81,104,,99,100',
224
+ ',92,94,93,95,,,,,,,,,,,,88,,,,103,,,,98,97,,80,84,85,87,86,89,90,,82',
225
+ '83,,,96,91,101,81,104,,99,100,,92,94,93,95,80,,,,,,,,,,,88,,91,101,103',
226
+ '104,,99,100,80,92,,84,85,87,86,89,90,,82,83,,,101,,104,81,99,100,103',
227
+ ',,,,,,,84,85,87,86,89,90,,82,83,,88,,103,,81,,,,,,84,85,87,86,80,,,82',
228
+ '83,,,,,,81,88,96,91,101,,104,,99,100,80,92,94,93,95,,,,,,,88,,,101,',
229
+ '104,,99,100,103,,,,98,97,,,84,85,87,86,89,90,,82,83,,,,103,,81,,,,,',
230
+ ',,87,86,80,,,82,83,,,,,,81,88,96,91,101,,104,,99,100,80,92,94,93,95',
231
+ ',,,,,,88,,91,101,,104,,99,100,103,92,,,98,97,,,84,85,87,86,89,90,,82',
232
+ '83,,,,103,,81,,,,,,84,85,87,86,89,90,80,82,83,,,,,,81,88,,,96,91,101',
233
+ ',104,80,99,100,,92,94,93,95,,,,,88,,101,,104,,99,100,,,,103,,,,98,97',
234
+ ',,84,85,87,86,89,90,,82,83,103,,,,,81,,,84,85,87,86,89,90,80,82,83,',
235
+ ',,,,81,,,,88,,101,,104,80,99,100,,,,,,,,,,88,91,101,,104,,99,100,,92',
236
+ ',103,,,,,,,,84,85,87,86,89,90,,82,83,103,,,,,81,,,84,85,87,86,89,90',
237
+ '80,82,83,,,,,,81,,,,88,91,101,,104,,99,100,,92,,,,,,,,88,,,,,,,,,,,103',
238
+ ',,,,,,,84,85,87,86,89,90,,82,83,,,,,,81,,,291,183,290,184,,288,186,292',
239
+ ',285,,287,289,,,,,,88,187,182,293,,,,286,,,,,,,,,,,,185,294,,,,,,,,',
240
+ ',,,297,298,296,295,291,183,290,184,,288,186,292,,285,,287,289,,,,,,',
241
+ '187,182,293,,,,286,,,,,,,,,,,,185,294,,,,,,,,,,,,297,298,296,295,291',
242
+ '183,290,184,,288,186,292,,285,,287,289,,,,,,,187,182,293,,,,286,,,,',
243
+ ',,,,,,,185,294,,,,,,,,,,,,297,298,296,295,291,183,290,184,,288,186,292',
244
+ ',285,,287,289,,,,,,,187,182,293,,,,286,,,,,,,,,,,,185,294,,,,,,,,,,',
245
+ ',297,298,296,295' ]
246
+ racc_action_table = arr = ::Array.new(6809, nil)
247
+ idx = 0
248
+ clist.each do |str|
249
+ str.split(',', -1).each do |i|
250
+ arr[idx] = i.to_i unless i.empty?
251
+ idx += 1
252
+ end
253
+ end
254
+
255
+ clist = [
256
+ '0,0,352,174,0,0,240,0,180,191,178,181,238,248,168,167,179,166,145,145',
257
+ '240,365,323,191,0,191,365,191,191,250,0,323,0,238,0,0,113,0,0,0,113',
258
+ '0,0,0,0,174,248,0,0,191,180,0,178,181,0,0,168,167,179,166,403,403,0',
259
+ '251,403,403,312,403,0,189,161,191,0,0,189,0,0,0,12,312,0,0,0,0,403,45',
260
+ '0,312,160,45,403,119,403,159,403,403,150,403,403,403,140,403,403,140',
261
+ '119,264,12,403,403,150,12,403,119,269,403,403,320,150,320,175,4,4,403',
262
+ '175,4,4,119,4,403,270,306,150,403,403,306,403,403,306,340,340,403,403',
263
+ '403,403,4,176,403,225,154,176,4,366,4,366,4,4,225,4,4,4,4,4,4,4,4,272',
264
+ '164,4,4,225,246,4,148,148,4,4,148,225,143,245,398,398,4,138,398,398',
265
+ '136,398,4,7,7,7,4,4,280,4,4,282,284,286,4,4,4,4,398,301,4,128,126,304',
266
+ '398,239,398,308,398,398,309,398,398,398,311,398,398,398,398,237,125',
267
+ '398,398,118,116,398,319,236,398,398,321,322,7,7,7,7,398,230,212,108',
268
+ '327,106,398,339,217,341,398,398,105,398,398,102,101,70,398,398,398,398',
269
+ '228,228,398,68,228,228,349,228,228,63,351,162,355,62,360,223,213,220',
270
+ '41,369,370,372,373,376,228,177,177,40,383,177,228,384,228,390,228,228',
271
+ '219,228,228,228,8,228,228,228,228,5,400,228,228,1,405,228,407,409,228',
272
+ '228,413,,,,,,228,,177,,,177,228,,,,228,228,,228,228,,,,228,228,228,228',
273
+ '397,397,228,177,397,397,,397,397,192,,,,177,177,,,,,,,,,192,397,192',
274
+ ',192,192,,397,,397,,397,397,,397,397,397,,397,397,397,397,,,397,397',
275
+ '192,,397,,,397,397,,,,,211,211,397,,211,211,,211,397,,,192,397,397,',
276
+ '397,397,,,,397,397,397,397,211,,397,,,,211,,211,,211,211,,211,211,211',
277
+ ',211,211,,,,,211,211,,,211,,,211,211,,,,,10,10,211,,10,10,,10,211,,',
278
+ ',211,211,,211,211,,,,211,211,211,211,10,,211,,,,10,,10,,10,10,,10,10',
279
+ '10,,10,10,10,10,,,10,10,,,10,,,10,10,,,,,11,11,10,,11,11,,11,10,,,,10',
280
+ '10,,10,10,,,,10,10,10,10,11,,10,,,,11,,11,,11,11,,11,11,11,,11,11,11',
281
+ '11,,,11,11,,,11,,,11,11,,,,,,,11,,,,,,11,,,,11,11,,11,11,,,,11,11,11',
282
+ '11,395,395,11,,395,395,,395,395,114,,,,,,,,,,,,,,114,395,114,,114,114',
283
+ ',395,,395,,395,395,,395,395,395,,395,395,395,395,,,395,395,114,,395',
284
+ ',,395,395,,,,,15,15,395,,15,15,,15,395,,,,395,395,,395,395,,,,395,395',
285
+ '395,395,15,,395,,,,15,,15,,15,15,,15,15,15,,15,15,,,,,15,15,,,15,,,15',
286
+ '15,,,,,16,16,15,,16,16,,16,15,,,,15,15,,15,15,,,,15,15,15,15,16,,15',
287
+ ',,,16,,16,,16,16,,16,16,16,,16,16,,,,,16,16,,,16,,,16,16,,,,,17,17,16',
288
+ ',17,17,,17,16,,,,16,16,,16,16,,,,16,16,16,16,17,,16,,,,17,,17,,17,17',
289
+ ',17,17,17,,17,17,,,,,17,17,,,17,,,17,17,,,,,18,18,17,,18,18,,18,17,',
290
+ ',,17,17,,17,17,,,,17,17,17,17,18,,17,,,,18,,18,,18,18,,18,18,18,,18',
291
+ '18,18,18,,,18,18,,,18,,,18,18,,,,,,,18,,,,,,18,,,,18,18,,18,18,,,,18',
292
+ '18,18,18,379,379,18,,379,379,,379,379,115,,,,,,,,,,,,,,115,379,115,',
293
+ '115,115,,379,,379,,379,379,,379,379,379,,379,379,379,379,,,379,379,115',
294
+ ',379,,,379,379,,,,,368,368,379,,368,368,,368,379,,,,379,379,,379,379',
295
+ ',,,379,379,379,379,368,,379,,,,368,,368,,368,368,,368,368,368,,368,368',
296
+ ',,,,368,368,,,368,,,368,368,,,,,42,42,368,,42,42,,42,368,,,,368,368',
297
+ ',368,368,,,,368,368,368,368,42,,368,,,,42,,42,,42,42,,42,42,42,,42,42',
298
+ ',,,,42,42,,,42,,,42,42,,,,,43,43,42,,43,43,,43,42,,,,42,42,,42,42,,',
299
+ ',42,42,42,42,43,,42,,,,43,,43,,43,43,,43,43,43,,43,43,,,,,43,43,,,43',
300
+ ',,43,43,,,,,44,44,43,,44,44,,44,43,,,,43,43,,43,43,,,,43,43,43,43,44',
301
+ ',43,,,,44,,44,,44,44,,44,44,44,,44,44,,,,,44,44,,,44,,,44,44,,,,,,,44',
302
+ ',,,,,44,,,,44,44,,44,44,,,,44,44,44,44,242,242,44,,242,242,,242,242',
303
+ ',,,,,,,,,,,,,,,242,46,46,,,46,242,,242,,242,242,,242,242,242,,242,242',
304
+ '242,242,,,242,242,,,242,,,242,242,,,,,,,242,,46,,,46,242,,,,242,242',
305
+ ',242,242,,,,242,242,242,242,243,243,242,46,243,243,,243,243,190,,,,46',
306
+ '46,,,,,,,,,190,243,190,,190,190,,243,,243,,243,243,,243,243,243,,243',
307
+ '243,243,243,,,243,243,190,,243,,,243,243,,,,,52,52,243,,52,52,52,52',
308
+ '243,,,,243,243,,243,243,,,,243,243,243,243,52,,243,,,,52,,52,,52,52',
309
+ ',52,52,52,,52,52,52,52,,,52,52,,,52,,,52,52,,,,,53,53,52,,53,53,53,53',
310
+ '52,,,,52,52,,52,52,,,,52,52,52,52,53,,52,,,,53,,53,,53,53,,53,53,53',
311
+ ',53,53,53,53,,,53,53,,,53,,,53,53,,,,,,,53,,,,,,53,,,,53,53,,53,53,',
312
+ ',,53,53,53,53,54,54,53,,54,54,,54,54,112,,,,,,,,,,,,,,112,54,112,,112',
313
+ '112,,54,,54,,54,54,,54,54,54,,54,54,54,54,,,54,54,112,,54,,,54,54,,',
314
+ ',,60,60,54,,60,60,,60,54,,,,54,54,,54,54,,,,54,54,54,54,60,,54,,,,60',
315
+ ',60,,60,60,,60,60,60,,60,60,60,60,,,60,60,,,60,,,60,60,,,,,356,356,60',
316
+ ',356,356,,356,60,,,,60,60,,60,60,,,,60,60,60,60,356,,60,,,,356,,356',
317
+ ',356,356,,356,356,356,,356,356,356,356,,,356,356,,,356,,,356,356,,,',
318
+ ',350,350,356,,350,350,,350,356,,,,356,356,,356,356,,,,356,356,356,356',
319
+ '350,,356,,,,350,,350,,350,350,,350,350,350,,350,350,,,,,350,350,,,350',
320
+ ',,350,350,,,,,65,65,350,,65,65,,65,350,,,,350,350,,350,350,,,,350,350',
321
+ '350,350,65,,350,,,,65,,65,,65,65,,65,65,65,,65,65,,,,,65,65,,,65,,,65',
322
+ '65,,,,,244,244,65,,244,244,,244,65,,,,65,65,,65,65,,,,65,65,65,65,244',
323
+ ',65,,,,244,,244,,244,244,,244,244,244,,244,244,,,,,244,244,,,244,,,244',
324
+ '244,,,,,69,69,244,,69,69,,69,244,,,,244,244,,244,244,,,,244,244,244',
325
+ '244,69,,244,,,,69,,69,,69,69,,69,69,69,,69,69,69,69,,,69,69,,,69,,,69',
326
+ '69,,,,,171,171,69,,171,171,,171,69,,,,69,69,,69,69,,,,69,69,69,69,171',
327
+ ',69,,,,171,,171,,171,171,,171,171,171,,171,171,,,,,171,171,,,171,,,171',
328
+ '171,,,,,71,71,171,,71,71,,71,171,,,,171,171,,171,171,,,,171,171,171',
329
+ '171,71,,171,,,,71,,71,,71,71,,71,71,71,,71,71,71,71,,,71,71,,,71,,,71',
330
+ '71,,,,,72,72,71,,72,72,,72,71,,,,71,71,,71,71,,,,71,71,71,71,72,,71',
331
+ ',,,72,,72,,72,72,,72,72,72,,72,72,72,72,,,72,72,,,72,,,72,72,,,,,73',
332
+ '73,72,,73,73,,73,72,,,,72,72,,72,72,,,,72,72,72,72,73,,72,,,,73,,73',
333
+ ',73,73,,73,73,73,,73,73,73,73,,,73,73,,,73,,,73,73,,,,,74,74,73,,74',
334
+ '74,,74,73,,,,73,73,,73,73,,,,73,73,73,73,74,,73,,,,74,,74,,74,74,,74',
335
+ '74,74,,74,74,74,74,,,74,74,,,74,,,74,74,,,,,75,75,74,,75,75,,75,74,',
336
+ ',,74,74,,74,74,,,,74,74,74,74,75,,74,,,,75,,75,,75,75,,75,75,75,,75',
337
+ '75,75,75,,,75,75,,,75,,,75,75,,,,,76,76,75,,76,76,,76,75,,,,75,75,,75',
338
+ '75,,,,75,75,75,75,76,,75,,,,76,,76,,76,76,,76,76,76,,76,76,76,76,,,76',
339
+ '76,,,76,,,76,76,,,,,77,77,76,,77,77,,77,76,,,,76,76,,76,76,,,,76,76',
340
+ '76,76,77,,76,,,,77,,77,,77,77,,77,77,77,,77,77,77,77,,,77,77,,,77,,',
341
+ '77,77,,,,,78,78,77,,78,78,,78,77,,,,77,77,,77,77,,,,77,77,77,77,78,',
342
+ '77,,,,78,,78,,78,78,,78,78,78,,78,78,78,78,,,78,78,,,78,,,78,78,,,,',
343
+ '79,79,78,,79,79,,79,78,,,,78,78,,78,78,,,,78,78,78,78,79,,78,,,,79,79',
344
+ '79,79,79,79,79,79,79,79,,79,79,,,,,79,79,79,79,79,,,79,79,,,,,,,79,',
345
+ ',,,79,79,,,,79,79,,79,79,,,,79,79,79,79,80,80,79,,80,80,,80,,,,,,,,',
346
+ ',,,,,,,,80,,,,,,80,,80,,80,80,,80,80,80,,80,80,,,,,80,80,,,80,,,80,80',
347
+ ',,,,81,81,80,,81,81,,81,80,,,,80,80,,80,80,,,,80,80,80,80,81,,80,,,',
348
+ '81,,81,,81,81,,81,81,81,,81,81,,,,,81,81,,,81,,,81,81,,,,,82,82,81,',
349
+ '82,82,,82,81,,,,81,81,,81,81,,,,81,81,81,81,82,,81,,,,82,,82,,82,82',
350
+ ',82,82,82,,82,82,,,,,82,82,,,82,,,82,82,,,,,83,83,82,,83,83,,83,82,',
351
+ ',,82,82,,82,82,,,,82,82,82,82,83,,82,,,,83,,83,,83,83,,83,83,83,,83',
352
+ '83,,,,,83,83,,,83,,,83,83,,,,,84,84,83,,84,84,,84,83,,,,83,83,,83,83',
353
+ ',,,83,83,83,83,84,,83,,,,84,,84,,84,84,,84,84,84,,84,84,,,,,84,84,,',
354
+ '84,,,84,84,,,,,85,85,84,,85,85,,85,84,,,,84,84,,84,84,,,,84,84,84,84',
355
+ '85,,84,,,,85,,85,,85,85,,85,85,85,,85,85,,,,,85,85,,,85,,,85,85,,,,',
356
+ '86,86,85,,86,86,,86,85,,,,85,85,,85,85,,,,85,85,85,85,86,,85,,,,86,',
357
+ '86,,86,86,,86,86,86,,86,86,,,,,86,86,,,86,,,86,86,,,,,87,87,86,,87,87',
358
+ ',87,86,,,,86,86,,86,86,,,,86,86,86,86,87,,86,,,,87,,87,,87,87,,87,87',
359
+ '87,,87,87,,,,,87,87,,,87,,,87,87,,,,,88,88,87,,88,88,,88,87,,,,87,87',
360
+ ',87,87,,,,87,87,87,87,88,,87,,,,88,,88,,88,88,,88,88,88,,88,88,,,,,88',
361
+ '88,,,88,,,88,88,,,,,89,89,88,,89,89,,89,88,,,,88,88,,88,88,,,,88,88',
362
+ '88,88,89,,88,,,,89,,89,,89,89,,89,89,89,,89,89,,,,,89,89,,,89,,,89,89',
363
+ ',,,,90,90,89,,90,90,,90,89,,,,89,89,,89,89,,,,89,89,89,89,90,,89,,,',
364
+ '90,,90,,90,90,,90,90,90,,90,90,,,,,90,90,,,90,,,90,90,,,,,91,91,90,',
365
+ '91,91,,91,90,,,,90,90,,90,90,,,,90,90,90,90,91,,90,,,,91,,91,,91,91',
366
+ ',91,91,91,,91,91,,,,,91,91,,,91,,,91,91,,,,,92,92,91,,92,92,,92,91,',
367
+ ',,91,91,,91,91,,,,91,91,91,91,92,,91,,,,92,,92,,92,92,,92,92,92,,92',
368
+ '92,,,,,92,92,,,92,,,92,92,,,,,93,93,92,,93,93,,93,92,,,,92,92,,92,92',
369
+ ',,,92,92,92,92,93,,92,,,,93,,93,,93,93,,93,93,93,,93,93,,,,,93,93,,',
370
+ '93,,,93,93,,,,,94,94,93,,94,94,,94,93,,,,93,93,,93,93,,,,93,93,93,93',
371
+ '94,,93,,,,94,,94,,94,94,,94,94,94,,94,94,,,,,94,94,,,94,,,94,94,,,,',
372
+ '95,95,94,,95,95,,95,94,,,,94,94,,94,94,,,,94,94,94,94,95,,94,,,,95,',
373
+ '95,,95,95,,95,95,95,,95,95,,,,,95,95,,,95,,,95,95,,,,,96,96,95,,96,96',
374
+ ',96,95,,,,95,95,,95,95,,,,95,95,95,95,96,,95,,,,96,,96,,96,96,,96,96',
375
+ '96,,96,96,,,,,96,96,,,96,,,96,96,,,,,97,97,96,,97,97,,97,96,,,,96,96',
376
+ ',96,96,,,,96,96,96,96,97,,96,,,,97,,97,,97,97,,97,97,97,,97,97,,,,,97',
377
+ '97,,,97,,,97,97,,,,,98,98,97,,98,98,,98,97,,,,97,97,,97,97,,,,97,97',
378
+ '97,97,98,,97,,,,98,,98,,98,98,,98,98,98,,98,98,,,,,98,98,,,98,,,98,98',
379
+ ',,,,99,99,98,,99,99,,99,98,,,,98,98,,98,98,,,,98,98,98,98,99,,98,,,',
380
+ '99,,99,,99,99,,99,99,99,,99,99,,,,,99,99,,,99,,,99,99,,,,,100,100,99',
381
+ ',100,100,,100,99,,,99,99,99,,99,99,,,,99,99,99,99,100,100,99,,,,100',
382
+ ',100,,100,100,,100,100,100,,100,100,100,100,,,100,100,,,100,,,100,100',
383
+ ',,,,278,278,100,,278,278,,278,100,,,,100,100,,100,100,,,,100,100,100',
384
+ '100,278,,100,,,,278,,278,,278,278,,278,278,278,,278,278,,,,,278,278',
385
+ ',,278,,,278,278,,,,,169,169,278,,169,169,,169,278,,,,278,278,,278,278',
386
+ ',,,278,278,278,278,169,,278,,,,169,,169,,169,169,,169,169,169,,169,169',
387
+ ',,,,169,169,,,169,,,169,169,,,,,103,103,169,,103,103,,103,169,,,,169',
388
+ '169,,169,169,,,,169,169,169,169,103,,169,,,,103,,103,,103,103,,103,103',
389
+ '103,,103,103,,,,,103,103,,,103,,,103,103,,,,,104,104,103,,104,104,,104',
390
+ '103,,,,103,103,,103,103,,,,103,103,103,103,104,,103,,,,104,,104,,104',
391
+ '104,,104,104,104,,104,104,,,,,104,104,,,104,,,104,104,,,,,165,165,104',
392
+ ',165,165,,165,104,,165,,104,104,,104,104,,,,104,104,104,104,165,,104',
393
+ ',,,165,,165,,165,165,,165,165,165,,165,165,,,,,165,165,,,165,,,165,165',
394
+ ',,,,249,249,165,,249,249,,249,165,,,,165,165,,165,165,,,,165,165,165',
395
+ '165,249,,165,,,,249,,249,,249,249,,249,249,249,,249,249,249,249,,,249',
396
+ '249,,,249,,,249,249,,,,,107,107,249,,107,107,,107,249,,,,249,249,,249',
397
+ '249,,,,249,249,249,249,107,,249,,,,107,,107,,107,107,,107,107,107,,107',
398
+ '107,,,,,107,107,,,107,,,107,107,,,,,326,326,107,,326,326,,326,107,,',
399
+ ',107,107,,107,107,,,,107,107,107,107,326,,107,,,,326,,326,,326,326,',
400
+ '326,326,326,,326,326,326,326,,,326,326,,,326,,,326,326,,,,,,,326,,,',
401
+ ',,326,,,,326,326,,326,326,,,,326,326,326,326,253,253,326,,253,253,,253',
402
+ '253,,,,,,,,,,,,,,,,253,247,247,,,247,253,,253,,253,253,,253,253,253',
403
+ ',253,253,253,253,,,253,253,,,253,,,253,253,,,,,,,253,,247,,,247,253',
404
+ ',,,253,253,,253,253,,,,253,253,253,253,324,324,253,247,324,324,,324',
405
+ '324,,,,,247,247,,,,,,,,,,324,,,,,,324,,324,,324,324,,324,324,324,,324',
406
+ '324,,,,,324,324,,,324,,,324,324,,,,,254,254,324,,254,254,,254,324,,',
407
+ ',324,324,,324,324,,,,324,324,324,324,254,,324,,,,254,,254,,254,254,',
408
+ '254,254,254,,254,254,254,254,,,254,254,,,254,,,254,254,,,,,259,259,254',
409
+ ',259,259,,259,254,,,,254,254,,254,254,,,,254,254,254,254,259,,254,,',
410
+ ',259,,259,,259,259,,259,259,259,,259,259,259,259,,,259,259,,,259,,,259',
411
+ '259,,,,,317,317,259,,317,317,,317,259,,,,259,259,,259,259,,,,259,259',
412
+ '259,259,317,,259,,,,317,,317,,317,317,,317,317,317,,317,317,317,317',
413
+ ',,317,317,,,317,,,317,317,,,,,316,316,317,,316,316,,316,317,,,,317,317',
414
+ ',317,317,,,,317,317,317,317,316,,317,,,,316,,316,,316,316,,316,316,316',
415
+ ',316,316,,,,,316,316,,,316,,,316,316,,,,,,,316,,,,,,316,,,,316,316,',
416
+ '316,316,,,,316,316,316,316,152,152,316,,152,152,,152,152,,,,,,,,,,,',
417
+ ',,,,152,,,,,,152,,152,,152,152,,152,152,152,,152,152,152,152,,,152,152',
418
+ ',,152,,,152,152,,,,,120,120,152,,120,120,,120,152,,,,152,152,,152,152',
419
+ ',,,152,152,152,152,120,120,152,,,,120,,120,,120,120,,120,120,120,,120',
420
+ '120,120,120,,,120,120,,,120,,,120,120,,,,,149,149,120,,149,149,,149',
421
+ '120,,,,120,120,,120,120,,,,120,120,120,120,149,,120,,,,149,,149,,149',
422
+ '149,,149,149,149,,149,149,149,149,,,149,149,,,149,,,149,149,,,,,274',
423
+ '274,149,,274,274,,274,149,,,,149,149,,149,149,,,,149,149,149,149,274',
424
+ ',149,,,,274,,274,,274,274,,274,274,274,,274,274,,,,,274,274,,,274,,',
425
+ '274,274,,,,,275,275,274,,275,275,,275,274,,,,274,274,,274,274,,,,274',
426
+ '274,274,274,275,,274,,,,275,,275,,275,275,,275,275,275,,275,275,,,,',
427
+ '275,275,,,275,,,275,275,,,,,313,313,275,,313,313,,313,275,,,,275,275',
428
+ ',275,275,,,,275,275,275,275,313,,275,,,,313,,313,,313,313,,313,313,313',
429
+ ',313,313,,,,,313,313,,,313,,,313,313,,,,,276,276,313,,276,276,,276,313',
430
+ ',,,313,313,,313,313,,,,313,313,313,313,276,,313,,,,276,,276,,276,276',
431
+ ',276,276,276,,276,276,,,,,276,276,,,276,,,276,276,,,,,302,302,276,,302',
432
+ '302,,302,276,,,,276,276,,276,276,,,,276,276,276,276,302,,276,,,,302',
433
+ ',302,,302,302,,302,302,302,,302,302,,,,,302,302,,,302,,,302,302,,,,',
434
+ '279,279,302,,279,279,,279,302,,,,302,302,,302,302,,,,302,302,302,302',
435
+ '279,,302,,,,279,,279,,279,279,,279,279,279,,279,279,,,,,279,279,,,279',
436
+ ',,279,279,,,,,170,170,279,,170,170,,170,279,,,,279,279,,279,279,,,,279',
437
+ '279,279,279,170,,279,,,,170,,170,,170,170,,170,170,170,,170,170,,,,',
438
+ '170,170,,,170,,,170,170,,,,,,,170,,,,,,170,,,,170,170,,170,170,346,',
439
+ ',170,170,170,170,,,170,,,346,346,346,,346,,346,346,,346,346,346,346',
440
+ ',329,329,,,329,,,,,,,,,,346,,,,346,346,,,346,346,346,346,346,346,,346',
441
+ '346,124,,124,,,346,,,329,,,329,124,124,124,,124,,124,124,,124,124,124',
442
+ '124,,346,,,,,329,,,,,,,,,124,329,329,,124,124,,,124,124,124,124,124',
443
+ '124,,124,124,123,,123,,,124,,,,,,,123,123,123,,123,193,123,123,,123',
444
+ '123,123,123,,124,,,,,193,,193,,193,193,,,,123,,,,123,123,,,123,123,123',
445
+ '123,123,123,,123,123,193,,,,,123,,,,,193,193,,,,193,193,121,,121,,,193',
446
+ ',,,123,,,121,121,121,,121,195,121,121,,121,121,121,121,,193,,,,,195',
447
+ ',195,,195,195,,,,121,,,,121,121,,216,121,121,121,121,121,121,,121,121',
448
+ '195,,216,216,216,121,216,,216,216,,216,216,216,216,195,195,,,,,,195',
449
+ ',,,121,,,,216,,,,216,216,,151,216,216,216,216,216,216,,216,216,,,151',
450
+ '151,151,216,151,,151,151,,151,151,151,151,,,,,,,,,,,,216,,,,151,,,,151',
451
+ '151,,,151,151,151,151,151,151,,151,151,,,,,,151,221,,,,,,,,,,151,151',
452
+ '221,221,221,221,221,199,221,221,151,221,221,221,221,,,,,,,199,,199,',
453
+ '199,199,,,,221,,,,221,221,,,221,221,221,221,221,221,,221,221,199,,,',
454
+ ',221,,,199,199,199,199,,,,199,199,9,,,,,199,,,,221,,,9,9,9,,9,,9,9,',
455
+ '9,9,9,9,,199,,,,,,,,,,,,,,9,,,,9,9,,,9,9,9,9,9,9,208,9,9,,,208,,,9,',
456
+ ',,208,208,208,,208,196,208,208,,208,208,208,208,,,,,9,,196,,196,,196',
457
+ '196,,,,208,,,,208,208,,207,208,208,208,208,208,208,,208,208,196,,207',
458
+ '207,207,208,207,,207,207,,207,207,207,207,196,196,,,,,,196,,,,208,,',
459
+ ',207,,,,,207,,364,207,207,207,207,207,207,,207,207,,,364,364,364,207',
460
+ '364,,364,364,,364,364,364,364,,,,,,,,,,,,207,,,,364,,,,364,364,,,364',
461
+ '364,364,364,364,364,163,364,364,,,,,,364,,,,163,163,163,163,163,197',
462
+ '163,163,,163,163,163,163,,,,,364,,197,,197,,197,197,,,,163,,,,163,163',
463
+ ',188,163,163,163,163,163,163,,163,163,197,,188,188,188,163,188,,188',
464
+ '188,,188,188,188,188,197,197,,,,,,197,,,,163,,,,188,,,,188,188,,344',
465
+ '188,188,188,188,188,188,,188,188,,,344,344,344,188,344,,344,344,,344',
466
+ '344,344,344,,,,,,,,,,,,188,,,,344,,,,344,344,,206,344,344,344,344,344',
467
+ '344,,344,344,,,206,206,206,344,206,,206,206,,206,206,206,206,205,,,',
468
+ ',,,,,,,344,,205,205,206,205,,205,205,198,205,,206,206,206,206,206,206',
469
+ ',206,206,,,198,,198,206,198,198,205,,,,,,,,205,205,205,205,205,205,',
470
+ '205,205,,206,,198,,205,,,,,,198,198,198,198,345,,,198,198,,,,,,198,205',
471
+ '345,345,345,,345,,345,345,194,345,345,345,345,,,,,,,198,,,194,,194,',
472
+ '194,194,345,,,,345,345,,,345,345,345,345,345,345,,345,345,,,,194,,345',
473
+ ',,,,,,,194,194,347,,,194,194,,,,,,194,345,347,347,347,,347,,347,347',
474
+ '203,347,347,347,347,,,,,,,194,,203,203,,203,,203,203,347,203,,,347,347',
475
+ ',,347,347,347,347,347,347,,347,347,,,,203,,347,,,,,,203,203,203,203',
476
+ '203,203,348,203,203,,,,,,203,347,,,348,348,348,,348,200,348,348,,348',
477
+ '348,348,348,,,,,203,,200,,200,,200,200,,,,348,,,,348,348,,,348,348,348',
478
+ '348,348,348,,348,348,200,,,,,348,,,200,200,200,200,200,200,201,200,200',
479
+ ',,,,,200,,,,348,,201,,201,202,201,201,,,,,,,,,,200,202,202,,202,,202',
480
+ '202,,202,,201,,,,,,,,201,201,201,201,201,201,,201,201,202,,,,,201,,',
481
+ '202,202,202,202,202,202,204,202,202,,,,,,202,,,,201,204,204,,204,,204',
482
+ '204,,204,,,,,,,,202,,,,,,,,,,,204,,,,,,,,204,204,204,204,204,204,,204',
483
+ '204,,,,,,204,,,271,271,271,271,,271,271,271,,271,,271,271,,,,,,204,271',
484
+ '271,271,,,,271,,,,,,,,,,,,271,271,,,,,,,,,,,,271,271,271,271,273,273',
485
+ '273,273,,273,273,273,,273,,273,273,,,,,,,273,273,273,,,,273,,,,,,,,',
486
+ ',,,273,273,,,,,,,,,,,,273,273,273,273,303,303,303,303,,303,303,303,',
487
+ '303,,303,303,,,,,,,303,303,303,,,,303,,,,,,,,,,,,303,303,,,,,,,,,,,',
488
+ '303,303,303,303,215,215,215,215,,215,215,215,,215,,215,215,,,,,,,215',
489
+ '215,215,,,,215,,,,,,,,,,,,215,215,,,,,,,,,,,,215,215,215,215' ]
490
+ racc_action_check = arr = ::Array.new(6809, nil)
491
+ idx = 0
492
+ clist.each do |str|
493
+ str.split(',', -1).each do |i|
494
+ arr[idx] = i.to_i unless i.empty?
495
+ idx += 1
496
+ end
497
+ end
498
+
499
+ racc_action_pointer = [
500
+ -2, 313, nil, nil, 118, 296, nil, 173, 295, 5793,
501
+ 466, 526, 69, nil, nil, 670, 730, 790, 850, nil,
502
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
503
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
504
+ 220, 256, 1054, 1114, 1174, 48, 1283, nil, nil, nil,
505
+ nil, nil, 1402, 1462, 1546, nil, nil, nil, nil, nil,
506
+ 1606, nil, 201, 202, nil, 1786, nil, nil, 267, 1906,
507
+ 246, 2026, 2086, 2146, 2206, 2266, 2326, 2386, 2446, 2506,
508
+ 2590, 2650, 2710, 2770, 2830, 2890, 2950, 3010, 3070, 3130,
509
+ 3190, 3250, 3310, 3370, 3430, 3490, 3550, 3610, 3670, 3730,
510
+ 3790, 217, 248, 3970, 4030, 245, 238, 4210, 219, nil,
511
+ nil, nil, 1550, -1, 614, 938, 203, nil, 220, 55,
512
+ 4822, 5562, nil, 5488, 5431, 200, 195, nil, 186, nil,
513
+ nil, nil, nil, nil, nil, nil, 173, nil, 170, nil,
514
+ 90, nil, nil, 166, nil, 14, nil, nil, 170, 4882,
515
+ 60, 5656, 4762, nil, 135, nil, nil, nil, nil, 84,
516
+ 79, 61, 266, 5995, 153, 4090, 5, 3, 2, 3910,
517
+ 5302, 1966, nil, nil, -9, 82, 108, 287, -2, 4,
518
+ -4, -1, nil, nil, nil, nil, nil, nil, 6042, 61,
519
+ 1346, 2, 350, 5505, 6253, 5579, 5864, 6012, 6181, 5736,
520
+ 6396, 6450, 6467, 6325, 6521, 6161, 6136, 5894, 5847, nil,
521
+ nil, 406, 231, 209, nil, 6723, 5609, 202, nil, 276,
522
+ 239, 5719, nil, 241, nil, 120, nil, nil, 262, nil,
523
+ 230, nil, nil, nil, nil, nil, 217, 189, -24, 204,
524
+ -7, nil, 1258, 1342, 1846, 170, 132, 4379, -28, 4150,
525
+ 21, 55, nil, 4354, 4498, nil, nil, nil, nil, 4558,
526
+ nil, nil, nil, nil, 92, nil, nil, nil, nil, 101,
527
+ 119, 6561, 155, 6615, 4942, 5002, 5122, nil, 3850, 5242,
528
+ 181, nil, 170, nil, 185, nil, 187, nil, nil, nil,
529
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
530
+ nil, 195, 5182, 6669, 200, nil, 93, nil, 200, 206,
531
+ nil, 149, 30, 5062, nil, nil, 4678, 4618, nil, 222,
532
+ 83, 226, 204, 9, 4438, nil, 4270, 237, nil, 5405,
533
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 178,
534
+ 58, 238, nil, nil, 6089, 6233, 5374, 6305, 6379, 260,
535
+ 1726, 203, -8, nil, nil, 263, 1666, nil, nil, nil,
536
+ 251, nil, nil, nil, 5941, 13, 118, nil, 994, 274,
537
+ 251, nil, 276, 277, nil, nil, 277, nil, nil, 934,
538
+ nil, nil, nil, 282, 253, nil, nil, nil, nil, nil,
539
+ 287, nil, nil, nil, nil, 610, nil, 346, 178, nil,
540
+ 300, nil, nil, 58, nil, 304, nil, 306, nil, 307,
541
+ nil, nil, nil, 278, nil, nil, nil, nil ]
542
+
543
+ racc_action_default = [
544
+ -3, -241, -1, -2, -4, -5, -8, -10, -16, -21,
545
+ -241, -241, -241, -33, -34, -241, -241, -241, -241, -61,
546
+ -62, -63, -64, -65, -66, -67, -68, -69, -70, -71,
547
+ -72, -73, -74, -75, -76, -77, -78, -79, -80, -81,
548
+ -86, -90, -241, -241, -241, -241, -241, -174, -175, -176,
549
+ -177, -178, -241, -241, -241, -189, -190, -191, -192, -193,
550
+ -241, -195, -241, -208, -211, -241, -216, -217, -241, -241,
551
+ -7, -241, -241, -241, -241, -241, -241, -241, -241, -126,
552
+ -241, -241, -241, -241, -241, -241, -241, -241, -241, -241,
553
+ -241, -241, -241, -241, -241, -241, -241, -241, -241, -241,
554
+ -241, -241, -121, -240, -240, -22, -23, -241, -240, -136,
555
+ -157, -158, -46, -241, -47, -54, -241, -87, -241, -241,
556
+ -241, -241, -97, -241, -241, -240, -218, -145, -147, -148,
557
+ -149, -150, -151, -153, -154, -14, -218, -180, -218, -182,
558
+ -241, -185, -186, -241, -194, -241, -199, -202, -241, -206,
559
+ -241, -241, -241, 418, -6, -9, -11, -12, -13, -17,
560
+ -18, -19, -20, -241, -218, -241, -79, -80, -81, -229,
561
+ -235, -223, -127, -130, -241, -226, -224, -232, -175, -176,
562
+ -177, -178, -222, -227, -228, -230, -231, -233, -59, -241,
563
+ -36, -37, -38, -39, -40, -41, -42, -43, -44, -45,
564
+ -48, -49, -50, -51, -52, -53, -55, -56, -241, -57,
565
+ -115, -241, -218, -83, -91, -126, -125, -241, -124, -241,
566
+ -220, -241, -28, -240, -159, -241, -58, -92, -241, -95,
567
+ -218, -162, -164, -165, -166, -167, -169, -241, -241, -172,
568
+ -241, -89, -241, -241, -241, -241, -240, -219, -241, -219,
569
+ -241, -241, -183, -241, -241, -196, -197, -198, -200, -241,
570
+ -203, -204, -205, -207, -218, -209, -212, -214, -215, -8,
571
+ -241, -126, -241, -219, -241, -241, -241, -35, -241, -241,
572
+ -218, -117, -241, -85, -218, -129, -241, -223, -224, -225,
573
+ -226, -229, -232, -234, -235, -236, -237, -238, -239, -122,
574
+ -123, -241, -221, -126, -241, -139, -241, -160, -218, -241,
575
+ -94, -241, -219, -241, -170, -171, -241, -241, -88, -241,
576
+ -100, -241, -106, -241, -241, -110, -240, -241, -155, -241,
577
+ -146, -152, -15, -179, -181, -184, -187, -188, -201, -241,
578
+ -241, -218, -26, -128, -133, -131, -132, -60, -119, -241,
579
+ -219, -82, -241, -25, -29, -218, -240, -140, -141, -142,
580
+ -241, -93, -96, -163, -168, -241, -100, -99, -241, -241,
581
+ -106, -105, -241, -241, -109, -111, -241, -137, -138, -241,
582
+ -156, -210, -213, -241, -30, -116, -118, -84, -120, -27,
583
+ -241, -161, -173, -98, -101, -241, -104, -241, -240, -134,
584
+ -241, -144, -24, -31, -135, -241, -103, -241, -108, -241,
585
+ -113, -114, -143, -220, -102, -107, -112, -32 ]
586
+
587
+ racc_goto_table = [
588
+ 2, 112, 114, 115, 117, 116, 224, 220, 125, 129,
589
+ 131, 189, 210, 144, 301, 266, 330, 230, 367, 325,
590
+ 376, 239, 409, 224, 246, 164, 324, 70, 121, 123,
591
+ 124, 280, 223, 394, 250, 343, 251, 105, 106, 135,
592
+ 135, 143, 227, 136, 138, 209, 371, 146, 264, 245,
593
+ 390, 151, 239, 217, 219, 354, 304, 357, 155, 156,
594
+ 157, 158, 272, 327, 393, 163, 188, 190, 191, 192,
595
+ 193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
596
+ 203, 204, 205, 206, 207, 208, 383, 135, 331, 216,
597
+ 216, 212, 154, 221, 396, 363, 315, 314, 380, 375,
598
+ 336, 260, 159, 160, 161, 162, 261, 135, 3, 258,
599
+ 282, 240, 259, 257, 147, 149, 262, 1, nil, nil,
600
+ nil, 305, nil, 308, 281, nil, nil, 239, 311, nil,
601
+ nil, nil, nil, nil, nil, nil, nil, nil, 125, 269,
602
+ 129, 131, nil, nil, 328, nil, nil, nil, nil, 263,
603
+ nil, 114, 270, nil, nil, 121, 123, 124, nil, nil,
604
+ nil, 284, 339, nil, nil, nil, nil, nil, nil, nil,
605
+ nil, nil, nil, nil, nil, nil, nil, 283, 349, nil,
606
+ nil, nil, 352, nil, nil, nil, nil, nil, nil, nil,
607
+ nil, nil, nil, nil, nil, nil, nil, 208, nil, nil,
608
+ nil, nil, nil, nil, 382, nil, 360, 417, nil, nil,
609
+ 129, 131, 338, nil, 239, nil, nil, 341, nil, nil,
610
+ nil, nil, nil, nil, 378, nil, nil, nil, 309, nil,
611
+ 188, nil, nil, nil, nil, nil, 332, nil, nil, 384,
612
+ 143, 337, 319, 321, nil, nil, 146, 365, nil, 355,
613
+ nil, nil, nil, 389, 378, nil, nil, nil, nil, nil,
614
+ 344, 345, 346, 386, 347, 348, nil, nil, nil, 358,
615
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
616
+ nil, nil, nil, nil, nil, nil, nil, nil, 221, nil,
617
+ nil, nil, 129, 131, nil, nil, 410, nil, nil, 364,
618
+ nil, nil, 188, 413, 332, nil, nil, nil, nil, nil,
619
+ 188, nil, nil, nil, nil, 387, nil, nil, nil, nil,
620
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
621
+ nil, nil, nil, nil, nil, nil, 208, nil, nil, nil,
622
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
623
+ nil, nil, nil, nil, 121, nil, nil, nil, nil, nil,
624
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
625
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 400,
626
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 221,
627
+ nil, nil, nil, nil, nil, 405, nil, 407, 411 ]
628
+
629
+ racc_goto_check = [
630
+ 2, 10, 10, 10, 37, 6, 49, 13, 57, 35,
631
+ 34, 19, 50, 80, 14, 88, 65, 42, 44, 47,
632
+ 59, 36, 48, 49, 15, 11, 46, 5, 10, 10,
633
+ 10, 51, 58, 43, 15, 54, 15, 9, 9, 6,
634
+ 6, 6, 41, 8, 8, 20, 45, 6, 42, 58,
635
+ 59, 10, 36, 53, 53, 16, 61, 62, 6, 6,
636
+ 6, 6, 15, 64, 44, 10, 10, 10, 10, 10,
637
+ 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
638
+ 10, 10, 10, 10, 10, 10, 12, 6, 67, 10,
639
+ 10, 8, 5, 10, 45, 68, 69, 71, 65, 47,
640
+ 75, 76, 9, 9, 9, 9, 77, 6, 3, 81,
641
+ 15, 8, 82, 84, 85, 86, 87, 1, nil, nil,
642
+ nil, 49, nil, 42, 50, nil, nil, 36, 15, nil,
643
+ nil, nil, nil, nil, nil, nil, nil, nil, 57, 6,
644
+ 35, 34, nil, nil, 49, nil, nil, nil, nil, 2,
645
+ nil, 10, 2, nil, nil, 10, 10, 10, nil, nil,
646
+ nil, 11, 15, nil, nil, nil, nil, nil, nil, nil,
647
+ nil, nil, nil, nil, nil, nil, nil, 37, 15, nil,
648
+ nil, nil, 15, nil, nil, nil, nil, nil, nil, nil,
649
+ nil, nil, nil, nil, nil, nil, nil, 10, nil, nil,
650
+ nil, nil, nil, nil, 88, nil, 15, 14, nil, nil,
651
+ 35, 34, 80, nil, 36, nil, nil, 11, nil, nil,
652
+ nil, nil, nil, nil, 49, nil, nil, nil, 2, nil,
653
+ 10, nil, nil, nil, nil, nil, 6, nil, nil, 15,
654
+ 6, 6, 2, 2, nil, nil, 6, 19, nil, 11,
655
+ nil, nil, nil, 15, 49, nil, nil, nil, nil, nil,
656
+ 10, 10, 10, 50, 10, 10, nil, nil, nil, 57,
657
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
658
+ nil, nil, nil, nil, nil, nil, nil, nil, 10, nil,
659
+ nil, nil, 35, 34, nil, nil, 49, nil, nil, 10,
660
+ nil, nil, 10, 13, 6, nil, nil, nil, nil, nil,
661
+ 10, nil, nil, nil, nil, 37, nil, nil, nil, nil,
662
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
663
+ nil, nil, nil, nil, nil, nil, 10, nil, nil, nil,
664
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
665
+ nil, nil, nil, nil, 10, nil, nil, nil, nil, nil,
666
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
667
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 2,
668
+ nil, nil, nil, nil, nil, nil, nil, nil, nil, 10,
669
+ nil, nil, nil, nil, nil, 2, nil, 2, 2 ]
670
+
671
+ racc_goto_pointer = [
672
+ nil, 117, 0, 108, nil, 23, -13, nil, -9, 27,
673
+ -14, -54, -255, -100, -206, -102, -247, nil, nil, -69,
674
+ -54, nil, nil, nil, nil, nil, nil, nil, nil, nil,
675
+ nil, nil, nil, nil, -36, -37, -98, -36, nil, nil,
676
+ nil, -76, -102, -335, -302, -276, -218, -225, -376, -102,
677
+ -87, -180, nil, -50, -238, nil, nil, -37, -76, -306,
678
+ nil, -167, -249, nil, -183, -231, nil, -160, -217, -142,
679
+ nil, -140, nil, nil, nil, -153, -47, -42, nil, nil,
680
+ -47, -36, -33, nil, -32, 52, 52, -33, -136 ]
681
+
682
+ racc_goto_default = [
683
+ nil, nil, 377, nil, 4, 5, 6, 7, nil, 8,
684
+ 9, nil, nil, nil, nil, nil, 222, 13, 14, 323,
685
+ nil, 19, 20, 21, 22, 23, 24, 25, 26, 27,
686
+ 28, 29, 30, 31, 32, 33, 34, nil, 40, 41,
687
+ 118, nil, nil, 122, nil, nil, nil, nil, nil, 218,
688
+ nil, nil, 102, nil, 172, 174, 173, 109, nil, nil,
689
+ 108, nil, nil, 126, nil, 127, 128, 132, 231, 232,
690
+ 233, 234, 235, 238, 140, 142, 55, 56, 57, 60,
691
+ nil, nil, nil, 145, nil, nil, nil, nil, nil ]
692
+
693
+ racc_reduce_table = [
694
+ 0, 0, :racc_error,
695
+ 1, 92, :_reduce_1,
696
+ 1, 92, :_reduce_2,
697
+ 0, 92, :_reduce_3,
698
+ 1, 93, :_reduce_4,
699
+ 1, 95, :_reduce_5,
700
+ 3, 95, :_reduce_6,
701
+ 2, 95, :_reduce_7,
702
+ 1, 96, :_reduce_8,
703
+ 3, 96, :_reduce_9,
704
+ 1, 97, :_reduce_none,
705
+ 3, 97, :_reduce_11,
706
+ 3, 97, :_reduce_12,
707
+ 3, 97, :_reduce_13,
708
+ 1, 99, :_reduce_14,
709
+ 3, 99, :_reduce_15,
710
+ 1, 98, :_reduce_none,
711
+ 3, 98, :_reduce_17,
712
+ 3, 98, :_reduce_18,
713
+ 3, 98, :_reduce_19,
714
+ 3, 98, :_reduce_20,
715
+ 1, 100, :_reduce_none,
716
+ 2, 100, :_reduce_22,
717
+ 2, 100, :_reduce_23,
718
+ 7, 100, :_reduce_24,
719
+ 5, 100, :_reduce_25,
720
+ 5, 100, :_reduce_26,
721
+ 4, 107, :_reduce_27,
722
+ 1, 104, :_reduce_28,
723
+ 3, 104, :_reduce_29,
724
+ 1, 103, :_reduce_30,
725
+ 2, 103, :_reduce_31,
726
+ 4, 103, :_reduce_32,
727
+ 1, 101, :_reduce_none,
728
+ 1, 101, :_reduce_none,
729
+ 4, 101, :_reduce_35,
730
+ 3, 101, :_reduce_36,
731
+ 3, 101, :_reduce_37,
732
+ 3, 101, :_reduce_38,
733
+ 3, 101, :_reduce_39,
734
+ 3, 101, :_reduce_40,
735
+ 3, 101, :_reduce_41,
736
+ 3, 101, :_reduce_42,
737
+ 3, 101, :_reduce_43,
738
+ 3, 101, :_reduce_44,
739
+ 3, 101, :_reduce_45,
740
+ 2, 101, :_reduce_46,
741
+ 2, 101, :_reduce_47,
742
+ 3, 101, :_reduce_48,
743
+ 3, 101, :_reduce_49,
744
+ 3, 101, :_reduce_50,
745
+ 3, 101, :_reduce_51,
746
+ 3, 101, :_reduce_52,
747
+ 3, 101, :_reduce_53,
748
+ 2, 101, :_reduce_54,
749
+ 3, 101, :_reduce_55,
750
+ 3, 101, :_reduce_56,
751
+ 3, 101, :_reduce_57,
752
+ 3, 101, :_reduce_58,
753
+ 1, 110, :_reduce_59,
754
+ 3, 110, :_reduce_60,
755
+ 1, 108, :_reduce_none,
756
+ 1, 108, :_reduce_none,
757
+ 1, 108, :_reduce_none,
758
+ 1, 108, :_reduce_none,
759
+ 1, 108, :_reduce_none,
760
+ 1, 108, :_reduce_none,
761
+ 1, 108, :_reduce_none,
762
+ 1, 108, :_reduce_none,
763
+ 1, 108, :_reduce_none,
764
+ 1, 108, :_reduce_none,
765
+ 1, 108, :_reduce_none,
766
+ 1, 108, :_reduce_none,
767
+ 1, 108, :_reduce_none,
768
+ 1, 108, :_reduce_none,
769
+ 1, 108, :_reduce_none,
770
+ 1, 108, :_reduce_none,
771
+ 1, 108, :_reduce_77,
772
+ 1, 108, :_reduce_78,
773
+ 1, 108, :_reduce_79,
774
+ 1, 108, :_reduce_80,
775
+ 1, 108, :_reduce_81,
776
+ 5, 109, :_reduce_82,
777
+ 3, 109, :_reduce_83,
778
+ 6, 109, :_reduce_84,
779
+ 4, 109, :_reduce_85,
780
+ 1, 113, :_reduce_86,
781
+ 2, 113, :_reduce_87,
782
+ 4, 129, :_reduce_88,
783
+ 3, 129, :_reduce_89,
784
+ 1, 129, :_reduce_90,
785
+ 3, 130, :_reduce_91,
786
+ 2, 128, :_reduce_92,
787
+ 3, 132, :_reduce_93,
788
+ 2, 132, :_reduce_94,
789
+ 2, 131, :_reduce_95,
790
+ 4, 131, :_reduce_96,
791
+ 2, 116, :_reduce_97,
792
+ 5, 134, :_reduce_98,
793
+ 4, 134, :_reduce_99,
794
+ 0, 135, :_reduce_none,
795
+ 2, 135, :_reduce_101,
796
+ 4, 135, :_reduce_102,
797
+ 3, 135, :_reduce_103,
798
+ 6, 117, :_reduce_104,
799
+ 5, 117, :_reduce_105,
800
+ 0, 136, :_reduce_none,
801
+ 4, 136, :_reduce_107,
802
+ 3, 136, :_reduce_108,
803
+ 5, 115, :_reduce_109,
804
+ 1, 137, :_reduce_110,
805
+ 2, 137, :_reduce_111,
806
+ 5, 138, :_reduce_112,
807
+ 1, 139, :_reduce_none,
808
+ 1, 139, :_reduce_none,
809
+ 1, 111, :_reduce_none,
810
+ 4, 111, :_reduce_116,
811
+ 1, 142, :_reduce_117,
812
+ 3, 142, :_reduce_118,
813
+ 3, 141, :_reduce_119,
814
+ 6, 114, :_reduce_120,
815
+ 2, 114, :_reduce_121,
816
+ 3, 143, :_reduce_122,
817
+ 3, 143, :_reduce_123,
818
+ 1, 144, :_reduce_none,
819
+ 1, 144, :_reduce_none,
820
+ 0, 102, :_reduce_126,
821
+ 1, 102, :_reduce_127,
822
+ 3, 102, :_reduce_128,
823
+ 1, 146, :_reduce_none,
824
+ 1, 146, :_reduce_none,
825
+ 3, 145, :_reduce_131,
826
+ 3, 145, :_reduce_132,
827
+ 3, 145, :_reduce_133,
828
+ 6, 118, :_reduce_134,
829
+ 7, 119, :_reduce_135,
830
+ 1, 151, :_reduce_136,
831
+ 1, 150, :_reduce_none,
832
+ 1, 150, :_reduce_none,
833
+ 1, 152, :_reduce_none,
834
+ 2, 152, :_reduce_140,
835
+ 1, 153, :_reduce_none,
836
+ 1, 153, :_reduce_none,
837
+ 7, 120, :_reduce_143,
838
+ 6, 120, :_reduce_144,
839
+ 1, 154, :_reduce_145,
840
+ 3, 154, :_reduce_146,
841
+ 1, 156, :_reduce_none,
842
+ 1, 156, :_reduce_none,
843
+ 1, 156, :_reduce_149,
844
+ 1, 156, :_reduce_none,
845
+ 1, 157, :_reduce_151,
846
+ 3, 157, :_reduce_152,
847
+ 1, 158, :_reduce_none,
848
+ 1, 158, :_reduce_none,
849
+ 1, 155, :_reduce_none,
850
+ 2, 155, :_reduce_156,
851
+ 1, 148, :_reduce_none,
852
+ 1, 148, :_reduce_158,
853
+ 1, 149, :_reduce_159,
854
+ 2, 149, :_reduce_160,
855
+ 4, 149, :_reduce_161,
856
+ 1, 133, :_reduce_162,
857
+ 3, 133, :_reduce_163,
858
+ 1, 159, :_reduce_none,
859
+ 1, 159, :_reduce_none,
860
+ 1, 160, :_reduce_none,
861
+ 1, 160, :_reduce_none,
862
+ 3, 162, :_reduce_168,
863
+ 1, 162, :_reduce_169,
864
+ 2, 163, :_reduce_170,
865
+ 2, 161, :_reduce_171,
866
+ 1, 164, :_reduce_172,
867
+ 4, 164, :_reduce_173,
868
+ 1, 112, :_reduce_174,
869
+ 1, 122, :_reduce_175,
870
+ 1, 122, :_reduce_176,
871
+ 1, 122, :_reduce_177,
872
+ 1, 122, :_reduce_178,
873
+ 4, 123, :_reduce_179,
874
+ 2, 123, :_reduce_180,
875
+ 4, 123, :_reduce_181,
876
+ 2, 123, :_reduce_182,
877
+ 3, 124, :_reduce_183,
878
+ 4, 124, :_reduce_184,
879
+ 2, 124, :_reduce_185,
880
+ 1, 165, :_reduce_186,
881
+ 3, 165, :_reduce_187,
882
+ 3, 166, :_reduce_188,
883
+ 1, 126, :_reduce_none,
884
+ 1, 126, :_reduce_none,
885
+ 1, 126, :_reduce_none,
886
+ 1, 167, :_reduce_192,
887
+ 1, 167, :_reduce_193,
888
+ 2, 168, :_reduce_194,
889
+ 1, 170, :_reduce_195,
890
+ 1, 172, :_reduce_196,
891
+ 1, 173, :_reduce_197,
892
+ 2, 171, :_reduce_198,
893
+ 1, 174, :_reduce_199,
894
+ 1, 175, :_reduce_200,
895
+ 2, 175, :_reduce_201,
896
+ 2, 169, :_reduce_202,
897
+ 2, 176, :_reduce_203,
898
+ 2, 176, :_reduce_204,
899
+ 3, 94, :_reduce_205,
900
+ 0, 178, :_reduce_none,
901
+ 1, 178, :_reduce_none,
902
+ 0, 177, :_reduce_208,
903
+ 2, 177, :_reduce_209,
904
+ 4, 177, :_reduce_210,
905
+ 1, 121, :_reduce_211,
906
+ 3, 121, :_reduce_212,
907
+ 5, 121, :_reduce_213,
908
+ 1, 179, :_reduce_none,
909
+ 1, 179, :_reduce_none,
910
+ 1, 127, :_reduce_216,
911
+ 1, 125, :_reduce_217,
912
+ 0, 106, :_reduce_none,
913
+ 1, 106, :_reduce_219,
914
+ 0, 105, :_reduce_none,
915
+ 1, 105, :_reduce_none,
916
+ 1, 147, :_reduce_none,
917
+ 1, 147, :_reduce_none,
918
+ 1, 147, :_reduce_none,
919
+ 1, 147, :_reduce_none,
920
+ 1, 147, :_reduce_none,
921
+ 1, 147, :_reduce_none,
922
+ 1, 147, :_reduce_none,
923
+ 1, 147, :_reduce_none,
924
+ 1, 147, :_reduce_none,
925
+ 1, 147, :_reduce_none,
926
+ 1, 147, :_reduce_none,
927
+ 1, 147, :_reduce_none,
928
+ 1, 147, :_reduce_none,
929
+ 1, 147, :_reduce_none,
930
+ 1, 147, :_reduce_none,
931
+ 1, 147, :_reduce_none,
932
+ 1, 147, :_reduce_none,
933
+ 1, 147, :_reduce_none,
934
+ 0, 140, :_reduce_240 ]
935
+
936
+ racc_reduce_n = 241
937
+
938
+ racc_shift_n = 418
939
+
940
+ racc_token_table = {
941
+ false => 0,
942
+ :error => 1,
943
+ :STRING => 2,
944
+ :DQPRE => 3,
945
+ :DQMID => 4,
946
+ :DQPOST => 5,
947
+ :WORD => 6,
948
+ :LBRACK => 7,
949
+ :RBRACK => 8,
950
+ :LBRACE => 9,
951
+ :RBRACE => 10,
952
+ :SYMBOL => 11,
953
+ :FARROW => 12,
954
+ :COMMA => 13,
955
+ :TRUE => 14,
956
+ :FALSE => 15,
957
+ :EQUALS => 16,
958
+ :APPENDS => 17,
959
+ :DELETES => 18,
960
+ :LESSEQUAL => 19,
961
+ :NOTEQUAL => 20,
962
+ :DOT => 21,
963
+ :COLON => 22,
964
+ :LLCOLLECT => 23,
965
+ :RRCOLLECT => 24,
966
+ :QMARK => 25,
967
+ :LPAREN => 26,
968
+ :RPAREN => 27,
969
+ :ISEQUAL => 28,
970
+ :GREATEREQUAL => 29,
971
+ :GREATERTHAN => 30,
972
+ :LESSTHAN => 31,
973
+ :IF => 32,
974
+ :ELSE => 33,
975
+ :DEFINE => 34,
976
+ :ELSIF => 35,
977
+ :VARIABLE => 36,
978
+ :CLASS => 37,
979
+ :INHERITS => 38,
980
+ :NODE => 39,
981
+ :BOOLEAN => 40,
982
+ :NAME => 41,
983
+ :SEMIC => 42,
984
+ :CASE => 43,
985
+ :DEFAULT => 44,
986
+ :AT => 45,
987
+ :ATAT => 46,
988
+ :LCOLLECT => 47,
989
+ :RCOLLECT => 48,
990
+ :CLASSREF => 49,
991
+ :NOT => 50,
992
+ :OR => 51,
993
+ :AND => 52,
994
+ :UNDEF => 53,
995
+ :PARROW => 54,
996
+ :PLUS => 55,
997
+ :MINUS => 56,
998
+ :TIMES => 57,
999
+ :DIV => 58,
1000
+ :LSHIFT => 59,
1001
+ :RSHIFT => 60,
1002
+ :UMINUS => 61,
1003
+ :MATCH => 62,
1004
+ :NOMATCH => 63,
1005
+ :REGEX => 64,
1006
+ :IN_EDGE => 65,
1007
+ :OUT_EDGE => 66,
1008
+ :IN_EDGE_SUB => 67,
1009
+ :OUT_EDGE_SUB => 68,
1010
+ :IN => 69,
1011
+ :UNLESS => 70,
1012
+ :PIPE => 71,
1013
+ :LAMBDA => 72,
1014
+ :SELBRACE => 73,
1015
+ :NUMBER => 74,
1016
+ :HEREDOC => 75,
1017
+ :SUBLOCATE => 76,
1018
+ :RENDER_STRING => 77,
1019
+ :RENDER_EXPR => 78,
1020
+ :EPP_START => 79,
1021
+ :EPP_END => 80,
1022
+ :EPP_END_TRIM => 81,
1023
+ :FUNCTION => 82,
1024
+ :PRIVATE => 83,
1025
+ :ATTR => 84,
1026
+ :TYPE => 85,
1027
+ :LOW => 86,
1028
+ :HIGH => 87,
1029
+ :LISTSTART => 88,
1030
+ :SPLAT => 89,
1031
+ :MODULO => 90 }
1032
+
1033
+ racc_nt_base = 91
1034
+
1035
+ racc_use_result_var = true
1036
+
1037
+ Racc_arg = [
1038
+ racc_action_table,
1039
+ racc_action_check,
1040
+ racc_action_default,
1041
+ racc_action_pointer,
1042
+ racc_goto_table,
1043
+ racc_goto_check,
1044
+ racc_goto_default,
1045
+ racc_goto_pointer,
1046
+ racc_nt_base,
1047
+ racc_reduce_table,
1048
+ racc_token_table,
1049
+ racc_shift_n,
1050
+ racc_reduce_n,
1051
+ racc_use_result_var ]
1052
+
1053
+ Racc_token_to_s_table = [
1054
+ "$end",
1055
+ "error",
1056
+ "STRING",
1057
+ "DQPRE",
1058
+ "DQMID",
1059
+ "DQPOST",
1060
+ "WORD",
1061
+ "LBRACK",
1062
+ "RBRACK",
1063
+ "LBRACE",
1064
+ "RBRACE",
1065
+ "SYMBOL",
1066
+ "FARROW",
1067
+ "COMMA",
1068
+ "TRUE",
1069
+ "FALSE",
1070
+ "EQUALS",
1071
+ "APPENDS",
1072
+ "DELETES",
1073
+ "LESSEQUAL",
1074
+ "NOTEQUAL",
1075
+ "DOT",
1076
+ "COLON",
1077
+ "LLCOLLECT",
1078
+ "RRCOLLECT",
1079
+ "QMARK",
1080
+ "LPAREN",
1081
+ "RPAREN",
1082
+ "ISEQUAL",
1083
+ "GREATEREQUAL",
1084
+ "GREATERTHAN",
1085
+ "LESSTHAN",
1086
+ "IF",
1087
+ "ELSE",
1088
+ "DEFINE",
1089
+ "ELSIF",
1090
+ "VARIABLE",
1091
+ "CLASS",
1092
+ "INHERITS",
1093
+ "NODE",
1094
+ "BOOLEAN",
1095
+ "NAME",
1096
+ "SEMIC",
1097
+ "CASE",
1098
+ "DEFAULT",
1099
+ "AT",
1100
+ "ATAT",
1101
+ "LCOLLECT",
1102
+ "RCOLLECT",
1103
+ "CLASSREF",
1104
+ "NOT",
1105
+ "OR",
1106
+ "AND",
1107
+ "UNDEF",
1108
+ "PARROW",
1109
+ "PLUS",
1110
+ "MINUS",
1111
+ "TIMES",
1112
+ "DIV",
1113
+ "LSHIFT",
1114
+ "RSHIFT",
1115
+ "UMINUS",
1116
+ "MATCH",
1117
+ "NOMATCH",
1118
+ "REGEX",
1119
+ "IN_EDGE",
1120
+ "OUT_EDGE",
1121
+ "IN_EDGE_SUB",
1122
+ "OUT_EDGE_SUB",
1123
+ "IN",
1124
+ "UNLESS",
1125
+ "PIPE",
1126
+ "LAMBDA",
1127
+ "SELBRACE",
1128
+ "NUMBER",
1129
+ "HEREDOC",
1130
+ "SUBLOCATE",
1131
+ "RENDER_STRING",
1132
+ "RENDER_EXPR",
1133
+ "EPP_START",
1134
+ "EPP_END",
1135
+ "EPP_END_TRIM",
1136
+ "FUNCTION",
1137
+ "PRIVATE",
1138
+ "ATTR",
1139
+ "TYPE",
1140
+ "LOW",
1141
+ "HIGH",
1142
+ "LISTSTART",
1143
+ "SPLAT",
1144
+ "MODULO",
1145
+ "$start",
1146
+ "program",
1147
+ "statements",
1148
+ "epp_expression",
1149
+ "syntactic_statements",
1150
+ "syntactic_statement",
1151
+ "assignment",
1152
+ "relationship",
1153
+ "assignments",
1154
+ "resource",
1155
+ "expression",
1156
+ "attribute_operations",
1157
+ "additional_resource_bodies",
1158
+ "resource_bodies",
1159
+ "endsemi",
1160
+ "endcomma",
1161
+ "resource_body",
1162
+ "primary_expression",
1163
+ "call_function_expression",
1164
+ "expressions",
1165
+ "selector_entries",
1166
+ "variable",
1167
+ "call_method_with_lambda_expression",
1168
+ "collection_expression",
1169
+ "case_expression",
1170
+ "if_expression",
1171
+ "unless_expression",
1172
+ "definition_expression",
1173
+ "hostclass_expression",
1174
+ "node_definition_expression",
1175
+ "epp_render_expression",
1176
+ "reserved_word",
1177
+ "array",
1178
+ "hash",
1179
+ "regex",
1180
+ "quotedtext",
1181
+ "type",
1182
+ "lambda",
1183
+ "call_method_expression",
1184
+ "named_access",
1185
+ "lambda_parameter_list",
1186
+ "lambda_rest",
1187
+ "parameters",
1188
+ "if_part",
1189
+ "else",
1190
+ "unless_else",
1191
+ "case_options",
1192
+ "case_option",
1193
+ "options_statements",
1194
+ "nil",
1195
+ "selector_entry",
1196
+ "selector_entry_list",
1197
+ "collect_query",
1198
+ "optional_query",
1199
+ "attribute_operation",
1200
+ "attribute_name",
1201
+ "keyword",
1202
+ "classname",
1203
+ "parameter_list",
1204
+ "opt_statements",
1205
+ "stacked_classname",
1206
+ "classparent",
1207
+ "classnameordefault",
1208
+ "hostnames",
1209
+ "nodeparent",
1210
+ "hostname",
1211
+ "dotted_name",
1212
+ "name_or_number",
1213
+ "parameter",
1214
+ "untyped_parameter",
1215
+ "typed_parameter",
1216
+ "regular_parameter",
1217
+ "splat_parameter",
1218
+ "parameter_type",
1219
+ "hashpairs",
1220
+ "hashpair",
1221
+ "string",
1222
+ "dq_string",
1223
+ "heredoc",
1224
+ "dqpre",
1225
+ "dqrval",
1226
+ "dqpost",
1227
+ "dqmid",
1228
+ "text_expression",
1229
+ "dqtail",
1230
+ "sublocated_text",
1231
+ "epp_parameters_list",
1232
+ "optional_statements",
1233
+ "epp_end" ]
1234
+
1235
+ Racc_debug_parser = false
1236
+
1237
+ ##### State transition tables end #####
1238
+
1239
+ # reduce 0 omitted
1240
+
1241
+ module_eval(<<'.,.,', 'egrammar.ra', 65)
1242
+ def _reduce_1(val, _values, result)
1243
+ result = create_program(Factory.block_or_expression(*val[0]))
1244
+ result
1245
+ end
1246
+ .,.,
1247
+
1248
+ module_eval(<<'.,.,', 'egrammar.ra', 66)
1249
+ def _reduce_2(val, _values, result)
1250
+ result = create_program(Factory.block_or_expression(*val[0]))
1251
+ result
1252
+ end
1253
+ .,.,
1254
+
1255
+ module_eval(<<'.,.,', 'egrammar.ra', 67)
1256
+ def _reduce_3(val, _values, result)
1257
+ result = create_empty_program()
1258
+ result
1259
+ end
1260
+ .,.,
1261
+
1262
+ module_eval(<<'.,.,', 'egrammar.ra', 71)
1263
+ def _reduce_4(val, _values, result)
1264
+ result = transform_calls(val[0])
1265
+ result
1266
+ end
1267
+ .,.,
1268
+
1269
+ module_eval(<<'.,.,', 'egrammar.ra', 78)
1270
+ def _reduce_5(val, _values, result)
1271
+ result = [val[0]]
1272
+ result
1273
+ end
1274
+ .,.,
1275
+
1276
+ module_eval(<<'.,.,', 'egrammar.ra', 79)
1277
+ def _reduce_6(val, _values, result)
1278
+ result = val[0].push val[2]
1279
+ result
1280
+ end
1281
+ .,.,
1282
+
1283
+ module_eval(<<'.,.,', 'egrammar.ra', 80)
1284
+ def _reduce_7(val, _values, result)
1285
+ result = val[0].push val[1]
1286
+ result
1287
+ end
1288
+ .,.,
1289
+
1290
+ module_eval(<<'.,.,', 'egrammar.ra', 87)
1291
+ def _reduce_8(val, _values, result)
1292
+ result = val[0]
1293
+ result
1294
+ end
1295
+ .,.,
1296
+
1297
+ module_eval(<<'.,.,', 'egrammar.ra', 88)
1298
+ def _reduce_9(val, _values, result)
1299
+ result = aryfy(val[0]).push val[2]
1300
+ result
1301
+ end
1302
+ .,.,
1303
+
1304
+ # reduce 10 omitted
1305
+
1306
+ module_eval(<<'.,.,', 'egrammar.ra', 93)
1307
+ def _reduce_11(val, _values, result)
1308
+ result = val[0].set(val[2]) ; loc result, val[1]
1309
+ result
1310
+ end
1311
+ .,.,
1312
+
1313
+ module_eval(<<'.,.,', 'egrammar.ra', 94)
1314
+ def _reduce_12(val, _values, result)
1315
+ result = val[0].plus_set(val[2]) ; loc result, val[1]
1316
+ result
1317
+ end
1318
+ .,.,
1319
+
1320
+ module_eval(<<'.,.,', 'egrammar.ra', 95)
1321
+ def _reduce_13(val, _values, result)
1322
+ result = val[0].minus_set(val[2]); loc result, val[1]
1323
+ result
1324
+ end
1325
+ .,.,
1326
+
1327
+ module_eval(<<'.,.,', 'egrammar.ra', 98)
1328
+ def _reduce_14(val, _values, result)
1329
+ result = [val[0]]
1330
+ result
1331
+ end
1332
+ .,.,
1333
+
1334
+ module_eval(<<'.,.,', 'egrammar.ra', 99)
1335
+ def _reduce_15(val, _values, result)
1336
+ result = val[0].push(val[2])
1337
+ result
1338
+ end
1339
+ .,.,
1340
+
1341
+ # reduce 16 omitted
1342
+
1343
+ module_eval(<<'.,.,', 'egrammar.ra', 103)
1344
+ def _reduce_17(val, _values, result)
1345
+ result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
1346
+ result
1347
+ end
1348
+ .,.,
1349
+
1350
+ module_eval(<<'.,.,', 'egrammar.ra', 104)
1351
+ def _reduce_18(val, _values, result)
1352
+ result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
1353
+ result
1354
+ end
1355
+ .,.,
1356
+
1357
+ module_eval(<<'.,.,', 'egrammar.ra', 105)
1358
+ def _reduce_19(val, _values, result)
1359
+ result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
1360
+ result
1361
+ end
1362
+ .,.,
1363
+
1364
+ module_eval(<<'.,.,', 'egrammar.ra', 106)
1365
+ def _reduce_20(val, _values, result)
1366
+ result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
1367
+ result
1368
+ end
1369
+ .,.,
1370
+
1371
+ # reduce 21 omitted
1372
+
1373
+ module_eval(<<'.,.,', 'egrammar.ra', 115)
1374
+ def _reduce_22(val, _values, result)
1375
+ result = val[1]
1376
+ unless Factory.set_resource_form(result, :virtual)
1377
+ # This is equivalent to a syntax error - additional semantic restrictions apply
1378
+ error val[0], "Virtual (@) can only be applied to a Resource Expression"
1379
+ end
1380
+ # relocate the result
1381
+ loc result, val[0], val[1]
1382
+
1383
+ result
1384
+ end
1385
+ .,.,
1386
+
1387
+ module_eval(<<'.,.,', 'egrammar.ra', 126)
1388
+ def _reduce_23(val, _values, result)
1389
+ result = val[1]
1390
+ unless Factory.set_resource_form(result, :exported)
1391
+ # This is equivalent to a syntax error - additional semantic restrictions apply
1392
+ error val[0], "Exported (@@) can only be applied to a Resource Expression"
1393
+ end
1394
+ # relocate the result
1395
+ loc result, val[0], val[1]
1396
+
1397
+ result
1398
+ end
1399
+ .,.,
1400
+
1401
+ module_eval(<<'.,.,', 'egrammar.ra', 137)
1402
+ def _reduce_24(val, _values, result)
1403
+ bodies = [Factory.RESOURCE_BODY(val[2], val[4])] + val[5]
1404
+ result = Factory.RESOURCE(val[0], bodies)
1405
+ loc result, val[0], val[6]
1406
+
1407
+ result
1408
+ end
1409
+ .,.,
1410
+
1411
+ module_eval(<<'.,.,', 'egrammar.ra', 144)
1412
+ def _reduce_25(val, _values, result)
1413
+ result = Factory.RESOURCE(Factory.fqn(token_text(val[0])), val[2])
1414
+ loc result, val[0], val[4]
1415
+
1416
+ result
1417
+ end
1418
+ .,.,
1419
+
1420
+ module_eval(<<'.,.,', 'egrammar.ra', 153)
1421
+ def _reduce_26(val, _values, result)
1422
+ result = case Factory.resource_shape(val[0])
1423
+ when :resource, :class
1424
+ # This catches deprecated syntax.
1425
+ # If the attribute operations does not include +>, then the found expression
1426
+ # is actually a LEFT followed by LITERAL_HASH
1427
+ #
1428
+ unless tmp = transform_resource_wo_title(val[0], val[2])
1429
+ error val[1], "Syntax error resource body without title or hash with +>"
1430
+ end
1431
+ tmp
1432
+ when :defaults
1433
+ Factory.RESOURCE_DEFAULTS(val[0], val[2])
1434
+ when :override
1435
+ # This was only done for override in original - TODO should it be here at all
1436
+ Factory.RESOURCE_OVERRIDE(val[0], val[2])
1437
+ else
1438
+ error val[0], "Expression is not valid as a resource, resource-default, or resource-override"
1439
+ end
1440
+ loc result, val[0], val[4]
1441
+
1442
+ result
1443
+ end
1444
+ .,.,
1445
+
1446
+ module_eval(<<'.,.,', 'egrammar.ra', 175)
1447
+ def _reduce_27(val, _values, result)
1448
+ result = Factory.RESOURCE_BODY(val[0], val[2])
1449
+ result
1450
+ end
1451
+ .,.,
1452
+
1453
+ module_eval(<<'.,.,', 'egrammar.ra', 178)
1454
+ def _reduce_28(val, _values, result)
1455
+ result = [val[0]]
1456
+ result
1457
+ end
1458
+ .,.,
1459
+
1460
+ module_eval(<<'.,.,', 'egrammar.ra', 179)
1461
+ def _reduce_29(val, _values, result)
1462
+ result = val[0].push val[2]
1463
+ result
1464
+ end
1465
+ .,.,
1466
+
1467
+ module_eval(<<'.,.,', 'egrammar.ra', 185)
1468
+ def _reduce_30(val, _values, result)
1469
+ result = []
1470
+ result
1471
+ end
1472
+ .,.,
1473
+
1474
+ module_eval(<<'.,.,', 'egrammar.ra', 186)
1475
+ def _reduce_31(val, _values, result)
1476
+ result = []
1477
+ result
1478
+ end
1479
+ .,.,
1480
+
1481
+ module_eval(<<'.,.,', 'egrammar.ra', 187)
1482
+ def _reduce_32(val, _values, result)
1483
+ result = val[2]
1484
+ result
1485
+ end
1486
+ .,.,
1487
+
1488
+ # reduce 33 omitted
1489
+
1490
+ # reduce 34 omitted
1491
+
1492
+ module_eval(<<'.,.,', 'egrammar.ra', 194)
1493
+ def _reduce_35(val, _values, result)
1494
+ result = val[0][*val[2]] ; loc result, val[0], val[3]
1495
+ result
1496
+ end
1497
+ .,.,
1498
+
1499
+ module_eval(<<'.,.,', 'egrammar.ra', 195)
1500
+ def _reduce_36(val, _values, result)
1501
+ result = val[0].in val[2] ; loc result, val[1]
1502
+ result
1503
+ end
1504
+ .,.,
1505
+
1506
+ module_eval(<<'.,.,', 'egrammar.ra', 196)
1507
+ def _reduce_37(val, _values, result)
1508
+ result = val[0] =~ val[2] ; loc result, val[1]
1509
+ result
1510
+ end
1511
+ .,.,
1512
+
1513
+ module_eval(<<'.,.,', 'egrammar.ra', 197)
1514
+ def _reduce_38(val, _values, result)
1515
+ result = val[0].mne val[2] ; loc result, val[1]
1516
+ result
1517
+ end
1518
+ .,.,
1519
+
1520
+ module_eval(<<'.,.,', 'egrammar.ra', 198)
1521
+ def _reduce_39(val, _values, result)
1522
+ result = val[0] + val[2] ; loc result, val[1]
1523
+ result
1524
+ end
1525
+ .,.,
1526
+
1527
+ module_eval(<<'.,.,', 'egrammar.ra', 199)
1528
+ def _reduce_40(val, _values, result)
1529
+ result = val[0] - val[2] ; loc result, val[1]
1530
+ result
1531
+ end
1532
+ .,.,
1533
+
1534
+ module_eval(<<'.,.,', 'egrammar.ra', 200)
1535
+ def _reduce_41(val, _values, result)
1536
+ result = val[0] / val[2] ; loc result, val[1]
1537
+ result
1538
+ end
1539
+ .,.,
1540
+
1541
+ module_eval(<<'.,.,', 'egrammar.ra', 201)
1542
+ def _reduce_42(val, _values, result)
1543
+ result = val[0] * val[2] ; loc result, val[1]
1544
+ result
1545
+ end
1546
+ .,.,
1547
+
1548
+ module_eval(<<'.,.,', 'egrammar.ra', 202)
1549
+ def _reduce_43(val, _values, result)
1550
+ result = val[0] % val[2] ; loc result, val[1]
1551
+ result
1552
+ end
1553
+ .,.,
1554
+
1555
+ module_eval(<<'.,.,', 'egrammar.ra', 203)
1556
+ def _reduce_44(val, _values, result)
1557
+ result = val[0] << val[2] ; loc result, val[1]
1558
+ result
1559
+ end
1560
+ .,.,
1561
+
1562
+ module_eval(<<'.,.,', 'egrammar.ra', 204)
1563
+ def _reduce_45(val, _values, result)
1564
+ result = val[0] >> val[2] ; loc result, val[1]
1565
+ result
1566
+ end
1567
+ .,.,
1568
+
1569
+ module_eval(<<'.,.,', 'egrammar.ra', 205)
1570
+ def _reduce_46(val, _values, result)
1571
+ result = val[1].minus() ; loc result, val[0]
1572
+ result
1573
+ end
1574
+ .,.,
1575
+
1576
+ module_eval(<<'.,.,', 'egrammar.ra', 206)
1577
+ def _reduce_47(val, _values, result)
1578
+ result = val[1].unfold() ; loc result, val[0]
1579
+ result
1580
+ end
1581
+ .,.,
1582
+
1583
+ module_eval(<<'.,.,', 'egrammar.ra', 207)
1584
+ def _reduce_48(val, _values, result)
1585
+ result = val[0].ne val[2] ; loc result, val[1]
1586
+ result
1587
+ end
1588
+ .,.,
1589
+
1590
+ module_eval(<<'.,.,', 'egrammar.ra', 208)
1591
+ def _reduce_49(val, _values, result)
1592
+ result = val[0] == val[2] ; loc result, val[1]
1593
+ result
1594
+ end
1595
+ .,.,
1596
+
1597
+ module_eval(<<'.,.,', 'egrammar.ra', 209)
1598
+ def _reduce_50(val, _values, result)
1599
+ result = val[0] > val[2] ; loc result, val[1]
1600
+ result
1601
+ end
1602
+ .,.,
1603
+
1604
+ module_eval(<<'.,.,', 'egrammar.ra', 210)
1605
+ def _reduce_51(val, _values, result)
1606
+ result = val[0] >= val[2] ; loc result, val[1]
1607
+ result
1608
+ end
1609
+ .,.,
1610
+
1611
+ module_eval(<<'.,.,', 'egrammar.ra', 211)
1612
+ def _reduce_52(val, _values, result)
1613
+ result = val[0] < val[2] ; loc result, val[1]
1614
+ result
1615
+ end
1616
+ .,.,
1617
+
1618
+ module_eval(<<'.,.,', 'egrammar.ra', 212)
1619
+ def _reduce_53(val, _values, result)
1620
+ result = val[0] <= val[2] ; loc result, val[1]
1621
+ result
1622
+ end
1623
+ .,.,
1624
+
1625
+ module_eval(<<'.,.,', 'egrammar.ra', 213)
1626
+ def _reduce_54(val, _values, result)
1627
+ result = val[1].not ; loc result, val[0]
1628
+ result
1629
+ end
1630
+ .,.,
1631
+
1632
+ module_eval(<<'.,.,', 'egrammar.ra', 214)
1633
+ def _reduce_55(val, _values, result)
1634
+ result = val[0].and val[2] ; loc result, val[1]
1635
+ result
1636
+ end
1637
+ .,.,
1638
+
1639
+ module_eval(<<'.,.,', 'egrammar.ra', 215)
1640
+ def _reduce_56(val, _values, result)
1641
+ result = val[0].or val[2] ; loc result, val[1]
1642
+ result
1643
+ end
1644
+ .,.,
1645
+
1646
+ module_eval(<<'.,.,', 'egrammar.ra', 216)
1647
+ def _reduce_57(val, _values, result)
1648
+ result = val[0].select(*val[2]) ; loc result, val[0]
1649
+ result
1650
+ end
1651
+ .,.,
1652
+
1653
+ module_eval(<<'.,.,', 'egrammar.ra', 217)
1654
+ def _reduce_58(val, _values, result)
1655
+ result = val[1].paren() ; loc result, val[0]
1656
+ result
1657
+ end
1658
+ .,.,
1659
+
1660
+ module_eval(<<'.,.,', 'egrammar.ra', 227)
1661
+ def _reduce_59(val, _values, result)
1662
+ result = [val[0]]
1663
+ result
1664
+ end
1665
+ .,.,
1666
+
1667
+ module_eval(<<'.,.,', 'egrammar.ra', 228)
1668
+ def _reduce_60(val, _values, result)
1669
+ result = val[0].push(val[2])
1670
+ result
1671
+ end
1672
+ .,.,
1673
+
1674
+ # reduce 61 omitted
1675
+
1676
+ # reduce 62 omitted
1677
+
1678
+ # reduce 63 omitted
1679
+
1680
+ # reduce 64 omitted
1681
+
1682
+ # reduce 65 omitted
1683
+
1684
+ # reduce 66 omitted
1685
+
1686
+ # reduce 67 omitted
1687
+
1688
+ # reduce 68 omitted
1689
+
1690
+ # reduce 69 omitted
1691
+
1692
+ # reduce 70 omitted
1693
+
1694
+ # reduce 71 omitted
1695
+
1696
+ # reduce 72 omitted
1697
+
1698
+ # reduce 73 omitted
1699
+
1700
+ # reduce 74 omitted
1701
+
1702
+ # reduce 75 omitted
1703
+
1704
+ # reduce 76 omitted
1705
+
1706
+ module_eval(<<'.,.,', 'egrammar.ra', 247)
1707
+ def _reduce_77(val, _values, result)
1708
+ result = Factory.NUMBER(val[0][:value]) ; loc result, val[0]
1709
+ result
1710
+ end
1711
+ .,.,
1712
+
1713
+ module_eval(<<'.,.,', 'egrammar.ra', 248)
1714
+ def _reduce_78(val, _values, result)
1715
+ result = Factory.literal(val[0][:value]) ; loc result, val[0]
1716
+ result
1717
+ end
1718
+ .,.,
1719
+
1720
+ module_eval(<<'.,.,', 'egrammar.ra', 249)
1721
+ def _reduce_79(val, _values, result)
1722
+ result = Factory.literal(:default) ; loc result, val[0]
1723
+ result
1724
+ end
1725
+ .,.,
1726
+
1727
+ module_eval(<<'.,.,', 'egrammar.ra', 250)
1728
+ def _reduce_80(val, _values, result)
1729
+ result = Factory.literal(:undef) ; loc result, val[0]
1730
+ result
1731
+ end
1732
+ .,.,
1733
+
1734
+ module_eval(<<'.,.,', 'egrammar.ra', 251)
1735
+ def _reduce_81(val, _values, result)
1736
+ result = Factory.QNAME_OR_NUMBER(val[0][:value]) ; loc result, val[0]
1737
+ result
1738
+ end
1739
+ .,.,
1740
+
1741
+ module_eval(<<'.,.,', 'egrammar.ra', 260)
1742
+ def _reduce_82(val, _values, result)
1743
+ result = Factory.CALL_NAMED(val[0], true, val[2])
1744
+ loc result, val[0], val[4]
1745
+
1746
+ result
1747
+ end
1748
+ .,.,
1749
+
1750
+ module_eval(<<'.,.,', 'egrammar.ra', 264)
1751
+ def _reduce_83(val, _values, result)
1752
+ result = Factory.CALL_NAMED(val[0], true, [])
1753
+ loc result, val[0], val[2]
1754
+
1755
+ result
1756
+ end
1757
+ .,.,
1758
+
1759
+ module_eval(<<'.,.,', 'egrammar.ra', 268)
1760
+ def _reduce_84(val, _values, result)
1761
+ result = Factory.CALL_NAMED(val[0], true, val[2])
1762
+ loc result, val[0], val[4]
1763
+ result.lambda = val[5]
1764
+
1765
+ result
1766
+ end
1767
+ .,.,
1768
+
1769
+ module_eval(<<'.,.,', 'egrammar.ra', 273)
1770
+ def _reduce_85(val, _values, result)
1771
+ result = Factory.CALL_NAMED(val[0], true, [])
1772
+ loc result, val[0], val[2]
1773
+ result.lambda = val[3]
1774
+
1775
+ result
1776
+ end
1777
+ .,.,
1778
+
1779
+ module_eval(<<'.,.,', 'egrammar.ra', 281)
1780
+ def _reduce_86(val, _values, result)
1781
+ result = val[0]
1782
+ result
1783
+ end
1784
+ .,.,
1785
+
1786
+ module_eval(<<'.,.,', 'egrammar.ra', 282)
1787
+ def _reduce_87(val, _values, result)
1788
+ result = val[0]; val[0].lambda = val[1]
1789
+ result
1790
+ end
1791
+ .,.,
1792
+
1793
+ module_eval(<<'.,.,', 'egrammar.ra', 285)
1794
+ def _reduce_88(val, _values, result)
1795
+ result = Factory.CALL_METHOD(val[0], val[2]); loc result, val[1], val[3]
1796
+ result
1797
+ end
1798
+ .,.,
1799
+
1800
+ module_eval(<<'.,.,', 'egrammar.ra', 286)
1801
+ def _reduce_89(val, _values, result)
1802
+ result = Factory.CALL_METHOD(val[0], []); loc result, val[1], val[3]
1803
+ result
1804
+ end
1805
+ .,.,
1806
+
1807
+ module_eval(<<'.,.,', 'egrammar.ra', 287)
1808
+ def _reduce_90(val, _values, result)
1809
+ result = Factory.CALL_METHOD(val[0], []); loc result, val[0]
1810
+ result
1811
+ end
1812
+ .,.,
1813
+
1814
+ module_eval(<<'.,.,', 'egrammar.ra', 291)
1815
+ def _reduce_91(val, _values, result)
1816
+ result = val[0].dot(Factory.fqn(val[2][:value]))
1817
+ loc result, val[1], val[2]
1818
+
1819
+ result
1820
+ end
1821
+ .,.,
1822
+
1823
+ module_eval(<<'.,.,', 'egrammar.ra', 299)
1824
+ def _reduce_92(val, _values, result)
1825
+ result = Factory.LAMBDA(val[0][:value], val[1][:value])
1826
+ loc result, val[0][:start], val[1][:end]
1827
+
1828
+ result
1829
+ end
1830
+ .,.,
1831
+
1832
+ module_eval(<<'.,.,', 'egrammar.ra', 304)
1833
+ def _reduce_93(val, _values, result)
1834
+ result = {:end => val[2], :value =>val[1] }
1835
+ result
1836
+ end
1837
+ .,.,
1838
+
1839
+ module_eval(<<'.,.,', 'egrammar.ra', 305)
1840
+ def _reduce_94(val, _values, result)
1841
+ result = {:end => val[1], :value => nil }
1842
+ result
1843
+ end
1844
+ .,.,
1845
+
1846
+ module_eval(<<'.,.,', 'egrammar.ra', 309)
1847
+ def _reduce_95(val, _values, result)
1848
+ result = {:start => val[0], :value => [] }
1849
+ result
1850
+ end
1851
+ .,.,
1852
+
1853
+ module_eval(<<'.,.,', 'egrammar.ra', 310)
1854
+ def _reduce_96(val, _values, result)
1855
+ result = {:start => val[0], :value => val[1] }
1856
+ result
1857
+ end
1858
+ .,.,
1859
+
1860
+ module_eval(<<'.,.,', 'egrammar.ra', 318)
1861
+ def _reduce_97(val, _values, result)
1862
+ result = val[1]
1863
+ loc(result, val[0], val[1])
1864
+
1865
+ result
1866
+ end
1867
+ .,.,
1868
+
1869
+ module_eval(<<'.,.,', 'egrammar.ra', 325)
1870
+ def _reduce_98(val, _values, result)
1871
+ result = Factory.IF(val[0], Factory.block_or_expression(*val[2]), val[4])
1872
+ loc(result, val[0], (val[4] ? val[4] : val[3]))
1873
+
1874
+ result
1875
+ end
1876
+ .,.,
1877
+
1878
+ module_eval(<<'.,.,', 'egrammar.ra', 329)
1879
+ def _reduce_99(val, _values, result)
1880
+ result = Factory.IF(val[0], nil, val[3])
1881
+ loc(result, val[0], (val[3] ? val[3] : val[2]))
1882
+
1883
+ result
1884
+ end
1885
+ .,.,
1886
+
1887
+ # reduce 100 omitted
1888
+
1889
+ module_eval(<<'.,.,', 'egrammar.ra', 337)
1890
+ def _reduce_101(val, _values, result)
1891
+ result = val[1]
1892
+ loc(result, val[0], val[1])
1893
+
1894
+ result
1895
+ end
1896
+ .,.,
1897
+
1898
+ module_eval(<<'.,.,', 'egrammar.ra', 341)
1899
+ def _reduce_102(val, _values, result)
1900
+ result = Factory.block_or_expression(*val[2])
1901
+ loc result, val[0], val[3]
1902
+
1903
+ result
1904
+ end
1905
+ .,.,
1906
+
1907
+ module_eval(<<'.,.,', 'egrammar.ra', 345)
1908
+ def _reduce_103(val, _values, result)
1909
+ result = nil # don't think a nop is needed here either
1910
+
1911
+ result
1912
+ end
1913
+ .,.,
1914
+
1915
+ module_eval(<<'.,.,', 'egrammar.ra', 352)
1916
+ def _reduce_104(val, _values, result)
1917
+ result = Factory.UNLESS(val[1], Factory.block_or_expression(*val[3]), val[5])
1918
+ loc result, val[0], val[4]
1919
+
1920
+ result
1921
+ end
1922
+ .,.,
1923
+
1924
+ module_eval(<<'.,.,', 'egrammar.ra', 356)
1925
+ def _reduce_105(val, _values, result)
1926
+ result = Factory.UNLESS(val[1], nil, nil)
1927
+ loc result, val[0], val[4]
1928
+
1929
+ result
1930
+ end
1931
+ .,.,
1932
+
1933
+ # reduce 106 omitted
1934
+
1935
+ module_eval(<<'.,.,', 'egrammar.ra', 366)
1936
+ def _reduce_107(val, _values, result)
1937
+ result = Factory.block_or_expression(*val[2])
1938
+ loc result, val[0], val[3]
1939
+
1940
+ result
1941
+ end
1942
+ .,.,
1943
+
1944
+ module_eval(<<'.,.,', 'egrammar.ra', 370)
1945
+ def _reduce_108(val, _values, result)
1946
+ result = nil # don't think a nop is needed here either
1947
+
1948
+ result
1949
+ end
1950
+ .,.,
1951
+
1952
+ module_eval(<<'.,.,', 'egrammar.ra', 377)
1953
+ def _reduce_109(val, _values, result)
1954
+ result = Factory.CASE(val[1], *val[3])
1955
+ loc result, val[0], val[4]
1956
+
1957
+ result
1958
+ end
1959
+ .,.,
1960
+
1961
+ module_eval(<<'.,.,', 'egrammar.ra', 383)
1962
+ def _reduce_110(val, _values, result)
1963
+ result = [val[0]]
1964
+ result
1965
+ end
1966
+ .,.,
1967
+
1968
+ module_eval(<<'.,.,', 'egrammar.ra', 384)
1969
+ def _reduce_111(val, _values, result)
1970
+ result = val[0].push val[1]
1971
+ result
1972
+ end
1973
+ .,.,
1974
+
1975
+ module_eval(<<'.,.,', 'egrammar.ra', 389)
1976
+ def _reduce_112(val, _values, result)
1977
+ result = Factory.WHEN(val[0], val[3]); loc result, val[1], val[4]
1978
+
1979
+ result
1980
+ end
1981
+ .,.,
1982
+
1983
+ # reduce 113 omitted
1984
+
1985
+ # reduce 114 omitted
1986
+
1987
+ # reduce 115 omitted
1988
+
1989
+ module_eval(<<'.,.,', 'egrammar.ra', 405)
1990
+ def _reduce_116(val, _values, result)
1991
+ result = val[1]
1992
+
1993
+ result
1994
+ end
1995
+ .,.,
1996
+
1997
+ module_eval(<<'.,.,', 'egrammar.ra', 410)
1998
+ def _reduce_117(val, _values, result)
1999
+ result = [val[0]]
2000
+ result
2001
+ end
2002
+ .,.,
2003
+
2004
+ module_eval(<<'.,.,', 'egrammar.ra', 411)
2005
+ def _reduce_118(val, _values, result)
2006
+ result = val[0].push val[2]
2007
+ result
2008
+ end
2009
+ .,.,
2010
+
2011
+ module_eval(<<'.,.,', 'egrammar.ra', 416)
2012
+ def _reduce_119(val, _values, result)
2013
+ result = Factory.MAP(val[0], val[2]) ; loc result, val[1]
2014
+ result
2015
+ end
2016
+ .,.,
2017
+
2018
+ module_eval(<<'.,.,', 'egrammar.ra', 426)
2019
+ def _reduce_120(val, _values, result)
2020
+ result = Factory.COLLECT(val[0], val[1], val[3])
2021
+ loc result, val[0], val[5]
2022
+
2023
+ result
2024
+ end
2025
+ .,.,
2026
+
2027
+ module_eval(<<'.,.,', 'egrammar.ra', 430)
2028
+ def _reduce_121(val, _values, result)
2029
+ result = Factory.COLLECT(val[0], val[1], [])
2030
+ loc result, val[0], val[1]
2031
+
2032
+ result
2033
+ end
2034
+ .,.,
2035
+
2036
+ module_eval(<<'.,.,', 'egrammar.ra', 435)
2037
+ def _reduce_122(val, _values, result)
2038
+ result = Factory.VIRTUAL_QUERY(val[1]) ; loc result, val[0], val[2]
2039
+ result
2040
+ end
2041
+ .,.,
2042
+
2043
+ module_eval(<<'.,.,', 'egrammar.ra', 436)
2044
+ def _reduce_123(val, _values, result)
2045
+ result = Factory.EXPORTED_QUERY(val[1]) ; loc result, val[0], val[2]
2046
+ result
2047
+ end
2048
+ .,.,
2049
+
2050
+ # reduce 124 omitted
2051
+
2052
+ # reduce 125 omitted
2053
+
2054
+ module_eval(<<'.,.,', 'egrammar.ra', 445)
2055
+ def _reduce_126(val, _values, result)
2056
+ result = []
2057
+ result
2058
+ end
2059
+ .,.,
2060
+
2061
+ module_eval(<<'.,.,', 'egrammar.ra', 446)
2062
+ def _reduce_127(val, _values, result)
2063
+ result = [val[0]]
2064
+ result
2065
+ end
2066
+ .,.,
2067
+
2068
+ module_eval(<<'.,.,', 'egrammar.ra', 447)
2069
+ def _reduce_128(val, _values, result)
2070
+ result = val[0].push(val[2])
2071
+ result
2072
+ end
2073
+ .,.,
2074
+
2075
+ # reduce 129 omitted
2076
+
2077
+ # reduce 130 omitted
2078
+
2079
+ module_eval(<<'.,.,', 'egrammar.ra', 463)
2080
+ def _reduce_131(val, _values, result)
2081
+ result = Factory.ATTRIBUTE_OP(val[0][:value], :'=>', val[2])
2082
+ loc result, val[0], val[2]
2083
+
2084
+ result
2085
+ end
2086
+ .,.,
2087
+
2088
+ module_eval(<<'.,.,', 'egrammar.ra', 467)
2089
+ def _reduce_132(val, _values, result)
2090
+ result = Factory.ATTRIBUTE_OP(val[0][:value], :'+>', val[2])
2091
+ loc result, val[0], val[2]
2092
+
2093
+ result
2094
+ end
2095
+ .,.,
2096
+
2097
+ module_eval(<<'.,.,', 'egrammar.ra', 471)
2098
+ def _reduce_133(val, _values, result)
2099
+ result = Factory.ATTRIBUTES_OP(val[2]) ; loc result, val[0], val[2]
2100
+
2101
+ result
2102
+ end
2103
+ .,.,
2104
+
2105
+ module_eval(<<'.,.,', 'egrammar.ra', 480)
2106
+ def _reduce_134(val, _values, result)
2107
+ result = add_definition(Factory.DEFINITION(classname(val[1][:value]), val[2], val[4]))
2108
+ loc result, val[0], val[5]
2109
+ # New lexer does not keep track of this, this is done in validation
2110
+ if @lexer.respond_to?(:'indefine=')
2111
+ @lexer.indefine = false
2112
+ end
2113
+
2114
+ result
2115
+ end
2116
+ .,.,
2117
+
2118
+ module_eval(<<'.,.,', 'egrammar.ra', 494)
2119
+ def _reduce_135(val, _values, result)
2120
+ # Remove this class' name from the namestack as all nested classes have been parsed
2121
+ namepop
2122
+ result = add_definition(Factory.HOSTCLASS(classname(val[1][:value]), val[2], token_text(val[3]), val[5]))
2123
+ loc result, val[0], val[6]
2124
+
2125
+ result
2126
+ end
2127
+ .,.,
2128
+
2129
+ module_eval(<<'.,.,', 'egrammar.ra', 504)
2130
+ def _reduce_136(val, _values, result)
2131
+ namestack(val[0][:value]) ; result = val[0]
2132
+ result
2133
+ end
2134
+ .,.,
2135
+
2136
+ # reduce 137 omitted
2137
+
2138
+ # reduce 138 omitted
2139
+
2140
+ # reduce 139 omitted
2141
+
2142
+ module_eval(<<'.,.,', 'egrammar.ra', 513)
2143
+ def _reduce_140(val, _values, result)
2144
+ result = val[1]
2145
+ result
2146
+ end
2147
+ .,.,
2148
+
2149
+ # reduce 141 omitted
2150
+
2151
+ # reduce 142 omitted
2152
+
2153
+ module_eval(<<'.,.,', 'egrammar.ra', 530)
2154
+ def _reduce_143(val, _values, result)
2155
+ result = add_definition(Factory.NODE(val[1], val[3], val[5]))
2156
+ loc result, val[0], val[6]
2157
+
2158
+ result
2159
+ end
2160
+ .,.,
2161
+
2162
+ module_eval(<<'.,.,', 'egrammar.ra', 534)
2163
+ def _reduce_144(val, _values, result)
2164
+ result = add_definition(Factory.NODE(val[1], val[3], nil))
2165
+ loc result, val[0], val[5]
2166
+
2167
+ result
2168
+ end
2169
+ .,.,
2170
+
2171
+ module_eval(<<'.,.,', 'egrammar.ra', 544)
2172
+ def _reduce_145(val, _values, result)
2173
+ result = [result]
2174
+ result
2175
+ end
2176
+ .,.,
2177
+
2178
+ module_eval(<<'.,.,', 'egrammar.ra', 545)
2179
+ def _reduce_146(val, _values, result)
2180
+ result = val[0].push(val[2])
2181
+ result
2182
+ end
2183
+ .,.,
2184
+
2185
+ # reduce 147 omitted
2186
+
2187
+ # reduce 148 omitted
2188
+
2189
+ module_eval(<<'.,.,', 'egrammar.ra', 552)
2190
+ def _reduce_149(val, _values, result)
2191
+ result = Factory.literal(:default); loc result, val[0]
2192
+ result
2193
+ end
2194
+ .,.,
2195
+
2196
+ # reduce 150 omitted
2197
+
2198
+ module_eval(<<'.,.,', 'egrammar.ra', 556)
2199
+ def _reduce_151(val, _values, result)
2200
+ result = Factory.literal(val[0][:value]); loc result, val[0]
2201
+ result
2202
+ end
2203
+ .,.,
2204
+
2205
+ module_eval(<<'.,.,', 'egrammar.ra', 557)
2206
+ def _reduce_152(val, _values, result)
2207
+ result = Factory.concat(val[0], '.', val[2][:value]); loc result, val[0], val[2]
2208
+ result
2209
+ end
2210
+ .,.,
2211
+
2212
+ # reduce 153 omitted
2213
+
2214
+ # reduce 154 omitted
2215
+
2216
+ # reduce 155 omitted
2217
+
2218
+ module_eval(<<'.,.,', 'egrammar.ra', 566)
2219
+ def _reduce_156(val, _values, result)
2220
+ result = val[1]
2221
+ result
2222
+ end
2223
+ .,.,
2224
+
2225
+ # reduce 157 omitted
2226
+
2227
+ module_eval(<<'.,.,', 'egrammar.ra', 583)
2228
+ def _reduce_158(val, _values, result)
2229
+ error val[0], "'class' is not a valid classname"
2230
+ result
2231
+ end
2232
+ .,.,
2233
+
2234
+ module_eval(<<'.,.,', 'egrammar.ra', 587)
2235
+ def _reduce_159(val, _values, result)
2236
+ result = []
2237
+ result
2238
+ end
2239
+ .,.,
2240
+
2241
+ module_eval(<<'.,.,', 'egrammar.ra', 588)
2242
+ def _reduce_160(val, _values, result)
2243
+ result = []
2244
+ result
2245
+ end
2246
+ .,.,
2247
+
2248
+ module_eval(<<'.,.,', 'egrammar.ra', 589)
2249
+ def _reduce_161(val, _values, result)
2250
+ result = val[1]
2251
+ result
2252
+ end
2253
+ .,.,
2254
+
2255
+ module_eval(<<'.,.,', 'egrammar.ra', 593)
2256
+ def _reduce_162(val, _values, result)
2257
+ result = [val[0]]
2258
+ result
2259
+ end
2260
+ .,.,
2261
+
2262
+ module_eval(<<'.,.,', 'egrammar.ra', 594)
2263
+ def _reduce_163(val, _values, result)
2264
+ result = val[0].push(val[2])
2265
+ result
2266
+ end
2267
+ .,.,
2268
+
2269
+ # reduce 164 omitted
2270
+
2271
+ # reduce 165 omitted
2272
+
2273
+ # reduce 166 omitted
2274
+
2275
+ # reduce 167 omitted
2276
+
2277
+ module_eval(<<'.,.,', 'egrammar.ra', 606)
2278
+ def _reduce_168(val, _values, result)
2279
+ result = Factory.PARAM(val[0][:value], val[2]) ; loc result, val[0]
2280
+ result
2281
+ end
2282
+ .,.,
2283
+
2284
+ module_eval(<<'.,.,', 'egrammar.ra', 607)
2285
+ def _reduce_169(val, _values, result)
2286
+ result = Factory.PARAM(val[0][:value]); loc result, val[0]
2287
+ result
2288
+ end
2289
+ .,.,
2290
+
2291
+ module_eval(<<'.,.,', 'egrammar.ra', 610)
2292
+ def _reduce_170(val, _values, result)
2293
+ result = val[1]; val[1].captures_rest()
2294
+ result
2295
+ end
2296
+ .,.,
2297
+
2298
+ module_eval(<<'.,.,', 'egrammar.ra', 613)
2299
+ def _reduce_171(val, _values, result)
2300
+ val[1].type_expr(val[0]) ; result = val[1]
2301
+ result
2302
+ end
2303
+ .,.,
2304
+
2305
+ module_eval(<<'.,.,', 'egrammar.ra', 616)
2306
+ def _reduce_172(val, _values, result)
2307
+ result = val[0]
2308
+ result
2309
+ end
2310
+ .,.,
2311
+
2312
+ module_eval(<<'.,.,', 'egrammar.ra', 617)
2313
+ def _reduce_173(val, _values, result)
2314
+ result = val[0][*val[2]] ; loc result, val[0], val[3]
2315
+ result
2316
+ end
2317
+ .,.,
2318
+
2319
+ module_eval(<<'.,.,', 'egrammar.ra', 622)
2320
+ def _reduce_174(val, _values, result)
2321
+ result = Factory.fqn(val[0][:value]).var ; loc result, val[0]
2322
+ result
2323
+ end
2324
+ .,.,
2325
+
2326
+ module_eval(<<'.,.,', 'egrammar.ra', 627)
2327
+ def _reduce_175(val, _values, result)
2328
+ result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
2329
+ result
2330
+ end
2331
+ .,.,
2332
+
2333
+ module_eval(<<'.,.,', 'egrammar.ra', 628)
2334
+ def _reduce_176(val, _values, result)
2335
+ result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
2336
+ result
2337
+ end
2338
+ .,.,
2339
+
2340
+ module_eval(<<'.,.,', 'egrammar.ra', 629)
2341
+ def _reduce_177(val, _values, result)
2342
+ result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
2343
+ result
2344
+ end
2345
+ .,.,
2346
+
2347
+ module_eval(<<'.,.,', 'egrammar.ra', 630)
2348
+ def _reduce_178(val, _values, result)
2349
+ result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
2350
+ result
2351
+ end
2352
+ .,.,
2353
+
2354
+ module_eval(<<'.,.,', 'egrammar.ra', 636)
2355
+ def _reduce_179(val, _values, result)
2356
+ result = Factory.LIST(val[1]); loc result, val[0], val[3]
2357
+ result
2358
+ end
2359
+ .,.,
2360
+
2361
+ module_eval(<<'.,.,', 'egrammar.ra', 637)
2362
+ def _reduce_180(val, _values, result)
2363
+ result = Factory.literal([]) ; loc result, val[0]
2364
+ result
2365
+ end
2366
+ .,.,
2367
+
2368
+ module_eval(<<'.,.,', 'egrammar.ra', 638)
2369
+ def _reduce_181(val, _values, result)
2370
+ result = Factory.LIST(val[1]); loc result, val[0], val[3]
2371
+ result
2372
+ end
2373
+ .,.,
2374
+
2375
+ module_eval(<<'.,.,', 'egrammar.ra', 639)
2376
+ def _reduce_182(val, _values, result)
2377
+ result = Factory.literal([]) ; loc result, val[0]
2378
+ result
2379
+ end
2380
+ .,.,
2381
+
2382
+ module_eval(<<'.,.,', 'egrammar.ra', 642)
2383
+ def _reduce_183(val, _values, result)
2384
+ result = Factory.HASH(val[1]); loc result, val[0], val[2]
2385
+ result
2386
+ end
2387
+ .,.,
2388
+
2389
+ module_eval(<<'.,.,', 'egrammar.ra', 643)
2390
+ def _reduce_184(val, _values, result)
2391
+ result = Factory.HASH(val[1]); loc result, val[0], val[3]
2392
+ result
2393
+ end
2394
+ .,.,
2395
+
2396
+ module_eval(<<'.,.,', 'egrammar.ra', 644)
2397
+ def _reduce_185(val, _values, result)
2398
+ result = Factory.literal({}) ; loc result, val[0], val[3]
2399
+ result
2400
+ end
2401
+ .,.,
2402
+
2403
+ module_eval(<<'.,.,', 'egrammar.ra', 647)
2404
+ def _reduce_186(val, _values, result)
2405
+ result = [val[0]]
2406
+ result
2407
+ end
2408
+ .,.,
2409
+
2410
+ module_eval(<<'.,.,', 'egrammar.ra', 648)
2411
+ def _reduce_187(val, _values, result)
2412
+ result = val[0].push val[2]
2413
+ result
2414
+ end
2415
+ .,.,
2416
+
2417
+ module_eval(<<'.,.,', 'egrammar.ra', 651)
2418
+ def _reduce_188(val, _values, result)
2419
+ result = Factory.KEY_ENTRY(val[0], val[2]); loc result, val[1]
2420
+ result
2421
+ end
2422
+ .,.,
2423
+
2424
+ # reduce 189 omitted
2425
+
2426
+ # reduce 190 omitted
2427
+
2428
+ # reduce 191 omitted
2429
+
2430
+ module_eval(<<'.,.,', 'egrammar.ra', 659)
2431
+ def _reduce_192(val, _values, result)
2432
+ result = Factory.literal(val[0][:value]) ; loc result, val[0]
2433
+ result
2434
+ end
2435
+ .,.,
2436
+
2437
+ module_eval(<<'.,.,', 'egrammar.ra', 660)
2438
+ def _reduce_193(val, _values, result)
2439
+ result = Factory.literal(val[0][:value]) ; loc result, val[0]
2440
+ result
2441
+ end
2442
+ .,.,
2443
+
2444
+ module_eval(<<'.,.,', 'egrammar.ra', 662)
2445
+ def _reduce_194(val, _values, result)
2446
+ result = Factory.string(val[0], *val[1]) ; loc result, val[0], val[1][-1]
2447
+ result
2448
+ end
2449
+ .,.,
2450
+
2451
+ module_eval(<<'.,.,', 'egrammar.ra', 663)
2452
+ def _reduce_195(val, _values, result)
2453
+ result = Factory.literal(val[0][:value]); loc result, val[0]
2454
+ result
2455
+ end
2456
+ .,.,
2457
+
2458
+ module_eval(<<'.,.,', 'egrammar.ra', 664)
2459
+ def _reduce_196(val, _values, result)
2460
+ result = Factory.literal(val[0][:value]); loc result, val[0]
2461
+ result
2462
+ end
2463
+ .,.,
2464
+
2465
+ module_eval(<<'.,.,', 'egrammar.ra', 665)
2466
+ def _reduce_197(val, _values, result)
2467
+ result = Factory.literal(val[0][:value]); loc result, val[0]
2468
+ result
2469
+ end
2470
+ .,.,
2471
+
2472
+ module_eval(<<'.,.,', 'egrammar.ra', 666)
2473
+ def _reduce_198(val, _values, result)
2474
+ result = [val[0]] + val[1]
2475
+ result
2476
+ end
2477
+ .,.,
2478
+
2479
+ module_eval(<<'.,.,', 'egrammar.ra', 667)
2480
+ def _reduce_199(val, _values, result)
2481
+ result = Factory.TEXT(val[0])
2482
+ result
2483
+ end
2484
+ .,.,
2485
+
2486
+ module_eval(<<'.,.,', 'egrammar.ra', 670)
2487
+ def _reduce_200(val, _values, result)
2488
+ result = [val[0]]
2489
+ result
2490
+ end
2491
+ .,.,
2492
+
2493
+ module_eval(<<'.,.,', 'egrammar.ra', 671)
2494
+ def _reduce_201(val, _values, result)
2495
+ result = [val[0]] + val[1]
2496
+ result
2497
+ end
2498
+ .,.,
2499
+
2500
+ module_eval(<<'.,.,', 'egrammar.ra', 674)
2501
+ def _reduce_202(val, _values, result)
2502
+ result = Factory.HEREDOC(val[0][:value], val[1]); loc result, val[0]
2503
+ result
2504
+ end
2505
+ .,.,
2506
+
2507
+ module_eval(<<'.,.,', 'egrammar.ra', 677)
2508
+ def _reduce_203(val, _values, result)
2509
+ result = Factory.SUBLOCATE(val[0], val[1]); loc result, val[0]
2510
+ result
2511
+ end
2512
+ .,.,
2513
+
2514
+ module_eval(<<'.,.,', 'egrammar.ra', 678)
2515
+ def _reduce_204(val, _values, result)
2516
+ result = Factory.SUBLOCATE(val[0], val[1]); loc result, val[0]
2517
+ result
2518
+ end
2519
+ .,.,
2520
+
2521
+ module_eval(<<'.,.,', 'egrammar.ra', 681)
2522
+ def _reduce_205(val, _values, result)
2523
+ result = Factory.EPP(val[1], val[2]); loc result, val[0]
2524
+ result
2525
+ end
2526
+ .,.,
2527
+
2528
+ # reduce 206 omitted
2529
+
2530
+ # reduce 207 omitted
2531
+
2532
+ module_eval(<<'.,.,', 'egrammar.ra', 688)
2533
+ def _reduce_208(val, _values, result)
2534
+ result = nil
2535
+ result
2536
+ end
2537
+ .,.,
2538
+
2539
+ module_eval(<<'.,.,', 'egrammar.ra', 689)
2540
+ def _reduce_209(val, _values, result)
2541
+ result = []
2542
+ result
2543
+ end
2544
+ .,.,
2545
+
2546
+ module_eval(<<'.,.,', 'egrammar.ra', 690)
2547
+ def _reduce_210(val, _values, result)
2548
+ result = val[1]
2549
+ result
2550
+ end
2551
+ .,.,
2552
+
2553
+ module_eval(<<'.,.,', 'egrammar.ra', 693)
2554
+ def _reduce_211(val, _values, result)
2555
+ result = Factory.RENDER_STRING(val[0][:value]); loc result, val[0]
2556
+ result
2557
+ end
2558
+ .,.,
2559
+
2560
+ module_eval(<<'.,.,', 'egrammar.ra', 694)
2561
+ def _reduce_212(val, _values, result)
2562
+ result = Factory.RENDER_EXPR(val[1]); loc result, val[0], val[2]
2563
+ result
2564
+ end
2565
+ .,.,
2566
+
2567
+ module_eval(<<'.,.,', 'egrammar.ra', 695)
2568
+ def _reduce_213(val, _values, result)
2569
+ result = Factory.RENDER_EXPR(Factory.block_or_expression(*val[2])); loc result, val[0], val[4]
2570
+ result
2571
+ end
2572
+ .,.,
2573
+
2574
+ # reduce 214 omitted
2575
+
2576
+ # reduce 215 omitted
2577
+
2578
+ module_eval(<<'.,.,', 'egrammar.ra', 701)
2579
+ def _reduce_216(val, _values, result)
2580
+ result = Factory.QREF(val[0][:value]) ; loc result, val[0]
2581
+ result
2582
+ end
2583
+ .,.,
2584
+
2585
+ module_eval(<<'.,.,', 'egrammar.ra', 704)
2586
+ def _reduce_217(val, _values, result)
2587
+ result = Factory.literal(val[0][:value]); loc result, val[0]
2588
+ result
2589
+ end
2590
+ .,.,
2591
+
2592
+ # reduce 218 omitted
2593
+
2594
+ module_eval(<<'.,.,', 'egrammar.ra', 710)
2595
+ def _reduce_219(val, _values, result)
2596
+ result = nil
2597
+ result
2598
+ end
2599
+ .,.,
2600
+
2601
+ # reduce 220 omitted
2602
+
2603
+ # reduce 221 omitted
2604
+
2605
+ # reduce 222 omitted
2606
+
2607
+ # reduce 223 omitted
2608
+
2609
+ # reduce 224 omitted
2610
+
2611
+ # reduce 225 omitted
2612
+
2613
+ # reduce 226 omitted
2614
+
2615
+ # reduce 227 omitted
2616
+
2617
+ # reduce 228 omitted
2618
+
2619
+ # reduce 229 omitted
2620
+
2621
+ # reduce 230 omitted
2622
+
2623
+ # reduce 231 omitted
2624
+
2625
+ # reduce 232 omitted
2626
+
2627
+ # reduce 233 omitted
2628
+
2629
+ # reduce 234 omitted
2630
+
2631
+ # reduce 235 omitted
2632
+
2633
+ # reduce 236 omitted
2634
+
2635
+ # reduce 237 omitted
2636
+
2637
+ # reduce 238 omitted
2638
+
2639
+ # reduce 239 omitted
2640
+
2641
+ module_eval(<<'.,.,', 'egrammar.ra', 737)
2642
+ def _reduce_240(val, _values, result)
2643
+ result = nil
2644
+ result
2645
+ end
2646
+ .,.,
2647
+
2648
+ def _reduce_none(val, _values, result)
2649
+ val[0]
2650
+ end
2651
+
2652
+ end # class Parser
2653
+ end # module Parser
2654
+ end # module Pops
2655
+ end # module Puppet