vagrant-skytap 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (327) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/vagrant-skytap/action/add_vm_to_environment.rb +4 -4
  4. data/lib/vagrant-skytap/action/compose_environment.rb +131 -0
  5. data/lib/vagrant-skytap/action/create_environment.rb +3 -1
  6. data/lib/vagrant-skytap/action/initialize_api_client.rb +6 -5
  7. data/lib/vagrant-skytap/action/set_up_vm.rb +3 -1
  8. data/lib/vagrant-skytap/action/store_extra_data.rb +4 -2
  9. data/lib/vagrant-skytap/action.rb +4 -17
  10. data/lib/vagrant-skytap/api/environment.rb +53 -25
  11. data/lib/vagrant-skytap/api/vm.rb +9 -3
  12. data/lib/vagrant-skytap/command/up.rb +46 -30
  13. data/lib/vagrant-skytap/errors.rb +4 -0
  14. data/lib/vagrant-skytap/version.rb +1 -1
  15. data/locales/en.yml +5 -1
  16. data/spec/unit/actions/compose_environment_spec.rb +101 -0
  17. data/spec/unit/environment_spec.rb +26 -45
  18. data/spec/unit/support/shared/skytap_context.rb +5 -0
  19. data/vagrant-skytap.gemspec +3 -3
  20. metadata +9 -311
  21. data/.byebug_history +0 -256
  22. data/.project +0 -11
  23. data/_patches-20160112/0 +0 -388
  24. data/_patches-20160112/1 +0 -82
  25. data/_patches-20160112/2 +0 -239
  26. data/_patches-20160112/COMPLETED-ABOVE-THIS-LINE +0 -4
  27. data/_patches-20160112/COMPLETED-BELOW-THIS-LINE +0 -4
  28. data/_patches-20160112/CR-ABOVE-THIS-LINE +0 -4
  29. data/_patches-20160112/CR-BELOW-THIS-LINE +0 -4
  30. data/_patches-20160112/WIP-ABOVE-THIS-LINE +0 -4
  31. data/_patches-20160112/WIP-BELOW-THIS-LINE +0 -4
  32. data/_patches-20160112/acceptance-test-runner +0 -29
  33. data/_patches-20160112/ansible-1 +0 -92
  34. data/_patches-20160112/cache-api-client-in-up +0 -40
  35. data/_patches-20160112/dead-code-in-actions +0 -44
  36. data/_patches-20160112/debug-changes +0 -42
  37. data/_patches-20160112/demo-rails-app +0 -1276
  38. data/_patches-20160112/eng-10166-halt-spec +0 -40
  39. data/_patches-20160112/eng-10256 +0 -527
  40. data/_patches-20160112/eng-10256-2 +0 -162
  41. data/_patches-20160112/eng-10256-ubuntu-testing +0 -88
  42. data/_patches-20160112/eng-10269-test-stuff +0 -87
  43. data/_patches-20160112/eng-10269-wtf +0 -119
  44. data/_patches-20160112/eng-10369 +0 -143
  45. data/_patches-20160112/eng-10369-tmp +0 -60
  46. data/_patches-20160112/eng-10919 +0 -56
  47. data/_patches-20160112/eng-11177-fix-actions-requires +0 -44
  48. data/_patches-20160112/eng-11442 +0 -4
  49. data/_patches-20160112/eng-11616 +0 -403
  50. data/_patches-20160112/eng-11616-2 +0 -67
  51. data/_patches-20160112/eng-11616-actual +0 -184
  52. data/_patches-20160112/eng-11625a +0 -4
  53. data/_patches-20160112/eng-11711 +0 -85
  54. data/_patches-20160112/eng-12232-command-spec +0 -236
  55. data/_patches-20160112/eng-12235 +0 -83
  56. data/_patches-20160112/eng-12235-override-refactor +0 -140
  57. data/_patches-20160112/eng-12240 +0 -103
  58. data/_patches-20160112/eng-12249 +0 -40
  59. data/_patches-20160112/eng-12301 +0 -50
  60. data/_patches-20160112/eng-12843 +0 -95
  61. data/_patches-20160112/env-source +0 -112
  62. data/_patches-20160112/frickin-vagrant-spec +0 -163
  63. data/_patches-20160112/gem-pre-version +0 -14
  64. data/_patches-20160112/gems-old +0 -9
  65. data/_patches-20160112/googles-specs +0 -713
  66. data/_patches-20160112/local-configs-ignore +0 -61
  67. data/_patches-20160112/misc +0 -79
  68. data/_patches-20160112/network-unreachable +0 -31
  69. data/_patches-20160112/new-boxfile +0 -288
  70. data/_patches-20160112/parallelization-maybe +0 -198
  71. data/_patches-20160112/read-state +0 -23
  72. data/_patches-20160112/refactor-to-use-public_address-cap +0 -25
  73. data/_patches-20160112/series +0 -60
  74. data/_patches-20160112/status +0 -12
  75. data/_patches-20160112/test-move-env-data +0 -231
  76. data/_patches-20160112/test-vagrantfile-vm1 +0 -167
  77. data/_patches-20160112/the_version_in_0.1.13.pre1 +0 -598
  78. data/_patches-20160112/vagrant-spec-mock-api +0 -137
  79. data/_patches-20160112/vagrant-vmware-plugin +0 -233
  80. data/_patches-20160112/vagrantfile +0 -403
  81. data/_patches-20160112/vagrantfile-for-acceptance-tests +0 -29
  82. data/_patches-20160112/vagrantfile-for-nick +0 -95
  83. data/_patches-20160112/vagrantfiles-to-forget-what-they-are-for +0 -134
  84. data/_patches-20160112/vm-vanished +0 -42
  85. data/_patches-20160112a/01 +0 -148
  86. data/_patches-20160112a/2 +0 -239
  87. data/_patches-20160112a/COMPLETED-ABOVE-THIS-LINE +0 -4
  88. data/_patches-20160112a/COMPLETED-BELOW-THIS-LINE +0 -4
  89. data/_patches-20160112a/CR-ABOVE-THIS-LINE +0 -4
  90. data/_patches-20160112a/CR-BELOW-THIS-LINE +0 -4
  91. data/_patches-20160112a/WIP-ABOVE-THIS-LINE +0 -4
  92. data/_patches-20160112a/WIP-BELOW-THIS-LINE +0 -4
  93. data/_patches-20160112a/acceptance-test-runner +0 -29
  94. data/_patches-20160112a/ansible-1 +0 -92
  95. data/_patches-20160112a/cache-api-client-in-up +0 -40
  96. data/_patches-20160112a/dead-code-in-actions +0 -44
  97. data/_patches-20160112a/debug-changes +0 -42
  98. data/_patches-20160112a/demo-rails-app +0 -1276
  99. data/_patches-20160112a/eng-10166-halt-spec +0 -40
  100. data/_patches-20160112a/eng-10256-ubuntu-testing +0 -88
  101. data/_patches-20160112a/eng-10269-test-stuff +0 -87
  102. data/_patches-20160112a/eng-10269-wtf +0 -119
  103. data/_patches-20160112a/eng-10369 +0 -143
  104. data/_patches-20160112a/eng-10369-tmp +0 -60
  105. data/_patches-20160112a/eng-10919 +0 -56
  106. data/_patches-20160112a/eng-11177-fix-actions-requires +0 -44
  107. data/_patches-20160112a/eng-11442 +0 -4
  108. data/_patches-20160112a/eng-11616 +0 -403
  109. data/_patches-20160112a/eng-11616-2 +0 -67
  110. data/_patches-20160112a/eng-11616-actual +0 -184
  111. data/_patches-20160112a/eng-11625a +0 -4
  112. data/_patches-20160112a/eng-11711 +0 -85
  113. data/_patches-20160112a/eng-12232-command-spec +0 -236
  114. data/_patches-20160112a/eng-12235 +0 -83
  115. data/_patches-20160112a/eng-12235-override-refactor +0 -140
  116. data/_patches-20160112a/eng-12240 +0 -103
  117. data/_patches-20160112a/eng-12249 +0 -40
  118. data/_patches-20160112a/eng-12301 +0 -50
  119. data/_patches-20160112a/eng-12843 +0 -95
  120. data/_patches-20160112a/env-source +0 -112
  121. data/_patches-20160112a/frickin-vagrant-spec +0 -163
  122. data/_patches-20160112a/gem-pre-version +0 -14
  123. data/_patches-20160112a/gems-old +0 -9
  124. data/_patches-20160112a/googles-specs +0 -713
  125. data/_patches-20160112a/local-configs-ignore +0 -61
  126. data/_patches-20160112a/misc +0 -79
  127. data/_patches-20160112a/network-unreachable +0 -31
  128. data/_patches-20160112a/new-boxfile +0 -288
  129. data/_patches-20160112a/parallelization-maybe +0 -198
  130. data/_patches-20160112a/read-state +0 -23
  131. data/_patches-20160112a/refactor-to-use-public_address-cap +0 -25
  132. data/_patches-20160112a/series +0 -58
  133. data/_patches-20160112a/status +0 -14
  134. data/_patches-20160112a/test-move-env-data +0 -231
  135. data/_patches-20160112a/test-vagrantfile-vm1 +0 -167
  136. data/_patches-20160112a/the_version_in_0.1.13.pre1 +0 -612
  137. data/_patches-20160112a/then-copy-the-newer-files +0 -632
  138. data/_patches-20160112a/vagrant-spec-mock-api +0 -137
  139. data/_patches-20160112a/vagrant-vmware-plugin +0 -233
  140. data/_patches-20160112a/vagrantfile +0 -403
  141. data/_patches-20160112a/vagrantfile-for-acceptance-tests +0 -29
  142. data/_patches-20160112a/vagrantfile-for-nick +0 -95
  143. data/_patches-20160112a/vagrantfiles-to-forget-what-they-are-for +0 -134
  144. data/_patches-20160112a/vm-vanished +0 -42
  145. data/_patches-20160113/COMPLETED-ABOVE-THIS-LINE +0 -4
  146. data/_patches-20160113/COMPLETED-BELOW-THIS-LINE +0 -4
  147. data/_patches-20160113/CR-ABOVE-THIS-LINE +0 -4
  148. data/_patches-20160113/CR-BELOW-THIS-LINE +0 -4
  149. data/_patches-20160113/WIP-ABOVE-THIS-LINE +0 -4
  150. data/_patches-20160113/WIP-BELOW-THIS-LINE +0 -4
  151. data/_patches-20160113/acceptance-test-runner +0 -29
  152. data/_patches-20160113/ansible-1 +0 -92
  153. data/_patches-20160113/cache-api-client-in-up +0 -40
  154. data/_patches-20160113/dead-code-in-actions +0 -44
  155. data/_patches-20160113/debug-changes +0 -55
  156. data/_patches-20160113/demo-rails-app +0 -1276
  157. data/_patches-20160113/eng-10166-halt-spec +0 -40
  158. data/_patches-20160113/eng-10256 +0 -543
  159. data/_patches-20160113/eng-10256-ubuntu-testing +0 -88
  160. data/_patches-20160113/eng-10269-test-stuff +0 -87
  161. data/_patches-20160113/eng-10269-wtf +0 -119
  162. data/_patches-20160113/eng-10369 +0 -143
  163. data/_patches-20160113/eng-10369-tmp +0 -60
  164. data/_patches-20160113/eng-10919 +0 -56
  165. data/_patches-20160113/eng-11177-fix-actions-requires +0 -44
  166. data/_patches-20160113/eng-11442 +0 -4
  167. data/_patches-20160113/eng-11616 +0 -403
  168. data/_patches-20160113/eng-11616-2 +0 -67
  169. data/_patches-20160113/eng-11616-actual +0 -184
  170. data/_patches-20160113/eng-11625a +0 -4
  171. data/_patches-20160113/eng-11711 +0 -85
  172. data/_patches-20160113/eng-12232-command-spec +0 -236
  173. data/_patches-20160113/eng-12235 +0 -83
  174. data/_patches-20160113/eng-12235-override-refactor +0 -140
  175. data/_patches-20160113/eng-12240 +0 -103
  176. data/_patches-20160113/eng-12249 +0 -40
  177. data/_patches-20160113/eng-12301 +0 -50
  178. data/_patches-20160113/eng-12720 +0 -47
  179. data/_patches-20160113/eng-12843 +0 -95
  180. data/_patches-20160113/env-source +0 -112
  181. data/_patches-20160113/frickin-vagrant-spec +0 -163
  182. data/_patches-20160113/gem-pre-version +0 -14
  183. data/_patches-20160113/gems-old +0 -9
  184. data/_patches-20160113/googles-specs +0 -713
  185. data/_patches-20160113/local-configs-ignore +0 -61
  186. data/_patches-20160113/misc +0 -79
  187. data/_patches-20160113/network-unreachable +0 -31
  188. data/_patches-20160113/new-boxfile +0 -288
  189. data/_patches-20160113/parallelization-maybe +0 -198
  190. data/_patches-20160113/read-state +0 -23
  191. data/_patches-20160113/refactor-to-use-public_address-cap +0 -25
  192. data/_patches-20160113/series +0 -56
  193. data/_patches-20160113/status +0 -14
  194. data/_patches-20160113/test-move-env-data +0 -231
  195. data/_patches-20160113/test-vagrantfile-vm1 +0 -167
  196. data/_patches-20160113/vagrant-spec-mock-api +0 -137
  197. data/_patches-20160113/vagrant-vmware-plugin +0 -233
  198. data/_patches-20160113/vagrantfile +0 -403
  199. data/_patches-20160113/vagrantfile-for-acceptance-tests +0 -29
  200. data/_patches-20160113/vagrantfile-for-nick +0 -95
  201. data/_patches-20160113/vagrantfiles-to-forget-what-they-are-for +0 -134
  202. data/_patches-20160113/vm-vanished +0 -42
  203. data/_patches-20160118/COMPLETED-ABOVE-THIS-LINE +0 -4
  204. data/_patches-20160118/COMPLETED-BELOW-THIS-LINE +0 -4
  205. data/_patches-20160118/CR-ABOVE-THIS-LINE +0 -4
  206. data/_patches-20160118/CR-BELOW-THIS-LINE +0 -4
  207. data/_patches-20160118/WIP-ABOVE-THIS-LINE +0 -4
  208. data/_patches-20160118/WIP-BELOW-THIS-LINE +0 -4
  209. data/_patches-20160118/acceptance-test-runner +0 -29
  210. data/_patches-20160118/ansible-1 +0 -92
  211. data/_patches-20160118/cache-api-client-in-up +0 -40
  212. data/_patches-20160118/dead-code-in-actions +0 -44
  213. data/_patches-20160118/debug-changes +0 -55
  214. data/_patches-20160118/demo-rails-app +0 -1276
  215. data/_patches-20160118/eng-10166-halt-spec +0 -40
  216. data/_patches-20160118/eng-10256 +0 -554
  217. data/_patches-20160118/eng-10256-cr +0 -314
  218. data/_patches-20160118/eng-10256-ubuntu-testing +0 -88
  219. data/_patches-20160118/eng-10269-test-stuff +0 -87
  220. data/_patches-20160118/eng-10269-wtf +0 -119
  221. data/_patches-20160118/eng-10369 +0 -143
  222. data/_patches-20160118/eng-10369-tmp +0 -60
  223. data/_patches-20160118/eng-10919 +0 -56
  224. data/_patches-20160118/eng-11177-fix-actions-requires +0 -44
  225. data/_patches-20160118/eng-11442 +0 -4
  226. data/_patches-20160118/eng-11616 +0 -403
  227. data/_patches-20160118/eng-11616-2 +0 -67
  228. data/_patches-20160118/eng-11616-actual +0 -184
  229. data/_patches-20160118/eng-11625a +0 -4
  230. data/_patches-20160118/eng-11711 +0 -85
  231. data/_patches-20160118/eng-12232-command-spec +0 -236
  232. data/_patches-20160118/eng-12235 +0 -83
  233. data/_patches-20160118/eng-12235-override-refactor +0 -140
  234. data/_patches-20160118/eng-12240 +0 -103
  235. data/_patches-20160118/eng-12249 +0 -40
  236. data/_patches-20160118/eng-12301 +0 -50
  237. data/_patches-20160118/eng-12720 +0 -74
  238. data/_patches-20160118/eng-12843 +0 -95
  239. data/_patches-20160118/eng-13040 +0 -291
  240. data/_patches-20160118/env-source +0 -112
  241. data/_patches-20160118/frickin-vagrant-spec +0 -163
  242. data/_patches-20160118/gem-pre-version +0 -14
  243. data/_patches-20160118/gems-old +0 -9
  244. data/_patches-20160118/googles-specs +0 -713
  245. data/_patches-20160118/local-configs-ignore +0 -61
  246. data/_patches-20160118/misc +0 -79
  247. data/_patches-20160118/network-unreachable +0 -31
  248. data/_patches-20160118/new-boxfile +0 -288
  249. data/_patches-20160118/parallelization-maybe +0 -198
  250. data/_patches-20160118/port-forwarding-processes +0 -87
  251. data/_patches-20160118/read-state +0 -23
  252. data/_patches-20160118/refactor-to-use-public_address-cap +0 -25
  253. data/_patches-20160118/series +0 -59
  254. data/_patches-20160118/status +0 -13
  255. data/_patches-20160118/test-move-env-data +0 -231
  256. data/_patches-20160118/test-vagrantfile-vm1 +0 -167
  257. data/_patches-20160118/vagrant-spec-mock-api +0 -137
  258. data/_patches-20160118/vagrant-vmware-plugin +0 -233
  259. data/_patches-20160118/vagrantfile +0 -403
  260. data/_patches-20160118/vagrantfile-for-acceptance-tests +0 -29
  261. data/_patches-20160118/vagrantfile-for-nick +0 -95
  262. data/_patches-20160118/vagrantfiles-to-forget-what-they-are-for +0 -134
  263. data/_patches-20160118/vm-vanished +0 -42
  264. data/_patches-20160118a/COMPLETED-ABOVE-THIS-LINE +0 -4
  265. data/_patches-20160118a/COMPLETED-BELOW-THIS-LINE +0 -4
  266. data/_patches-20160118a/CR-ABOVE-THIS-LINE +0 -4
  267. data/_patches-20160118a/CR-BELOW-THIS-LINE +0 -4
  268. data/_patches-20160118a/WIP-ABOVE-THIS-LINE +0 -4
  269. data/_patches-20160118a/WIP-BELOW-THIS-LINE +0 -4
  270. data/_patches-20160118a/acceptance-test-runner +0 -29
  271. data/_patches-20160118a/ansible-1 +0 -92
  272. data/_patches-20160118a/bar +0 -189
  273. data/_patches-20160118a/cache-api-client-in-up +0 -40
  274. data/_patches-20160118a/dead-code-in-actions +0 -44
  275. data/_patches-20160118a/debug-changes +0 -55
  276. data/_patches-20160118a/demo-rails-app +0 -1276
  277. data/_patches-20160118a/eng-10166-halt-spec +0 -40
  278. data/_patches-20160118a/eng-10256 +0 -554
  279. data/_patches-20160118a/eng-10256-cr +0 -314
  280. data/_patches-20160118a/eng-10256-ubuntu-testing +0 -88
  281. data/_patches-20160118a/eng-10269-test-stuff +0 -87
  282. data/_patches-20160118a/eng-10269-wtf +0 -119
  283. data/_patches-20160118a/eng-10369 +0 -143
  284. data/_patches-20160118a/eng-10369-tmp +0 -60
  285. data/_patches-20160118a/eng-10919 +0 -56
  286. data/_patches-20160118a/eng-11177-fix-actions-requires +0 -44
  287. data/_patches-20160118a/eng-11442 +0 -4
  288. data/_patches-20160118a/eng-11616 +0 -403
  289. data/_patches-20160118a/eng-11616-2 +0 -67
  290. data/_patches-20160118a/eng-11616-actual +0 -184
  291. data/_patches-20160118a/eng-11625a +0 -4
  292. data/_patches-20160118a/eng-11711 +0 -85
  293. data/_patches-20160118a/eng-12232-command-spec +0 -236
  294. data/_patches-20160118a/eng-12235 +0 -83
  295. data/_patches-20160118a/eng-12235-override-refactor +0 -140
  296. data/_patches-20160118a/eng-12240 +0 -103
  297. data/_patches-20160118a/eng-12249 +0 -40
  298. data/_patches-20160118a/eng-12301 +0 -50
  299. data/_patches-20160118a/eng-12720 +0 -74
  300. data/_patches-20160118a/eng-12843 +0 -95
  301. data/_patches-20160118a/eng-13040 +0 -291
  302. data/_patches-20160118a/env-source +0 -112
  303. data/_patches-20160118a/foo +0 -169
  304. data/_patches-20160118a/frickin-vagrant-spec +0 -163
  305. data/_patches-20160118a/gem-pre-version +0 -14
  306. data/_patches-20160118a/gems-old +0 -9
  307. data/_patches-20160118a/googles-specs +0 -713
  308. data/_patches-20160118a/guestport-madness +0 -59
  309. data/_patches-20160118a/local-configs-ignore +0 -61
  310. data/_patches-20160118a/misc +0 -79
  311. data/_patches-20160118a/network-unreachable +0 -31
  312. data/_patches-20160118a/new-boxfile +0 -288
  313. data/_patches-20160118a/parallelization-maybe +0 -198
  314. data/_patches-20160118a/port-forwarding-processes +0 -87
  315. data/_patches-20160118a/read-state +0 -23
  316. data/_patches-20160118a/refactor-to-use-public_address-cap +0 -25
  317. data/_patches-20160118a/series +0 -62
  318. data/_patches-20160118a/status +0 -14
  319. data/_patches-20160118a/test-move-env-data +0 -231
  320. data/_patches-20160118a/test-vagrantfile-vm1 +0 -167
  321. data/_patches-20160118a/vagrant-spec-mock-api +0 -137
  322. data/_patches-20160118a/vagrant-vmware-plugin +0 -233
  323. data/_patches-20160118a/vagrantfile +0 -403
  324. data/_patches-20160118a/vagrantfile-for-acceptance-tests +0 -29
  325. data/_patches-20160118a/vagrantfile-for-nick +0 -95
  326. data/_patches-20160118a/vagrantfiles-to-forget-what-they-are-for +0 -134
  327. data/_patches-20160118a/vm-vanished +0 -42
