corl 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +8 -6
  4. data/VERSION +1 -1
  5. data/bootstrap/os/ubuntu/00_base.sh +2 -2
  6. data/bootstrap/os/ubuntu/05_ruby.sh +14 -2
  7. data/corl.gemspec +175 -5
  8. data/lib/CORL/builder/identity.rb +1 -1
  9. data/lib/CORL/builder/package.rb +1 -1
  10. data/lib/CORL/configuration/file.rb +7 -13
  11. data/lib/CORL/machine/physical.rb +1 -1
  12. data/lib/CORL/machine/vagrant.rb +12 -4
  13. data/lib/CORL/network/CORL.rb +1 -1
  14. data/lib/CORL/node/AWS.rb +25 -23
  15. data/lib/CORL/node/local.rb +1 -1
  16. data/lib/CORL/node/rackspace.rb +13 -15
  17. data/lib/CORL/node/vagrant.rb +1 -1
  18. data/lib/CORL/provisioner/puppetnode.rb +1 -1
  19. data/lib/core/mixin/action/keypair.rb +6 -6
  20. data/lib/core/mixin/action/registration.rb +39 -11
  21. data/lib/core/mod/fog_aws_server.rb +1 -3
  22. data/lib/core/plugin/builder.rb +1 -1
  23. data/lib/core/plugin/cloud_action.rb +59 -49
  24. data/lib/core/plugin/configuration.rb +4 -3
  25. data/lib/core/plugin/fog_machine.rb +10 -2
  26. data/lib/core/plugin/fog_node.rb +10 -4
  27. data/lib/core/plugin/machine.rb +2 -8
  28. data/lib/core/plugin/network.rb +9 -3
  29. data/lib/core/plugin/node.rb +30 -31
  30. data/lib/core/plugin/provisioner.rb +1 -1
  31. data/lib/core/vagrant/Vagrantfile +4 -1
  32. data/lib/core/vagrant/plugins.rb +6 -4
  33. data/lib/corl.rb +1 -1
  34. data/lib/nucleon/action/cloud/config.rb +167 -100
  35. data/lib/nucleon/action/cloud/create.rb +5 -1
  36. data/lib/nucleon/action/cloud/images.rb +10 -7
  37. data/lib/nucleon/action/cloud/inspect.rb +8 -6
  38. data/lib/nucleon/action/cloud/machines.rb +10 -7
  39. data/lib/nucleon/action/cloud/regions.rb +13 -8
  40. data/lib/nucleon/action/cloud/remote.rb +68 -0
  41. data/lib/nucleon/action/cloud/settings.rb +33 -47
  42. data/lib/nucleon/action/cloud/vagrantfile.rb +34 -17
  43. data/lib/nucleon/action/node/IP.rb +2 -2
  44. data/lib/nucleon/action/node/SSH.rb +3 -3
  45. data/lib/nucleon/action/node/authorize.rb +2 -2
  46. data/lib/nucleon/action/node/bootstrap.rb +17 -30
  47. data/lib/nucleon/action/node/build.rb +4 -4
  48. data/lib/nucleon/action/node/cache.rb +2 -4
  49. data/lib/nucleon/action/node/destroy.rb +25 -26
  50. data/lib/nucleon/action/node/exec.rb +2 -2
  51. data/lib/nucleon/action/node/fact.rb +10 -5
  52. data/lib/nucleon/action/node/group.rb +10 -5
  53. data/lib/nucleon/action/node/identity.rb +6 -8
  54. data/lib/nucleon/action/node/image.rb +3 -3
  55. data/lib/nucleon/action/node/keypair.rb +2 -2
  56. data/lib/nucleon/action/node/lookup.rb +2 -4
  57. data/lib/nucleon/action/node/provision.rb +2 -2
  58. data/lib/nucleon/action/node/reboot.rb +3 -3
  59. data/lib/nucleon/action/node/revoke.rb +2 -2
  60. data/lib/nucleon/action/node/seed.rb +28 -43
  61. data/lib/nucleon/action/node/spawn.rb +19 -14
  62. data/lib/nucleon/action/node/start.rb +3 -3
  63. data/lib/nucleon/action/node/status.rb +8 -8
  64. data/lib/nucleon/action/node/stop.rb +3 -3
  65. data/lib/nucleon/action/plugin/create.rb +10 -13
  66. data/lib/nucleon/action/plugin/list.rb +7 -7
  67. data/lib/nucleon/action/plugin/template/nucleon.action.erb +2 -2
  68. data/lib/nucleon/action/plugins.rb +12 -1
  69. data/lib/nucleon/event/puppet.rb +1 -1
  70. data/lib/nucleon/extension/corl_config.rb +26 -0
  71. data/lib/nucleon/template/environment.rb +1 -1
  72. data/locales/en.yml +483 -90
  73. data/rdoc/site/0.5.1/CORL/Build.html +781 -0
  74. data/rdoc/site/0.5.1/CORL/Builder/Identity.html +596 -0
  75. data/rdoc/site/0.5.1/CORL/Builder/Package.html +600 -0
  76. data/rdoc/site/0.5.1/CORL/Builder.html +384 -0
  77. data/rdoc/site/0.5.1/CORL/Configuration/File.html +1186 -0
  78. data/rdoc/site/0.5.1/CORL/Configuration.html +383 -0
  79. data/rdoc/site/0.5.1/CORL/Errors.html +383 -0
  80. data/rdoc/site/0.5.1/CORL/Facade.html +927 -0
  81. data/rdoc/site/0.5.1/CORL/Machine/AWS.html +777 -0
  82. data/rdoc/site/0.5.1/CORL/Machine/Fog.html +1313 -0
  83. data/rdoc/site/0.5.1/CORL/Machine/Physical.html +1083 -0
  84. data/rdoc/site/0.5.1/CORL/Machine/Rackspace.html +558 -0
  85. data/rdoc/site/0.5.1/CORL/Machine/Vagrant.html +1344 -0
  86. data/rdoc/site/0.5.1/CORL/Machine.html +387 -0
  87. data/rdoc/site/0.5.1/CORL/Mixin/Action/Keypair.html +616 -0
  88. data/rdoc/site/0.5.1/CORL/Mixin/Action/Registration.html +469 -0
  89. data/rdoc/site/0.5.1/CORL/Mixin/Action.html +384 -0
  90. data/rdoc/site/0.5.1/CORL/Mixin/Builder/Global.html +628 -0
  91. data/rdoc/site/0.5.1/CORL/Mixin/Builder/Instance.html +720 -0
  92. data/rdoc/site/0.5.1/CORL/Mixin/Builder.html +383 -0
  93. data/rdoc/site/0.5.1/CORL/Mixin/Lookup.html +1315 -0
  94. data/rdoc/site/0.5.1/CORL/Mixin/Machine/SSH.html +699 -0
  95. data/rdoc/site/0.5.1/CORL/Mixin/Machine.html +383 -0
  96. data/rdoc/site/0.5.1/CORL/Mixin/Macro/NetworkSettings.html +508 -0
  97. data/rdoc/site/0.5.1/CORL/Mixin/Macro.html +383 -0
  98. data/rdoc/site/0.5.1/CORL/Mixin.html +388 -0
  99. data/rdoc/site/0.5.1/CORL/Network/CORL.html +435 -0
  100. data/rdoc/site/0.5.1/CORL/Network.html +383 -0
  101. data/rdoc/site/0.5.1/CORL/Node/AWS.html +760 -0
  102. data/rdoc/site/0.5.1/CORL/Node/Fog.html +1268 -0
  103. data/rdoc/site/0.5.1/CORL/Node/Local.html +468 -0
  104. data/rdoc/site/0.5.1/CORL/Node/Rackspace.html +753 -0
  105. data/rdoc/site/0.5.1/CORL/Node/Vagrant.html +1497 -0
  106. data/rdoc/site/0.5.1/CORL/Node.html +387 -0
  107. data/rdoc/site/0.5.1/CORL/Plugin/Builder.html +524 -0
  108. data/rdoc/site/0.5.1/CORL/Plugin/Configuration.html +1294 -0
  109. data/rdoc/site/0.5.1/CORL/Plugin/Machine.html +1323 -0
  110. data/rdoc/site/0.5.1/CORL/Plugin/Network.html +1766 -0
  111. data/rdoc/site/0.5.1/CORL/Plugin/Node.html +4263 -0
  112. data/rdoc/site/0.5.1/CORL/Plugin/Provisioner.html +1139 -0
  113. data/rdoc/site/0.5.1/CORL/Plugin.html +673 -0
  114. data/rdoc/site/0.5.1/CORL/Provisioner/Puppetnode.html +1201 -0
  115. data/rdoc/site/0.5.1/CORL/Provisioner.html +383 -0
  116. data/rdoc/site/0.5.1/CORL/Util/Puppet/Resource.html +1082 -0
  117. data/rdoc/site/0.5.1/CORL/Util/Puppet/ResourceGroup.html +964 -0
  118. data/rdoc/site/0.5.1/CORL/Util/Puppet.html +1131 -0
  119. data/rdoc/site/0.5.1/CORL/Util.html +385 -0
  120. data/rdoc/site/0.5.1/CORL/Vagrant/Config.html +967 -0
  121. data/rdoc/site/0.5.1/CORL/Vagrant.html +462 -0
  122. data/rdoc/site/0.5.1/CORL.html +496 -0
  123. data/rdoc/site/0.5.1/Fog/Compute/AWS/Server.html +467 -0
  124. data/rdoc/site/0.5.1/Fog/Compute/AWS.html +389 -0
  125. data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2/Server.html +452 -0
  126. data/rdoc/site/0.5.1/Fog/Compute/RackspaceV2.html +389 -0
  127. data/rdoc/site/0.5.1/Fog/Compute.html +384 -0
  128. data/rdoc/site/0.5.1/Fog.html +384 -0
  129. data/rdoc/site/0.5.1/Hiera/Backend.html +466 -0
  130. data/rdoc/site/0.5.1/Hiera/Corl_logger.html +493 -0
  131. data/rdoc/site/0.5.1/Hiera.html +390 -0
  132. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Config.html +978 -0
  133. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Create.html +562 -0
  134. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Images.html +596 -0
  135. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Inspect.html +567 -0
  136. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Machines.html +591 -0
  137. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Regions.html +591 -0
  138. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Settings.html +878 -0
  139. data/rdoc/site/0.5.1/Nucleon/Action/Cloud/Vagrantfile.html +539 -0
  140. data/rdoc/site/0.5.1/Nucleon/Action/Cloud.html +390 -0
  141. data/rdoc/site/0.5.1/Nucleon/Action/Node/Authorize.html +567 -0
  142. data/rdoc/site/0.5.1/Nucleon/Action/Node/Bootstrap.html +628 -0
  143. data/rdoc/site/0.5.1/Nucleon/Action/Node/Build.html +550 -0
  144. data/rdoc/site/0.5.1/Nucleon/Action/Node/Cache.html +773 -0
  145. data/rdoc/site/0.5.1/Nucleon/Action/Node/Destroy.html +597 -0
  146. data/rdoc/site/0.5.1/Nucleon/Action/Node/Exec.html +554 -0
  147. data/rdoc/site/0.5.1/Nucleon/Action/Node/Fact.html +733 -0
  148. data/rdoc/site/0.5.1/Nucleon/Action/Node/Facts.html +505 -0
  149. data/rdoc/site/0.5.1/Nucleon/Action/Node/Group.html +729 -0
  150. data/rdoc/site/0.5.1/Nucleon/Action/Node/Groups.html +505 -0
  151. data/rdoc/site/0.5.1/Nucleon/Action/Node/IP.html +477 -0
  152. data/rdoc/site/0.5.1/Nucleon/Action/Node/Identity.html +614 -0
  153. data/rdoc/site/0.5.1/Nucleon/Action/Node/Image.html +597 -0
  154. data/rdoc/site/0.5.1/Nucleon/Action/Node/Keypair.html +596 -0
  155. data/rdoc/site/0.5.1/Nucleon/Action/Node/Lookup.html +579 -0
  156. data/rdoc/site/0.5.1/Nucleon/Action/Node/Provision.html +577 -0
  157. data/rdoc/site/0.5.1/Nucleon/Action/Node/Reboot.html +597 -0
  158. data/rdoc/site/0.5.1/Nucleon/Action/Node/Revoke.html +565 -0
  159. data/rdoc/site/0.5.1/Nucleon/Action/Node/SSH.html +607 -0
  160. data/rdoc/site/0.5.1/Nucleon/Action/Node/Seed.html +626 -0
  161. data/rdoc/site/0.5.1/Nucleon/Action/Node/Spawn.html +699 -0
  162. data/rdoc/site/0.5.1/Nucleon/Action/Node/Start.html +597 -0
  163. data/rdoc/site/0.5.1/Nucleon/Action/Node/Status.html +615 -0
  164. data/rdoc/site/0.5.1/Nucleon/Action/Node/Stop.html +597 -0
  165. data/rdoc/site/0.5.1/Nucleon/Action/Node.html +406 -0
  166. data/rdoc/site/0.5.1/Nucleon/Action/Plugin/Create.html +736 -0
  167. data/rdoc/site/0.5.1/Nucleon/Action/Plugin/List.html +570 -0
  168. data/rdoc/site/0.5.1/Nucleon/Action/Plugin.html +384 -0
  169. data/rdoc/site/0.5.1/Nucleon/Action/Plugins.html +435 -0
  170. data/rdoc/site/0.5.1/Nucleon/Action.html +417 -0
  171. data/rdoc/site/0.5.1/Nucleon/Config.html +401 -0
  172. data/rdoc/site/0.5.1/Nucleon/Event/Puppet.html +717 -0
  173. data/rdoc/site/0.5.1/Nucleon/Event.html +383 -0
  174. data/rdoc/site/0.5.1/Nucleon/Plugin/Base.html +389 -0
  175. data/rdoc/site/0.5.1/Nucleon/Plugin/CloudAction.html +894 -0
  176. data/rdoc/site/0.5.1/Nucleon/Plugin.html +384 -0
  177. data/rdoc/site/0.5.1/Nucleon/Template/Environment.html +572 -0
  178. data/rdoc/site/0.5.1/Nucleon/Template.html +383 -0
  179. data/rdoc/site/0.5.1/Nucleon.html +421 -0
  180. data/rdoc/site/0.5.1/Object.html +402 -0
  181. data/rdoc/site/0.5.1/Puppet/DataBinding/Corl.html +389 -0
  182. data/rdoc/site/0.5.1/Puppet/DataBinding.html +382 -0
  183. data/rdoc/site/0.5.1/Puppet/Indirector/Corl.html +501 -0
  184. data/rdoc/site/0.5.1/Puppet/Indirector.html +382 -0
  185. data/rdoc/site/0.5.1/Puppet/Parser/Functions.html +524 -0
  186. data/rdoc/site/0.5.1/Puppet/Parser.html +382 -0
  187. data/rdoc/site/0.5.1/Puppet.html +382 -0
  188. data/rdoc/site/0.5.1/README_rdoc.html +384 -0
  189. data/rdoc/site/0.5.1/Vagrant/Config/Loader.html +443 -0
  190. data/rdoc/site/0.5.1/Vagrant/Config.html +383 -0
  191. data/rdoc/site/0.5.1/Vagrant/Vagrantfile.html +436 -0
  192. data/rdoc/site/0.5.1/Vagrant.html +390 -0
  193. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/DeleteCache.html +446 -0
  194. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/InitKeys.html +452 -0
  195. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action/LinkNetwork.html +450 -0
  196. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Action.html +385 -0
  197. data/rdoc/site/0.5.1/VagrantPlugins/CORL/BaseAction.html +535 -0
  198. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command/Launcher.html +577 -0
  199. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Command.html +383 -0
  200. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config/CORL.html +776 -0
  201. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Config.html +383 -0
  202. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Plugin.html +389 -0
  203. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner/CORL.html +580 -0
  204. data/rdoc/site/0.5.1/VagrantPlugins/CORL/Provisioner.html +383 -0
  205. data/rdoc/site/0.5.1/VagrantPlugins/CORL.html +390 -0
  206. data/rdoc/site/0.5.1/VagrantPlugins.html +390 -0
  207. data/rdoc/site/0.5.1/created.rid +114 -0
  208. data/rdoc/site/0.5.1/images/add.png +0 -0
  209. data/rdoc/site/0.5.1/images/brick.png +0 -0
  210. data/rdoc/site/0.5.1/images/brick_link.png +0 -0
  211. data/rdoc/site/0.5.1/images/bug.png +0 -0
  212. data/rdoc/site/0.5.1/images/bullet_black.png +0 -0
  213. data/rdoc/site/0.5.1/images/bullet_toggle_minus.png +0 -0
  214. data/rdoc/site/0.5.1/images/bullet_toggle_plus.png +0 -0
  215. data/rdoc/site/0.5.1/images/date.png +0 -0
  216. data/rdoc/site/0.5.1/images/delete.png +0 -0
  217. data/rdoc/site/0.5.1/images/find.png +0 -0
  218. data/rdoc/site/0.5.1/images/loadingAnimation.gif +0 -0
  219. data/rdoc/site/0.5.1/images/macFFBgHack.png +0 -0
  220. data/rdoc/site/0.5.1/images/package.png +0 -0
  221. data/rdoc/site/0.5.1/images/page_green.png +0 -0
  222. data/rdoc/site/0.5.1/images/page_white_text.png +0 -0
  223. data/rdoc/site/0.5.1/images/page_white_width.png +0 -0
  224. data/rdoc/site/0.5.1/images/plugin.png +0 -0
  225. data/rdoc/site/0.5.1/images/ruby.png +0 -0
  226. data/rdoc/site/0.5.1/images/tag_blue.png +0 -0
  227. data/rdoc/site/0.5.1/images/tag_green.png +0 -0
  228. data/rdoc/site/0.5.1/images/transparent.png +0 -0
  229. data/rdoc/site/0.5.1/images/wrench.png +0 -0
  230. data/rdoc/site/0.5.1/images/wrench_orange.png +0 -0
  231. data/rdoc/site/0.5.1/images/zoom.png +0 -0
  232. data/rdoc/site/0.5.1/index.html +383 -0
  233. data/rdoc/site/0.5.1/js/darkfish.js +155 -0
  234. data/rdoc/site/0.5.1/js/jquery.js +18 -0
  235. data/rdoc/site/0.5.1/js/navigation.js +142 -0
  236. data/rdoc/site/0.5.1/js/search.js +94 -0
  237. data/rdoc/site/0.5.1/js/search_index.js +1 -0
  238. data/rdoc/site/0.5.1/js/searcher.js +228 -0
  239. data/rdoc/site/0.5.1/rdoc.css +543 -0
  240. data/rdoc/site/0.5.1/table_of_contents.html +2005 -0
  241. metadata +174 -4
