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
@@ -1,233 +0,0 @@
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)q1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_(q`HFop&K@m_nA-hH_<<_gkY3ITzW=jlJ{oM){}IDTnCQEt-}c
72
- zA~2yAg{|-JxL%)WS1WO)7gvjsD+LfIGoalAG5WSDl;AaNTAM8f!jyT=_5H)JZPQt*
73
- zawvELOJ^JVEe1S_f(Y&)Q$-Ha;(37?2Pf`5^)$bIP;}J{vohH46Jcp)dX@Y=GestB
74
- z=egfqyqgaYmX=TJPR9=>SfZime6K(LJ{8jc)MYs@KGJzSuQ@Tr2X_;$6L;yS#+Lhz
75
- t6)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~
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*eo!Bml{%(biWZG288+7<|uCzr0VI-ruYM7Vnt$gPWXH?3`ji|
202
- zO8hLVf4P3}bA-l*(TqUIY%X76Ux&R|;0HqU!2V)8wSMI4^PoFoIsJC<w&7=)^|NX8
203
- zY+32C9=u7Ip$v{8%}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
@@ -1,403 +0,0 @@
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
@@ -1,29 +0,0 @@
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