data/_patches-20160112/1 DELETED
@@ -1,82 +0,0 @@
1
- # HG changeset patch
2
- # Parent 52eca9fb4e0ee45e8dd01b28163ac10c5d298015
3
- diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/action/forward_ports.rb
4
- --- a/lib/vagrant-skytap/action/forward_ports.rb Tue Jan 12 14:34:08 2016 -0800
5
- +++ b/lib/vagrant-skytap/action/forward_ports.rb Tue Jan 12 18:17:33 2016 -0800
6
- @@ -1,5 +1,5 @@
7
- require 'vagrant-skytap/util/compile_forwarded_ports'
8
- -#require 'byebug'
9
- +require 'byebug'
10
-
11
- module VagrantPlugins
12
- module Skytap
13
- @@ -9,11 +9,12 @@
14
-
15
- def initialize(app, env)
16
- @app = app
17
- + @env = env
18
- end
19
-
20
- def call(env)
21
- - @env = env
22
- - env[:forwarded_ports] ||= compile_forwarded_ports(env[:machine].config)
23
- + debugger
24
- + @env[:forwarded_ports] ||= compile_forwarded_ports(env[:machine].config)
25
-
26
- env[:forwarded_ports].each do |fp|
27
- if fp.host_port <= 1024
28
- diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb
29
- --- a/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
30
- +++ b/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
31
- @@ -4,7 +4,7 @@
32
- module Skytap
33
- module HostBSD
34
- module Cap
35
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
36
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
37
- def self.create_logger
38
- Log4r::Logger.new("vagrant::hosts::bsd")
39
- end
40
- diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb
41
- --- a/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
42
- +++ b/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
43
- @@ -21,6 +21,7 @@
44
- logger = create_logger
45
- machine = env_hash[:machine]
46
- pid = read_pid(File.join(machine.data_dir, pidfile_name(fp)))
47
- + debugger
48
- if pid && autossh_pid?(pid)
49
- logger.info("An autossh process already exists with pid #{pid}.")
50
- else
51
- @@ -41,6 +42,7 @@
52
- logger = create_logger
53
- machine = env_hash[:machine]
54
- pid = read_pid(File.join(machine.data_dir, pidfile))
55
- + debugger
56
- if pid && autossh_pid?(pid)
57
- Vagrant::Util::Subprocess.execute("kill", pid.to_s)
58
- else
59
- diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb
60
- --- a/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
61
- +++ b/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
62
- @@ -4,7 +4,7 @@
63
- module Skytap
64
- module HostLinux
65
- module Cap
66
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
67
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
68
- def self.create_logger
69
- Log4r::Logger.new("vagrant::hosts::linux")
70
- end
71
- diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
72
- --- a/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
73
- +++ b/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
74
- @@ -4,7 +4,7 @@
75
- module Skytap
76
- module HostWindows
77
- module Cap
78
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
79
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
80
- def self.create_logger
81
- Log4r::Logger.new("vagrant::hosts::windows")
82
- end
data/_patches-20160112/2 DELETED
@@ -1,239 +0,0 @@
1
- # HG changeset patch
2
- # Parent 74d169c04caec5d9ccb8355c531b767d9225cf95
3
- diff -r 74d169c04cae -r 5e40023c756c Vagrantfile
4
- --- a/Vagrantfile Tue Jan 12 14:38:22 2016 -0800
5
- +++ b/Vagrantfile Tue Jan 12 18:07:03 2016 -0800
6
- @@ -120,12 +120,12 @@
7
- box.ssh.password = vms[vm1_key][:password]
8
- box.vm.communicator = vms[vm1_key][:communicator]
9
- #box.vm.synced_folder "vm1", "/synced", type: :nfs, mount_options: ['actimeo=1']
10
- - box.vm.synced_folder ".", "/vagrant-skytap", type: :nfs, mount_options: ['actimeo=1']
11
- + #box.vm.synced_folder ".", "/vagrant-skytap", type: :nfs, mount_options: ['actimeo=1']
12
- #box.vm.provision "shell", path: "provisioning/trivial.sh"
13
- box.vm.provision "shell", path: "provisioning/apache.sh"
14
- box.vm.provision "shell", path: "provisioning/vagrant.sh"
15
-
16
- - #box.vm.network :forwarded_port, guest: 80, host: 9000
17
- + box.vm.network :forwarded_port, guest: 80, host: 9000
18
- #box.vm.network :forwarded_port, guest: 21, host: 9001
19
- end
20
-
21
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/action/clear_forwarded_ports.rb
22
- --- a/lib/vagrant-skytap/action/clear_forwarded_ports.rb Tue Jan 12 14:38:22 2016 -0800
23
- +++ b/lib/vagrant-skytap/action/clear_forwarded_ports.rb Tue Jan 12 18:07:03 2016 -0800
24
- @@ -8,12 +8,11 @@
25
- class ClearForwardedPorts
26
- def initialize(app, env)
27
- @app = app
28
- - @env = env
29
- end
30
-
31
- def call(env)
32
- env[:ui].info I18n.t("vagrant.actions.vm.clear_forward_ports.deleting")
33
- - pidfiles = @env[:host].capability(:kill_forwarded_ports, @env)
34
- + env[:host].capability(:kill_forwarded_ports, env)
35
-
36
- @app.call(env)
37
- end
38
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/action/prepare_forwarded_port_collision_params.rb
39
- --- a/lib/vagrant-skytap/action/prepare_forwarded_port_collision_params.rb Tue Jan 12 14:38:22 2016 -0800
40
- +++ b/lib/vagrant-skytap/action/prepare_forwarded_port_collision_params.rb Tue Jan 12 18:07:03 2016 -0800
41
- @@ -1,3 +1,4 @@
42
- +require 'byebug'
43
- module VagrantPlugins
44
- module Skytap
45
- module Action
46
- @@ -9,22 +10,23 @@
47
- def call(env)
48
- # Get the forwarded ports used by other virtual machines and
49
- # consider those in use as well.
50
- - env[:port_collision_extra_in_use] = @env[:host].capability(:read_used_ports, @env)
51
- + env[:port_collision_extra_in_use] = env[:host].capability(:read_used_ports, env)
52
-
53
- # Build the remap for any existing collision detections
54
- remap = {}
55
- env[:port_collision_remap] = remap
56
- - env[:host].capability(:read_forwarded_ports, env).each do |_nic, name, hostport, _guestport|
57
- + env[:host].capability(:read_forwarded_ports, env).each do |name, hostport|
58
- env[:machine].config.vm.networks.each do |type, options|
59
- next if type != :forwarded_port
60
-
61
- # If the ID matches the name of the forwarded port, then remap.
62
- if options[:id] == name
63
- - remap[options[:host]] = hostport
64
- + remap[options[:host]] = hostport # what happens with 'ssh' ?????
65
- break
66
- end
67
- end
68
- end
69
- +# debugger
70
-
71
- @app.call(env)
72
- end
73
- @@ -32,3 +34,6 @@
74
- end
75
- end
76
- end
77
- +
78
- +#[_nic,ssh, 2222,22]
79
- +#[_nic,tcp3001,3001,3001]
80
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb
81
- --- a/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 14:38:22 2016 -0800
82
- +++ b/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 18:07:03 2016 -0800
83
- @@ -4,7 +4,7 @@
84
- module Skytap
85
- module HostBSD
86
- module Cap
87
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
88
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
89
- def self.create_logger
90
- Log4r::Logger.new("vagrant::hosts::bsd")
91
- end
92
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb
93
- --- a/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 14:38:22 2016 -0800
94
- +++ b/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 18:07:03 2016 -0800
95
- @@ -19,18 +19,25 @@
96
- # called per port by ForwardPorts
97
- def self.start_ssh_tunnel(env, fp, env_hash)
98
- logger = create_logger
99
- - machine = env_hash[:machine]
100
- - pid = read_pid(File.join(machine.data_dir, pidfile_name(fp)))
101
- - if pid && autossh_pid?(pid)
102
- - logger.info("An autossh process already exists with pid #{pid}.")
103
- - else
104
- - args = autossh_args(fp, pidfile, env_hash)
105
- - Vagrant::Util::Subprocess.execute("autossh", *args)
106
- + pidfile = File.join(env_hash[:machine].data_dir, pidfile_name(fp))
107
- + if pid = read_pid(pidfile)
108
- + debugger
109
- + if autossh_pid?(pid)
110
- + logger.info("An autossh process already exists with pid #{pid}.")
111
- + return
112
- + else
113
- + logger.info("Cleaning up stale autossh pidfile #{pidfile}.")
114
- + Vagrant::Util::Subprocess.execute("rm", pidfile)
115
- + end
116
- end
117
- + debugger
118
- + args = autossh_args(fp, env_hash)
119
- + Vagrant::Util::Subprocess.execute("autossh", *args)
120
- end
121
-
122
- # called for machine by ClearForwardedPorts
123
- def self.kill_forwarded_ports(env, env_hash)
124
- +# debugger
125
- get_pidfiles_for_machine(env_hash[:machine]).each do |pidfile|
126
- kill_ssh_tunnel(env, pidfile, env_hash)
127
- end
128
- @@ -40,33 +47,48 @@
129
- def self.kill_ssh_tunnel(env, pidfile, env_hash)
130
- logger = create_logger
131
- machine = env_hash[:machine]
132
- - pid = read_pid(File.join(machine.data_dir, pidfile))
133
- - if pid && autossh_pid?(pid)
134
- - Vagrant::Util::Subprocess.execute("kill", pid.to_s)
135
- + pidfile = File.join(machine.data_dir, pidfile)
136
- + if pid = read_pid(pidfile)
137
- + debugger
138
- + if autossh_pid?(pid)
139
- + myenv = {env: {"AUTOSSH_PIDFILE" => pidfile}}
140
- + Vagrant::Util::Subprocess.execute("kill", pid.to_s, myenv)
141
- + else
142
- + logger.info("Cleaning up stale autossh pidfile #{pidfile}.")
143
- + Vagrant::Util::Subprocess.execute("rm", pidfile)
144
- + end
145
- else
146
- - logger.info("Cleaning up stale autossh pidfile #{pidfile}.")
147
- - Vagrant::Util::Subprocess.execute("rm", pidfile)
148
- + debugger
149
- + logger.info("Pidfile #{pidfile} not found.")
150
- end
151
- end
152
-
153
- ####################################
154
-
155
- - def self.read_forwarded_ports(env, env_hash, machine = nil)
156
- - logger = create_logger
157
- - machine ||= env_hash[:machine]
158
- + # forwarded ports used by ALL OTHER machines
159
- + def self.read_used_ports(env, env_hash)
160
- + # pretend for the moment that we don't care
161
- + []
162
- + end
163
- +
164
- + # forwarded ports used by THIS machine
165
- + def self.read_forwarded_ports(env, env_hash)
166
- + machine = env_hash[:machine]
167
- get_pidfiles_for_machine(machine).collect do |pidfile|
168
- - read_pid(File.join(machine.data_dir, pidfile))
169
- + pidfile =~ /(.*)(\d+)/
170
- + [pidfile,$2]
171
- end
172
- end
173
-
174
- ####################################
175
-
176
- def self.pidfile_name(fp)
177
- - "#{fp[:host_ip]}.pid"
178
- + # there's one that's just named ssh, what do we do about it?
179
- + "#{fp.protocol}#{fp.host_port}.pid"
180
- end
181
-
182
- - def self.read_pid(pidfile_path)
183
- - File.read(pidfile_path).presence.try(:to_i) if File.exist?(pidfile_path)
184
- + def self.read_pid(pidfile)
185
- + File.read(pidfile).presence.try(:to_i) if File.exist?(pidfile)
186
- end
187
-
188
- def self.get_pidfiles_for_machine(machine)
189
- @@ -95,7 +117,7 @@
190
-
191
- ####################################
192
-
193
- - def self.autossh_args(fp, pidfile, env_hash)
194
- + def self.autossh_args(fp, env_hash)
195
- machine = env_hash[:machine]
196
- ssh_info = env_hash[:machine_ssh_info]
197
- ssh_options = {
198
- @@ -105,7 +127,7 @@
199
- }
200
- environment_variables = {
201
- env: {
202
- - "AUTOSSH_PIDFILE" => pidfile,
203
- + "AUTOSSH_PIDFILE" => File.join(machine.data_dir, pidfile_name(fp)),
204
- "AUTOSSH_PORT" => 0, # turn off monitoring
205
- }
206
- }
207
- @@ -115,7 +137,7 @@
208
- autossh_args << "-N"
209
- autossh_args << "-f"
210
- autossh_args << "-i" << machine.data_dir.join("private_key").to_s
211
- - autossh_args << "-L" << "#{fp[:host_port]}:localhost:#{fp[:guest_port]}"
212
- + autossh_args << "-L" << "#{fp.host_port}:localhost:#{fp.guest_port}"
213
- ssh_options.each do |k, v|
214
- autossh_args << "-o" << "#{k}=#{v}"
215
- end
216
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb
217
- --- a/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 14:38:22 2016 -0800
218
- +++ b/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 18:07:03 2016 -0800
219
- @@ -4,7 +4,7 @@
220
- module Skytap
221
- module HostLinux
222
- module Cap
223
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
224
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
225
- def self.create_logger
226
- Log4r::Logger.new("vagrant::hosts::linux")
227
- end
228
- diff -r 74d169c04cae -r 5e40023c756c lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
229
- --- a/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 14:38:22 2016 -0800
230
- +++ b/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 18:07:03 2016 -0800
231
- @@ -4,7 +4,7 @@
232
- module Skytap
233
- module HostWindows
234
- module Cap
235
- - class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
236
- + class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
237
- def self.create_logger
238
- Log4r::Logger.new("vagrant::hosts::windows")
239
- end
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent 21dbd7fc56837b7c7949396f0f1058790d265a5b
3
- (basically) finished work above this line not yet sent for CR --------------------------------------
4
-
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent e1ec4738b4fbbd2ef83c29f221c19cf3798cf8f0
3
- (basically) finished work below this line not yet sent for CR --------------------------------------
4
-
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent 05bfba1f21950dc1331bb355bb60789499208a63
3
- Out for CR above this line ------------------------------------
4
-
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent faddc6f9d7ed6653fe7d86ab0943f901860b2872
3
- out for CR below this line ------------------------------------------
4
-
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent d9c2f15e01d69f7f9ed90c5a8504a635536409b7
3
- Work in progress above this line --------------------------------------------
4
-
@@ -1,4 +0,0 @@
1
- # HG changeset patch
2
- # Parent 1350d8d01c04611ef082a637cf69eb289b88559a
3
- Work in progress below this line ---------------------------------------------------------------
4
-
@@ -1,29 +0,0 @@
1
- # HG changeset patch
2
- # Parent e03c705cadffcf6ca578330597f15624260a9d46
3
- script to run acceptance tests
4
-
5
- diff --git a/acceptance.sh b/acceptance.sh
6
- new file mode 100755
7
- --- /dev/null
8
- +++ b/acceptance.sh
9
- @@ -0,0 +1,20 @@
10
- +#!/bin/bash
11
- +
12
- +VAGRANT_LOG=info \
13
- +VAGRANT_SKYTAP_USERNAME=etrue \
14
- +VAGRANT_SKYTAP_API_TOKEN=fcb2620b72efddbc8239e25db9d812f510c7e166 \
15
- + rake acceptance:run \
16
- + COMPONENTS=provider/skytap/up
17
- +
18
- +#VAGRANT_SKYTAP_USERNAME=vagrant_provider_admin \
19
- +#VAGRANT_SKYTAP_API_TOKEN=7c5718531a32eb90e92c804ce1f73da98be22cdf \
20
- +#VAGRANT_SKYTAP_BASE_URL=https://test.skytap.com/ \
21
- +
22
- +
23
- +
24
- +#vagrant-spec test --config=vagrant-spec.config.rb --components="$COMPONENTS"
25
- +
26
- +
27
- +# How do I get log output??
28
- +# This needs to run in vagrant-spec, not just rake. Boxes have
29
- +# to install.
@@ -1,92 +0,0 @@
1
- # HG changeset patch
2
- # Parent 0bb10bac847b6ff55e16bc18e9e9e98b49f58444
3
- try to get sbrady's ansible provisioning (codename: "chuck") to work
4
-
5
- diff --git a/Vagrantfile.chuck b/Vagrantfile.chuck
6
- new file mode 100644
7
- --- /dev/null
8
- +++ b/Vagrantfile.chuck
9
- @@ -0,0 +1,55 @@
10
- +# -*- mode: ruby -*-
11
- +# vi: set ft=ruby :
12
- +
13
- +VM_CPU = 4 # Cores
14
- +VM_RAM = 4096 # GB
15
- +GENERIC_UBUNTU = 'https://cloud.skytap.com/vms/6869434'
16
- +
17
- +Vagrant.configure("2") do |config|
18
- +
19
- + config.vm.provider :skytap do |skytap, override|
20
- + skytap.username = "etrue"
21
- + skytap.api_token = "fcb2620b72efddbc8239e25db9d812f510c7e166"
22
- + end
23
- +
24
- + config.vm.define :dev do |dev|
25
- + # VMWare and VirtualBox
26
- + # https://vagrantcloud.com/hashicorp/boxes/precise64
27
- + # TODO how to specify different box files for skytap provider
28
- + #dev.vm.box = "hashicorp/precise64"
29
- + #dev.vm.box_url = "hashicorp/precise64"
30
- +
31
- +
32
- + # dev.vm.network :private_network, ip: "10.10.10.5"
33
- + dev.vm.network :private_network, ip: "10.1.130.252"
34
- + dev.vm.network :forwarded_port, guest: 3001, host: 3001
35
- + dev.vm.network :forwarded_port, guest: 1080, host: 1080
36
- +
37
- + dev.vm.synced_folder "~/src", "/var/www/skytap", :nfs => true, :mount_options => ['actimeo=1']
38
- +
39
- + dev.vm.provider :vmware_fusion do |box|
40
- + box.vmx["memsize"] = VM_RAM
41
- + box.vmx["numvcpus"] = VM_CPU
42
- + end
43
- +
44
- + dev.vm.provider :virtualbox do |box|
45
- + box.customize ["modifyvm", :id, "--memory", VM_RAM]
46
- + box.customize ["modifyvm", :id, "--cpus", VM_CPU]
47
- + box.customize ["modifyvm", :id, "--ioapic", "on"]
48
- + end
49
- +
50
- + dev.vm.provider :skytap do |box|
51
- + dev.vm.box = "skytap-dummy"
52
- + box.vm_url = GENERIC_UBUNTU
53
- + box.cpus = VM_CPU
54
- + box.ram = VM_RAM
55
- + box.guestos = "ubuntu"
56
- + end
57
- +
58
- + dev.vm.provision :ansible do |ansible|
59
- + ansible.playbook = "ansible/playbooks/webservers.yml"
60
- + # with the skytap provider, let it generate the inventory (.vagrant/provisioners/..)
61
- + #ansible.inventory_path = "ansible/environments/dev"
62
- + end
63
- + end
64
- +end
65
- diff --git a/ansible b/ansible
66
- new file mode 120000
67
- --- /dev/null
68
- +++ b/ansible
69
- @@ -0,0 +1,1 @@
70
- +../chuck/ansible
71
-
72
- diff --git a/ansible.cfg b/ansible.cfg
73
- new file mode 120000
74
- --- /dev/null
75
- +++ b/ansible.cfg
76
- @@ -0,0 +1,1 @@
77
- +../chuck/ansible.cfg
78
-
79
- diff --git a/rake b/rake
80
- new file mode 120000
81
- --- /dev/null
82
- +++ b/rake
83
- @@ -0,0 +1,1 @@
84
- +../chuck/rake
85
-
86
- diff --git a/rakefile.rb b/rakefile.rb
87
- new file mode 120000
88
- --- /dev/null
89
- +++ b/rakefile.rb
90
- @@ -0,0 +1,1 @@
91
- +../chuck/rakefile.rb
92
-
@@ -1,40 +0,0 @@
1
- # HG changeset patch
2
- # Parent 1397b5a1cf5158f68afa12477b1de4101b8da248
3
- [mq]: cache-api-client-in-up
4
-
5
- diff -r 1397b5a1cf51 lib/vagrant-skytap/action/initialize_api_client.rb
6
- --- a/lib/vagrant-skytap/action/initialize_api_client.rb Mon Dec 07 19:47:09 2015 -0800
7
- +++ b/lib/vagrant-skytap/action/initialize_api_client.rb Wed Dec 09 16:03:46 2015 -0800
8
- @@ -13,11 +13,15 @@
9
- end
10
-
11
- def call(env)
12
- - @logger.info("Connecting to Skytap...")
13
- + unless env[:api_client]
14
- + @logger.info("Connecting to Skytap...")
15
-
16
- - client = API::Client.new(env[:machine].provider_config)
17
- - if client.get('/configurations').code == '200'
18
- - env[:api_client] = client
19
- + client = API::Client.new(env[:machine].provider_config)
20
- + if client.get('/configurations').code == '200'
21
- + env[:api_client] = client
22
- + end
23
- + else
24
- + @logger.info("Using cached API client")
25
- end
26
-
27
- @app.call(env)
28
- diff -r 1397b5a1cf51 lib/vagrant-skytap/command/up.rb
29
- --- a/lib/vagrant-skytap/command/up.rb Mon Dec 07 19:47:09 2015 -0800
30
- +++ b/lib/vagrant-skytap/command/up.rb Wed Dec 09 16:03:46 2015 -0800
31
- @@ -76,7 +76,8 @@
32
- provider: machine.provider_name))
33
-
34
- machines << machine
35
- - machine.action(:create, options)
36
- + result = machine.action(:create, options)
37
- + options[:api_client] ||= result[:api_client]
38
- machine.action(:update_hardware, options)
39
- end
40
-
@@ -1,44 +0,0 @@
1
- # HG changeset patch
2
- # Parent 376d225699f6e5edced626762b20690f8a86e566
3
- remove dead code in actions.rb
4
-
5
- diff -r 376d225699f6 -r 57b84d076d7f lib/vagrant-skytap/action.rb
6
- --- a/lib/vagrant-skytap/action.rb Tue Oct 20 13:31:40 2015 -0700
7
- +++ b/lib/vagrant-skytap/action.rb Tue Oct 20 13:31:55 2015 -0700
8
- @@ -86,17 +86,11 @@
9
- b.use FetchEnvironment
10
- b.use Call, EnvironmentExists do |env, b2|
11
- if env[:result]
12
- - b2.use Call, RunEnvironment do |env2, b3|
13
- - if env2[:result]
14
- - b3.use PrepareNFSSettings
15
- - b3.use PrepareNFSValidIds
16
- - b3.use Provision
17
- - b3.use SyncedFolders
18
- - else
19
- - #TODO:NLA IMPLEMENT ME
20
- - # b2.use RunFailed
21
- - end
22
- - end
23
- + b2.use RunEnvironment
24
- + b2.use PrepareNFSSettings
25
- + b2.use PrepareNFSValidIds
26
- + b2.use Provision
27
- + b2.use SyncedFolders
28
- else
29
- b2.use DeleteEnvironment
30
- b2.use MessageNotCreated
31
- @@ -217,12 +211,7 @@
32
- end
33
- end
34
- b.use action_prepare_boot
35
- - b.use Call, RunVm do |env, b1|
36
- - unless env[:result]
37
- - #TODO:NLA IMPLEMENT ME
38
- - # b2.use RunFailed
39
- - end
40
- - end
41
- + b.use RunVm
42
- end
43
- end
44
-
@@ -1,42 +0,0 @@
1
- # HG changeset patch
2
- # Parent 7e9e3ef348d477de33cc44c1eb0ab7ea3cac1f63
3
- # Parent ee39a0f00daf0a442a0050fd9875879c9770c886
4
- debug changes
5
-
6
- diff -r 7e9e3ef348d4 spec/unit/base.rb
7
- --- a/spec/unit/base.rb Tue Dec 15 15:08:20 2015 -0800
8
- +++ b/spec/unit/base.rb Tue Dec 15 15:08:41 2015 -0800
9
- @@ -5,6 +5,7 @@
10
- require "checkpoint"
11
- require "rspec/autorun"
12
- require "webmock/rspec"
13
- +require "byebug"
14
-
15
- # Require Vagrant itself so we can reference the proper
16
- # classes to test.
17
- diff -r 7e9e3ef348d4 vagrant-skytap.gemspec
18
- --- a/vagrant-skytap.gemspec Tue Dec 15 15:08:20 2015 -0800
19
- +++ b/vagrant-skytap.gemspec Tue Dec 15 15:08:41 2015 -0800
20
- @@ -17,6 +17,11 @@
21
-
22
- s.add_runtime_dependency "json_pure"
23
-
24
- + # MAKE SURE YOU POP THIS PATCH BEFORE DISTRIBUTING OR PUSHING THE GEM!
25
- + s.add_runtime_dependency "byebug"
26
- + s.add_runtime_dependency "pry", "~> 0.10"
27
- + s.add_runtime_dependency "awesome_print"
28
- +
29
- s.add_development_dependency "rake"
30
- s.add_development_dependency "rspec-core", "~> 2.14.0"
31
- s.add_development_dependency "rspec-expectations", "~> 2.14.0"
32
- @@ -24,6 +29,10 @@
33
- s.add_development_dependency "vagrant-spec", "~> 1.4.0"
34
- s.add_development_dependency "webmock", "~> 1.20"
35
-
36
- + s.add_development_dependency "byebug"#, "~> 5.0.0"
37
- + s.add_development_dependency "pry", "~> 0.10"
38
- + s.add_development_dependency "awesome_print"
39
- +
40
- # The following block of code determines the files that should be included
41
- # in the gem. It does this by reading all the files in the directory where
42
- # this gemspec is, and parsing out the ignored files from the gitignore.