@@ -0,0 +1,781 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class CORL::Build - corl 0.5.1</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/core/build.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">Core
63
+
64
+ </nav>
65
+
66
+ <!-- Included Modules -->
67
+ <nav id="includes-section" class="section">
68
+ <h3 class="section-header">Included Modules</h3>
69
+
70
+ <ul class="link-list">
71
+
72
+
73
+ <li><span class="include">Parallel</span>
74
+
75
+
76
+ </ul>
77
+ </nav>
78
+
79
+ <!-- Method Quickref -->
80
+ <nav id="method-list-section" class="section">
81
+ <h3 class="section-header">Methods</h3>
82
+
83
+ <ul class="link-list">
84
+
85
+ <li><a href="#method-c-new">::new</a>
86
+
87
+ <li><a href="#method-i-build_lock">#build_lock</a>
88
+
89
+ <li><a href="#method-i-config">#config</a>
90
+
91
+ <li><a href="#method-i-import">#import</a>
92
+
93
+ <li><a href="#method-i-locations">#locations</a>
94
+
95
+ <li><a href="#method-i-manage">#manage</a>
96
+
97
+ <li><a href="#method-i-method_missing">#method_missing</a>
98
+
99
+ <li><a href="#method-i-register">#register</a>
100
+
101
+ <li><a href="#method-i-remove_location">#remove_location</a>
102
+
103
+ <li><a href="#method-i-set_location">#set_location</a>
104
+
105
+ </ul>
106
+ </nav>
107
+
108
+ </div>
109
+
110
+ <div id="project-metadata">
111
+ <nav id="fileindex-section" class="section project-section">
112
+ <h3 class="section-header">Pages</h3>
113
+
114
+ <ul>
115
+
116
+ <li class="file"><a href="../README_rdoc.html">README</a>
117
+
118
+ </ul>
119
+ </nav>
120
+
121
+ <nav id="classindex-section" class="section project-section">
122
+ <h3 class="section-header">Class and Module Index</h3>
123
+
124
+ <ul class="link-list">
125
+
126
+ <li><a href="../CORL.html">CORL</a>
127
+
128
+ <li><a href="../CORL/Build.html">CORL::Build</a>
129
+
130
+ <li><a href="../CORL/Builder.html">CORL::Builder</a>
131
+
132
+ <li><a href="../CORL/Builder/Identity.html">CORL::Builder::Identity</a>
133
+
134
+ <li><a href="../CORL/Builder/Package.html">CORL::Builder::Package</a>
135
+
136
+ <li><a href="../CORL/Configuration.html">CORL::Configuration</a>
137
+
138
+ <li><a href="../CORL/Configuration/File.html">CORL::Configuration::File</a>
139
+
140
+ <li><a href="../CORL/Errors.html">CORL::Errors</a>
141
+
142
+ <li><a href="../CORL/Facade.html">CORL::Facade</a>
143
+
144
+ <li><a href="../CORL/Machine.html">CORL::Machine</a>
145
+
146
+ <li><a href="../CORL/Machine/AWS.html">CORL::Machine::AWS</a>
147
+
148
+ <li><a href="../CORL/Machine/Fog.html">CORL::Machine::Fog</a>
149
+
150
+ <li><a href="../CORL/Machine/Physical.html">CORL::Machine::Physical</a>
151
+
152
+ <li><a href="../CORL/Machine/Rackspace.html">CORL::Machine::Rackspace</a>
153
+
154
+ <li><a href="../CORL/Machine/Vagrant.html">CORL::Machine::Vagrant</a>
155
+
156
+ <li><a href="../CORL/Mixin.html">CORL::Mixin</a>
157
+
158
+ <li><a href="../CORL/Mixin/Action.html">CORL::Mixin::Action</a>
159
+
160
+ <li><a href="../CORL/Mixin/Action/Keypair.html">CORL::Mixin::Action::Keypair</a>
161
+
162
+ <li><a href="../CORL/Mixin/Action/Registration.html">CORL::Mixin::Action::Registration</a>
163
+
164
+ <li><a href="../CORL/Mixin/Builder.html">CORL::Mixin::Builder</a>
165
+
166
+ <li><a href="../CORL/Mixin/Builder/Global.html">CORL::Mixin::Builder::Global</a>
167
+
168
+ <li><a href="../CORL/Mixin/Builder/Instance.html">CORL::Mixin::Builder::Instance</a>
169
+
170
+ <li><a href="../CORL/Mixin/Lookup.html">CORL::Mixin::Lookup</a>
171
+
172
+ <li><a href="../CORL/Mixin/Machine.html">CORL::Mixin::Machine</a>
173
+
174
+ <li><a href="../CORL/Mixin/Machine/SSH.html">CORL::Mixin::Machine::SSH</a>
175
+
176
+ <li><a href="../CORL/Mixin/Macro.html">CORL::Mixin::Macro</a>
177
+
178
+ <li><a href="../CORL/Mixin/Macro/NetworkSettings.html">CORL::Mixin::Macro::NetworkSettings</a>
179
+
180
+ <li><a href="../CORL/Network.html">CORL::Network</a>
181
+
182
+ <li><a href="../CORL/Network/CORL.html">CORL::Network::CORL</a>
183
+
184
+ <li><a href="../CORL/Node.html">CORL::Node</a>
185
+
186
+ <li><a href="../CORL/Node/AWS.html">CORL::Node::AWS</a>
187
+
188
+ <li><a href="../CORL/Node/Fog.html">CORL::Node::Fog</a>
189
+
190
+ <li><a href="../CORL/Node/Local.html">CORL::Node::Local</a>
191
+
192
+ <li><a href="../CORL/Node/Rackspace.html">CORL::Node::Rackspace</a>
193
+
194
+ <li><a href="../CORL/Node/Vagrant.html">CORL::Node::Vagrant</a>
195
+
196
+ <li><a href="../CORL/Plugin.html">CORL::Plugin</a>
197
+
198
+ <li><a href="../CORL/Plugin/Builder.html">CORL::Plugin::Builder</a>
199
+
200
+ <li><a href="../CORL/Plugin/Configuration.html">CORL::Plugin::Configuration</a>
201
+
202
+ <li><a href="../CORL/Plugin/Machine.html">CORL::Plugin::Machine</a>
203
+
204
+ <li><a href="../CORL/Plugin/Network.html">CORL::Plugin::Network</a>
205
+
206
+ <li><a href="../CORL/Plugin/Node.html">CORL::Plugin::Node</a>
207
+
208
+ <li><a href="../CORL/Plugin/Provisioner.html">CORL::Plugin::Provisioner</a>
209
+
210
+ <li><a href="../CORL/Provisioner.html">CORL::Provisioner</a>
211
+
212
+ <li><a href="../CORL/Provisioner/Puppetnode.html">CORL::Provisioner::Puppetnode</a>
213
+
214
+ <li><a href="../CORL/Util.html">CORL::Util</a>
215
+
216
+ <li><a href="../CORL/Util/Puppet.html">CORL::Util::Puppet</a>
217
+
218
+ <li><a href="../CORL/Util/Puppet/Resource.html">CORL::Util::Puppet::Resource</a>
219
+
220
+ <li><a href="../CORL/Util/Puppet/ResourceGroup.html">CORL::Util::Puppet::ResourceGroup</a>
221
+
222
+ <li><a href="../CORL/Vagrant.html">CORL::Vagrant</a>
223
+
224
+ <li><a href="../CORL/Vagrant/Config.html">CORL::Vagrant::Config</a>
225
+
226
+ <li><a href="../Nucleon.html">Nucleon</a>
227
+
228
+ <li><a href="../Nucleon/Action.html">Nucleon::Action</a>
229
+
230
+ <li><a href="../Nucleon/Action/Cloud.html">Nucleon::Action::Cloud</a>
231
+
232
+ <li><a href="../Nucleon/Action/Cloud/Config.html">Nucleon::Action::Cloud::Config</a>
233
+
234
+ <li><a href="../Nucleon/Action/Cloud/Create.html">Nucleon::Action::Cloud::Create</a>
235
+
236
+ <li><a href="../Nucleon/Action/Cloud/Images.html">Nucleon::Action::Cloud::Images</a>
237
+
238
+ <li><a href="../Nucleon/Action/Cloud/Inspect.html">Nucleon::Action::Cloud::Inspect</a>
239
+
240
+ <li><a href="../Nucleon/Action/Cloud/Machines.html">Nucleon::Action::Cloud::Machines</a>
241
+
242
+ <li><a href="../Nucleon/Action/Cloud/Regions.html">Nucleon::Action::Cloud::Regions</a>
243
+
244
+ <li><a href="../Nucleon/Action/Cloud/Settings.html">Nucleon::Action::Cloud::Settings</a>
245
+
246
+ <li><a href="../Nucleon/Action/Cloud/Vagrantfile.html">Nucleon::Action::Cloud::Vagrantfile</a>
247
+
248
+ <li><a href="../Nucleon/Action/Node.html">Nucleon::Action::Node</a>
249
+
250
+ <li><a href="../Nucleon/Action/Node/Authorize.html">Nucleon::Action::Node::Authorize</a>
251
+
252
+ <li><a href="../Nucleon/Action/Node/Bootstrap.html">Nucleon::Action::Node::Bootstrap</a>
253
+
254
+ <li><a href="../Nucleon/Action/Node/Build.html">Nucleon::Action::Node::Build</a>
255
+
256
+ <li><a href="../Nucleon/Action/Node/Cache.html">Nucleon::Action::Node::Cache</a>
257
+
258
+ <li><a href="../Nucleon/Action/Node/Destroy.html">Nucleon::Action::Node::Destroy</a>
259
+
260
+ <li><a href="../Nucleon/Action/Node/Exec.html">Nucleon::Action::Node::Exec</a>
261
+
262
+ <li><a href="../Nucleon/Action/Node/Fact.html">Nucleon::Action::Node::Fact</a>
263
+
264
+ <li><a href="../Nucleon/Action/Node/Facts.html">Nucleon::Action::Node::Facts</a>
265
+
266
+ <li><a href="../Nucleon/Action/Node/Group.html">Nucleon::Action::Node::Group</a>
267
+
268
+ <li><a href="../Nucleon/Action/Node/Groups.html">Nucleon::Action::Node::Groups</a>
269
+
270
+ <li><a href="../Nucleon/Action/Node/IP.html">Nucleon::Action::Node::IP</a>
271
+
272
+ <li><a href="../Nucleon/Action/Node/Identity.html">Nucleon::Action::Node::Identity</a>
273
+
274
+ <li><a href="../Nucleon/Action/Node/Image.html">Nucleon::Action::Node::Image</a>
275
+
276
+ <li><a href="../Nucleon/Action/Node/Keypair.html">Nucleon::Action::Node::Keypair</a>
277
+
278
+ <li><a href="../Nucleon/Action/Node/Lookup.html">Nucleon::Action::Node::Lookup</a>
279
+
280
+ <li><a href="../Nucleon/Action/Node/Provision.html">Nucleon::Action::Node::Provision</a>
281
+
282
+ <li><a href="../Nucleon/Action/Node/Reboot.html">Nucleon::Action::Node::Reboot</a>
283
+
284
+ <li><a href="../Nucleon/Action/Node/Revoke.html">Nucleon::Action::Node::Revoke</a>
285
+
286
+ <li><a href="../Nucleon/Action/Node/SSH.html">Nucleon::Action::Node::SSH</a>
287
+
288
+ <li><a href="../Nucleon/Action/Node/Seed.html">Nucleon::Action::Node::Seed</a>
289
+
290
+ <li><a href="../Nucleon/Action/Node/Spawn.html">Nucleon::Action::Node::Spawn</a>
291
+
292
+ <li><a href="../Nucleon/Action/Node/Start.html">Nucleon::Action::Node::Start</a>
293
+
294
+ <li><a href="../Nucleon/Action/Node/Status.html">Nucleon::Action::Node::Status</a>
295
+
296
+ <li><a href="../Nucleon/Action/Node/Stop.html">Nucleon::Action::Node::Stop</a>
297
+
298
+ <li><a href="../Nucleon/Action/Plugin.html">Nucleon::Action::Plugin</a>
299
+
300
+ <li><a href="../Nucleon/Action/Plugin/Create.html">Nucleon::Action::Plugin::Create</a>
301
+
302
+ <li><a href="../Nucleon/Action/Plugin/List.html">Nucleon::Action::Plugin::List</a>
303
+
304
+ <li><a href="../Nucleon/Action/Plugins.html">Nucleon::Action::Plugins</a>
305
+
306
+ <li><a href="../Nucleon/Config.html">Nucleon::Config</a>
307
+
308
+ <li><a href="../Nucleon/Event.html">Nucleon::Event</a>
309
+
310
+ <li><a href="../Nucleon/Event/Puppet.html">Nucleon::Event::Puppet</a>
311
+
312
+ <li><a href="../Nucleon/Plugin.html">Nucleon::Plugin</a>
313
+
314
+ <li><a href="../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
315
+
316
+ <li><a href="../Nucleon/Plugin/CloudAction.html">Nucleon::Plugin::CloudAction</a>
317
+
318
+ <li><a href="../Nucleon/Template.html">Nucleon::Template</a>
319
+
320
+ <li><a href="../Nucleon/Template/Environment.html">Nucleon::Template::Environment</a>
321
+
322
+ <li><a href="../VagrantPlugins.html">VagrantPlugins</a>
323
+
324
+ <li><a href="../VagrantPlugins/CORL.html">VagrantPlugins::CORL</a>
325
+
326
+ <li><a href="../VagrantPlugins/CORL/Action.html">VagrantPlugins::CORL::Action</a>
327
+
328
+ <li><a href="../VagrantPlugins/CORL/Action/DeleteCache.html">VagrantPlugins::CORL::Action::DeleteCache</a>
329
+
330
+ <li><a href="../VagrantPlugins/CORL/Action/InitKeys.html">VagrantPlugins::CORL::Action::InitKeys</a>
331
+
332
+ <li><a href="../VagrantPlugins/CORL/Action/LinkNetwork.html">VagrantPlugins::CORL::Action::LinkNetwork</a>
333
+
334
+ <li><a href="../VagrantPlugins/CORL/BaseAction.html">VagrantPlugins::CORL::BaseAction</a>
335
+
336
+ <li><a href="../VagrantPlugins/CORL/Command.html">VagrantPlugins::CORL::Command</a>
337
+
338
+ <li><a href="../VagrantPlugins/CORL/Command/Launcher.html">VagrantPlugins::CORL::Command::Launcher</a>
339
+
340
+ <li><a href="../VagrantPlugins/CORL/Config.html">VagrantPlugins::CORL::Config</a>
341
+
342
+ <li><a href="../VagrantPlugins/CORL/Config/CORL.html">VagrantPlugins::CORL::Config::CORL</a>
343
+
344
+ <li><a href="../VagrantPlugins/CORL/Plugin.html">VagrantPlugins::CORL::Plugin</a>
345
+
346
+ <li><a href="../VagrantPlugins/CORL/Provisioner.html">VagrantPlugins::CORL::Provisioner</a>
347
+
348
+ <li><a href="../VagrantPlugins/CORL/Provisioner/CORL.html">VagrantPlugins::CORL::Provisioner::CORL</a>
349
+
350
+ <li><a href="../Puppet.html">Puppet</a>
351
+
352
+ <li><a href="../Puppet/DataBinding.html">Puppet::DataBinding</a>
353
+
354
+ <li><a href="../Puppet/DataBinding/Corl.html">Puppet::DataBinding::Corl</a>
355
+
356
+ <li><a href="../Puppet/Indirector.html">Puppet::Indirector</a>
357
+
358
+ <li><a href="../Puppet/Indirector/Corl.html">Puppet::Indirector::Corl</a>
359
+
360
+ <li><a href="../Puppet/Parser.html">Puppet::Parser</a>
361
+
362
+ <li><a href="../Puppet/Parser/Functions.html">Puppet::Parser::Functions</a>
363
+
364
+ <li><a href="../Fog.html">Fog</a>
365
+
366
+ <li><a href="../Fog/Compute.html">Fog::Compute</a>
367
+
368
+ <li><a href="../Fog/Compute/AWS.html">Fog::Compute::AWS</a>
369
+
370
+ <li><a href="../Fog/Compute/AWS/Server.html">Fog::Compute::AWS::Server</a>
371
+
372
+ <li><a href="../Fog/Compute/RackspaceV2.html">Fog::Compute::RackspaceV2</a>
373
+
374
+ <li><a href="../Fog/Compute/RackspaceV2/Server.html">Fog::Compute::RackspaceV2::Server</a>
375
+
376
+ <li><a href="../Vagrant.html">Vagrant</a>
377
+
378
+ <li><a href="../Vagrant/Config.html">Vagrant::Config</a>
379
+
380
+ <li><a href="../Vagrant/Config/Loader.html">Vagrant::Config::Loader</a>
381
+
382
+ <li><a href="../Vagrant/Vagrantfile.html">Vagrant::Vagrantfile</a>
383
+
384
+ <li><a href="../Hiera.html">Hiera</a>
385
+
386
+ <li><a href="../Hiera/Backend.html">Hiera::Backend</a>
387
+
388
+ <li><a href="../Hiera/Corl_logger.html">Hiera::Corl_logger</a>
389
+
390
+ <li><a href="../Object.html">Object</a>
391
+
392
+ </ul>
393
+ </nav>
394
+
395
+ </div>
396
+ </nav>
397
+
398
+ <div id="documentation">
399
+ <h1 class="class">class CORL::Build</h1>
400
+
401
+ <div id="description" class="description">
402
+
403
+ </div><!-- description -->
404
+
405
+
406
+
407
+
408
+ <section id="5Buntitled-5D" class="documentation-section">
409
+
410
+
411
+
412
+
413
+
414
+
415
+
416
+
417
+ <!-- Methods -->
418
+
419
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
420
+ <h3 class="section-header">Public Class Methods</h3>
421
+
422
+
423
+ <div id="method-c-new" class="method-detail ">
424
+
425
+ <div class="method-heading">
426
+ <span class="method-name">new</span><span
427
+ class="method-args">()</span>
428
+ <span class="method-click-advice">click to toggle source</span>
429
+ </div>
430
+
431
+
432
+ <div class="method-description">
433
+
434
+
435
+
436
+
437
+
438
+ <div class="method-source-code" id="new-source">
439
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 10</span>
440
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>
441
+ <span class="ruby-ivar">@config</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
442
+ <span class="ruby-ivar">@locations</span> = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
443
+
444
+ <span class="ruby-ivar">@plurals</span> = {}
445
+ <span class="ruby-ivar">@types</span> = {}
446
+ <span class="ruby-keyword">end</span></pre>
447
+ </div><!-- new-source -->
448
+
449
+ </div>
450
+
451
+
452
+
453
+
454
+ </div><!-- new-method -->
455
+
456
+
457
+ </section><!-- public-class-method-details -->
458
+
459
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
460
+ <h3 class="section-header">Public Instance Methods</h3>
461
+
462
+
463
+ <div id="method-i-build_lock" class="method-detail ">
464
+
465
+ <div class="method-heading">
466
+ <span class="method-name">build_lock</span><span
467
+ class="method-args">()</span>
468
+ <span class="method-click-advice">click to toggle source</span>
469
+ </div>
470
+
471
+
472
+ <div class="method-description">
473
+
474
+
475
+
476
+
477
+
478
+ <div class="method-source-code" id="build_lock-source">
479
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 25</span>
480
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">build_lock</span>
481
+ <span class="ruby-identifier">@@build_lock</span>
482
+ <span class="ruby-keyword">end</span></pre>
483
+ </div><!-- build_lock-source -->
484
+
485
+ </div>
486
+
487
+
488
+
489
+
490
+ </div><!-- build_lock-method -->
491
+
492
+
493
+ <div id="method-i-config" class="method-detail ">
494
+
495
+ <div class="method-heading">
496
+ <span class="method-name">config</span><span
497
+ class="method-args">()</span>
498
+ <span class="method-click-advice">click to toggle source</span>
499
+ </div>
500
+
501
+
502
+ <div class="method-description">
503
+
504
+
505
+
506
+
507
+
508
+ <div class="method-source-code" id="config-source">
509
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 47</span>
510
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">config</span>
511
+ <span class="ruby-ivar">@config</span>
512
+ <span class="ruby-keyword">end</span></pre>
513
+ </div><!-- config-source -->
514
+
515
+ </div>
516
+
517
+
518
+
519
+
520
+ </div><!-- config-method -->
521
+
522
+
523
+ <div id="method-i-import" class="method-detail ">
524
+
525
+ <div class="method-heading">
526
+ <span class="method-name">import</span><span
527
+ class="method-args">(config)</span>
528
+ <span class="method-click-advice">click to toggle source</span>
529
+ </div>
530
+
531
+
532
+ <div class="method-description">
533
+
534
+
535
+
536
+
537
+
538
+ <div class="method-source-code" id="import-source">
539
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 51</span>
540
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">import</span>(<span class="ruby-identifier">config</span>)
541
+ <span class="ruby-ivar">@config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">config</span>)
542
+ <span class="ruby-keyword">end</span></pre>
543
+ </div><!-- import-source -->
544
+
545
+ </div>
546
+
547
+
548
+
549
+
550
+ </div><!-- import-method -->
551
+
552
+
553
+ <div id="method-i-locations" class="method-detail ">
554
+
555
+ <div class="method-heading">
556
+ <span class="method-name">locations</span><span
557
+ class="method-args">()</span>
558
+ <span class="method-click-advice">click to toggle source</span>
559
+ </div>
560
+
561
+
562
+ <div class="method-description">
563
+
564
+
565
+
566
+
567
+
568
+ <div class="method-source-code" id="locations-source">
569
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 58</span>
570
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">locations</span>
571
+ <span class="ruby-ivar">@locations</span>
572
+ <span class="ruby-keyword">end</span></pre>
573
+ </div><!-- locations-source -->
574
+
575
+ </div>
576
+
577
+
578
+
579
+
580
+ </div><!-- locations-method -->
581
+
582
+
583
+ <div id="method-i-manage" class="method-detail ">
584
+
585
+ <div class="method-heading">
586
+ <span class="method-name">manage</span><span
587
+ class="method-args">(plugin_type, options = {})</span>
588
+ <span class="method-click-advice">click to toggle source</span>
589
+ </div>
590
+
591
+
592
+ <div class="method-description">
593
+
594
+
595
+
596
+
597
+
598
+ <div class="method-source-code" id="manage-source">
599
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 108</span>
600
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">manage</span>(<span class="ruby-identifier">plugin_type</span>, <span class="ruby-identifier">options</span> = {})
601
+ <span class="ruby-constant">CORL</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">plugin_type</span>, <span class="ruby-identifier">options</span>)
602
+ <span class="ruby-keyword">end</span></pre>
603
+ </div><!-- manage-source -->
604
+
605
+ </div>
606
+
607
+
608
+
609
+
610
+ </div><!-- manage-method -->
611
+
612
+
613
+ <div id="method-i-method_missing" class="method-detail ">
614
+
615
+ <div class="method-heading">
616
+ <span class="method-name">method_missing</span><span
617
+ class="method-args">(method, *args, &code)</span>
618
+ <span class="method-click-advice">click to toggle source</span>
619
+ </div>
620
+
621
+
622
+ <div class="method-description">
623
+
624
+
625
+
626
+
627
+
628
+ <div class="method-source-code" id="method_missing-source">
629
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 73</span>
630
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">method</span>, *<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">code</span>)
631
+ <span class="ruby-identifier">success</span> = <span class="ruby-keyword">false</span>
632
+ <span class="ruby-identifier">result</span> = <span class="ruby-keyword">nil</span>
633
+
634
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/^set\_([a-z].*)$/</span>)
635
+ <span class="ruby-identifier">name</span> = <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
636
+
637
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@types</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">2</span>
638
+ <span class="ruby-ivar">@types</span>[<span class="ruby-identifier">name</span>].<span class="ruby-identifier">set</span>([ <span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>], <span class="ruby-identifier">args</span>[<span class="ruby-value">1</span>] ], <span class="ruby-identifier">args</span>[<span class="ruby-value">2</span>]) <span class="ruby-keyword">if</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">2</span>
639
+ <span class="ruby-identifier">success</span> = <span class="ruby-keyword">true</span>
640
+ <span class="ruby-keyword">end</span>
641
+
642
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">/^remove\_([a-z].*)$/</span>)
643
+ <span class="ruby-identifier">name</span> = <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
644
+
645
+ <span class="ruby-keyword">if</span> <span class="ruby-ivar">@types</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
646
+ <span class="ruby-ivar">@types</span>[<span class="ruby-identifier">name</span>].<span class="ruby-identifier">delete</span>([ <span class="ruby-identifier">args</span>[<span class="ruby-value">0</span>], <span class="ruby-identifier">args</span>[<span class="ruby-value">1</span>] ])
647
+ <span class="ruby-identifier">success</span> = <span class="ruby-keyword">true</span>
648
+ <span class="ruby-keyword">end</span>
649
+
650
+ <span class="ruby-keyword">else</span>
651
+ <span class="ruby-identifier">name</span> = <span class="ruby-ivar">@plurals</span>[<span class="ruby-identifier">method</span>.<span class="ruby-identifier">to_sym</span>]
652
+
653
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@types</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>)
654
+ <span class="ruby-identifier">result</span> = <span class="ruby-ivar">@types</span>[<span class="ruby-identifier">name</span>]
655
+ <span class="ruby-identifier">success</span> = <span class="ruby-keyword">true</span>
656
+ <span class="ruby-keyword">end</span>
657
+ <span class="ruby-keyword">end</span>
658
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">success</span> <span class="ruby-comment"># Raise NoMethodError</span>
659
+ <span class="ruby-identifier">result</span>
660
+ <span class="ruby-keyword">end</span></pre>
661
+ </div><!-- method_missing-source -->
662
+
663
+ </div>
664
+
665
+
666
+
667
+
668
+ </div><!-- method_missing-method -->
669
+
670
+
671
+ <div id="method-i-register" class="method-detail ">
672
+
673
+ <div class="method-heading">
674
+ <span class="method-name">register</span><span
675
+ class="method-args">(type, plural = nil)</span>
676
+ <span class="method-click-advice">click to toggle source</span>
677
+ </div>
678
+
679
+
680
+ <div class="method-description">
681
+
682
+
683
+
684
+
685
+
686
+ <div class="method-source-code" id="register-source">
687
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 32</span>
688
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">register</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">plural</span> = <span class="ruby-keyword">nil</span>)
689
+ <span class="ruby-identifier">type</span> = <span class="ruby-identifier">type</span>.<span class="ruby-identifier">to_sym</span>
690
+
691
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">plural</span>
692
+ <span class="ruby-identifier">plural</span> = <span class="ruby-identifier">plural</span>.<span class="ruby-identifier">to_sym</span>
693
+ <span class="ruby-keyword">else</span>
694
+ <span class="ruby-identifier">plural</span> = <span class="ruby-node">&quot;#{type}s&quot;</span>.<span class="ruby-identifier">to_sym</span>
695
+ <span class="ruby-keyword">end</span>
696
+ <span class="ruby-ivar">@plurals</span>[<span class="ruby-identifier">plural</span>] = <span class="ruby-identifier">type</span>
697
+ <span class="ruby-ivar">@types</span>[<span class="ruby-identifier">type</span>] = <span class="ruby-constant">Config</span>.<span class="ruby-identifier">new</span>
698
+ <span class="ruby-keyword">end</span></pre>
699
+ </div><!-- register-source -->
700
+
701
+ </div>
702
+
703
+
704
+
705
+
706
+ </div><!-- register-method -->
707
+
708
+
709
+ <div id="method-i-remove_location" class="method-detail ">
710
+
711
+ <div class="method-heading">
712
+ <span class="method-name">remove_location</span><span
713
+ class="method-args">(provider, name = nil)</span>
714
+ <span class="method-click-advice">click to toggle source</span>
715
+ </div>
716
+
717
+
718
+ <div class="method-description">
719
+
720
+
721
+
722
+
723
+
724
+ <div class="method-source-code" id="remove_location-source">
725
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 66</span>
726
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">remove_location</span>(<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">name</span> = <span class="ruby-keyword">nil</span>)
727
+ <span class="ruby-ivar">@locations</span>.<span class="ruby-identifier">delete</span>([ <span class="ruby-identifier">provider</span>, <span class="ruby-identifier">name</span> ])
728
+ <span class="ruby-keyword">end</span></pre>
729
+ </div><!-- remove_location-source -->
730
+
731
+ </div>
732
+
733
+
734
+
735
+
736
+ </div><!-- remove_location-method -->
737
+
738
+
739
+ <div id="method-i-set_location" class="method-detail ">
740
+
741
+ <div class="method-heading">
742
+ <span class="method-name">set_location</span><span
743
+ class="method-args">(provider, name, directory)</span>
744
+ <span class="method-click-advice">click to toggle source</span>
745
+ </div>
746
+
747
+
748
+ <div class="method-description">
749
+
750
+
751
+
752
+
753
+
754
+ <div class="method-source-code" id="set_location-source">
755
+ <pre><span class="ruby-comment"># File lib/core/build.rb, line 62</span>
756
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">set_location</span>(<span class="ruby-identifier">provider</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">directory</span>)
757
+ <span class="ruby-ivar">@locations</span>.<span class="ruby-identifier">set</span>([ <span class="ruby-identifier">provider</span>, <span class="ruby-identifier">name</span> ], <span class="ruby-identifier">directory</span>)
758
+ <span class="ruby-keyword">end</span></pre>
759
+ </div><!-- set_location-source -->
760
+
761
+ </div>
762
+
763
+
764
+
765
+
766
+ </div><!-- set_location-method -->
767
+
768
+
769
+ </section><!-- public-instance-method-details -->
770
+
771
+ </section><!-- 5Buntitled-5D -->
772
+
773
+ </div><!-- documentation -->
774
+
775
+
776
+ <footer id="validator-badges">
777
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
778
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
779
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
780
+ </footer>
781
+