vagrant-skytap 0.1.11 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (342) hide show
  1. checksums.yaml +4 -4
  2. data/.byebug_history +242 -19
  3. data/CHANGELOG.md +9 -0
  4. data/README.md +30 -8
  5. data/Vagrantfile.rej +83 -0
  6. data/_patches-20160112/0 +388 -0
  7. data/_patches-20160112/1 +82 -0
  8. data/_patches-20160112/2 +239 -0
  9. data/_patches-20160112/COMPLETED-ABOVE-THIS-LINE +4 -0
  10. data/_patches-20160112/COMPLETED-BELOW-THIS-LINE +4 -0
  11. data/_patches-20160112/CR-ABOVE-THIS-LINE +4 -0
  12. data/_patches-20160112/CR-BELOW-THIS-LINE +4 -0
  13. data/_patches-20160112/WIP-ABOVE-THIS-LINE +4 -0
  14. data/_patches-20160112/WIP-BELOW-THIS-LINE +4 -0
  15. data/_patches-20160112/acceptance-test-runner +29 -0
  16. data/_patches-20160112/ansible-1 +92 -0
  17. data/_patches-20160112/cache-api-client-in-up +40 -0
  18. data/_patches-20160112/dead-code-in-actions +44 -0
  19. data/_patches-20160112/debug-changes +42 -0
  20. data/_patches-20160112/demo-rails-app +1276 -0
  21. data/_patches-20160112/eng-10166-halt-spec +40 -0
  22. data/_patches-20160112/eng-10256 +527 -0
  23. data/_patches-20160112/eng-10256-2 +162 -0
  24. data/_patches-20160112/eng-10256-ubuntu-testing +88 -0
  25. data/_patches-20160112/eng-10269-test-stuff +87 -0
  26. data/_patches-20160112/eng-10269-wtf +119 -0
  27. data/_patches-20160112/eng-10369 +143 -0
  28. data/_patches-20160112/eng-10369-tmp +60 -0
  29. data/_patches-20160112/eng-10919 +56 -0
  30. data/_patches-20160112/eng-11177-fix-actions-requires +44 -0
  31. data/_patches-20160112/eng-11442 +4 -0
  32. data/_patches-20160112/eng-11616 +403 -0
  33. data/_patches-20160112/eng-11616-2 +67 -0
  34. data/_patches-20160112/eng-11616-actual +184 -0
  35. data/_patches-20160112/eng-11625a +4 -0
  36. data/_patches-20160112/eng-11711 +85 -0
  37. data/_patches-20160112/eng-12232-command-spec +236 -0
  38. data/_patches-20160112/eng-12235 +83 -0
  39. data/_patches-20160112/eng-12235-override-refactor +140 -0
  40. data/_patches-20160112/eng-12240 +103 -0
  41. data/_patches-20160112/eng-12249 +40 -0
  42. data/_patches-20160112/eng-12301 +50 -0
  43. data/_patches-20160112/eng-12843 +95 -0
  44. data/_patches-20160112/env-source +112 -0
  45. data/_patches-20160112/frickin-vagrant-spec +163 -0
  46. data/_patches-20160112/gem-pre-version +14 -0
  47. data/_patches-20160112/gems-old +9 -0
  48. data/_patches-20160112/googles-specs +713 -0
  49. data/_patches-20160112/local-configs-ignore +61 -0
  50. data/_patches-20160112/misc +79 -0
  51. data/_patches-20160112/network-unreachable +31 -0
  52. data/_patches-20160112/new-boxfile +288 -0
  53. data/_patches-20160112/parallelization-maybe +198 -0
  54. data/_patches-20160112/read-state +23 -0
  55. data/_patches-20160112/refactor-to-use-public_address-cap +25 -0
  56. data/_patches-20160112/series +60 -0
  57. data/_patches-20160112/status +12 -0
  58. data/_patches-20160112/test-move-env-data +231 -0
  59. data/_patches-20160112/test-vagrantfile-vm1 +167 -0
  60. data/_patches-20160112/the_version_in_0.1.13.pre1 +598 -0
  61. data/_patches-20160112/vagrant-spec-mock-api +137 -0
  62. data/_patches-20160112/vagrant-vmware-plugin +233 -0
  63. data/_patches-20160112/vagrantfile +403 -0
  64. data/_patches-20160112/vagrantfile-for-acceptance-tests +29 -0
  65. data/_patches-20160112/vagrantfile-for-nick +95 -0
  66. data/_patches-20160112/vagrantfiles-to-forget-what-they-are-for +134 -0
  67. data/_patches-20160112/vm-vanished +42 -0
  68. data/_patches-20160112a/01 +148 -0
  69. data/_patches-20160112a/2 +239 -0
  70. data/_patches-20160112a/COMPLETED-ABOVE-THIS-LINE +4 -0
  71. data/_patches-20160112a/COMPLETED-BELOW-THIS-LINE +4 -0
  72. data/_patches-20160112a/CR-ABOVE-THIS-LINE +4 -0
  73. data/_patches-20160112a/CR-BELOW-THIS-LINE +4 -0
  74. data/_patches-20160112a/WIP-ABOVE-THIS-LINE +4 -0
  75. data/_patches-20160112a/WIP-BELOW-THIS-LINE +4 -0
  76. data/_patches-20160112a/acceptance-test-runner +29 -0
  77. data/_patches-20160112a/ansible-1 +92 -0
  78. data/_patches-20160112a/cache-api-client-in-up +40 -0
  79. data/_patches-20160112a/dead-code-in-actions +44 -0
  80. data/_patches-20160112a/debug-changes +42 -0
  81. data/_patches-20160112a/demo-rails-app +1276 -0
  82. data/_patches-20160112a/eng-10166-halt-spec +40 -0
  83. data/_patches-20160112a/eng-10256-ubuntu-testing +88 -0
  84. data/_patches-20160112a/eng-10269-test-stuff +87 -0
  85. data/_patches-20160112a/eng-10269-wtf +119 -0
  86. data/_patches-20160112a/eng-10369 +143 -0
  87. data/_patches-20160112a/eng-10369-tmp +60 -0
  88. data/_patches-20160112a/eng-10919 +56 -0
  89. data/_patches-20160112a/eng-11177-fix-actions-requires +44 -0
  90. data/_patches-20160112a/eng-11442 +4 -0
  91. data/_patches-20160112a/eng-11616 +403 -0
  92. data/_patches-20160112a/eng-11616-2 +67 -0
  93. data/_patches-20160112a/eng-11616-actual +184 -0
  94. data/_patches-20160112a/eng-11625a +4 -0
  95. data/_patches-20160112a/eng-11711 +85 -0
  96. data/_patches-20160112a/eng-12232-command-spec +236 -0
  97. data/_patches-20160112a/eng-12235 +83 -0
  98. data/_patches-20160112a/eng-12235-override-refactor +140 -0
  99. data/_patches-20160112a/eng-12240 +103 -0
  100. data/_patches-20160112a/eng-12249 +40 -0
  101. data/_patches-20160112a/eng-12301 +50 -0
  102. data/_patches-20160112a/eng-12843 +95 -0
  103. data/_patches-20160112a/env-source +112 -0
  104. data/_patches-20160112a/frickin-vagrant-spec +163 -0
  105. data/_patches-20160112a/gem-pre-version +14 -0
  106. data/_patches-20160112a/gems-old +9 -0
  107. data/_patches-20160112a/googles-specs +713 -0
  108. data/_patches-20160112a/local-configs-ignore +61 -0
  109. data/_patches-20160112a/misc +79 -0
  110. data/_patches-20160112a/network-unreachable +31 -0
  111. data/_patches-20160112a/new-boxfile +288 -0
  112. data/_patches-20160112a/parallelization-maybe +198 -0
  113. data/_patches-20160112a/read-state +23 -0
  114. data/_patches-20160112a/refactor-to-use-public_address-cap +25 -0
  115. data/_patches-20160112a/series +58 -0
  116. data/_patches-20160112a/status +14 -0
  117. data/_patches-20160112a/test-move-env-data +231 -0
  118. data/_patches-20160112a/test-vagrantfile-vm1 +167 -0
  119. data/_patches-20160112a/the_version_in_0.1.13.pre1 +612 -0
  120. data/_patches-20160112a/then-copy-the-newer-files +632 -0
  121. data/_patches-20160112a/vagrant-spec-mock-api +137 -0
  122. data/_patches-20160112a/vagrant-vmware-plugin +233 -0
  123. data/_patches-20160112a/vagrantfile +403 -0
  124. data/_patches-20160112a/vagrantfile-for-acceptance-tests +29 -0
  125. data/_patches-20160112a/vagrantfile-for-nick +95 -0
  126. data/_patches-20160112a/vagrantfiles-to-forget-what-they-are-for +134 -0
  127. data/_patches-20160112a/vm-vanished +42 -0
  128. data/_patches-20160113/COMPLETED-ABOVE-THIS-LINE +4 -0
  129. data/_patches-20160113/COMPLETED-BELOW-THIS-LINE +4 -0
  130. data/_patches-20160113/CR-ABOVE-THIS-LINE +4 -0
  131. data/_patches-20160113/CR-BELOW-THIS-LINE +4 -0
  132. data/_patches-20160113/WIP-ABOVE-THIS-LINE +4 -0
  133. data/_patches-20160113/WIP-BELOW-THIS-LINE +4 -0
  134. data/_patches-20160113/acceptance-test-runner +29 -0
  135. data/_patches-20160113/ansible-1 +92 -0
  136. data/_patches-20160113/cache-api-client-in-up +40 -0
  137. data/_patches-20160113/dead-code-in-actions +44 -0
  138. data/_patches-20160113/debug-changes +55 -0
  139. data/_patches-20160113/demo-rails-app +1276 -0
  140. data/_patches-20160113/eng-10166-halt-spec +40 -0
  141. data/_patches-20160113/eng-10256 +543 -0
  142. data/_patches-20160113/eng-10256-ubuntu-testing +88 -0
  143. data/_patches-20160113/eng-10269-test-stuff +87 -0
  144. data/_patches-20160113/eng-10269-wtf +119 -0
  145. data/_patches-20160113/eng-10369 +143 -0
  146. data/_patches-20160113/eng-10369-tmp +60 -0
  147. data/_patches-20160113/eng-10919 +56 -0
  148. data/_patches-20160113/eng-11177-fix-actions-requires +44 -0
  149. data/_patches-20160113/eng-11442 +4 -0
  150. data/_patches-20160113/eng-11616 +403 -0
  151. data/_patches-20160113/eng-11616-2 +67 -0
  152. data/_patches-20160113/eng-11616-actual +184 -0
  153. data/_patches-20160113/eng-11625a +4 -0
  154. data/_patches-20160113/eng-11711 +85 -0
  155. data/_patches-20160113/eng-12232-command-spec +236 -0
  156. data/_patches-20160113/eng-12235 +83 -0
  157. data/_patches-20160113/eng-12235-override-refactor +140 -0
  158. data/_patches-20160113/eng-12240 +103 -0
  159. data/_patches-20160113/eng-12249 +40 -0
  160. data/_patches-20160113/eng-12301 +50 -0
  161. data/_patches-20160113/eng-12720 +47 -0
  162. data/_patches-20160113/eng-12843 +95 -0
  163. data/_patches-20160113/env-source +112 -0
  164. data/_patches-20160113/frickin-vagrant-spec +163 -0
  165. data/_patches-20160113/gem-pre-version +14 -0
  166. data/_patches-20160113/gems-old +9 -0
  167. data/_patches-20160113/googles-specs +713 -0
  168. data/_patches-20160113/local-configs-ignore +61 -0
  169. data/_patches-20160113/misc +79 -0
  170. data/_patches-20160113/network-unreachable +31 -0
  171. data/_patches-20160113/new-boxfile +288 -0
  172. data/_patches-20160113/parallelization-maybe +198 -0
  173. data/_patches-20160113/read-state +23 -0
  174. data/_patches-20160113/refactor-to-use-public_address-cap +25 -0
  175. data/_patches-20160113/series +56 -0
  176. data/_patches-20160113/status +14 -0
  177. data/_patches-20160113/test-move-env-data +231 -0
  178. data/_patches-20160113/test-vagrantfile-vm1 +167 -0
  179. data/_patches-20160113/vagrant-spec-mock-api +137 -0
  180. data/_patches-20160113/vagrant-vmware-plugin +233 -0
  181. data/_patches-20160113/vagrantfile +403 -0
  182. data/_patches-20160113/vagrantfile-for-acceptance-tests +29 -0
  183. data/_patches-20160113/vagrantfile-for-nick +95 -0
  184. data/_patches-20160113/vagrantfiles-to-forget-what-they-are-for +134 -0
  185. data/_patches-20160113/vm-vanished +42 -0
  186. data/_patches-20160118/COMPLETED-ABOVE-THIS-LINE +4 -0
  187. data/_patches-20160118/COMPLETED-BELOW-THIS-LINE +4 -0
  188. data/_patches-20160118/CR-ABOVE-THIS-LINE +4 -0
  189. data/_patches-20160118/CR-BELOW-THIS-LINE +4 -0
  190. data/_patches-20160118/WIP-ABOVE-THIS-LINE +4 -0
  191. data/_patches-20160118/WIP-BELOW-THIS-LINE +4 -0
  192. data/_patches-20160118/acceptance-test-runner +29 -0
  193. data/_patches-20160118/ansible-1 +92 -0
  194. data/_patches-20160118/cache-api-client-in-up +40 -0
  195. data/_patches-20160118/dead-code-in-actions +44 -0
  196. data/_patches-20160118/debug-changes +55 -0
  197. data/_patches-20160118/demo-rails-app +1276 -0
  198. data/_patches-20160118/eng-10166-halt-spec +40 -0
  199. data/_patches-20160118/eng-10256 +554 -0
  200. data/_patches-20160118/eng-10256-cr +314 -0
  201. data/_patches-20160118/eng-10256-ubuntu-testing +88 -0
  202. data/_patches-20160118/eng-10269-test-stuff +87 -0
  203. data/_patches-20160118/eng-10269-wtf +119 -0
  204. data/_patches-20160118/eng-10369 +143 -0
  205. data/_patches-20160118/eng-10369-tmp +60 -0
  206. data/_patches-20160118/eng-10919 +56 -0
  207. data/_patches-20160118/eng-11177-fix-actions-requires +44 -0
  208. data/_patches-20160118/eng-11442 +4 -0
  209. data/_patches-20160118/eng-11616 +403 -0
  210. data/_patches-20160118/eng-11616-2 +67 -0
  211. data/_patches-20160118/eng-11616-actual +184 -0
  212. data/_patches-20160118/eng-11625a +4 -0
  213. data/_patches-20160118/eng-11711 +85 -0
  214. data/_patches-20160118/eng-12232-command-spec +236 -0
  215. data/_patches-20160118/eng-12235 +83 -0
  216. data/_patches-20160118/eng-12235-override-refactor +140 -0
  217. data/_patches-20160118/eng-12240 +103 -0
  218. data/_patches-20160118/eng-12249 +40 -0
  219. data/_patches-20160118/eng-12301 +50 -0
  220. data/_patches-20160118/eng-12720 +74 -0
  221. data/_patches-20160118/eng-12843 +95 -0
  222. data/_patches-20160118/eng-13040 +291 -0
  223. data/_patches-20160118/env-source +112 -0
  224. data/_patches-20160118/frickin-vagrant-spec +163 -0
  225. data/_patches-20160118/gem-pre-version +14 -0
  226. data/_patches-20160118/gems-old +9 -0
  227. data/_patches-20160118/googles-specs +713 -0
  228. data/_patches-20160118/local-configs-ignore +61 -0
  229. data/_patches-20160118/misc +79 -0
  230. data/_patches-20160118/network-unreachable +31 -0
  231. data/_patches-20160118/new-boxfile +288 -0
  232. data/_patches-20160118/parallelization-maybe +198 -0
  233. data/_patches-20160118/port-forwarding-processes +87 -0
  234. data/_patches-20160118/read-state +23 -0
  235. data/_patches-20160118/refactor-to-use-public_address-cap +25 -0
  236. data/_patches-20160118/series +59 -0
  237. data/_patches-20160118/status +13 -0
  238. data/_patches-20160118/test-move-env-data +231 -0
  239. data/_patches-20160118/test-vagrantfile-vm1 +167 -0
  240. data/_patches-20160118/vagrant-spec-mock-api +137 -0
  241. data/_patches-20160118/vagrant-vmware-plugin +233 -0
  242. data/_patches-20160118/vagrantfile +403 -0
  243. data/_patches-20160118/vagrantfile-for-acceptance-tests +29 -0
  244. data/_patches-20160118/vagrantfile-for-nick +95 -0
  245. data/_patches-20160118/vagrantfiles-to-forget-what-they-are-for +134 -0
  246. data/_patches-20160118/vm-vanished +42 -0
  247. data/_patches-20160118a/COMPLETED-ABOVE-THIS-LINE +4 -0
  248. data/_patches-20160118a/COMPLETED-BELOW-THIS-LINE +4 -0
  249. data/_patches-20160118a/CR-ABOVE-THIS-LINE +4 -0
  250. data/_patches-20160118a/CR-BELOW-THIS-LINE +4 -0
  251. data/_patches-20160118a/WIP-ABOVE-THIS-LINE +4 -0
  252. data/_patches-20160118a/WIP-BELOW-THIS-LINE +4 -0
  253. data/_patches-20160118a/acceptance-test-runner +29 -0
  254. data/_patches-20160118a/ansible-1 +92 -0
  255. data/_patches-20160118a/bar +189 -0
  256. data/_patches-20160118a/cache-api-client-in-up +40 -0
  257. data/_patches-20160118a/dead-code-in-actions +44 -0
  258. data/_patches-20160118a/debug-changes +55 -0
  259. data/_patches-20160118a/demo-rails-app +1276 -0
  260. data/_patches-20160118a/eng-10166-halt-spec +40 -0
  261. data/_patches-20160118a/eng-10256 +554 -0
  262. data/_patches-20160118a/eng-10256-cr +314 -0
  263. data/_patches-20160118a/eng-10256-ubuntu-testing +88 -0
  264. data/_patches-20160118a/eng-10269-test-stuff +87 -0
  265. data/_patches-20160118a/eng-10269-wtf +119 -0
  266. data/_patches-20160118a/eng-10369 +143 -0
  267. data/_patches-20160118a/eng-10369-tmp +60 -0
  268. data/_patches-20160118a/eng-10919 +56 -0
  269. data/_patches-20160118a/eng-11177-fix-actions-requires +44 -0
  270. data/_patches-20160118a/eng-11442 +4 -0
  271. data/_patches-20160118a/eng-11616 +403 -0
  272. data/_patches-20160118a/eng-11616-2 +67 -0
  273. data/_patches-20160118a/eng-11616-actual +184 -0
  274. data/_patches-20160118a/eng-11625a +4 -0
  275. data/_patches-20160118a/eng-11711 +85 -0
  276. data/_patches-20160118a/eng-12232-command-spec +236 -0
  277. data/_patches-20160118a/eng-12235 +83 -0
  278. data/_patches-20160118a/eng-12235-override-refactor +140 -0
  279. data/_patches-20160118a/eng-12240 +103 -0
  280. data/_patches-20160118a/eng-12249 +40 -0
  281. data/_patches-20160118a/eng-12301 +50 -0
  282. data/_patches-20160118a/eng-12720 +74 -0
  283. data/_patches-20160118a/eng-12843 +95 -0
  284. data/_patches-20160118a/eng-13040 +291 -0
  285. data/_patches-20160118a/env-source +112 -0
  286. data/_patches-20160118a/foo +169 -0
  287. data/_patches-20160118a/frickin-vagrant-spec +163 -0
  288. data/_patches-20160118a/gem-pre-version +14 -0
  289. data/_patches-20160118a/gems-old +9 -0
  290. data/_patches-20160118a/googles-specs +713 -0
  291. data/_patches-20160118a/guestport-madness +59 -0
  292. data/_patches-20160118a/local-configs-ignore +61 -0
  293. data/_patches-20160118a/misc +79 -0
  294. data/_patches-20160118a/network-unreachable +31 -0
  295. data/_patches-20160118a/new-boxfile +288 -0
  296. data/_patches-20160118a/parallelization-maybe +198 -0
  297. data/_patches-20160118a/port-forwarding-processes +87 -0
  298. data/_patches-20160118a/read-state +23 -0
  299. data/_patches-20160118a/refactor-to-use-public_address-cap +25 -0
  300. data/_patches-20160118a/series +62 -0
  301. data/_patches-20160118a/status +14 -0
  302. data/_patches-20160118a/test-move-env-data +231 -0
  303. data/_patches-20160118a/test-vagrantfile-vm1 +167 -0
  304. data/_patches-20160118a/vagrant-spec-mock-api +137 -0
  305. data/_patches-20160118a/vagrant-vmware-plugin +233 -0
  306. data/_patches-20160118a/vagrantfile +403 -0
  307. data/_patches-20160118a/vagrantfile-for-acceptance-tests +29 -0
  308. data/_patches-20160118a/vagrantfile-for-nick +95 -0
  309. data/_patches-20160118a/vagrantfiles-to-forget-what-they-are-for +134 -0
  310. data/_patches-20160118a/vm-vanished +42 -0
  311. data/lib/vagrant-skytap/action/clear_forwarded_ports.rb +19 -0
  312. data/lib/vagrant-skytap/action/forward_ports.rb +42 -0
  313. data/lib/vagrant-skytap/action/prepare_forwarded_port_collision_params.rb +37 -0
  314. data/lib/vagrant-skytap/action.rb +18 -0
  315. data/lib/vagrant-skytap/api/environment.rb +19 -4
  316. data/lib/vagrant-skytap/api/vm.rb +10 -6
  317. data/lib/vagrant-skytap/command/up.rb +7 -1
  318. data/lib/vagrant-skytap/errors.rb +4 -0
  319. data/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb +15 -0
  320. data/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb +183 -0
  321. data/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb +15 -0
  322. data/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb +27 -0
  323. data/lib/vagrant-skytap/model/forwarded_port.rb +78 -0
  324. data/lib/vagrant-skytap/plugin.rb +15 -0
  325. data/lib/vagrant-skytap/util/compile_forwarded_ports.rb +35 -0
  326. data/lib/vagrant-skytap/version.rb +1 -1
  327. data/locales/en.yml +3 -0
  328. data/spec/unit/environment_spec.rb +14 -2
  329. data/spec/unit/forwarded_port_spec.rb +45 -0
  330. data/spec/unit/hosts/common/cap/ssh_tunnel_spec.rb +180 -0
  331. data/spec/unit/prepare_collision_params_spec.rb +57 -0
  332. data/spec/unit/support/forwarded_ports/machines/vm1/skytap/id +1 -0
  333. data/spec/unit/support/forwarded_ports/machines/vm1/skytap/private_key +4 -0
  334. data/spec/unit/support/forwarded_ports/machines/vm1/skytap/tcp9000_tcp_9000_80.pid +1 -0
  335. data/spec/unit/support/forwarded_ports/machines/vm1/skytap/tcp9001_tcp_9001_81.pid +1 -0
  336. data/spec/unit/support/forwarded_ports/machines/vm1/virtualbox/id +1 -0
  337. data/spec/unit/support/forwarded_ports/machines/vm2/skytap/id +1 -0
  338. data/spec/unit/support/forwarded_ports/machines/vm2/skytap/tcp8080_tcp_8080_80.pid +1 -0
  339. data/spec/unit/support/forwarded_ports/machines/vm3/virtualbox/id +1 -0
  340. data/spec/unit/support/forwarded_ports/machines/vm4/skytap/id +1 -0
  341. data/spec/unit/support/forwarded_ports/machines/vm4/skytap/tcp8888_tcp_8888_80.pid +1 -0
  342. metadata +330 -2
