corl 0.4.29 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -3
  3. data/Gemfile.lock +16 -13
  4. data/VERSION +1 -1
  5. data/bin/corl +21 -1
  6. data/bootstrap/os/ubuntu/00_base.sh +2 -2
  7. data/bootstrap/os/ubuntu/06_puppet.sh +7 -12
  8. data/bootstrap/os/ubuntu/09_nucleon.sh +1 -1
  9. data/bootstrap/os/ubuntu/10_corl.sh +1 -4
  10. data/corl.gemspec +193 -40
  11. data/lib/CORL/builder/identity.rb +68 -0
  12. data/lib/CORL/builder/package.rb +75 -0
  13. data/lib/CORL/configuration/file.rb +5 -5
  14. data/lib/CORL/machine/{aws.rb → AWS.rb} +2 -2
  15. data/lib/CORL/machine/physical.rb +1 -1
  16. data/lib/CORL/machine/rackspace.rb +1 -1
  17. data/lib/CORL/machine/vagrant.rb +2 -2
  18. data/lib/CORL/network/{default.rb → CORL.rb} +1 -1
  19. data/lib/CORL/node/{aws.rb → AWS.rb} +1 -1
  20. data/lib/CORL/node/local.rb +1 -1
  21. data/lib/CORL/node/vagrant.rb +7 -2
  22. data/lib/CORL/provisioner/puppetnode.rb +139 -131
  23. data/lib/core/build.rb +112 -0
  24. data/lib/core/facade.rb +48 -8
  25. data/lib/core/mixin/builder.rb +158 -0
  26. data/lib/core/mixin/lookup.rb +51 -20
  27. data/lib/core/mixin/machine/ssh.rb +16 -4
  28. data/lib/core/plugin/builder.rb +49 -0
  29. data/lib/core/plugin/{action.rb → cloud_action.rb} +22 -16
  30. data/lib/core/plugin/configuration.rb +9 -3
  31. data/lib/core/plugin/fog_machine.rb +3 -3
  32. data/lib/core/plugin/fog_node.rb +1 -1
  33. data/lib/core/plugin/machine.rb +2 -2
  34. data/lib/core/plugin/network.rb +39 -10
  35. data/lib/core/plugin/node.rb +95 -35
  36. data/lib/core/plugin/provisioner.rb +133 -113
  37. data/lib/core/util/puppet/resource.rb +1 -1
  38. data/lib/core/vagrant/actions/delete_cache.rb +7 -1
  39. data/lib/core/vagrant/commands/launcher.rb +2 -2
  40. data/lib/core/vagrant/config.rb +29 -2
  41. data/lib/corl.rb +9 -8
  42. data/lib/facter/corl_config_ready.rb +1 -1
  43. data/lib/facter/vagrant_exists.rb +1 -1
  44. data/lib/nucleon/action/cloud/create.rb +51 -0
  45. data/lib/nucleon/action/cloud/hiera.rb +61 -0
  46. data/lib/{CORL/action → nucleon/action/cloud}/images.rb +11 -2
  47. data/lib/nucleon/action/cloud/inspect.rb +47 -0
  48. data/lib/{CORL/action → nucleon/action/cloud}/machines.rb +11 -2
  49. data/lib/{CORL/action → nucleon/action/cloud}/regions.rb +11 -2
  50. data/lib/{CORL/action → nucleon/action/cloud}/vagrantfile.rb +11 -2
  51. data/lib/{CORL/action/ip.rb → nucleon/action/node/IP.rb} +11 -2
  52. data/lib/{CORL/action/ssh.rb → nucleon/action/node/SSH.rb} +15 -7
  53. data/lib/{CORL/action → nucleon/action/node}/authorize.rb +11 -2
  54. data/lib/{CORL/action → nucleon/action/node}/bootstrap.rb +13 -4
  55. data/lib/nucleon/action/node/build.rb +49 -0
  56. data/lib/{CORL/action → nucleon/action/node}/destroy.rb +14 -5
  57. data/lib/{CORL/action → nucleon/action/node}/exec.rb +11 -2
  58. data/lib/{CORL/action → nucleon/action/node}/facts.rb +12 -3
  59. data/lib/{CORL/action → nucleon/action/node}/image.rb +13 -4
  60. data/lib/nucleon/action/node/keypair.rb +85 -0
  61. data/lib/{CORL/action → nucleon/action/node}/lookup.rb +13 -4
  62. data/lib/{CORL/action → nucleon/action/node}/provision.rb +30 -8
  63. data/lib/{CORL/action → nucleon/action/node}/reboot.rb +13 -4
  64. data/lib/{CORL/action → nucleon/action/node}/revoke.rb +11 -2
  65. data/lib/{CORL/action → nucleon/action/node}/seed.rb +13 -4
  66. data/lib/{CORL/action → nucleon/action/node}/spawn.rb +19 -9
  67. data/lib/{CORL/action → nucleon/action/node}/start.rb +13 -4
  68. data/lib/{CORL/action → nucleon/action/node}/stop.rb +13 -4
  69. data/lib/{CORL → nucleon}/event/puppet.rb +2 -2
  70. data/lib/{CORL → nucleon}/template/environment.rb +2 -2
  71. data/lib/puppet/indirector/corl.rb +7 -4
  72. data/lib/puppet/parser/functions/corl_resources.rb +1 -0
  73. data/lib/puppet/parser/functions/global_array.rb +2 -1
  74. data/lib/puppet/parser/functions/global_hash.rb +2 -1
  75. data/lib/puppet/parser/functions/global_param.rb +2 -1
  76. data/lib/puppet/parser/functions/module_array.rb +2 -1
  77. data/lib/puppet/parser/functions/module_hash.rb +3 -2
  78. data/lib/puppet/parser/functions/module_param.rb +3 -2
  79. data/lib/puppet/parser/functions/render.rb +1 -0
  80. data/locales/en.yml +80 -0
  81. data/rdoc/site/0.4.29/CORL/Action/Authorize.html +485 -0
  82. data/rdoc/site/0.4.29/CORL/Action/Bootstrap.html +546 -0
  83. data/rdoc/site/0.4.29/CORL/Action/Build.html +396 -0
  84. data/rdoc/site/0.4.29/CORL/Action/Destroy.html +515 -0
  85. data/rdoc/site/0.4.29/CORL/Action/Exec.html +472 -0
  86. data/rdoc/site/0.4.29/CORL/Action/Facts.html +398 -0
  87. data/rdoc/site/0.4.29/CORL/Action/Image.html +515 -0
  88. data/rdoc/site/0.4.29/CORL/Action/Images.html +514 -0
  89. data/rdoc/site/0.4.29/CORL/Action/Ip.html +395 -0
  90. data/rdoc/site/0.4.29/CORL/Action/Keypair.html +494 -0
  91. data/rdoc/site/0.4.29/CORL/Action/Lookup.html +474 -0
  92. data/rdoc/site/0.4.29/CORL/Action/Machines.html +509 -0
  93. data/rdoc/site/0.4.29/CORL/Action/Provision.html +456 -0
  94. data/rdoc/site/0.4.29/CORL/Action/Reboot.html +515 -0
  95. data/rdoc/site/0.4.29/CORL/Action/Regions.html +509 -0
  96. data/rdoc/site/0.4.29/CORL/Action/Revoke.html +483 -0
  97. data/rdoc/site/0.4.29/CORL/Action/Seed.html +544 -0
  98. data/rdoc/site/0.4.29/CORL/Action/Spawn.html +616 -0
  99. data/rdoc/site/0.4.29/CORL/Action/Ssh.html +526 -0
  100. data/rdoc/site/0.4.29/CORL/Action/Start.html +515 -0
  101. data/rdoc/site/0.4.29/CORL/Action/Stop.html +515 -0
  102. data/rdoc/site/0.4.29/CORL/Action/Vagrantfile.html +457 -0
  103. data/rdoc/site/0.4.29/CORL/Action.html +360 -0
  104. data/rdoc/site/0.4.29/CORL/Configuration/File.html +1128 -0
  105. data/rdoc/site/0.4.29/CORL/Configuration.html +339 -0
  106. data/rdoc/site/0.4.29/CORL/Errors.html +339 -0
  107. data/rdoc/site/0.4.29/CORL/Event/Puppet.html +673 -0
  108. data/rdoc/site/0.4.29/CORL/Event.html +339 -0
  109. data/rdoc/site/0.4.29/CORL/Facade.html +742 -0
  110. data/rdoc/site/0.4.29/CORL/Machine/Aws.html +733 -0
  111. data/rdoc/site/0.4.29/CORL/Machine/Fog.html +1269 -0
  112. data/rdoc/site/0.4.29/CORL/Machine/Physical.html +1039 -0
  113. data/rdoc/site/0.4.29/CORL/Machine/Rackspace.html +514 -0
  114. data/rdoc/site/0.4.29/CORL/Machine/Vagrant.html +1300 -0
  115. data/rdoc/site/0.4.29/CORL/Machine.html +343 -0
  116. data/rdoc/site/0.4.29/CORL/Mixin/Action/Keypair.html +572 -0
  117. data/rdoc/site/0.4.29/CORL/Mixin/Action.html +339 -0
  118. data/rdoc/site/0.4.29/CORL/Mixin/Lookup.html +954 -0
  119. data/rdoc/site/0.4.29/CORL/Mixin/Machine/SSH.html +643 -0
  120. data/rdoc/site/0.4.29/CORL/Mixin/Machine.html +339 -0
  121. data/rdoc/site/0.4.29/CORL/Mixin/Macro/NetworkSettings.html +464 -0
  122. data/rdoc/site/0.4.29/CORL/Mixin/Macro.html +339 -0
  123. data/rdoc/site/0.4.29/CORL/Mixin.html +342 -0
  124. data/rdoc/site/0.4.29/CORL/Network/Default.html +391 -0
  125. data/rdoc/site/0.4.29/CORL/Network.html +339 -0
  126. data/rdoc/site/0.4.29/CORL/Node/Aws.html +716 -0
  127. data/rdoc/site/0.4.29/CORL/Node/Fog.html +1192 -0
  128. data/rdoc/site/0.4.29/CORL/Node/Local.html +424 -0
  129. data/rdoc/site/0.4.29/CORL/Node/Rackspace.html +709 -0
  130. data/rdoc/site/0.4.29/CORL/Node/Vagrant.html +1451 -0
  131. data/rdoc/site/0.4.29/CORL/Node.html +343 -0
  132. data/rdoc/site/0.4.29/CORL/Plugin/CloudAction.html +810 -0
  133. data/rdoc/site/0.4.29/CORL/Plugin.html +339 -0
  134. data/rdoc/site/0.4.29/CORL/Provisioner/Puppetnode.html +1095 -0
  135. data/rdoc/site/0.4.29/CORL/Provisioner.html +339 -0
  136. data/rdoc/site/0.4.29/CORL/Template/Environment.html +528 -0
  137. data/rdoc/site/0.4.29/CORL/Template.html +339 -0
  138. data/rdoc/site/0.4.29/CORL/Util/Puppet/Resource.html +1038 -0
  139. data/rdoc/site/0.4.29/CORL/Util/Puppet/ResourceGroup.html +920 -0
  140. data/rdoc/site/0.4.29/CORL/Util/Puppet.html +1087 -0
  141. data/rdoc/site/0.4.29/CORL/Util.html +341 -0
  142. data/rdoc/site/0.4.29/CORL/Vagrant/Config.html +896 -0
  143. data/rdoc/site/0.4.29/CORL/Vagrant.html +418 -0
  144. data/rdoc/site/0.4.29/CORL.html +465 -0
  145. data/rdoc/site/0.4.29/Facter/Util/Loader.html +396 -0
  146. data/rdoc/site/0.4.29/Facter/Util.html +339 -0
  147. data/rdoc/site/0.4.29/Facter.html +339 -0
  148. data/rdoc/site/0.4.29/Fog/Compute/AWS/Server.html +423 -0
  149. data/rdoc/site/0.4.29/Fog/Compute/AWS.html +345 -0
  150. data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2/Server.html +408 -0
  151. data/rdoc/site/0.4.29/Fog/Compute/RackspaceV2.html +345 -0
  152. data/rdoc/site/0.4.29/Fog/Compute.html +340 -0
  153. data/rdoc/site/0.4.29/Fog.html +340 -0
  154. data/rdoc/site/0.4.29/Hiera/Backend.html +422 -0
  155. data/rdoc/site/0.4.29/Hiera/Corl_logger.html +449 -0
  156. data/rdoc/site/0.4.29/Hiera.html +346 -0
  157. data/rdoc/site/0.4.29/Nucleon/Config.html +357 -0
  158. data/rdoc/site/0.4.29/Nucleon/Plugin/Base.html +345 -0
  159. data/rdoc/site/0.4.29/Nucleon/Plugin/Configuration.html +1213 -0
  160. data/rdoc/site/0.4.29/Nucleon/Plugin/Machine.html +1279 -0
  161. data/rdoc/site/0.4.29/Nucleon/Plugin/Network.html +1425 -0
  162. data/rdoc/site/0.4.29/Nucleon/Plugin/Node.html +3715 -0
  163. data/rdoc/site/0.4.29/Nucleon/Plugin/Provisioner.html +1297 -0
  164. data/rdoc/site/0.4.29/Nucleon/Plugin.html +344 -0
  165. data/rdoc/site/0.4.29/Nucleon.html +344 -0
  166. data/rdoc/site/0.4.29/Object.html +358 -0
  167. data/rdoc/site/0.4.29/Puppet/DataBinding/Corl.html +345 -0
  168. data/rdoc/site/0.4.29/Puppet/DataBinding.html +338 -0
  169. data/rdoc/site/0.4.29/Puppet/Indirector/Corl.html +454 -0
  170. data/rdoc/site/0.4.29/Puppet/Indirector.html +338 -0
  171. data/rdoc/site/0.4.29/Puppet/Parser/Functions.html +480 -0
  172. data/rdoc/site/0.4.29/Puppet/Parser.html +338 -0
  173. data/rdoc/site/0.4.29/Puppet.html +338 -0
  174. data/rdoc/site/0.4.29/README_rdoc.html +340 -0
  175. data/rdoc/site/0.4.29/Vagrant/Config/Loader.html +399 -0
  176. data/rdoc/site/0.4.29/Vagrant/Config.html +339 -0
  177. data/rdoc/site/0.4.29/Vagrant/Vagrantfile.html +392 -0
  178. data/rdoc/site/0.4.29/Vagrant.html +346 -0
  179. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/DeleteCache.html +396 -0
  180. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/InitKeys.html +408 -0
  181. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action/LinkNetwork.html +406 -0
  182. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Action.html +341 -0
  183. data/rdoc/site/0.4.29/VagrantPlugins/CORL/BaseAction.html +491 -0
  184. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command/Launcher.html +533 -0
  185. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Command.html +339 -0
  186. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config/CORL.html +732 -0
  187. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Config.html +339 -0
  188. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Plugin.html +345 -0
  189. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner/CORL.html +536 -0
  190. data/rdoc/site/0.4.29/VagrantPlugins/CORL/Provisioner.html +339 -0
  191. data/rdoc/site/0.4.29/VagrantPlugins/CORL.html +346 -0
  192. data/rdoc/site/0.4.29/VagrantPlugins.html +346 -0
  193. data/rdoc/site/0.4.29/created.rid +96 -0
  194. data/rdoc/site/0.4.29/images/add.png +0 -0
  195. data/rdoc/site/0.4.29/images/brick.png +0 -0
  196. data/rdoc/site/0.4.29/images/brick_link.png +0 -0
  197. data/rdoc/site/0.4.29/images/bug.png +0 -0
  198. data/rdoc/site/0.4.29/images/bullet_black.png +0 -0
  199. data/rdoc/site/0.4.29/images/bullet_toggle_minus.png +0 -0
  200. data/rdoc/site/0.4.29/images/bullet_toggle_plus.png +0 -0
  201. data/rdoc/site/0.4.29/images/date.png +0 -0
  202. data/rdoc/site/0.4.29/images/delete.png +0 -0
  203. data/rdoc/site/0.4.29/images/find.png +0 -0
  204. data/rdoc/site/0.4.29/images/loadingAnimation.gif +0 -0
  205. data/rdoc/site/0.4.29/images/macFFBgHack.png +0 -0
  206. data/rdoc/site/0.4.29/images/package.png +0 -0
  207. data/rdoc/site/0.4.29/images/page_green.png +0 -0
  208. data/rdoc/site/0.4.29/images/page_white_text.png +0 -0
  209. data/rdoc/site/0.4.29/images/page_white_width.png +0 -0
  210. data/rdoc/site/0.4.29/images/plugin.png +0 -0
  211. data/rdoc/site/0.4.29/images/ruby.png +0 -0
  212. data/rdoc/site/0.4.29/images/tag_blue.png +0 -0
  213. data/rdoc/site/0.4.29/images/tag_green.png +0 -0
  214. data/rdoc/site/0.4.29/images/transparent.png +0 -0
  215. data/rdoc/site/0.4.29/images/wrench.png +0 -0
  216. data/rdoc/site/0.4.29/images/wrench_orange.png +0 -0
  217. data/rdoc/site/0.4.29/images/zoom.png +0 -0
  218. data/rdoc/site/0.4.29/index.html +339 -0
  219. data/rdoc/site/0.4.29/js/darkfish.js +155 -0
  220. data/rdoc/site/0.4.29/js/jquery.js +18 -0
  221. data/rdoc/site/0.4.29/js/navigation.js +142 -0
  222. data/rdoc/site/0.4.29/js/search.js +94 -0
  223. data/rdoc/site/0.4.29/js/search_index.js +1 -0
  224. data/rdoc/site/0.4.29/js/searcher.js +228 -0
  225. data/rdoc/site/0.4.29/rdoc.css +543 -0
  226. data/rdoc/site/0.4.29/table_of_contents.html +1561 -0
  227. metadata +192 -45
  228. data/lib/CORL/action/build.rb +0 -22
  229. data/lib/CORL/action/keypair.rb +0 -56
  230. data/lib/core/mod/facter_loader.rb +0 -15