@@ -0,0 +1,233 @@
1
+ # HG changeset patch
2
+ # Parent 2b7d0c8f1544414f2130c40ab986ee9723e06b45
3
+ The unpacked vagrant-vmware-fusion gem, which is just a stub. The real gem lives elsewhere.
4
+
5
+ diff --git a/vagrant-vmware/.gitignore b/vagrant-vmware/.gitignore
6
+ new file mode 100644
7
+ --- /dev/null
8
+ +++ b/vagrant-vmware/.gitignore
9
+ @@ -0,0 +1,17 @@
10
+ +*.gem
11
+ +*.rbc
12
+ +.bundle
13
+ +.config
14
+ +.yardoc
15
+ +Gemfile.lock
16
+ +InstalledFiles
17
+ +_yardoc
18
+ +coverage
19
+ +doc/
20
+ +lib/bundler/man
21
+ +pkg
22
+ +rdoc
23
+ +spec/reports
24
+ +test/tmp
25
+ +test/version_tmp
26
+ +tmp
27
+ diff --git a/vagrant-vmware/Gemfile b/vagrant-vmware/Gemfile
28
+ new file mode 100644
29
+ --- /dev/null
30
+ +++ b/vagrant-vmware/Gemfile
31
+ @@ -0,0 +1,3 @@
32
+ +source "https://rubygems.org"
33
+ +
34
+ +gemspec
35
+ diff --git a/vagrant-vmware/README.md b/vagrant-vmware/README.md
36
+ new file mode 100644
37
+ --- /dev/null
38
+ +++ b/vagrant-vmware/README.md
39
+ @@ -0,0 +1,5 @@
40
+ +# Stub Gem for Vagrant VMware Fusion
41
+ +
42
+ +This is a stub gem that is pushed to the central RubyGems repository
43
+ +so that no one can steal the name, but the actual plugin is released
44
+ +from the HashiCorp repository.
45
+ diff --git a/vagrant-vmware/Rakefile b/vagrant-vmware/Rakefile
46
+ new file mode 100644
47
+ --- /dev/null
48
+ +++ b/vagrant-vmware/Rakefile
49
+ @@ -0,0 +1,1 @@
50
+ +require "bundler/gem_tasks"
51
+ diff --git a/vagrant-vmware/data.tar b/vagrant-vmware/data.tar
52
+ new file mode 100644
53
+ index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9d4f00b266ec98dbc7a6bc438a6ba00b470157fb
54
+ GIT binary patch
55
+ literal 8704
56
+ zc%1E7ZExE)5Z-703PSA=JE$qYB=KM%*n%}#12k)q1o={IDlMHPA`+>QRNSEMf8SA(
57
+ z9nZ^Z6o}nz)dL%nj>kKR;&VrySR$-Qq|)%+*3d^B9UN3g#QL#691WM}m3%N7qB`ww
58
+ z@0K1=8p}1hpQQlVXY@9;uRq*>1p6$3oa{3_4GEi;GRlCkP{~*%gxzx;sgV2vc`Pzu
59
+ znF?>oxx@j>GKkJlWJu8Hgz647Pk`WsPckv}Yh&8axg^DHLMk;=K<H~Il(vRgFxIzu
60
+ zQJ-LcBa{p(0sg=C$b1`U-tAU>Y~p|aV7$iv;o;$^<^L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gQfYOCXP<}SF-W8k*bV7h3$G0+gAVw$NY3i1SJMVnh&v}p14_!GYNypjL_
76
+
77
+ diff --git a/vagrant-vmware/lib/vagrant-vmware-fusion.rb b/vagrant-vmware/lib/vagrant-vmware-fusion.rb
78
+ new file mode 100644
79
+ --- /dev/null
80
+ +++ b/vagrant-vmware/lib/vagrant-vmware-fusion.rb
81
+ @@ -0,0 +1,1 @@
82
+ +raise "The Vagrant VMware Fusion provider can be purchased from http://www.vagrantup.com/vmware."
83
+ diff --git a/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb b/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb
84
+ new file mode 100644
85
+ --- /dev/null
86
+ +++ b/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb
87
+ @@ -0,0 +1,5 @@
88
+ +module HashiCorp
89
+ + module VagrantVMwareFusion
90
+ + VERSION = "0.0.1"
91
+ + end
92
+ +end
93
+ diff --git a/vagrant-vmware/metadata b/vagrant-vmware/metadata
94
+ new file mode 100644
95
+ --- /dev/null
96
+ +++ b/vagrant-vmware/metadata
97
+ @@ -0,0 +1,68 @@
98
+ +--- !ruby/object:Gem::Specification
99
+ +name: vagrant-vmware-fusion
100
+ +version: !ruby/object:Gem::Version
101
+ + version: 0.0.1
102
+ + prerelease:
103
+ +platform: ruby
104
+ +authors:
105
+ +- Mitchell Hashimoto
106
+ +autorequire:
107
+ +bindir: bin
108
+ +cert_chain: []
109
+ +date: 2013-03-14 00:00:00.000000000 Z
110
+ +dependencies:
111
+ +- !ruby/object:Gem::Dependency
112
+ + name: rake
113
+ + requirement: !ruby/object:Gem::Requirement
114
+ + none: false
115
+ + requirements:
116
+ + - - ! '>='
117
+ + - !ruby/object:Gem::Version
118
+ + version: '0'
119
+ + type: :development
120
+ + prerelease: false
121
+ + version_requirements: !ruby/object:Gem::Requirement
122
+ + none: false
123
+ + requirements:
124
+ + - - ! '>='
125
+ + - !ruby/object:Gem::Version
126
+ + version: '0'
127
+ +description: The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware
128
+ +email:
129
+ +- mitchell@hashicorp.com
130
+ +executables: []
131
+ +extensions: []
132
+ +extra_rdoc_files: []
133
+ +files:
134
+ +- .gitignore
135
+ +- Gemfile
136
+ +- README.md
137
+ +- Rakefile
138
+ +- lib/vagrant-vmware-fusion.rb
139
+ +- lib/vagrant-vmware-fusion/version.rb
140
+ +- vagrant-vmware-fusion.gemspec
141
+ +homepage: http://www.vagrantup.com/vmware
142
+ +licenses: []
143
+ +post_install_message:
144
+ +rdoc_options: []
145
+ +require_paths:
146
+ +- lib
147
+ +required_ruby_version: !ruby/object:Gem::Requirement
148
+ + none: false
149
+ + requirements:
150
+ + - - ! '>='
151
+ + - !ruby/object:Gem::Version
152
+ + version: '0'
153
+ +required_rubygems_version: !ruby/object:Gem::Requirement
154
+ + none: false
155
+ + requirements:
156
+ + - - ! '>='
157
+ + - !ruby/object:Gem::Version
158
+ + version: '0'
159
+ +requirements: []
160
+ +rubyforge_project:
161
+ +rubygems_version: 1.8.23
162
+ +signing_key:
163
+ +specification_version: 3
164
+ +summary: The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware
165
+ +test_files: []
166
+ diff --git a/vagrant-vmware/vagrant-vmware-fusion-0.0.1.gem b/vagrant-vmware/vagrant-vmware-fusion-0.0.1.gem
167
+ new file mode 100644
168
+ index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..75f65fcc2815d10614e8e59b8a3ce45577663a7b
169
+ GIT binary patch
170
+ literal 4608
171
+ zc%1Flc`zG#0tav<?mAvW6^(d!?jwmvU2(NhRYe>{RVs)CiMw0p3rb%dt=17LRoAl~
172
+ z4cb>l9A%4AN;QsBH}8>BH10d=?VFw5c{{T^`$xC4Gd}<Pe)Bu#_xsKK=J)-1VMDQ+
173
+ zq1a$ed<4gr0y%_$!~a$u`eO-$Xe0h!|Ggcmtqp^4$U?r@j{eE@ki*j-E`Ni7!x8_@
174
+ zxc}7u$HV=f04MWtbgY`9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u#p8>Dqip1a+&B$37{IQfBB5m(;4n-TXT{nCd=?*gVxNG?nu
204
+ z=g=Bvcra*rL2$G6AvWZDB<?-Xzwr%CveH`vMZ`F|_I;BQ<^dVM4U(I;vNV0YO3B(D
205
+ z*^59K+FfE+d>;d<+wP<8GL!vp+Pzsk=nEH!vC@-CAanel79j-Vq02m9`z9Yba^%R7
206
+ H|HfYdQRG*W
207
+
208
+ diff --git a/vagrant-vmware/vagrant-vmware-fusion.gemspec b/vagrant-vmware/vagrant-vmware-fusion.gemspec
209
+ new file mode 100644
210
+ --- /dev/null
211
+ +++ b/vagrant-vmware/vagrant-vmware-fusion.gemspec
212
+ @@ -0,0 +1,21 @@
213
+ +# -*- encoding: utf-8 -*-
214
+ +lib = File.expand_path('../lib', __FILE__)
215
+ +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
216
+ +require 'vagrant-vmware-fusion/version'
217
+ +
218
+ +Gem::Specification.new do |gem|
219
+ + gem.name = "vagrant-vmware-fusion"
220
+ + gem.version = HashiCorp::VagrantVMwareFusion::VERSION
221
+ + gem.authors = ["Mitchell Hashimoto"]
222
+ + gem.email = ["mitchell@hashicorp.com"]
223
+ + gem.description = "The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware"
224
+ + gem.summary = "The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware"
225
+ + gem.homepage = "http://www.vagrantup.com/vmware"
226
+ +
227
+ + gem.add_development_dependency "rake"
228
+ +
229
+ + gem.files = `git ls-files`.split($/)
230
+ + gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
231
+ + gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
232
+ + gem.require_paths = ["lib"]
233
+ +end
@@ -0,0 +1,403 @@
1
+ # HG changeset patch
2
+ # Parent fb70a607243a0a5da881a0566cdbc635103709c9
3
+ # Parent 1a384b1c91740ed09d3c8d202960532280caa3b7
4
+ my Vagrantfile, provisioning scripts, etc.
5
+ * * *
6
+ [mq]: vf3
7
+ * * *
8
+ [mq]: vf1
9
+
10
+ diff --git a/Vagrantfile b/Vagrantfile
11
+ new file mode 100644
12
+ --- /dev/null
13
+ +++ b/Vagrantfile
14
+ @@ -0,0 +1,157 @@
15
+ +vpns = {
16
+ + etrue_prod: "/vpns/vpn-711360",
17
+ + etrue_test: "/vpns/vpn-286952",
18
+ + vagrant_provider_test: "/vpns/vpn-3195669",
19
+ + jsmith_dev: "/vpns/vpn-8797011425",
20
+ +}
21
+ +
22
+ +base_urls = {
23
+ + prod: "https://cloud.skytap.com/",
24
+ + test: "https://test.skytap.com/",
25
+ + integ: "https://integ.skytap.com/",
26
+ + dev: "https://cloud.skytap.dev/",
27
+ +}
28
+ +
29
+ +settings = {
30
+ + etrue_prod: {
31
+ + username: "etrue",
32
+ + api_token: "fcb2620b72efddbc8239e25db9d812f510c7e166",
33
+ + base_url: base_urls[:prod],
34
+ + vpn_url: vpns[:etrue_prod],
35
+ + },
36
+ + etrue_test: {
37
+ + username: "etrue",
38
+ + api_token: "d41e7b2f98b63844512c0d62d0e5496949d35f57",
39
+ + base_url: base_urls[:test],
40
+ + vpn_url: vpns[:etrue_test],
41
+ + },
42
+ + vagrant_provider_admin: {
43
+ + username: "vagrant_provider_admin",
44
+ + api_token: "7c5718531a32eb90e92c804ce1f73da98be22cdf",
45
+ + base_url: base_urls[:test],
46
+ + vpn_url: vpns[:vagrant_provider_test],
47
+ + },
48
+ + jsmith_dev: {
49
+ + username: "jsmith",
50
+ + api_token: "754be5220955f35840498340606b4dfa89f7eb61",
51
+ + base_url: base_urls[:dev],
52
+ + vpn_url: vpns[:jsmith_dev],
53
+ + },
54
+ +}
55
+ +
56
+ +vms = {
57
+ + golden: {
58
+ + vm_url: "https://cloud.skytap.com/vms/6869434"
59
+ + },
60
+ + nick_for_bootcamp: {
61
+ + vm_url: "https://cloud.skytap.com/vms/7878190",
62
+ + },
63
+ + take1: {
64
+ + vm_url: "https://test.skytap.com/vms/6984688",
65
+ + username: "autoadmin",
66
+ + password: "autoadmin",
67
+ + },
68
+ + ubuntu1: {
69
+ + vm_url: "https://cloud.skytap.com/vms/7285844"
70
+ + },
71
+ + ubuntu2: {
72
+ + vm_url: "https://cloud.skytap.com/vms/7285846",
73
+ + username: "skytap",
74
+ + password: "CarpYe$$$"
75
+ + },
76
+ + ubuntu_with_vagrant: {vm_url: "https://cloud.skytap.com/vms/7397734"},
77
+ + us_east: {vm_url: "https://cloud.skytap.com/vms/6232386"},
78
+ + emea: {vm_url: "https://cloud.skytap.com/vms/4153172"},
79
+ + eng11490: {vm_url: "https://cloud.skytap.com/templates/696065"},
80
+ + no_disk: {vm_url: "https://cloud.skytap.com/vms/7500356"},
81
+ + public_template_no_sudoers: {
82
+ + vm_url: "https://cloud.skytap.com/vms/3157858",
83
+ + },
84
+ + windows_winrm_configured: {
85
+ + vm_url: "https://cloud.skytap.com/vms/7242468",
86
+ + username: "Administrator",
87
+ + password: "admin",
88
+ + communicator: :winrm,
89
+ + },
90
+ + vm_on_dev: {
91
+ + vm_url:"https://cloud.skytap.dev/vms/372"
92
+ + },
93
+ +}.tap do |ret|
94
+ + ret.each do |key, vm|
95
+ + vm[:username] ||= "skytap"
96
+ + vm[:password] ||= "ChangeMe!"
97
+ + vm[:communicator] ||= :ssh
98
+ + end
99
+ +end
100
+ +
101
+ +##################################
102
+ +settings_key = :etrue_prod
103
+ +vm1_key = :golden
104
+ +vm2_key = :windows_winrm_configured
105
+ +vm3_key = :ubuntu2
106
+ +#############################
107
+ +
108
+ +
109
+ +Vagrant.configure(2) do |config|
110
+ + config.vm.box = "skytap/empty"
111
+ + config.vm.synced_folder ".", "/vagrant-skytap",
112
+ + type: "rsync",
113
+ + disabled: true,
114
+ + rsync__exclude: [".hg/", "autossh.log"]
115
+ +
116
+ + config.vm.provider :skytap do |skytap, override|
117
+ + skytap.username = settings[settings_key][:username]
118
+ + skytap.api_token = settings[settings_key][:api_token]
119
+ + skytap.base_url = settings[settings_key][:base_url]
120
+ + skytap.vpn_url = settings[settings_key][:vpn_url]
121
+ + end
122
+ +
123
+ + #config.vm.provider :virtualbox do |virtualbox, override|
124
+ + # override.vm.box = "hashicorp/precise64"
125
+ + #end
126
+ +
127
+ + config.vm.define "vm1" do |box|
128
+ + #box.vm.hostname = "vm1"
129
+ + box.vm.provider :skytap do |box|
130
+ + box.vm_url = vms[vm1_key][:vm_url]
131
+ + #box.cpus = 1
132
+ + end
133
+ + box.ssh.username = vms[vm1_key][:username]
134
+ + box.ssh.password = vms[vm1_key][:password]
135
+ + box.vm.communicator = vms[vm1_key][:communicator]
136
+ + #box.vm.synced_folder "vm1", "/synced", type: :nfs, mount_options: ['actimeo=1']
137
+ + #box.vm.synced_folder ".", "/vagrant-skytap", type: :nfs, mount_options: ['actimeo=1']
138
+ + #box.vm.provision "shell", path: "provisioning/trivial.sh"
139
+ + box.vm.provision "shell", path: "provisioning/apache.sh"
140
+ + box.vm.provision "shell", path: "provisioning/vagrant.sh"
141
+ +
142
+ + #box.vm.network :forwarded_port, guest: 80, host: 9000
143
+ + #box.vm.network :forwarded_port, guest: 21, host: 9001
144
+ + end
145
+ +
146
+ +# config.vm.define "vm2" do |box|
147
+ +# box.vm.hostname = "vm2"
148
+ +# box.vm.provider :skytap do |box|
149
+ +# box.vm_url = vms[vm2_key][:vm_url]
150
+ +# end
151
+ +# box.ssh.username = vms[vm2_key][:username]
152
+ +# box.ssh.password = vms[vm2_key][:password]
153
+ +# box.vm.communicator = vms[vm2_key][:communicator]
154
+ +# box.vm.synced_folder "vm2", "/synced", type: :nfs
155
+ +# end
156
+ +#
157
+ +# config.vm.define "vm3" do |box|
158
+ +# box.vm.hostname = "vm3"
159
+ +# box.vm.provider :skytap do |box|
160
+ +# box.vm_url = vms[vm3_key][:vm_url]
161
+ +# end
162
+ +# box.ssh.username = vms[vm3_key][:username]
163
+ +# box.ssh.password = vms[vm3_key][:password]
164
+ +# box.vm.communicator = vms[vm3_key][:communicator]
165
+ +# box.vm.synced_folder "vm3", "/synced", type: :nfs
166
+ +# box.vm.provision "shell", path: "provisioning/trivial.sh"
167
+ +# end
168
+ +end
169
+ +
170
+ +#ubuntu.vm.synced_folder "vm1", "/home/skytap/app", type: :nfs, :mount_options => ['actimeo=1']
171
+ +
172
+ diff --git a/provisioning/ab.sh b/provisioning/ab.sh
173
+ new file mode 100644
174
+ --- /dev/null
175
+ +++ b/provisioning/ab.sh
176
+ @@ -0,0 +1,4 @@
177
+ +#!/bin/bash
178
+ +
179
+ +sudo apt-get update
180
+ +sudo apt-get install -y apache2-utils
181
+ diff --git a/provisioning/apache.sh b/provisioning/apache.sh
182
+ new file mode 100644
183
+ --- /dev/null
184
+ +++ b/provisioning/apache.sh
185
+ @@ -0,0 +1,5 @@
186
+ +#!/bin/bash
187
+ +
188
+ +sudo apt-get update
189
+ +sudo apt-get install -y apache2 lynx-cur
190
+ +sudo update-rc.d apache2 enable
191
+ diff --git a/provisioning/lynx.sh b/provisioning/lynx.sh
192
+ new file mode 100644
193
+ --- /dev/null
194
+ +++ b/provisioning/lynx.sh
195
+ @@ -0,0 +1,4 @@
196
+ +#!/bin/bash
197
+ +
198
+ +sudo apt-get update
199
+ +sudo apt-get install -y lynx-cur
200
+ diff --git a/provisioning/mysql.sh b/provisioning/mysql.sh
201
+ new file mode 100644
202
+ --- /dev/null
203
+ +++ b/provisioning/mysql.sh
204
+ @@ -0,0 +1,4 @@
205
+ +#!/bin/bash
206
+ +
207
+ +sudo apt-get update
208
+ +sudo apt-get install -y rails mysql-client-core-5.6 ruby-dev zlib1g-dev libxml2-dev libxslt-dev
209
+ diff --git a/provisioning/rails.sh b/provisioning/rails.sh
210
+ new file mode 100644
211
+ --- /dev/null
212
+ +++ b/provisioning/rails.sh
213
+ @@ -0,0 +1,12 @@
214
+ +#!/bin/bash
215
+ +
216
+ +sudo apt-get update
217
+ +sudo apt-get install -y rails \
218
+ + ruby-dev zlib1g-dev libxml2-dev libxslt-dev libsqlite3-dev nodejs \
219
+ + lynx upstart
220
+ +
221
+ +cd app
222
+ +bundle install
223
+ +rails s &
224
+ +
225
+ +#sudo initctl start rails_demo
226
+ diff --git a/provisioning/trivial.sh b/provisioning/trivial.sh
227
+ new file mode 100644
228
+ --- /dev/null
229
+ +++ b/provisioning/trivial.sh
230
+ @@ -0,0 +1,3 @@
231
+ +#!/bin/bash
232
+ +
233
+ +echo "****************************** TRIVIAL PROVISIONING SCRIPT ******************************"
234
+ diff --git a/provisioning/vagrant.sh b/provisioning/vagrant.sh
235
+ new file mode 100644
236
+ --- /dev/null
237
+ +++ b/provisioning/vagrant.sh
238
+ @@ -0,0 +1,4 @@
239
+ +#!/bin/bash
240
+ +VAGRANT_URL=https://releases.hashicorp.com/vagrant/1.8.0/vagrant_1.8.0_x86_64.deb
241
+ +FILE=`mktemp`; wget "$VAGRANT_URL" -qO $FILE && sudo dpkg -i $FILE; rm $FILE
242
+ +vagrant plugin install vagrant-skytap
243
+ diff --git a/vm1/Vagrantfile b/vm1/Vagrantfile
244
+ new file mode 100644
245
+ --- /dev/null
246
+ +++ b/vm1/Vagrantfile
247
+ @@ -0,0 +1,148 @@
248
+ +vpns = {
249
+ + etrue_prod: "/vpns/vpn-711360",
250
+ + etrue_test: "/vpns/vpn-286952",
251
+ + vagrant_provider_test: "/vpns/vpn-3195669",
252
+ + jsmith_dev: "/vpns/vpn-8797011425",
253
+ +}
254
+ +
255
+ +base_urls = {
256
+ + prod: "https://cloud.skytap.com/",
257
+ + test: "https://test.skytap.com/",
258
+ + integ: "https://integ.skytap.com/",
259
+ + dev: "https://cloud.skytap.dev/",
260
+ +}
261
+ +
262
+ +settings = {
263
+ + etrue_prod: {
264
+ + username: "etrue",
265
+ + api_token: "fcb2620b72efddbc8239e25db9d812f510c7e166",
266
+ + base_url: base_urls[:prod],
267
+ + vpn_url: vpns[:etrue_prod],
268
+ + },
269
+ + etrue_test: {
270
+ + username: "etrue",
271
+ + api_token: "d41e7b2f98b63844512c0d62d0e5496949d35f57",
272
+ + base_url: base_urls[:test],
273
+ + vpn_url: vpns[:etrue_test],
274
+ + },
275
+ + vagrant_provider_admin: {
276
+ + username: "vagrant_provider_admin",
277
+ + api_token: "7c5718531a32eb90e92c804ce1f73da98be22cdf",
278
+ + base_url: base_urls[:test],
279
+ + vpn_url: vpns[:vagrant_provider_test],
280
+ + },
281
+ + jsmith_dev: {
282
+ + username: "jsmith",
283
+ + api_token: "754be5220955f35840498340606b4dfa89f7eb61",
284
+ + base_url: base_urls[:dev],
285
+ + vpn_url: vpns[:jsmith_dev],
286
+ + },
287
+ +}
288
+ +
289
+ +vms = {
290
+ + golden: {
291
+ + vm_url: "https://cloud.skytap.com/vms/6869434"
292
+ + },
293
+ + nick_for_bootcamp: {
294
+ + vm_url: "https://cloud.skytap.com/vms/7878190",
295
+ + },
296
+ + take1: {
297
+ + vm_url: "https://test.skytap.com/vms/6984688",
298
+ + username: "autoadmin",
299
+ + password: "autoadmin",
300
+ + },
301
+ + ubuntu1: {
302
+ + vm_url: "https://cloud.skytap.com/vms/7285844"
303
+ + },
304
+ + ubuntu2: {
305
+ + vm_url: "https://cloud.skytap.com/vms/7285846",
306
+ + username: "skytap",
307
+ + password: "CarpYe$$$"
308
+ + },
309
+ + ubuntu_with_vagrant: {vm_url: "https://cloud.skytap.com/vms/7397734"},
310
+ + us_east: {vm_url: "https://cloud.skytap.com/vms/6232386"},
311
+ + emea: {vm_url: "https://cloud.skytap.com/vms/4153172"},
312
+ + eng11490: {vm_url: "https://cloud.skytap.com/templates/696065"},
313
+ + no_disk: {vm_url: "https://cloud.skytap.com/vms/7500356"},
314
+ + public_template_no_sudoers: {
315
+ + vm_url: "https://cloud.skytap.com/vms/3157858",
316
+ + },
317
+ + windows_winrm_configured: {
318
+ + vm_url: "https://cloud.skytap.com/vms/7242468",
319
+ + username: "Administrator",
320
+ + password: "admin",
321
+ + communicator: :winrm,
322
+ + },
323
+ + vm_on_dev: {
324
+ + vm_url:"https://cloud.skytap.dev/vms/372"
325
+ + },
326
+ +}.tap do |ret|
327
+ + ret.each do |key, vm|
328
+ + vm[:username] ||= "skytap"
329
+ + vm[:password] ||= "ChangeMe!"
330
+ + vm[:communicator] ||= :ssh
331
+ + end
332
+ +end
333
+ +
334
+ +##################################
335
+ +settings_key = :etrue_prod
336
+ +vm1_key = :golden
337
+ +vm2_key = :windows_winrm_configured
338
+ +vm3_key = :ubuntu2
339
+ +#############################
340
+ +
341
+ +
342
+ +Vagrant.configure(2) do |config|
343
+ + config.vm.box = "skytap/empty"
344
+ + config.vm.synced_folder ".", "/vagrant", disabled: true
345
+ +
346
+ + config.vm.provider :skytap do |skytap, override|
347
+ + skytap.username = settings[settings_key][:username]
348
+ + skytap.api_token = settings[settings_key][:api_token]
349
+ + skytap.base_url = settings[settings_key][:base_url]
350
+ + skytap.vpn_url = settings[settings_key][:vpn_url]
351
+ + end
352
+ +
353
+ + config.vm.define "vm1" do |box|
354
+ + #box.vm.hostname = "vm1"
355
+ + box.vm.provider :skytap do |box|
356
+ + box.vm_url = vms[vm1_key][:vm_url]
357
+ + #box.cpus = 1
358
+ + end
359
+ + box.ssh.username = vms[vm1_key][:username]
360
+ + box.ssh.password = vms[vm1_key][:password]
361
+ + box.vm.communicator = vms[vm1_key][:communicator]
362
+ + box.vm.synced_folder "vm1", "/synced", type: :nfs
363
+ + #box.vm.provision "shell", path: "provisioning/trivial.sh"
364
+ + box.vm.provision "shell", path: "provisioning/vagrant.sh"
365
+ +
366
+ + #box.vm.network :forwarded_port, guest: 80, host: 9000
367
+ + #box.vm.network :forwarded_port, guest: 21, host: 9001
368
+ + end
369
+ +
370
+ +# config.vm.define "vm2" do |box|
371
+ +# box.vm.hostname = "vm2"
372
+ +# box.vm.provider :skytap do |box|
373
+ +# box.vm_url = vms[vm2_key][:vm_url]
374
+ +# end
375
+ +# box.ssh.username = vms[vm2_key][:username]
376
+ +# box.ssh.password = vms[vm2_key][:password]
377
+ +# box.vm.communicator = vms[vm2_key][:communicator]
378
+ +# box.vm.synced_folder "vm2", "/synced", type: :nfs
379
+ +# end
380
+ +#
381
+ +# config.vm.define "vm3" do |box|
382
+ +# box.vm.hostname = "vm3"
383
+ +# box.vm.provider :skytap do |box|
384
+ +# box.vm_url = vms[vm3_key][:vm_url]
385
+ +# end
386
+ +# box.ssh.username = vms[vm3_key][:username]
387
+ +# box.ssh.password = vms[vm3_key][:password]
388
+ +# box.vm.communicator = vms[vm3_key][:communicator]
389
+ +# box.vm.synced_folder "vm3", "/synced", type: :nfs
390
+ +# box.vm.provision "shell", path: "provisioning/trivial.sh"
391
+ +# end
392
+ +end
393
+ +
394
+ +#ubuntu.vm.synced_folder "vm1", "/home/skytap/app", type: :nfs, :mount_options => ['actimeo=1']
395
+ +
396
+ diff --git a/vm1/this_is_vm1 b/vm1/this_is_vm1
397
+ new file mode 100644
398
+ diff --git a/vm2/this_is_vm2 b/vm2/this_is_vm2
399
+ new file mode 100644
400
+ diff --git a/vm3/this_is_vm3 b/vm3/this_is_vm3
401
+ new file mode 100644
402
+ diff --git a/vm4/this_is_vm4 b/vm4/this_is_vm4
403
+ new file mode 100644
@@ -0,0 +1,29 @@
1
+ # HG changeset patch
2
+ # Parent 2f020374151a91cbb7c4f8c785c7861a396e4f09
3
+ Vagrantfile for acceptance tests ** DO NOT COMMIT **
4
+
5
+ diff -r 2f020374151a spec/acceptance/skeletons/generic/Vagrantfile
6
+ --- a/spec/acceptance/skeletons/generic/Vagrantfile Fri Dec 11 16:28:21 2015 -0800
7
+ +++ b/spec/acceptance/skeletons/generic/Vagrantfile Fri Dec 11 16:31:50 2015 -0800
8
+ @@ -2,14 +2,17 @@
9
+ config.vm.box = "skytap/empty"
10
+
11
+ config.vm.provider :skytap do |skytap, override|
12
+ - skytap.username = "user"
13
+ - skytap.api_token = "9999999999999999999999"
14
+ - skytap.base_url = "https://example.com/"
15
+ + skytap.base_url = "https://cloud.skytap.com/"
16
+ + skytap.username = "etrue"
17
+ + skytap.api_token = "fcb2620b72efddbc8239e25db9d812f510c7e166"
18
+ + skytap.vpn_url = "https://cloud.skytap.com/vpns/vpn-711360"
19
+ end
20
+
21
+ config.vm.define "vm1" do |ubuntu|
22
+ ubuntu.vm.provider :skytap do |box|
23
+ - box.vm_url = "https://example.com/vms/1"
24
+ + box.vm_url = "https://cloud.skytap.com/vms/6869434" # golden!
25
+ end
26
+ + ubuntu.ssh.username = "skytap"
27
+ + ubuntu.ssh.password = "ChangeMe!"
28
+ end
29
+ end