@@ -0,0 +1,1451 @@
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::Node::Vagrant - corl 0.4.29</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/CORL/node/vagrant.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">CORL.plugin_class(:node)
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-i-bootstrap_script">#bootstrap_script</a>
74
+
75
+ <li><a href="#method-i-bootstrap_script-3D">#bootstrap_script=</a>
76
+
77
+ <li><a href="#method-i-build">#build</a>
78
+
79
+ <li><a href="#method-i-build_time">#build_time</a>
80
+
81
+ <li><a href="#method-i-build_time-3D">#build_time=</a>
82
+
83
+ <li><a href="#method-i-create">#create</a>
84
+
85
+ <li><a href="#method-i-create_image">#create_image</a>
86
+
87
+ <li><a href="#method-i-destroy">#destroy</a>
88
+
89
+ <li><a href="#method-i-download">#download</a>
90
+
91
+ <li><a href="#method-i-exec">#exec</a>
92
+
93
+ <li><a href="#method-i-exec_options">#exec_options</a>
94
+
95
+ <li><a href="#method-i-filter_output">#filter_output</a>
96
+
97
+ <li><a href="#method-i-image_id">#image_id</a>
98
+
99
+ <li><a href="#method-i-image_search_text">#image_search_text</a>
100
+
101
+ <li><a href="#method-i-init_shares">#init_shares</a>
102
+
103
+ <li><a href="#method-i-machine_config">#machine_config</a>
104
+
105
+ <li><a href="#method-i-machine_type_id">#machine_type_id</a>
106
+
107
+ <li><a href="#method-i-normalize">#normalize</a>
108
+
109
+ <li><a href="#method-i-reload">#reload</a>
110
+
111
+ <li><a href="#method-i-render_image">#render_image</a>
112
+
113
+ <li><a href="#method-i-render_machine_type">#render_machine_type</a>
114
+
115
+ <li><a href="#method-i-save">#save</a>
116
+
117
+ <li><a href="#method-i-shares">#shares</a>
118
+
119
+ <li><a href="#method-i-shares-3D">#shares=</a>
120
+
121
+ <li><a href="#method-i-ssh">#ssh</a>
122
+
123
+ <li><a href="#method-i-ssh-3D">#ssh=</a>
124
+
125
+ <li><a href="#method-i-start">#start</a>
126
+
127
+ <li><a href="#method-i-state">#state</a>
128
+
129
+ <li><a href="#method-i-stop">#stop</a>
130
+
131
+ <li><a href="#method-i-upload">#upload</a>
132
+
133
+ <li><a href="#method-i-vm">#vm</a>
134
+
135
+ <li><a href="#method-i-vm-3D">#vm=</a>
136
+
137
+ </ul>
138
+ </nav>
139
+
140
+ </div>
141
+
142
+ <div id="project-metadata">
143
+ <nav id="fileindex-section" class="section project-section">
144
+ <h3 class="section-header">Pages</h3>
145
+
146
+ <ul>
147
+
148
+ <li class="file"><a href="../../README_rdoc.html">README</a>
149
+
150
+ </ul>
151
+ </nav>
152
+
153
+ <nav id="classindex-section" class="section project-section">
154
+ <h3 class="section-header">Class and Module Index</h3>
155
+
156
+ <ul class="link-list">
157
+
158
+ <li><a href="../../CORL.html">CORL</a>
159
+
160
+ <li><a href="../../CORL/Action.html">CORL::Action</a>
161
+
162
+ <li><a href="../../CORL/Action/Authorize.html">CORL::Action::Authorize</a>
163
+
164
+ <li><a href="../../CORL/Action/Bootstrap.html">CORL::Action::Bootstrap</a>
165
+
166
+ <li><a href="../../CORL/Action/Build.html">CORL::Action::Build</a>
167
+
168
+ <li><a href="../../CORL/Action/Destroy.html">CORL::Action::Destroy</a>
169
+
170
+ <li><a href="../../CORL/Action/Exec.html">CORL::Action::Exec</a>
171
+
172
+ <li><a href="../../CORL/Action/Facts.html">CORL::Action::Facts</a>
173
+
174
+ <li><a href="../../CORL/Action/Image.html">CORL::Action::Image</a>
175
+
176
+ <li><a href="../../CORL/Action/Images.html">CORL::Action::Images</a>
177
+
178
+ <li><a href="../../CORL/Action/Ip.html">CORL::Action::Ip</a>
179
+
180
+ <li><a href="../../CORL/Action/Keypair.html">CORL::Action::Keypair</a>
181
+
182
+ <li><a href="../../CORL/Action/Lookup.html">CORL::Action::Lookup</a>
183
+
184
+ <li><a href="../../CORL/Action/Machines.html">CORL::Action::Machines</a>
185
+
186
+ <li><a href="../../CORL/Action/Provision.html">CORL::Action::Provision</a>
187
+
188
+ <li><a href="../../CORL/Action/Reboot.html">CORL::Action::Reboot</a>
189
+
190
+ <li><a href="../../CORL/Action/Regions.html">CORL::Action::Regions</a>
191
+
192
+ <li><a href="../../CORL/Action/Revoke.html">CORL::Action::Revoke</a>
193
+
194
+ <li><a href="../../CORL/Action/Seed.html">CORL::Action::Seed</a>
195
+
196
+ <li><a href="../../CORL/Action/Spawn.html">CORL::Action::Spawn</a>
197
+
198
+ <li><a href="../../CORL/Action/Ssh.html">CORL::Action::Ssh</a>
199
+
200
+ <li><a href="../../CORL/Action/Start.html">CORL::Action::Start</a>
201
+
202
+ <li><a href="../../CORL/Action/Stop.html">CORL::Action::Stop</a>
203
+
204
+ <li><a href="../../CORL/Action/Vagrantfile.html">CORL::Action::Vagrantfile</a>
205
+
206
+ <li><a href="../../CORL/Configuration.html">CORL::Configuration</a>
207
+
208
+ <li><a href="../../CORL/Configuration/File.html">CORL::Configuration::File</a>
209
+
210
+ <li><a href="../../CORL/Errors.html">CORL::Errors</a>
211
+
212
+ <li><a href="../../CORL/Event.html">CORL::Event</a>
213
+
214
+ <li><a href="../../CORL/Event/Puppet.html">CORL::Event::Puppet</a>
215
+
216
+ <li><a href="../../CORL/Facade.html">CORL::Facade</a>
217
+
218
+ <li><a href="../../CORL/Machine.html">CORL::Machine</a>
219
+
220
+ <li><a href="../../CORL/Machine/Aws.html">CORL::Machine::Aws</a>
221
+
222
+ <li><a href="../../CORL/Machine/Fog.html">CORL::Machine::Fog</a>
223
+
224
+ <li><a href="../../CORL/Machine/Physical.html">CORL::Machine::Physical</a>
225
+
226
+ <li><a href="../../CORL/Machine/Rackspace.html">CORL::Machine::Rackspace</a>
227
+
228
+ <li><a href="../../CORL/Machine/Vagrant.html">CORL::Machine::Vagrant</a>
229
+
230
+ <li><a href="../../CORL/Mixin.html">CORL::Mixin</a>
231
+
232
+ <li><a href="../../CORL/Mixin/Action.html">CORL::Mixin::Action</a>
233
+
234
+ <li><a href="../../CORL/Mixin/Action/Keypair.html">CORL::Mixin::Action::Keypair</a>
235
+
236
+ <li><a href="../../CORL/Mixin/Lookup.html">CORL::Mixin::Lookup</a>
237
+
238
+ <li><a href="../../CORL/Mixin/Machine.html">CORL::Mixin::Machine</a>
239
+
240
+ <li><a href="../../CORL/Mixin/Machine/SSH.html">CORL::Mixin::Machine::SSH</a>
241
+
242
+ <li><a href="../../CORL/Mixin/Macro.html">CORL::Mixin::Macro</a>
243
+
244
+ <li><a href="../../CORL/Mixin/Macro/NetworkSettings.html">CORL::Mixin::Macro::NetworkSettings</a>
245
+
246
+ <li><a href="../../CORL/Network.html">CORL::Network</a>
247
+
248
+ <li><a href="../../CORL/Network/Default.html">CORL::Network::Default</a>
249
+
250
+ <li><a href="../../CORL/Node.html">CORL::Node</a>
251
+
252
+ <li><a href="../../CORL/Node/Aws.html">CORL::Node::Aws</a>
253
+
254
+ <li><a href="../../CORL/Node/Fog.html">CORL::Node::Fog</a>
255
+
256
+ <li><a href="../../CORL/Node/Local.html">CORL::Node::Local</a>
257
+
258
+ <li><a href="../../CORL/Node/Rackspace.html">CORL::Node::Rackspace</a>
259
+
260
+ <li><a href="../../CORL/Node/Vagrant.html">CORL::Node::Vagrant</a>
261
+
262
+ <li><a href="../../CORL/Plugin.html">CORL::Plugin</a>
263
+
264
+ <li><a href="../../CORL/Plugin/CloudAction.html">CORL::Plugin::CloudAction</a>
265
+
266
+ <li><a href="../../CORL/Provisioner.html">CORL::Provisioner</a>
267
+
268
+ <li><a href="../../CORL/Provisioner/Puppetnode.html">CORL::Provisioner::Puppetnode</a>
269
+
270
+ <li><a href="../../CORL/Template.html">CORL::Template</a>
271
+
272
+ <li><a href="../../CORL/Template/Environment.html">CORL::Template::Environment</a>
273
+
274
+ <li><a href="../../CORL/Util.html">CORL::Util</a>
275
+
276
+ <li><a href="../../CORL/Util/Puppet.html">CORL::Util::Puppet</a>
277
+
278
+ <li><a href="../../CORL/Util/Puppet/Resource.html">CORL::Util::Puppet::Resource</a>
279
+
280
+ <li><a href="../../CORL/Util/Puppet/ResourceGroup.html">CORL::Util::Puppet::ResourceGroup</a>
281
+
282
+ <li><a href="../../CORL/Vagrant.html">CORL::Vagrant</a>
283
+
284
+ <li><a href="../../CORL/Vagrant/Config.html">CORL::Vagrant::Config</a>
285
+
286
+ <li><a href="../../VagrantPlugins.html">VagrantPlugins</a>
287
+
288
+ <li><a href="../../VagrantPlugins/CORL.html">VagrantPlugins::CORL</a>
289
+
290
+ <li><a href="../../VagrantPlugins/CORL/Action.html">VagrantPlugins::CORL::Action</a>
291
+
292
+ <li><a href="../../VagrantPlugins/CORL/Action/DeleteCache.html">VagrantPlugins::CORL::Action::DeleteCache</a>
293
+
294
+ <li><a href="../../VagrantPlugins/CORL/Action/InitKeys.html">VagrantPlugins::CORL::Action::InitKeys</a>
295
+
296
+ <li><a href="../../VagrantPlugins/CORL/Action/LinkNetwork.html">VagrantPlugins::CORL::Action::LinkNetwork</a>
297
+
298
+ <li><a href="../../VagrantPlugins/CORL/BaseAction.html">VagrantPlugins::CORL::BaseAction</a>
299
+
300
+ <li><a href="../../VagrantPlugins/CORL/Command.html">VagrantPlugins::CORL::Command</a>
301
+
302
+ <li><a href="../../VagrantPlugins/CORL/Command/Launcher.html">VagrantPlugins::CORL::Command::Launcher</a>
303
+
304
+ <li><a href="../../VagrantPlugins/CORL/Config.html">VagrantPlugins::CORL::Config</a>
305
+
306
+ <li><a href="../../VagrantPlugins/CORL/Config/CORL.html">VagrantPlugins::CORL::Config::CORL</a>
307
+
308
+ <li><a href="../../VagrantPlugins/CORL/Plugin.html">VagrantPlugins::CORL::Plugin</a>
309
+
310
+ <li><a href="../../VagrantPlugins/CORL/Provisioner.html">VagrantPlugins::CORL::Provisioner</a>
311
+
312
+ <li><a href="../../VagrantPlugins/CORL/Provisioner/CORL.html">VagrantPlugins::CORL::Provisioner::CORL</a>
313
+
314
+ <li><a href="../../Nucleon.html">Nucleon</a>
315
+
316
+ <li><a href="../../Nucleon/Config.html">Nucleon::Config</a>
317
+
318
+ <li><a href="../../Nucleon/Plugin.html">Nucleon::Plugin</a>
319
+
320
+ <li><a href="../../Nucleon/Plugin/Base.html">Nucleon::Plugin::Base</a>
321
+
322
+ <li><a href="../../Nucleon/Plugin/Configuration.html">Nucleon::Plugin::Configuration</a>
323
+
324
+ <li><a href="../../Nucleon/Plugin/Machine.html">Nucleon::Plugin::Machine</a>
325
+
326
+ <li><a href="../../Nucleon/Plugin/Network.html">Nucleon::Plugin::Network</a>
327
+
328
+ <li><a href="../../Nucleon/Plugin/Node.html">Nucleon::Plugin::Node</a>
329
+
330
+ <li><a href="../../Nucleon/Plugin/Provisioner.html">Nucleon::Plugin::Provisioner</a>
331
+
332
+ <li><a href="../../Puppet.html">Puppet</a>
333
+
334
+ <li><a href="../../Puppet/DataBinding.html">Puppet::DataBinding</a>
335
+
336
+ <li><a href="../../Puppet/DataBinding/Corl.html">Puppet::DataBinding::Corl</a>
337
+
338
+ <li><a href="../../Puppet/Indirector.html">Puppet::Indirector</a>
339
+
340
+ <li><a href="../../Puppet/Indirector/Corl.html">Puppet::Indirector::Corl</a>
341
+
342
+ <li><a href="../../Puppet/Parser.html">Puppet::Parser</a>
343
+
344
+ <li><a href="../../Puppet/Parser/Functions.html">Puppet::Parser::Functions</a>
345
+
346
+ <li><a href="../../Fog.html">Fog</a>
347
+
348
+ <li><a href="../../Fog/Compute.html">Fog::Compute</a>
349
+
350
+ <li><a href="../../Fog/Compute/AWS.html">Fog::Compute::AWS</a>
351
+
352
+ <li><a href="../../Fog/Compute/AWS/Server.html">Fog::Compute::AWS::Server</a>
353
+
354
+ <li><a href="../../Fog/Compute/RackspaceV2.html">Fog::Compute::RackspaceV2</a>
355
+
356
+ <li><a href="../../Fog/Compute/RackspaceV2/Server.html">Fog::Compute::RackspaceV2::Server</a>
357
+
358
+ <li><a href="../../Vagrant.html">Vagrant</a>
359
+
360
+ <li><a href="../../Vagrant/Config.html">Vagrant::Config</a>
361
+
362
+ <li><a href="../../Vagrant/Config/Loader.html">Vagrant::Config::Loader</a>
363
+
364
+ <li><a href="../../Vagrant/Vagrantfile.html">Vagrant::Vagrantfile</a>
365
+
366
+ <li><a href="../../Facter.html">Facter</a>
367
+
368
+ <li><a href="../../Facter/Util.html">Facter::Util</a>
369
+
370
+ <li><a href="../../Facter/Util/Loader.html">Facter::Util::Loader</a>
371
+
372
+ <li><a href="../../Hiera.html">Hiera</a>
373
+
374
+ <li><a href="../../Hiera/Backend.html">Hiera::Backend</a>
375
+
376
+ <li><a href="../../Hiera/Corl_logger.html">Hiera::Corl_logger</a>
377
+
378
+ <li><a href="../../Object.html">Object</a>
379
+
380
+ </ul>
381
+ </nav>
382
+
383
+ </div>
384
+ </nav>
385
+
386
+ <div id="documentation">
387
+ <h1 class="class">class CORL::Node::Vagrant</h1>
388
+
389
+ <div id="description" class="description">
390
+
391
+ </div><!-- description -->
392
+
393
+
394
+
395
+
396
+ <section id="5Buntitled-5D" class="documentation-section">
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+ <!-- Methods -->
406
+
407
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
408
+ <h3 class="section-header">Public Instance Methods</h3>
409
+
410
+
411
+ <div id="method-i-bootstrap_script" class="method-detail ">
412
+
413
+ <div class="method-heading">
414
+ <span class="method-name">bootstrap_script</span><span
415
+ class="method-args">()</span>
416
+ <span class="method-click-advice">click to toggle source</span>
417
+ </div>
418
+
419
+
420
+ <div class="method-description">
421
+
422
+
423
+
424
+
425
+
426
+ <div class="method-source-code" id="bootstrap_script-source">
427
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 80</span>
428
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">bootstrap_script</span>
429
+ <span class="ruby-identifier">cache_setting</span>(<span class="ruby-value">:bootstrap</span>, <span class="ruby-keyword">nil</span>)
430
+ <span class="ruby-keyword">end</span></pre>
431
+ </div><!-- bootstrap_script-source -->
432
+
433
+ </div>
434
+
435
+
436
+
437
+
438
+ </div><!-- bootstrap_script-method -->
439
+
440
+
441
+ <div id="method-i-bootstrap_script-3D" class="method-detail ">
442
+
443
+ <div class="method-heading">
444
+ <span class="method-name">bootstrap_script=</span><span
445
+ class="method-args">(bootstrap)</span>
446
+ <span class="method-click-advice">click to toggle source</span>
447
+ </div>
448
+
449
+
450
+ <div class="method-description">
451
+
452
+
453
+
454
+
455
+
456
+ <div class="method-source-code" id="bootstrap_script-3D-source">
457
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 76</span>
458
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">bootstrap_script=</span><span class="ruby-identifier">bootstrap</span>
459
+ <span class="ruby-identifier">set_cache_setting</span>(<span class="ruby-value">:bootstrap</span>, <span class="ruby-identifier">bootstrap</span>)
460
+ <span class="ruby-keyword">end</span></pre>
461
+ </div><!-- bootstrap_script-3D-source -->
462
+
463
+ </div>
464
+
465
+
466
+
467
+
468
+ </div><!-- bootstrap_script-3D-method -->
469
+
470
+
471
+ <div id="method-i-build" class="method-detail ">
472
+
473
+ <div class="method-heading">
474
+ <span class="method-name">build</span><span
475
+ class="method-args">(options = {})</span>
476
+ <span class="method-click-advice">click to toggle source</span>
477
+ </div>
478
+
479
+
480
+ <div class="method-description">
481
+
482
+
483
+
484
+
485
+
486
+ <div class="method-source-code" id="build-source">
487
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 105</span>
488
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">build</span>(<span class="ruby-identifier">options</span> = {})
489
+ <span class="ruby-keyword">super</span>(<span class="ruby-constant">Config</span>.<span class="ruby-identifier">ensure</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">import</span>({ <span class="ruby-value">:save</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword">false</span> }))
490
+ <span class="ruby-keyword">end</span></pre>
491
+ </div><!-- build-source -->
492
+
493
+ </div>
494
+
495
+
496
+
497
+
498
+ </div><!-- build-method -->
499
+
500
+
501
+ <div id="method-i-build_time" class="method-detail ">
502
+
503
+ <div class="method-heading">
504
+ <span class="method-name">build_time</span><span
505
+ class="method-args">()</span>
506
+ <span class="method-click-advice">click to toggle source</span>
507
+ </div>
508
+
509
+
510
+ <div class="method-description">
511
+
512
+
513
+
514
+
515
+
516
+ <div class="method-source-code" id="build_time-source">
517
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 70</span>
518
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">build_time</span>
519
+ <span class="ruby-identifier">cache_setting</span>(<span class="ruby-value">:build</span>, <span class="ruby-keyword">nil</span>)
520
+ <span class="ruby-keyword">end</span></pre>
521
+ </div><!-- build_time-source -->
522
+
523
+ </div>
524
+
525
+
526
+
527
+
528
+ </div><!-- build_time-method -->
529
+
530
+
531
+ <div id="method-i-build_time-3D" class="method-detail ">
532
+
533
+ <div class="method-heading">
534
+ <span class="method-name">build_time=</span><span
535
+ class="method-args">(time)</span>
536
+ <span class="method-click-advice">click to toggle source</span>
537
+ </div>
538
+
539
+
540
+ <div class="method-description">
541
+
542
+
543
+
544
+
545
+
546
+ <div class="method-source-code" id="build_time-3D-source">
547
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 66</span>
548
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">build_time=</span><span class="ruby-identifier">time</span>
549
+ <span class="ruby-identifier">set_cache_setting</span>(<span class="ruby-value">:build</span>, <span class="ruby-identifier">time</span>)
550
+ <span class="ruby-keyword">end</span></pre>
551
+ </div><!-- build_time-3D-source -->
552
+
553
+ </div>
554
+
555
+
556
+
557
+
558
+ </div><!-- build_time-3D-method -->
559
+
560
+
561
+ <div id="method-i-create" class="method-detail ">
562
+
563
+ <div class="method-heading">
564
+ <span class="method-name">create</span><span
565
+ class="method-args">(options = {})</span>
566
+ <span class="method-click-advice">click to toggle source</span>
567
+ </div>
568
+
569
+
570
+ <div class="method-description">
571
+
572
+
573
+
574
+
575
+
576
+ <div class="method-source-code" id="create-source">
577
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 111</span>
578
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">create</span>(<span class="ruby-identifier">options</span> = {})
579
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
580
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
581
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:create</span>))
582
+ <span class="ruby-identifier">config</span>[<span class="ruby-value">:provision_enabled</span>] = <span class="ruby-keyword">false</span>
583
+ <span class="ruby-keyword">end</span>
584
+ <span class="ruby-keyword">end</span>
585
+ <span class="ruby-keyword">end</span></pre>
586
+ </div><!-- create-source -->
587
+
588
+ </div>
589
+
590
+
591
+
592
+
593
+ </div><!-- create-method -->
594
+
595
+
596
+ <div id="method-i-create_image" class="method-detail ">
597
+
598
+ <div class="method-heading">
599
+ <span class="method-name">create_image</span><span
600
+ class="method-args">(options = {})</span>
601
+ <span class="method-click-advice">click to toggle source</span>
602
+ </div>
603
+
604
+
605
+ <div class="method-description">
606
+
607
+
608
+
609
+
610
+
611
+ <div class="method-source-code" id="create_image-source">
612
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 183</span>
613
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">create_image</span>(<span class="ruby-identifier">options</span> = {})
614
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
615
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
616
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:image</span>))
617
+ <span class="ruby-keyword">end</span>
618
+ <span class="ruby-keyword">end</span>
619
+ <span class="ruby-keyword">end</span></pre>
620
+ </div><!-- create_image-source -->
621
+
622
+ </div>
623
+
624
+
625
+
626
+
627
+ </div><!-- create_image-method -->
628
+
629
+
630
+ <div id="method-i-destroy" class="method-detail ">
631
+
632
+ <div class="method-heading">
633
+ <span class="method-name">destroy</span><span
634
+ class="method-args">(options = {})</span>
635
+ <span class="method-click-advice">click to toggle source</span>
636
+ </div>
637
+
638
+
639
+ <div class="method-description">
640
+
641
+
642
+
643
+
644
+
645
+ <div class="method-source-code" id="destroy-source">
646
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 205</span>
647
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">destroy</span>(<span class="ruby-identifier">options</span> = {})
648
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
649
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
650
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:destroy</span>))
651
+ <span class="ruby-keyword">end</span>
652
+ <span class="ruby-keyword">end</span>
653
+ <span class="ruby-keyword">end</span></pre>
654
+ </div><!-- destroy-source -->
655
+
656
+ </div>
657
+
658
+
659
+
660
+
661
+ </div><!-- destroy-method -->
662
+
663
+
664
+ <div id="method-i-download" class="method-detail ">
665
+
666
+ <div class="method-heading">
667
+ <span class="method-name">download</span><span
668
+ class="method-args">(remote_path, local_path, options = {})</span>
669
+ <span class="method-click-advice">click to toggle source</span>
670
+ </div>
671
+
672
+
673
+ <div class="method-description">
674
+
675
+
676
+
677
+
678
+
679
+ <div class="method-source-code" id="download-source">
680
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 122</span>
681
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">download</span>(<span class="ruby-identifier">remote_path</span>, <span class="ruby-identifier">local_path</span>, <span class="ruby-identifier">options</span> = {})
682
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
683
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
684
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:download</span>))
685
+ <span class="ruby-keyword">end</span>
686
+ <span class="ruby-keyword">end</span>
687
+ <span class="ruby-keyword">end</span></pre>
688
+ </div><!-- download-source -->
689
+
690
+ </div>
691
+
692
+
693
+
694
+
695
+ </div><!-- download-method -->
696
+
697
+
698
+ <div id="method-i-exec" class="method-detail ">
699
+
700
+ <div class="method-heading">
701
+ <span class="method-name">exec</span><span
702
+ class="method-args">(options = {})</span>
703
+ <span class="method-click-advice">click to toggle source</span>
704
+ </div>
705
+
706
+
707
+ <div class="method-description">
708
+
709
+
710
+
711
+
712
+
713
+ <div class="method-source-code" id="exec-source">
714
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 142</span>
715
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">exec</span>(<span class="ruby-identifier">options</span> = {})
716
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
717
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
718
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:exec</span>))
719
+ <span class="ruby-keyword">end</span>
720
+ <span class="ruby-keyword">end</span>
721
+ <span class="ruby-keyword">end</span></pre>
722
+ </div><!-- exec-source -->
723
+
724
+ </div>
725
+
726
+
727
+
728
+
729
+ </div><!-- exec-method -->
730
+
731
+
732
+ <div id="method-i-exec_options" class="method-detail ">
733
+
734
+ <div class="method-heading">
735
+ <span class="method-name">exec_options</span><span
736
+ class="method-args">(name, options = {})</span>
737
+ <span class="method-click-advice">click to toggle source</span>
738
+ </div>
739
+
740
+
741
+ <div class="method-description">
742
+
743
+
744
+
745
+
746
+
747
+ <div class="method-source-code" id="exec_options-source">
748
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 98</span>
749
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">exec_options</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span> = {})
750
+ <span class="ruby-identifier">extended_config</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>).<span class="ruby-identifier">export</span>
751
+ <span class="ruby-keyword">end</span></pre>
752
+ </div><!-- exec_options-source -->
753
+
754
+ </div>
755
+
756
+
757
+
758
+
759
+ </div><!-- exec_options-method -->
760
+
761
+
762
+ <div id="method-i-filter_output" class="method-detail ">
763
+
764
+ <div class="method-heading">
765
+ <span class="method-name">filter_output</span><span
766
+ class="method-args">(type, data)</span>
767
+ <span class="method-click-advice">click to toggle source</span>
768
+ </div>
769
+
770
+
771
+ <div class="method-description">
772
+
773
+
774
+
775
+
776
+
777
+ <div class="method-source-code" id="filter_output-source">
778
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 225</span>
779
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">filter_output</span>(<span class="ruby-identifier">type</span>, <span class="ruby-identifier">data</span>)
780
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value">:error</span>
781
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&#39;stdin: is not a tty&#39;</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&#39;unable to re-open stdin&#39;</span>)
782
+ <span class="ruby-identifier">data</span> = <span class="ruby-string">&#39;&#39;</span>
783
+ <span class="ruby-keyword">end</span>
784
+ <span class="ruby-keyword">end</span>
785
+ <span class="ruby-identifier">data</span>
786
+ <span class="ruby-keyword">end</span></pre>
787
+ </div><!-- filter_output-source -->
788
+
789
+ </div>
790
+
791
+
792
+
793
+
794
+ </div><!-- filter_output-method -->
795
+
796
+
797
+ <div id="method-i-image_id" class="method-detail ">
798
+
799
+ <div class="method-heading">
800
+ <span class="method-name">image_id</span><span
801
+ class="method-args">(image)</span>
802
+ <span class="method-click-advice">click to toggle source</span>
803
+ </div>
804
+
805
+
806
+ <div class="method-description">
807
+
808
+
809
+
810
+
811
+
812
+ <div class="method-source-code" id="image_id-source">
813
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 250</span>
814
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">image_id</span>(<span class="ruby-identifier">image</span>)
815
+ <span class="ruby-identifier">image</span>.<span class="ruby-identifier">id</span>
816
+ <span class="ruby-keyword">end</span></pre>
817
+ </div><!-- image_id-source -->
818
+
819
+ </div>
820
+
821
+
822
+
823
+
824
+ </div><!-- image_id-method -->
825
+
826
+
827
+ <div id="method-i-image_search_text" class="method-detail ">
828
+
829
+ <div class="method-heading">
830
+ <span class="method-name">image_search_text</span><span
831
+ class="method-args">(image)</span>
832
+ <span class="method-click-advice">click to toggle source</span>
833
+ </div>
834
+
835
+
836
+ <div class="method-description">
837
+
838
+
839
+
840
+
841
+
842
+ <div class="method-source-code" id="image_search_text-source">
843
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 262</span>
844
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">image_search_text</span>(<span class="ruby-identifier">image</span>)
845
+ <span class="ruby-identifier">image</span>.<span class="ruby-identifier">to_s</span>
846
+ <span class="ruby-keyword">end</span></pre>
847
+ </div><!-- image_search_text-source -->
848
+
849
+ </div>
850
+
851
+
852
+
853
+
854
+ </div><!-- image_search_text-method -->
855
+
856
+
857
+ <div id="method-i-init_shares" class="method-detail ">
858
+
859
+ <div class="method-heading">
860
+ <span class="method-name">init_shares</span><span
861
+ class="method-args">()</span>
862
+ <span class="method-click-advice">click to toggle source</span>
863
+ </div>
864
+
865
+
866
+ <div class="method-description">
867
+
868
+
869
+
870
+
871
+
872
+ <div class="method-source-code" id="init_shares-source">
873
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 216</span>
874
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">init_shares</span>
875
+ <span class="ruby-identifier">shares</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">name</span>, <span class="ruby-identifier">info</span><span class="ruby-operator">|</span>
876
+ <span class="ruby-identifier">local_dir</span> = <span class="ruby-identifier">info</span>[<span class="ruby-value">:local</span>]
877
+ <span class="ruby-identifier">network</span>.<span class="ruby-identifier">ignore</span>(<span class="ruby-identifier">local_dir</span>)
878
+ <span class="ruby-keyword">end</span>
879
+ <span class="ruby-keyword">end</span></pre>
880
+ </div><!-- init_shares-source -->
881
+
882
+ </div>
883
+
884
+
885
+
886
+
887
+ </div><!-- init_shares-method -->
888
+
889
+
890
+ <div id="method-i-machine_config" class="method-detail ">
891
+
892
+ <div class="method-heading">
893
+ <span class="method-name">machine_config</span><span
894
+ class="method-args">() { |config| ... }</span>
895
+ <span class="method-click-advice">click to toggle source</span>
896
+ </div>
897
+
898
+
899
+ <div class="method-description">
900
+
901
+
902
+
903
+
904
+
905
+ <div class="method-source-code" id="machine_config-source">
906
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 87</span>
907
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">machine_config</span>
908
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
909
+ <span class="ruby-identifier">config</span>[<span class="ruby-value">:vm</span>] = <span class="ruby-identifier">vm</span>
910
+ <span class="ruby-identifier">config</span>[<span class="ruby-value">:shares</span>] = <span class="ruby-identifier">shares</span>
911
+
912
+ <span class="ruby-keyword">yield</span>(<span class="ruby-identifier">config</span>) <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
913
+ <span class="ruby-keyword">end</span>
914
+ <span class="ruby-keyword">end</span></pre>
915
+ </div><!-- machine_config-source -->
916
+
917
+ </div>
918
+
919
+
920
+
921
+
922
+ </div><!-- machine_config-method -->
923
+
924
+
925
+ <div id="method-i-machine_type_id" class="method-detail ">
926
+
927
+ <div class="method-heading">
928
+ <span class="method-name">machine_type_id</span><span
929
+ class="method-args">(machine_type)</span>
930
+ <span class="method-click-advice">click to toggle source</span>
931
+ </div>
932
+
933
+
934
+ <div class="method-description">
935
+
936
+
937
+
938
+
939
+
940
+ <div class="method-source-code" id="machine_type_id-source">
941
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 237</span>
942
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">machine_type_id</span>(<span class="ruby-identifier">machine_type</span>)
943
+ <span class="ruby-identifier">machine_type</span>
944
+ <span class="ruby-keyword">end</span></pre>
945
+ </div><!-- machine_type_id-source -->
946
+
947
+ </div>
948
+
949
+
950
+
951
+
952
+ </div><!-- machine_type_id-method -->
953
+
954
+
955
+ <div id="method-i-normalize" class="method-detail ">
956
+
957
+ <div class="method-heading">
958
+ <span class="method-name">normalize</span><span
959
+ class="method-args">(reload) { || ... }</span>
960
+ <span class="method-click-advice">click to toggle source</span>
961
+ </div>
962
+
963
+
964
+ <div class="method-description">
965
+
966
+
967
+
968
+
969
+
970
+ <div class="method-source-code" id="normalize-source">
971
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 9</span>
972
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">normalize</span>(<span class="ruby-identifier">reload</span>)
973
+ <span class="ruby-keyword">super</span>
974
+
975
+ <span class="ruby-keyword">unless</span> <span class="ruby-identifier">reload</span>
976
+ <span class="ruby-identifier">machine_provider</span> = <span class="ruby-value">:vagrant</span>
977
+ <span class="ruby-identifier">machine_provider</span> = <span class="ruby-keyword">yield</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
978
+
979
+ <span class="ruby-identifier">myself</span>.<span class="ruby-identifier">machine</span> = <span class="ruby-identifier">create_machine</span>(<span class="ruby-value">:machine</span>, <span class="ruby-identifier">machine_provider</span>, <span class="ruby-identifier">machine_config</span>)
980
+ <span class="ruby-keyword">end</span>
981
+
982
+ <span class="ruby-identifier">network</span>.<span class="ruby-identifier">ignore</span>([ <span class="ruby-string">&#39;.vagrant&#39;</span>, <span class="ruby-string">&#39;boxes&#39;</span> ])
983
+ <span class="ruby-identifier">init_shares</span>
984
+ <span class="ruby-keyword">end</span></pre>
985
+ </div><!-- normalize-source -->
986
+
987
+ </div>
988
+
989
+
990
+
991
+
992
+ </div><!-- normalize-method -->
993
+
994
+
995
+ <div id="method-i-reload" class="method-detail ">
996
+
997
+ <div class="method-heading">
998
+ <span class="method-name">reload</span><span
999
+ class="method-args">(options = {})</span>
1000
+ <span class="method-click-advice">click to toggle source</span>
1001
+ </div>
1002
+
1003
+
1004
+ <div class="method-description">
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+ <div class="method-source-code" id="reload-source">
1011
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 172</span>
1012
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">reload</span>(<span class="ruby-identifier">options</span> = {})
1013
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
1014
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
1015
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:reload</span>))
1016
+ <span class="ruby-identifier">config</span>[<span class="ruby-value">:provision_enabled</span>] = <span class="ruby-keyword">false</span>
1017
+ <span class="ruby-keyword">end</span>
1018
+ <span class="ruby-keyword">end</span>
1019
+ <span class="ruby-keyword">end</span></pre>
1020
+ </div><!-- reload-source -->
1021
+
1022
+ </div>
1023
+
1024
+
1025
+
1026
+
1027
+ </div><!-- reload-method -->
1028
+
1029
+
1030
+ <div id="method-i-render_image" class="method-detail ">
1031
+
1032
+ <div class="method-heading">
1033
+ <span class="method-name">render_image</span><span
1034
+ class="method-args">(image)</span>
1035
+ <span class="method-click-advice">click to toggle source</span>
1036
+ </div>
1037
+
1038
+
1039
+ <div class="method-description">
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+ <div class="method-source-code" id="render_image-source">
1046
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 256</span>
1047
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">render_image</span>(<span class="ruby-identifier">image</span>)
1048
+ <span class="ruby-string">&#39;&#39;</span>
1049
+ <span class="ruby-keyword">end</span></pre>
1050
+ </div><!-- render_image-source -->
1051
+
1052
+ </div>
1053
+
1054
+
1055
+
1056
+
1057
+ </div><!-- render_image-method -->
1058
+
1059
+
1060
+ <div id="method-i-render_machine_type" class="method-detail ">
1061
+
1062
+ <div class="method-heading">
1063
+ <span class="method-name">render_machine_type</span><span
1064
+ class="method-args">(machine_type)</span>
1065
+ <span class="method-click-advice">click to toggle source</span>
1066
+ </div>
1067
+
1068
+
1069
+ <div class="method-description">
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+ <div class="method-source-code" id="render_machine_type-source">
1076
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 243</span>
1077
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">render_machine_type</span>(<span class="ruby-identifier">machine_type</span>)
1078
+ <span class="ruby-identifier">machine_type</span>.<span class="ruby-identifier">to_s</span>
1079
+ <span class="ruby-keyword">end</span></pre>
1080
+ </div><!-- render_machine_type-source -->
1081
+
1082
+ </div>
1083
+
1084
+
1085
+
1086
+
1087
+ </div><!-- render_machine_type-method -->
1088
+
1089
+
1090
+ <div id="method-i-save" class="method-detail ">
1091
+
1092
+ <div class="method-heading">
1093
+ <span class="method-name">save</span><span
1094
+ class="method-args">(options = {})</span>
1095
+ <span class="method-click-advice">click to toggle source</span>
1096
+ </div>
1097
+
1098
+
1099
+ <div class="method-description">
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+ <div class="method-source-code" id="save-source">
1106
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 152</span>
1107
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">options</span> = {})
1108
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span>
1109
+ <span class="ruby-identifier">id</span>(<span class="ruby-keyword">true</span>)
1110
+ <span class="ruby-identifier">delete_setting</span>(<span class="ruby-value">:machine_type</span>)
1111
+ <span class="ruby-keyword">end</span>
1112
+ <span class="ruby-keyword">end</span></pre>
1113
+ </div><!-- save-source -->
1114
+
1115
+ </div>
1116
+
1117
+
1118
+
1119
+
1120
+ </div><!-- save-method -->
1121
+
1122
+
1123
+ <div id="method-i-shares" class="method-detail ">
1124
+
1125
+ <div class="method-heading">
1126
+ <span class="method-name">shares</span><span
1127
+ class="method-args">()</span>
1128
+ <span class="method-click-advice">click to toggle source</span>
1129
+ </div>
1130
+
1131
+
1132
+ <div class="method-description">
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+ <div class="method-source-code" id="shares-source">
1139
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 60</span>
1140
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">shares</span>
1141
+ <span class="ruby-identifier">hash</span>(<span class="ruby-identifier">myself</span>[<span class="ruby-value">:shares</span>])
1142
+ <span class="ruby-keyword">end</span></pre>
1143
+ </div><!-- shares-source -->
1144
+
1145
+ </div>
1146
+
1147
+
1148
+
1149
+
1150
+ </div><!-- shares-method -->
1151
+
1152
+
1153
+ <div id="method-i-shares-3D" class="method-detail ">
1154
+
1155
+ <div class="method-heading">
1156
+ <span class="method-name">shares=</span><span
1157
+ class="method-args">(shares)</span>
1158
+ <span class="method-click-advice">click to toggle source</span>
1159
+ </div>
1160
+
1161
+
1162
+ <div class="method-description">
1163
+
1164
+
1165
+
1166
+
1167
+
1168
+ <div class="method-source-code" id="shares-3D-source">
1169
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 55</span>
1170
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">shares=</span><span class="ruby-identifier">shares</span>
1171
+ <span class="ruby-identifier">myself</span>[<span class="ruby-value">:shares</span>] = <span class="ruby-identifier">shares</span>
1172
+ <span class="ruby-identifier">init_shares</span>
1173
+ <span class="ruby-keyword">end</span></pre>
1174
+ </div><!-- shares-3D-source -->
1175
+
1176
+ </div>
1177
+
1178
+
1179
+
1180
+
1181
+ </div><!-- shares-3D-method -->
1182
+
1183
+
1184
+ <div id="method-i-ssh" class="method-detail ">
1185
+
1186
+ <div class="method-heading">
1187
+ <span class="method-name">ssh</span><span
1188
+ class="method-args">()</span>
1189
+ <span class="method-click-advice">click to toggle source</span>
1190
+ </div>
1191
+
1192
+
1193
+ <div class="method-description">
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+ <div class="method-source-code" id="ssh-source">
1200
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 49</span>
1201
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">ssh</span>
1202
+ <span class="ruby-identifier">hash</span>(<span class="ruby-identifier">myself</span>[<span class="ruby-value">:ssh</span>])
1203
+ <span class="ruby-keyword">end</span></pre>
1204
+ </div><!-- ssh-source -->
1205
+
1206
+ </div>
1207
+
1208
+
1209
+
1210
+
1211
+ </div><!-- ssh-method -->
1212
+
1213
+
1214
+ <div id="method-i-ssh-3D" class="method-detail ">
1215
+
1216
+ <div class="method-heading">
1217
+ <span class="method-name">ssh=</span><span
1218
+ class="method-args">(ssh)</span>
1219
+ <span class="method-click-advice">click to toggle source</span>
1220
+ </div>
1221
+
1222
+
1223
+ <div class="method-description">
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+ <div class="method-source-code" id="ssh-3D-source">
1230
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 45</span>
1231
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">ssh=</span><span class="ruby-identifier">ssh</span>
1232
+ <span class="ruby-identifier">myself</span>[<span class="ruby-value">:ssh</span>] = <span class="ruby-identifier">ssh</span>
1233
+ <span class="ruby-keyword">end</span></pre>
1234
+ </div><!-- ssh-3D-source -->
1235
+
1236
+ </div>
1237
+
1238
+
1239
+
1240
+
1241
+ </div><!-- ssh-3D-method -->
1242
+
1243
+
1244
+ <div id="method-i-start" class="method-detail ">
1245
+
1246
+ <div class="method-heading">
1247
+ <span class="method-name">start</span><span
1248
+ class="method-args">(options = {})</span>
1249
+ <span class="method-click-advice">click to toggle source</span>
1250
+ </div>
1251
+
1252
+
1253
+ <div class="method-description">
1254
+
1255
+
1256
+
1257
+
1258
+
1259
+ <div class="method-source-code" id="start-source">
1260
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 161</span>
1261
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">start</span>(<span class="ruby-identifier">options</span> = {})
1262
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
1263
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
1264
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:start</span>))
1265
+ <span class="ruby-identifier">config</span>[<span class="ruby-value">:provision_enabled</span>] = <span class="ruby-keyword">false</span>
1266
+ <span class="ruby-keyword">end</span>
1267
+ <span class="ruby-keyword">end</span>
1268
+ <span class="ruby-keyword">end</span></pre>
1269
+ </div><!-- start-source -->
1270
+
1271
+ </div>
1272
+
1273
+
1274
+
1275
+
1276
+ </div><!-- start-method -->
1277
+
1278
+
1279
+ <div id="method-i-state" class="method-detail ">
1280
+
1281
+ <div class="method-heading">
1282
+ <span class="method-name">state</span><span
1283
+ class="method-args">(reset = false)</span>
1284
+ <span class="method-click-advice">click to toggle source</span>
1285
+ </div>
1286
+
1287
+
1288
+ <div class="method-description">
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+ <div class="method-source-code" id="state-source">
1295
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 29</span>
1296
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">state</span>(<span class="ruby-identifier">reset</span> = <span class="ruby-keyword">false</span>)
1297
+ <span class="ruby-identifier">machine</span>.<span class="ruby-identifier">state</span>
1298
+ <span class="ruby-keyword">end</span></pre>
1299
+ </div><!-- state-source -->
1300
+
1301
+ </div>
1302
+
1303
+
1304
+
1305
+
1306
+ </div><!-- state-method -->
1307
+
1308
+
1309
+ <div id="method-i-stop" class="method-detail ">
1310
+
1311
+ <div class="method-heading">
1312
+ <span class="method-name">stop</span><span
1313
+ class="method-args">(options = {})</span>
1314
+ <span class="method-click-advice">click to toggle source</span>
1315
+ </div>
1316
+
1317
+
1318
+ <div class="method-description">
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+ <div class="method-source-code" id="stop-source">
1325
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 193</span>
1326
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">stop</span>(<span class="ruby-identifier">options</span> = {})
1327
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
1328
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
1329
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:stop</span>))
1330
+ <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:finalize</span>
1331
+ <span class="ruby-keyword">true</span>
1332
+ <span class="ruby-keyword">end</span>
1333
+ <span class="ruby-keyword">end</span>
1334
+ <span class="ruby-keyword">end</span></pre>
1335
+ </div><!-- stop-source -->
1336
+
1337
+ </div>
1338
+
1339
+
1340
+
1341
+
1342
+ </div><!-- stop-method -->
1343
+
1344
+
1345
+ <div id="method-i-upload" class="method-detail ">
1346
+
1347
+ <div class="method-heading">
1348
+ <span class="method-name">upload</span><span
1349
+ class="method-args">(local_path, remote_path, options = {})</span>
1350
+ <span class="method-click-advice">click to toggle source</span>
1351
+ </div>
1352
+
1353
+
1354
+ <div class="method-description">
1355
+
1356
+
1357
+
1358
+
1359
+
1360
+ <div class="method-source-code" id="upload-source">
1361
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 132</span>
1362
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">upload</span>(<span class="ruby-identifier">local_path</span>, <span class="ruby-identifier">remote_path</span>, <span class="ruby-identifier">options</span> = {})
1363
+ <span class="ruby-keyword">super</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">op</span>, <span class="ruby-identifier">config</span><span class="ruby-operator">|</span>
1364
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">op</span> <span class="ruby-operator">==</span> <span class="ruby-value">:config</span>
1365
+ <span class="ruby-identifier">config</span>.<span class="ruby-identifier">import</span>(<span class="ruby-identifier">exec_options</span>(<span class="ruby-value">:upload</span>))
1366
+ <span class="ruby-keyword">end</span>
1367
+ <span class="ruby-keyword">end</span>
1368
+ <span class="ruby-keyword">end</span></pre>
1369
+ </div><!-- upload-source -->
1370
+
1371
+ </div>
1372
+
1373
+
1374
+
1375
+
1376
+ </div><!-- upload-method -->
1377
+
1378
+
1379
+ <div id="method-i-vm" class="method-detail ">
1380
+
1381
+ <div class="method-heading">
1382
+ <span class="method-name">vm</span><span
1383
+ class="method-args">()</span>
1384
+ <span class="method-click-advice">click to toggle source</span>
1385
+ </div>
1386
+
1387
+
1388
+ <div class="method-description">
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+ <div class="method-source-code" id="vm-source">
1395
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 39</span>
1396
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">vm</span>
1397
+ <span class="ruby-identifier">hash</span>(<span class="ruby-identifier">myself</span>[<span class="ruby-value">:vm</span>])
1398
+ <span class="ruby-keyword">end</span></pre>
1399
+ </div><!-- vm-source -->
1400
+
1401
+ </div>
1402
+
1403
+
1404
+
1405
+
1406
+ </div><!-- vm-method -->
1407
+
1408
+
1409
+ <div id="method-i-vm-3D" class="method-detail ">
1410
+
1411
+ <div class="method-heading">
1412
+ <span class="method-name">vm=</span><span
1413
+ class="method-args">(vm)</span>
1414
+ <span class="method-click-advice">click to toggle source</span>
1415
+ </div>
1416
+
1417
+
1418
+ <div class="method-description">
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+ <div class="method-source-code" id="vm-3D-source">
1425
+ <pre><span class="ruby-comment"># File lib/CORL/node/vagrant.rb, line 35</span>
1426
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">vm=</span><span class="ruby-identifier">vm</span>
1427
+ <span class="ruby-identifier">myself</span>[<span class="ruby-value">:vm</span>] = <span class="ruby-identifier">vm</span>
1428
+ <span class="ruby-keyword">end</span></pre>
1429
+ </div><!-- vm-3D-source -->
1430
+
1431
+ </div>
1432
+
1433
+
1434
+
1435
+
1436
+ </div><!-- vm-3D-method -->
1437
+
1438
+
1439
+ </section><!-- public-instance-method-details -->
1440
+
1441
+ </section><!-- 5Buntitled-5D -->
1442
+
1443
+ </div><!-- documentation -->
1444
+
1445
+
1446
+ <footer id="validator-badges">
1447
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
1448
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.2.
1449
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
1450
+ </footer>
1451
+