beaker-hostgenerator 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (310) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +17 -0
  3. data/Gemfile +4 -0
  4. data/HISTORY.md +201 -2
  5. data/README.md +91 -0
  6. data/Rakefile +27 -1
  7. data/beaker-hostgenerator.gemspec +0 -1
  8. data/bin/beaker-hostgenerator +5 -1
  9. data/bin/genconfig2 +5 -1
  10. data/lib/beaker-hostgenerator/cli.rb +28 -8
  11. data/lib/beaker-hostgenerator/data/vmpooler.rb +3 -2
  12. data/lib/beaker-hostgenerator/data.rb +15 -5
  13. data/lib/beaker-hostgenerator/exceptions.rb +7 -0
  14. data/lib/beaker-hostgenerator/generator.rb +16 -9
  15. data/lib/beaker-hostgenerator/util.rb +2 -2
  16. data/lib/beaker-hostgenerator/version.rb +1 -1
  17. data/spec/beaker-hostgenerator/generator_spec.rb +35 -3
  18. data/test/fixtures/default/arista4-32a +20 -0
  19. data/test/fixtures/default/centos4-32u +21 -0
  20. data/test/fixtures/default/centos4-64l +21 -0
  21. data/test/fixtures/default/centos5-32c +21 -0
  22. data/test/fixtures/default/centos5-64d +21 -0
  23. data/test/fixtures/default/centos6-32f +21 -0
  24. data/test/fixtures/default/centos6-64m +21 -0
  25. data/test/fixtures/default/centos7-64aulcdfm +26 -0
  26. data/test/fixtures/default/ciscoexr7-64u +22 -0
  27. data/test/fixtures/default/cisconxos5-64a +23 -0
  28. data/test/fixtures/default/cumulus25-64l +21 -0
  29. data/test/fixtures/default/debian6-32c +21 -0
  30. data/test/fixtures/default/debian6-64d +21 -0
  31. data/test/fixtures/default/debian7-32f +21 -0
  32. data/test/fixtures/default/debian7-64m +21 -0
  33. data/test/fixtures/default/debian8-32aulcdfm +26 -0
  34. data/test/fixtures/default/debian8-64a +20 -0
  35. data/test/fixtures/default/debian9-32u +21 -0
  36. data/test/fixtures/default/debian9-64l +21 -0
  37. data/test/fixtures/default/fedora14-32l +21 -0
  38. data/test/fixtures/default/fedora19-32c +21 -0
  39. data/test/fixtures/default/fedora19-64d +21 -0
  40. data/test/fixtures/default/fedora20-32f +21 -0
  41. data/test/fixtures/default/fedora20-64m +21 -0
  42. data/test/fixtures/default/fedora21-32aulcdfm +26 -0
  43. data/test/fixtures/default/fedora21-64a +20 -0
  44. data/test/fixtures/default/fedora22-32u +21 -0
  45. data/test/fixtures/default/fedora22-64l +21 -0
  46. data/test/fixtures/default/fedora23-32c +21 -0
  47. data/test/fixtures/default/fedora23-64d +21 -0
  48. data/test/fixtures/default/opensuse11-32f +21 -0
  49. data/test/fixtures/default/opensuse11-64m +21 -0
  50. data/test/fixtures/default/oracle5-32c +21 -0
  51. data/test/fixtures/default/oracle5-64d +21 -0
  52. data/test/fixtures/default/oracle6-32f +21 -0
  53. data/test/fixtures/default/oracle6-64m +21 -0
  54. data/test/fixtures/default/oracle7-64aulcdfm +26 -0
  55. data/test/fixtures/default/osx1010-64u +21 -0
  56. data/test/fixtures/default/osx1011-64l +21 -0
  57. data/test/fixtures/default/osx109-64a +20 -0
  58. data/test/fixtures/default/redhat4-32c +21 -0
  59. data/test/fixtures/default/redhat4-64d +21 -0
  60. data/test/fixtures/default/redhat5-32f +21 -0
  61. data/test/fixtures/default/redhat5-64m +21 -0
  62. data/test/fixtures/default/redhat6-32aulcdfm +26 -0
  63. data/test/fixtures/default/redhat6-64a +20 -0
  64. data/test/fixtures/default/redhat7-64u +21 -0
  65. data/test/fixtures/default/scientific5-32aulcdfm +26 -0
  66. data/test/fixtures/default/scientific5-64a +20 -0
  67. data/test/fixtures/default/scientific6-32u +21 -0
  68. data/test/fixtures/default/scientific6-64l +21 -0
  69. data/test/fixtures/default/scientific7-64c +21 -0
  70. data/test/fixtures/default/sles10-32d +21 -0
  71. data/test/fixtures/default/sles10-64f +21 -0
  72. data/test/fixtures/default/sles11-32m +21 -0
  73. data/test/fixtures/default/sles11-64aulcdfm +26 -0
  74. data/test/fixtures/default/sles12-64a +20 -0
  75. data/test/fixtures/default/solaris10-32u +21 -0
  76. data/test/fixtures/default/solaris10-64l +21 -0
  77. data/test/fixtures/default/solaris11-32c +21 -0
  78. data/test/fixtures/default/solaris11-64d +21 -0
  79. data/test/fixtures/default/solaris112-32f +21 -0
  80. data/test/fixtures/default/solaris112-64m +21 -0
  81. data/test/fixtures/default/ubuntu1004-32aulcdfm +26 -0
  82. data/test/fixtures/default/ubuntu1004-64a +20 -0
  83. data/test/fixtures/default/ubuntu1204-32u +21 -0
  84. data/test/fixtures/default/ubuntu1204-64l +21 -0
  85. data/test/fixtures/default/ubuntu1404-32c +21 -0
  86. data/test/fixtures/default/ubuntu1404-64d +21 -0
  87. data/test/fixtures/default/ubuntu1504-32f +21 -0
  88. data/test/fixtures/default/ubuntu1504-64m +21 -0
  89. data/test/fixtures/default/ubuntu1510-32aulcdfm +26 -0
  90. data/test/fixtures/default/ubuntu1510-64a +20 -0
  91. data/test/fixtures/default/windows10ent-32l +22 -0
  92. data/test/fixtures/default/windows10ent-64c +22 -0
  93. data/test/fixtures/default/windows10pro-64d +22 -0
  94. data/test/fixtures/default/windows2003-6432l +22 -0
  95. data/test/fixtures/default/windows2003-64u +22 -0
  96. data/test/fixtures/default/windows2003r2-32c +22 -0
  97. data/test/fixtures/default/windows2003r2-6432f +22 -0
  98. data/test/fixtures/default/windows2003r2-64d +22 -0
  99. data/test/fixtures/default/windows2008-6432aulcdfm +27 -0
  100. data/test/fixtures/default/windows2008-64m +22 -0
  101. data/test/fixtures/default/windows2008r2-6432u +22 -0
  102. data/test/fixtures/default/windows2008r2-64a +21 -0
  103. data/test/fixtures/default/windows2012-6432c +22 -0
  104. data/test/fixtures/default/windows2012-64l +22 -0
  105. data/test/fixtures/default/windows2012r2-6432f +22 -0
  106. data/test/fixtures/default/windows2012r2-64d +22 -0
  107. data/test/fixtures/default/windows7-64m +22 -0
  108. data/test/fixtures/default/windows8-64aulcdfm +27 -0
  109. data/test/fixtures/default/windows81-64a +21 -0
  110. data/test/fixtures/default/windowsvista-64u +22 -0
  111. data/test/fixtures/environment_variable_tests/pe_version_and_pe_family/centos6-32a +24 -0
  112. data/test/fixtures/environment_variable_tests/pe_version_and_pe_family_no_upgrade/centos6-32a +22 -0
  113. data/test/fixtures/environment_variable_tests/pe_version_and_pe_family_upgrade_only/centos6-32a +22 -0
  114. data/test/fixtures/osinfo-version-0/arista4-32a +20 -0
  115. data/test/fixtures/osinfo-version-0/centos4-32u +21 -0
  116. data/test/fixtures/osinfo-version-0/centos4-64l +21 -0
  117. data/test/fixtures/osinfo-version-0/centos5-32c +21 -0
  118. data/test/fixtures/osinfo-version-0/centos5-64d +21 -0
  119. data/test/fixtures/osinfo-version-0/centos6-32f +21 -0
  120. data/test/fixtures/osinfo-version-0/centos6-64m +21 -0
  121. data/test/fixtures/osinfo-version-0/centos7-64aulcdfm +26 -0
  122. data/test/fixtures/osinfo-version-0/ciscoexr7-64u +22 -0
  123. data/test/fixtures/osinfo-version-0/cisconxos5-64a +23 -0
  124. data/test/fixtures/osinfo-version-0/cumulus25-64l +21 -0
  125. data/test/fixtures/osinfo-version-0/debian6-32c +21 -0
  126. data/test/fixtures/osinfo-version-0/debian6-64d +21 -0
  127. data/test/fixtures/osinfo-version-0/debian7-32f +21 -0
  128. data/test/fixtures/osinfo-version-0/debian7-64m +21 -0
  129. data/test/fixtures/osinfo-version-0/debian8-32aulcdfm +26 -0
  130. data/test/fixtures/osinfo-version-0/debian8-64a +20 -0
  131. data/test/fixtures/osinfo-version-0/debian9-32u +21 -0
  132. data/test/fixtures/osinfo-version-0/debian9-64l +21 -0
  133. data/test/fixtures/osinfo-version-0/fedora14-32l +21 -0
  134. data/test/fixtures/osinfo-version-0/fedora19-32c +21 -0
  135. data/test/fixtures/osinfo-version-0/fedora19-64d +21 -0
  136. data/test/fixtures/osinfo-version-0/fedora20-32f +21 -0
  137. data/test/fixtures/osinfo-version-0/fedora20-64m +21 -0
  138. data/test/fixtures/osinfo-version-0/fedora21-32aulcdfm +26 -0
  139. data/test/fixtures/osinfo-version-0/fedora21-64a +20 -0
  140. data/test/fixtures/osinfo-version-0/fedora22-32u +21 -0
  141. data/test/fixtures/osinfo-version-0/fedora22-64l +21 -0
  142. data/test/fixtures/osinfo-version-0/fedora23-32c +21 -0
  143. data/test/fixtures/osinfo-version-0/fedora23-64d +21 -0
  144. data/test/fixtures/osinfo-version-0/opensuse11-32f +21 -0
  145. data/test/fixtures/osinfo-version-0/opensuse11-64m +21 -0
  146. data/test/fixtures/osinfo-version-0/oracle5-32c +21 -0
  147. data/test/fixtures/osinfo-version-0/oracle5-64d +21 -0
  148. data/test/fixtures/osinfo-version-0/oracle6-32f +21 -0
  149. data/test/fixtures/osinfo-version-0/oracle6-64m +21 -0
  150. data/test/fixtures/osinfo-version-0/oracle7-64aulcdfm +26 -0
  151. data/test/fixtures/osinfo-version-0/osx1010-64u +21 -0
  152. data/test/fixtures/osinfo-version-0/osx1011-64l +21 -0
  153. data/test/fixtures/osinfo-version-0/osx109-64a +20 -0
  154. data/test/fixtures/osinfo-version-0/redhat4-32c +21 -0
  155. data/test/fixtures/osinfo-version-0/redhat4-64d +21 -0
  156. data/test/fixtures/osinfo-version-0/redhat5-32f +21 -0
  157. data/test/fixtures/osinfo-version-0/redhat5-64m +21 -0
  158. data/test/fixtures/osinfo-version-0/redhat6-32aulcdfm +26 -0
  159. data/test/fixtures/osinfo-version-0/redhat6-64a +20 -0
  160. data/test/fixtures/osinfo-version-0/redhat7-64u +21 -0
  161. data/test/fixtures/osinfo-version-0/scientific5-32aulcdfm +26 -0
  162. data/test/fixtures/osinfo-version-0/scientific5-64a +20 -0
  163. data/test/fixtures/osinfo-version-0/scientific6-32u +21 -0
  164. data/test/fixtures/osinfo-version-0/scientific6-64l +21 -0
  165. data/test/fixtures/osinfo-version-0/scientific7-64c +21 -0
  166. data/test/fixtures/osinfo-version-0/sles10-32d +21 -0
  167. data/test/fixtures/osinfo-version-0/sles10-64f +21 -0
  168. data/test/fixtures/osinfo-version-0/sles11-32m +21 -0
  169. data/test/fixtures/osinfo-version-0/sles11-64aulcdfm +26 -0
  170. data/test/fixtures/osinfo-version-0/sles12-64a +20 -0
  171. data/test/fixtures/osinfo-version-0/solaris10-32u +21 -0
  172. data/test/fixtures/osinfo-version-0/solaris10-64l +21 -0
  173. data/test/fixtures/osinfo-version-0/solaris11-32c +21 -0
  174. data/test/fixtures/osinfo-version-0/solaris11-64d +21 -0
  175. data/test/fixtures/osinfo-version-0/solaris112-32f +21 -0
  176. data/test/fixtures/osinfo-version-0/solaris112-64m +21 -0
  177. data/test/fixtures/osinfo-version-0/ubuntu1004-32aulcdfm +26 -0
  178. data/test/fixtures/osinfo-version-0/ubuntu1004-64a +20 -0
  179. data/test/fixtures/osinfo-version-0/ubuntu1204-32u +21 -0
  180. data/test/fixtures/osinfo-version-0/ubuntu1204-64l +21 -0
  181. data/test/fixtures/osinfo-version-0/ubuntu1404-32c +21 -0
  182. data/test/fixtures/osinfo-version-0/ubuntu1404-64d +21 -0
  183. data/test/fixtures/osinfo-version-0/ubuntu1504-32f +21 -0
  184. data/test/fixtures/osinfo-version-0/ubuntu1504-64m +21 -0
  185. data/test/fixtures/osinfo-version-0/ubuntu1510-32aulcdfm +26 -0
  186. data/test/fixtures/osinfo-version-0/ubuntu1510-64a +20 -0
  187. data/test/fixtures/osinfo-version-0/windows10ent-32l +22 -0
  188. data/test/fixtures/osinfo-version-0/windows10ent-64c +22 -0
  189. data/test/fixtures/osinfo-version-0/windows10pro-64d +22 -0
  190. data/test/fixtures/osinfo-version-0/windows2003-6432l +22 -0
  191. data/test/fixtures/osinfo-version-0/windows2003-64u +22 -0
  192. data/test/fixtures/osinfo-version-0/windows2003r2-32c +22 -0
  193. data/test/fixtures/osinfo-version-0/windows2003r2-6432f +22 -0
  194. data/test/fixtures/osinfo-version-0/windows2003r2-64d +22 -0
  195. data/test/fixtures/osinfo-version-0/windows2008-6432aulcdfm +27 -0
  196. data/test/fixtures/osinfo-version-0/windows2008-64m +22 -0
  197. data/test/fixtures/osinfo-version-0/windows2008r2-6432u +22 -0
  198. data/test/fixtures/osinfo-version-0/windows2008r2-64a +21 -0
  199. data/test/fixtures/osinfo-version-0/windows2012-6432c +22 -0
  200. data/test/fixtures/osinfo-version-0/windows2012-64l +22 -0
  201. data/test/fixtures/osinfo-version-0/windows2012r2-6432f +22 -0
  202. data/test/fixtures/osinfo-version-0/windows2012r2-64d +22 -0
  203. data/test/fixtures/osinfo-version-0/windows7-64m +22 -0
  204. data/test/fixtures/osinfo-version-0/windows8-64aulcdfm +27 -0
  205. data/test/fixtures/osinfo-version-0/windows81-64a +21 -0
  206. data/test/fixtures/osinfo-version-0/windowsvista-64u +22 -0
  207. data/test/fixtures/osinfo-version-1/arista4-32a +20 -0
  208. data/test/fixtures/osinfo-version-1/centos4-32u +21 -0
  209. data/test/fixtures/osinfo-version-1/centos4-64l +21 -0
  210. data/test/fixtures/osinfo-version-1/centos5-32c +21 -0
  211. data/test/fixtures/osinfo-version-1/centos5-64d +21 -0
  212. data/test/fixtures/osinfo-version-1/centos6-32f +21 -0
  213. data/test/fixtures/osinfo-version-1/centos6-64m +21 -0
  214. data/test/fixtures/osinfo-version-1/centos7-64aulcdfm +26 -0
  215. data/test/fixtures/osinfo-version-1/ciscoexr7-64u +22 -0
  216. data/test/fixtures/osinfo-version-1/cisconxos5-64a +23 -0
  217. data/test/fixtures/osinfo-version-1/cumulus25-64l +21 -0
  218. data/test/fixtures/osinfo-version-1/debian6-32c +21 -0
  219. data/test/fixtures/osinfo-version-1/debian6-64d +21 -0
  220. data/test/fixtures/osinfo-version-1/debian7-32f +21 -0
  221. data/test/fixtures/osinfo-version-1/debian7-64m +21 -0
  222. data/test/fixtures/osinfo-version-1/debian8-32aulcdfm +26 -0
  223. data/test/fixtures/osinfo-version-1/debian8-64a +20 -0
  224. data/test/fixtures/osinfo-version-1/debian9-32u +21 -0
  225. data/test/fixtures/osinfo-version-1/debian9-64l +21 -0
  226. data/test/fixtures/osinfo-version-1/fedora14-32l +21 -0
  227. data/test/fixtures/osinfo-version-1/fedora19-32c +21 -0
  228. data/test/fixtures/osinfo-version-1/fedora19-64d +21 -0
  229. data/test/fixtures/osinfo-version-1/fedora20-32f +21 -0
  230. data/test/fixtures/osinfo-version-1/fedora20-64m +21 -0
  231. data/test/fixtures/osinfo-version-1/fedora21-32aulcdfm +26 -0
  232. data/test/fixtures/osinfo-version-1/fedora21-64a +20 -0
  233. data/test/fixtures/osinfo-version-1/fedora22-32u +21 -0
  234. data/test/fixtures/osinfo-version-1/fedora22-64l +21 -0
  235. data/test/fixtures/osinfo-version-1/fedora23-32c +21 -0
  236. data/test/fixtures/osinfo-version-1/fedora23-64d +21 -0
  237. data/test/fixtures/osinfo-version-1/opensuse11-32f +21 -0
  238. data/test/fixtures/osinfo-version-1/opensuse11-64m +21 -0
  239. data/test/fixtures/osinfo-version-1/oracle5-32c +21 -0
  240. data/test/fixtures/osinfo-version-1/oracle5-64d +21 -0
  241. data/test/fixtures/osinfo-version-1/oracle6-32f +21 -0
  242. data/test/fixtures/osinfo-version-1/oracle6-64m +21 -0
  243. data/test/fixtures/osinfo-version-1/oracle7-64aulcdfm +26 -0
  244. data/test/fixtures/osinfo-version-1/osx1010-64u +21 -0
  245. data/test/fixtures/osinfo-version-1/osx1011-64l +21 -0
  246. data/test/fixtures/osinfo-version-1/osx109-64a +20 -0
  247. data/test/fixtures/osinfo-version-1/redhat4-32c +21 -0
  248. data/test/fixtures/osinfo-version-1/redhat4-64d +21 -0
  249. data/test/fixtures/osinfo-version-1/redhat5-32f +21 -0
  250. data/test/fixtures/osinfo-version-1/redhat5-64m +21 -0
  251. data/test/fixtures/osinfo-version-1/redhat6-32aulcdfm +26 -0
  252. data/test/fixtures/osinfo-version-1/redhat6-64a +20 -0
  253. data/test/fixtures/osinfo-version-1/redhat7-64u +21 -0
  254. data/test/fixtures/osinfo-version-1/scientific5-32aulcdfm +26 -0
  255. data/test/fixtures/osinfo-version-1/scientific5-64a +20 -0
  256. data/test/fixtures/osinfo-version-1/scientific6-32u +21 -0
  257. data/test/fixtures/osinfo-version-1/scientific6-64l +21 -0
  258. data/test/fixtures/osinfo-version-1/scientific7-64c +21 -0
  259. data/test/fixtures/osinfo-version-1/sles10-32d +21 -0
  260. data/test/fixtures/osinfo-version-1/sles10-64f +21 -0
  261. data/test/fixtures/osinfo-version-1/sles11-32m +21 -0
  262. data/test/fixtures/osinfo-version-1/sles11-64aulcdfm +26 -0
  263. data/test/fixtures/osinfo-version-1/sles12-64a +20 -0
  264. data/test/fixtures/osinfo-version-1/solaris10-32u +21 -0
  265. data/test/fixtures/osinfo-version-1/solaris10-64l +21 -0
  266. data/test/fixtures/osinfo-version-1/solaris11-32c +21 -0
  267. data/test/fixtures/osinfo-version-1/solaris11-64d +21 -0
  268. data/test/fixtures/osinfo-version-1/solaris112-32f +21 -0
  269. data/test/fixtures/osinfo-version-1/solaris112-64m +21 -0
  270. data/test/fixtures/osinfo-version-1/ubuntu1004-32aulcdfm +26 -0
  271. data/test/fixtures/osinfo-version-1/ubuntu1004-64a +20 -0
  272. data/test/fixtures/osinfo-version-1/ubuntu1204-32u +21 -0
  273. data/test/fixtures/osinfo-version-1/ubuntu1204-64l +21 -0
  274. data/test/fixtures/osinfo-version-1/ubuntu1404-32c +21 -0
  275. data/test/fixtures/osinfo-version-1/ubuntu1404-64d +21 -0
  276. data/test/fixtures/osinfo-version-1/ubuntu1504-32f +21 -0
  277. data/test/fixtures/osinfo-version-1/ubuntu1504-64m +21 -0
  278. data/test/fixtures/osinfo-version-1/ubuntu1510-32aulcdfm +26 -0
  279. data/test/fixtures/osinfo-version-1/ubuntu1510-64a +20 -0
  280. data/test/fixtures/osinfo-version-1/windows10ent-32l +22 -0
  281. data/test/fixtures/osinfo-version-1/windows10ent-64c +22 -0
  282. data/test/fixtures/osinfo-version-1/windows10pro-64d +22 -0
  283. data/test/fixtures/osinfo-version-1/windows2003-6432l +22 -0
  284. data/test/fixtures/osinfo-version-1/windows2003-64u +22 -0
  285. data/test/fixtures/osinfo-version-1/windows2003r2-32c +22 -0
  286. data/test/fixtures/osinfo-version-1/windows2003r2-6432f +22 -0
  287. data/test/fixtures/osinfo-version-1/windows2003r2-64d +22 -0
  288. data/test/fixtures/osinfo-version-1/windows2008-6432aulcdfm +27 -0
  289. data/test/fixtures/osinfo-version-1/windows2008-64m +22 -0
  290. data/test/fixtures/osinfo-version-1/windows2008r2-6432u +22 -0
  291. data/test/fixtures/osinfo-version-1/windows2008r2-64a +21 -0
  292. data/test/fixtures/osinfo-version-1/windows2012-6432c +22 -0
  293. data/test/fixtures/osinfo-version-1/windows2012-64l +22 -0
  294. data/test/fixtures/osinfo-version-1/windows2012r2-6432f +22 -0
  295. data/test/fixtures/osinfo-version-1/windows2012r2-64d +22 -0
  296. data/test/fixtures/osinfo-version-1/windows7-64m +22 -0
  297. data/test/fixtures/osinfo-version-1/windows8-64aulcdfm +27 -0
  298. data/test/fixtures/osinfo-version-1/windows81-64a +21 -0
  299. data/test/fixtures/osinfo-version-1/windowsvista-64u +22 -0
  300. data/test/fixtures/pe_dir/centos6-64mdc +23 -0
  301. data/test/fixtures/pe_upgrade_dir/centos6-64mdc +23 -0
  302. data/test/fixtures/pe_upgrade_ver/centos6-64mdc +23 -0
  303. data/test/fixtures/pe_ver/centos6-64mdc +23 -0
  304. data/test/test_cli.rb +20 -0
  305. data/test/test_generator.rb +27 -0
  306. data/test/test_stdout.rb +24 -0
  307. data/test/test_util.rb +26 -0
  308. data/test/util/generator_helpers.rb +150 -0
  309. metadata +294 -3
  310. data/lib/beaker-hostgenerator/error.rb +0 -6
@@ -0,0 +1,150 @@
1
+ require "yaml"
2
+
3
+ require 'beaker-hostgenerator'
4
+ require 'beaker-hostgenerator/data/vmpooler'
5
+ require 'beaker-hostgenerator/data'
6
+
7
+ module GeneratorTestHelpers
8
+ include BeakerHostGenerator::Data
9
+ include BeakerHostGenerator::Data::Vmpooler
10
+
11
+ def run_cli_with_options(options=[])
12
+ STDERR.reopen("stderr.txt", "w")
13
+ cli = BeakerHostGenerator::CLI.new(options)
14
+ yaml_string = cli.execute
15
+
16
+ hash = YAML.load(yaml_string)
17
+ return hash
18
+ end
19
+
20
+ def open_file(path)
21
+ # Takes a list of path elements.
22
+ # Returns a file object where the basename of the file is the last path
23
+ # element.
24
+ dirname = File.join(path[1, path.length - 2]) # wtf
25
+ filename = File.join(path)
26
+ FileUtils.mkdir_p(dirname)
27
+ return File.open(filename, "w")
28
+ end
29
+
30
+ def generate_fixture(relative_path, options, spec, environment_variables={})
31
+ specopts = options + [spec]
32
+ arguments_string = specopts.join(" ")
33
+
34
+ environment_variables.each do |key, value|
35
+ ENV[key] = value
36
+ end
37
+ generated_hash = run_cli_with_options(specopts)
38
+ environment_variables.each_key do |key|
39
+ ENV[key] = nil
40
+ end
41
+
42
+ fixture_hash = {
43
+ "arguments_string" => arguments_string,
44
+ "environment_variables" => environment_variables,
45
+ "expected_hash" => generated_hash,
46
+ "expected_exception" => nil,
47
+ }
48
+ fixture_yaml = fixture_hash.to_yaml
49
+
50
+ fixture_file = open_file([Dir.pwd, @fixture_root] + relative_path + [spec])
51
+ fixture_file.write(fixture_yaml)
52
+ end
53
+
54
+ def generate_fixtures_using_osinfo(relative_path,
55
+ role_enumerator,
56
+ options=[],
57
+ bhg_version=0)
58
+ osinfo = get_osinfo(bhg_version)
59
+ osinfo.each_key do |platform_info|
60
+ role = role_enumerator.next
61
+ spec = "#{platform_info}" + role
62
+ generate_fixture(relative_path, options, spec)
63
+ end
64
+ end
65
+
66
+ end
67
+
68
+ class FixtureGenerator
69
+ include GeneratorTestHelpers
70
+
71
+ def initialize
72
+ @fixture_root = 'test/fixtures/'
73
+ @simple_roles = ["a", "u", "l", "c", "d", "f", "m", "aulcdfm"]
74
+ end
75
+
76
+ def generate
77
+ # Validates single-host scenarios using all short-form role aliases with no
78
+ # optional flags'
79
+ generate_fixtures_using_osinfo(['default'], @simple_roles.cycle, [])
80
+
81
+ # Validates the use of environment variables to set various pe options.
82
+ [
83
+ {'case_name' => 'pe_version_and_pe_family',
84
+ 'environment_variables' => {
85
+ 'pe_version' => '6.6.6',
86
+ 'pe_upgrade_version' => '6.6.6',
87
+ 'pe_family' => '6.6.6',
88
+ 'pe_upgrade_family' => '6.6.6',
89
+ }
90
+ },
91
+ {'case_name' => 'pe_version_and_pe_family_upgrade_only',
92
+ 'environment_variables' => {
93
+ 'pe_upgrade_version' => '6.6.6',
94
+ 'pe_upgrade_family' => '6.6.6',
95
+ }
96
+ },
97
+ {'case_name' => 'pe_version_and_pe_family_no_upgrade',
98
+ 'environment_variables' => {
99
+ 'pe_version' => '6.6.6',
100
+ 'pe_family' => '6.6.6',
101
+ }
102
+ },
103
+ ].each do |fixture_hash|
104
+ case_name = fixture_hash['case_name']
105
+ environment_variables = fixture_hash['case_name']
106
+ generate_fixture(['environment_variable_tests', fixture_hash['case_name']],
107
+ [],
108
+ 'centos6-32a',
109
+ fixture_hash['environment_variables'])
110
+ end
111
+
112
+ # Validates single-host scenarios using all short-form role aliases with the
113
+ # addition of the --osinfo-version flag to indicate which BHG version to
114
+ # generate host configs for.
115
+ [0, 1].each do |bhg_version|
116
+ generate_fixtures_using_osinfo(["osinfo-version-#{bhg_version}"],
117
+ @simple_roles.cycle,
118
+ ["--osinfo-version", "#{bhg_version}"],
119
+ bhg_version)
120
+ end
121
+
122
+ # Validates the use of the pe ver/dir type options.
123
+ [
124
+ {
125
+ 'path' => ['pe_upgrade_ver'],
126
+ 'options' => ['--pe_upgrade_ver', '2020.7.3'],
127
+ 'spec' => 'centos6-64mdc'
128
+ },
129
+ {
130
+ 'path' => ['pe_ver'],
131
+ 'options' => ['--pe_ver', '2020.7'],
132
+ 'spec' => 'centos6-64mdc'
133
+ },
134
+ {
135
+ 'path' => ['pe_upgrade_dir'],
136
+ 'options' => ['--pe_upgrade_dir', '/opt/whatever'],
137
+ 'spec' => 'centos6-64mdc'
138
+ },
139
+ {
140
+ 'path' => ['pe_dir'],
141
+ 'options' => ['--pe_dir', '/opt/hello'],
142
+ 'spec' => 'centos6-64mdc'
143
+ }
144
+ ].each do |fixture_info|
145
+ generate_fixture(fixture_info['path'],
146
+ fixture_info['options'],
147
+ fixture_info['spec'])
148
+ end
149
+ end
150
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-hostgenerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-07 00:00:00.000000000 Z
12
+ date: 2016-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -193,7 +193,7 @@ files:
193
193
  - lib/beaker-hostgenerator/cli.rb
194
194
  - lib/beaker-hostgenerator/data.rb
195
195
  - lib/beaker-hostgenerator/data/vmpooler.rb
196
- - lib/beaker-hostgenerator/error.rb
196
+ - lib/beaker-hostgenerator/exceptions.rb
197
197
  - lib/beaker-hostgenerator/generator.rb
198
198
  - lib/beaker-hostgenerator/generator/vmpooler.rb
199
199
  - lib/beaker-hostgenerator/roles.rb
@@ -202,6 +202,297 @@ files:
202
202
  - spec/beaker-hostgenerator/generator_spec.rb
203
203
  - spec/helpers.rb
204
204
  - spec/spec_helper.rb
205
+ - test/fixtures/default/arista4-32a
206
+ - test/fixtures/default/centos4-32u
207
+ - test/fixtures/default/centos4-64l
208
+ - test/fixtures/default/centos5-32c
209
+ - test/fixtures/default/centos5-64d
210
+ - test/fixtures/default/centos6-32f
211
+ - test/fixtures/default/centos6-64m
212
+ - test/fixtures/default/centos7-64aulcdfm
213
+ - test/fixtures/default/ciscoexr7-64u
214
+ - test/fixtures/default/cisconxos5-64a
215
+ - test/fixtures/default/cumulus25-64l
216
+ - test/fixtures/default/debian6-32c
217
+ - test/fixtures/default/debian6-64d
218
+ - test/fixtures/default/debian7-32f
219
+ - test/fixtures/default/debian7-64m
220
+ - test/fixtures/default/debian8-32aulcdfm
221
+ - test/fixtures/default/debian8-64a
222
+ - test/fixtures/default/debian9-32u
223
+ - test/fixtures/default/debian9-64l
224
+ - test/fixtures/default/fedora14-32l
225
+ - test/fixtures/default/fedora19-32c
226
+ - test/fixtures/default/fedora19-64d
227
+ - test/fixtures/default/fedora20-32f
228
+ - test/fixtures/default/fedora20-64m
229
+ - test/fixtures/default/fedora21-32aulcdfm
230
+ - test/fixtures/default/fedora21-64a
231
+ - test/fixtures/default/fedora22-32u
232
+ - test/fixtures/default/fedora22-64l
233
+ - test/fixtures/default/fedora23-32c
234
+ - test/fixtures/default/fedora23-64d
235
+ - test/fixtures/default/opensuse11-32f
236
+ - test/fixtures/default/opensuse11-64m
237
+ - test/fixtures/default/oracle5-32c
238
+ - test/fixtures/default/oracle5-64d
239
+ - test/fixtures/default/oracle6-32f
240
+ - test/fixtures/default/oracle6-64m
241
+ - test/fixtures/default/oracle7-64aulcdfm
242
+ - test/fixtures/default/osx1010-64u
243
+ - test/fixtures/default/osx1011-64l
244
+ - test/fixtures/default/osx109-64a
245
+ - test/fixtures/default/redhat4-32c
246
+ - test/fixtures/default/redhat4-64d
247
+ - test/fixtures/default/redhat5-32f
248
+ - test/fixtures/default/redhat5-64m
249
+ - test/fixtures/default/redhat6-32aulcdfm
250
+ - test/fixtures/default/redhat6-64a
251
+ - test/fixtures/default/redhat7-64u
252
+ - test/fixtures/default/scientific5-32aulcdfm
253
+ - test/fixtures/default/scientific5-64a
254
+ - test/fixtures/default/scientific6-32u
255
+ - test/fixtures/default/scientific6-64l
256
+ - test/fixtures/default/scientific7-64c
257
+ - test/fixtures/default/sles10-32d
258
+ - test/fixtures/default/sles10-64f
259
+ - test/fixtures/default/sles11-32m
260
+ - test/fixtures/default/sles11-64aulcdfm
261
+ - test/fixtures/default/sles12-64a
262
+ - test/fixtures/default/solaris10-32u
263
+ - test/fixtures/default/solaris10-64l
264
+ - test/fixtures/default/solaris11-32c
265
+ - test/fixtures/default/solaris11-64d
266
+ - test/fixtures/default/solaris112-32f
267
+ - test/fixtures/default/solaris112-64m
268
+ - test/fixtures/default/ubuntu1004-32aulcdfm
269
+ - test/fixtures/default/ubuntu1004-64a
270
+ - test/fixtures/default/ubuntu1204-32u
271
+ - test/fixtures/default/ubuntu1204-64l
272
+ - test/fixtures/default/ubuntu1404-32c
273
+ - test/fixtures/default/ubuntu1404-64d
274
+ - test/fixtures/default/ubuntu1504-32f
275
+ - test/fixtures/default/ubuntu1504-64m
276
+ - test/fixtures/default/ubuntu1510-32aulcdfm
277
+ - test/fixtures/default/ubuntu1510-64a
278
+ - test/fixtures/default/windows10ent-32l
279
+ - test/fixtures/default/windows10ent-64c
280
+ - test/fixtures/default/windows10pro-64d
281
+ - test/fixtures/default/windows2003-6432l
282
+ - test/fixtures/default/windows2003-64u
283
+ - test/fixtures/default/windows2003r2-32c
284
+ - test/fixtures/default/windows2003r2-6432f
285
+ - test/fixtures/default/windows2003r2-64d
286
+ - test/fixtures/default/windows2008-6432aulcdfm
287
+ - test/fixtures/default/windows2008-64m
288
+ - test/fixtures/default/windows2008r2-6432u
289
+ - test/fixtures/default/windows2008r2-64a
290
+ - test/fixtures/default/windows2012-6432c
291
+ - test/fixtures/default/windows2012-64l
292
+ - test/fixtures/default/windows2012r2-6432f
293
+ - test/fixtures/default/windows2012r2-64d
294
+ - test/fixtures/default/windows7-64m
295
+ - test/fixtures/default/windows8-64aulcdfm
296
+ - test/fixtures/default/windows81-64a
297
+ - test/fixtures/default/windowsvista-64u
298
+ - test/fixtures/environment_variable_tests/pe_version_and_pe_family/centos6-32a
299
+ - test/fixtures/environment_variable_tests/pe_version_and_pe_family_no_upgrade/centos6-32a
300
+ - test/fixtures/environment_variable_tests/pe_version_and_pe_family_upgrade_only/centos6-32a
301
+ - test/fixtures/osinfo-version-0/arista4-32a
302
+ - test/fixtures/osinfo-version-0/centos4-32u
303
+ - test/fixtures/osinfo-version-0/centos4-64l
304
+ - test/fixtures/osinfo-version-0/centos5-32c
305
+ - test/fixtures/osinfo-version-0/centos5-64d
306
+ - test/fixtures/osinfo-version-0/centos6-32f
307
+ - test/fixtures/osinfo-version-0/centos6-64m
308
+ - test/fixtures/osinfo-version-0/centos7-64aulcdfm
309
+ - test/fixtures/osinfo-version-0/ciscoexr7-64u
310
+ - test/fixtures/osinfo-version-0/cisconxos5-64a
311
+ - test/fixtures/osinfo-version-0/cumulus25-64l
312
+ - test/fixtures/osinfo-version-0/debian6-32c
313
+ - test/fixtures/osinfo-version-0/debian6-64d
314
+ - test/fixtures/osinfo-version-0/debian7-32f
315
+ - test/fixtures/osinfo-version-0/debian7-64m
316
+ - test/fixtures/osinfo-version-0/debian8-32aulcdfm
317
+ - test/fixtures/osinfo-version-0/debian8-64a
318
+ - test/fixtures/osinfo-version-0/debian9-32u
319
+ - test/fixtures/osinfo-version-0/debian9-64l
320
+ - test/fixtures/osinfo-version-0/fedora14-32l
321
+ - test/fixtures/osinfo-version-0/fedora19-32c
322
+ - test/fixtures/osinfo-version-0/fedora19-64d
323
+ - test/fixtures/osinfo-version-0/fedora20-32f
324
+ - test/fixtures/osinfo-version-0/fedora20-64m
325
+ - test/fixtures/osinfo-version-0/fedora21-32aulcdfm
326
+ - test/fixtures/osinfo-version-0/fedora21-64a
327
+ - test/fixtures/osinfo-version-0/fedora22-32u
328
+ - test/fixtures/osinfo-version-0/fedora22-64l
329
+ - test/fixtures/osinfo-version-0/fedora23-32c
330
+ - test/fixtures/osinfo-version-0/fedora23-64d
331
+ - test/fixtures/osinfo-version-0/opensuse11-32f
332
+ - test/fixtures/osinfo-version-0/opensuse11-64m
333
+ - test/fixtures/osinfo-version-0/oracle5-32c
334
+ - test/fixtures/osinfo-version-0/oracle5-64d
335
+ - test/fixtures/osinfo-version-0/oracle6-32f
336
+ - test/fixtures/osinfo-version-0/oracle6-64m
337
+ - test/fixtures/osinfo-version-0/oracle7-64aulcdfm
338
+ - test/fixtures/osinfo-version-0/osx1010-64u
339
+ - test/fixtures/osinfo-version-0/osx1011-64l
340
+ - test/fixtures/osinfo-version-0/osx109-64a
341
+ - test/fixtures/osinfo-version-0/redhat4-32c
342
+ - test/fixtures/osinfo-version-0/redhat4-64d
343
+ - test/fixtures/osinfo-version-0/redhat5-32f
344
+ - test/fixtures/osinfo-version-0/redhat5-64m
345
+ - test/fixtures/osinfo-version-0/redhat6-32aulcdfm
346
+ - test/fixtures/osinfo-version-0/redhat6-64a
347
+ - test/fixtures/osinfo-version-0/redhat7-64u
348
+ - test/fixtures/osinfo-version-0/scientific5-32aulcdfm
349
+ - test/fixtures/osinfo-version-0/scientific5-64a
350
+ - test/fixtures/osinfo-version-0/scientific6-32u
351
+ - test/fixtures/osinfo-version-0/scientific6-64l
352
+ - test/fixtures/osinfo-version-0/scientific7-64c
353
+ - test/fixtures/osinfo-version-0/sles10-32d
354
+ - test/fixtures/osinfo-version-0/sles10-64f
355
+ - test/fixtures/osinfo-version-0/sles11-32m
356
+ - test/fixtures/osinfo-version-0/sles11-64aulcdfm
357
+ - test/fixtures/osinfo-version-0/sles12-64a
358
+ - test/fixtures/osinfo-version-0/solaris10-32u
359
+ - test/fixtures/osinfo-version-0/solaris10-64l
360
+ - test/fixtures/osinfo-version-0/solaris11-32c
361
+ - test/fixtures/osinfo-version-0/solaris11-64d
362
+ - test/fixtures/osinfo-version-0/solaris112-32f
363
+ - test/fixtures/osinfo-version-0/solaris112-64m
364
+ - test/fixtures/osinfo-version-0/ubuntu1004-32aulcdfm
365
+ - test/fixtures/osinfo-version-0/ubuntu1004-64a
366
+ - test/fixtures/osinfo-version-0/ubuntu1204-32u
367
+ - test/fixtures/osinfo-version-0/ubuntu1204-64l
368
+ - test/fixtures/osinfo-version-0/ubuntu1404-32c
369
+ - test/fixtures/osinfo-version-0/ubuntu1404-64d
370
+ - test/fixtures/osinfo-version-0/ubuntu1504-32f
371
+ - test/fixtures/osinfo-version-0/ubuntu1504-64m
372
+ - test/fixtures/osinfo-version-0/ubuntu1510-32aulcdfm
373
+ - test/fixtures/osinfo-version-0/ubuntu1510-64a
374
+ - test/fixtures/osinfo-version-0/windows10ent-32l
375
+ - test/fixtures/osinfo-version-0/windows10ent-64c
376
+ - test/fixtures/osinfo-version-0/windows10pro-64d
377
+ - test/fixtures/osinfo-version-0/windows2003-6432l
378
+ - test/fixtures/osinfo-version-0/windows2003-64u
379
+ - test/fixtures/osinfo-version-0/windows2003r2-32c
380
+ - test/fixtures/osinfo-version-0/windows2003r2-6432f
381
+ - test/fixtures/osinfo-version-0/windows2003r2-64d
382
+ - test/fixtures/osinfo-version-0/windows2008-6432aulcdfm
383
+ - test/fixtures/osinfo-version-0/windows2008-64m
384
+ - test/fixtures/osinfo-version-0/windows2008r2-6432u
385
+ - test/fixtures/osinfo-version-0/windows2008r2-64a
386
+ - test/fixtures/osinfo-version-0/windows2012-6432c
387
+ - test/fixtures/osinfo-version-0/windows2012-64l
388
+ - test/fixtures/osinfo-version-0/windows2012r2-6432f
389
+ - test/fixtures/osinfo-version-0/windows2012r2-64d
390
+ - test/fixtures/osinfo-version-0/windows7-64m
391
+ - test/fixtures/osinfo-version-0/windows8-64aulcdfm
392
+ - test/fixtures/osinfo-version-0/windows81-64a
393
+ - test/fixtures/osinfo-version-0/windowsvista-64u
394
+ - test/fixtures/osinfo-version-1/arista4-32a
395
+ - test/fixtures/osinfo-version-1/centos4-32u
396
+ - test/fixtures/osinfo-version-1/centos4-64l
397
+ - test/fixtures/osinfo-version-1/centos5-32c
398
+ - test/fixtures/osinfo-version-1/centos5-64d
399
+ - test/fixtures/osinfo-version-1/centos6-32f
400
+ - test/fixtures/osinfo-version-1/centos6-64m
401
+ - test/fixtures/osinfo-version-1/centos7-64aulcdfm
402
+ - test/fixtures/osinfo-version-1/ciscoexr7-64u
403
+ - test/fixtures/osinfo-version-1/cisconxos5-64a
404
+ - test/fixtures/osinfo-version-1/cumulus25-64l
405
+ - test/fixtures/osinfo-version-1/debian6-32c
406
+ - test/fixtures/osinfo-version-1/debian6-64d
407
+ - test/fixtures/osinfo-version-1/debian7-32f
408
+ - test/fixtures/osinfo-version-1/debian7-64m
409
+ - test/fixtures/osinfo-version-1/debian8-32aulcdfm
410
+ - test/fixtures/osinfo-version-1/debian8-64a
411
+ - test/fixtures/osinfo-version-1/debian9-32u
412
+ - test/fixtures/osinfo-version-1/debian9-64l
413
+ - test/fixtures/osinfo-version-1/fedora14-32l
414
+ - test/fixtures/osinfo-version-1/fedora19-32c
415
+ - test/fixtures/osinfo-version-1/fedora19-64d
416
+ - test/fixtures/osinfo-version-1/fedora20-32f
417
+ - test/fixtures/osinfo-version-1/fedora20-64m
418
+ - test/fixtures/osinfo-version-1/fedora21-32aulcdfm
419
+ - test/fixtures/osinfo-version-1/fedora21-64a
420
+ - test/fixtures/osinfo-version-1/fedora22-32u
421
+ - test/fixtures/osinfo-version-1/fedora22-64l
422
+ - test/fixtures/osinfo-version-1/fedora23-32c
423
+ - test/fixtures/osinfo-version-1/fedora23-64d
424
+ - test/fixtures/osinfo-version-1/opensuse11-32f
425
+ - test/fixtures/osinfo-version-1/opensuse11-64m
426
+ - test/fixtures/osinfo-version-1/oracle5-32c
427
+ - test/fixtures/osinfo-version-1/oracle5-64d
428
+ - test/fixtures/osinfo-version-1/oracle6-32f
429
+ - test/fixtures/osinfo-version-1/oracle6-64m
430
+ - test/fixtures/osinfo-version-1/oracle7-64aulcdfm
431
+ - test/fixtures/osinfo-version-1/osx1010-64u
432
+ - test/fixtures/osinfo-version-1/osx1011-64l
433
+ - test/fixtures/osinfo-version-1/osx109-64a
434
+ - test/fixtures/osinfo-version-1/redhat4-32c
435
+ - test/fixtures/osinfo-version-1/redhat4-64d
436
+ - test/fixtures/osinfo-version-1/redhat5-32f
437
+ - test/fixtures/osinfo-version-1/redhat5-64m
438
+ - test/fixtures/osinfo-version-1/redhat6-32aulcdfm
439
+ - test/fixtures/osinfo-version-1/redhat6-64a
440
+ - test/fixtures/osinfo-version-1/redhat7-64u
441
+ - test/fixtures/osinfo-version-1/scientific5-32aulcdfm
442
+ - test/fixtures/osinfo-version-1/scientific5-64a
443
+ - test/fixtures/osinfo-version-1/scientific6-32u
444
+ - test/fixtures/osinfo-version-1/scientific6-64l
445
+ - test/fixtures/osinfo-version-1/scientific7-64c
446
+ - test/fixtures/osinfo-version-1/sles10-32d
447
+ - test/fixtures/osinfo-version-1/sles10-64f
448
+ - test/fixtures/osinfo-version-1/sles11-32m
449
+ - test/fixtures/osinfo-version-1/sles11-64aulcdfm
450
+ - test/fixtures/osinfo-version-1/sles12-64a
451
+ - test/fixtures/osinfo-version-1/solaris10-32u
452
+ - test/fixtures/osinfo-version-1/solaris10-64l
453
+ - test/fixtures/osinfo-version-1/solaris11-32c
454
+ - test/fixtures/osinfo-version-1/solaris11-64d
455
+ - test/fixtures/osinfo-version-1/solaris112-32f
456
+ - test/fixtures/osinfo-version-1/solaris112-64m
457
+ - test/fixtures/osinfo-version-1/ubuntu1004-32aulcdfm
458
+ - test/fixtures/osinfo-version-1/ubuntu1004-64a
459
+ - test/fixtures/osinfo-version-1/ubuntu1204-32u
460
+ - test/fixtures/osinfo-version-1/ubuntu1204-64l
461
+ - test/fixtures/osinfo-version-1/ubuntu1404-32c
462
+ - test/fixtures/osinfo-version-1/ubuntu1404-64d
463
+ - test/fixtures/osinfo-version-1/ubuntu1504-32f
464
+ - test/fixtures/osinfo-version-1/ubuntu1504-64m
465
+ - test/fixtures/osinfo-version-1/ubuntu1510-32aulcdfm
466
+ - test/fixtures/osinfo-version-1/ubuntu1510-64a
467
+ - test/fixtures/osinfo-version-1/windows10ent-32l
468
+ - test/fixtures/osinfo-version-1/windows10ent-64c
469
+ - test/fixtures/osinfo-version-1/windows10pro-64d
470
+ - test/fixtures/osinfo-version-1/windows2003-6432l
471
+ - test/fixtures/osinfo-version-1/windows2003-64u
472
+ - test/fixtures/osinfo-version-1/windows2003r2-32c
473
+ - test/fixtures/osinfo-version-1/windows2003r2-6432f
474
+ - test/fixtures/osinfo-version-1/windows2003r2-64d
475
+ - test/fixtures/osinfo-version-1/windows2008-6432aulcdfm
476
+ - test/fixtures/osinfo-version-1/windows2008-64m
477
+ - test/fixtures/osinfo-version-1/windows2008r2-6432u
478
+ - test/fixtures/osinfo-version-1/windows2008r2-64a
479
+ - test/fixtures/osinfo-version-1/windows2012-6432c
480
+ - test/fixtures/osinfo-version-1/windows2012-64l
481
+ - test/fixtures/osinfo-version-1/windows2012r2-6432f
482
+ - test/fixtures/osinfo-version-1/windows2012r2-64d
483
+ - test/fixtures/osinfo-version-1/windows7-64m
484
+ - test/fixtures/osinfo-version-1/windows8-64aulcdfm
485
+ - test/fixtures/osinfo-version-1/windows81-64a
486
+ - test/fixtures/osinfo-version-1/windowsvista-64u
487
+ - test/fixtures/pe_dir/centos6-64mdc
488
+ - test/fixtures/pe_upgrade_dir/centos6-64mdc
489
+ - test/fixtures/pe_upgrade_ver/centos6-64mdc
490
+ - test/fixtures/pe_ver/centos6-64mdc
491
+ - test/test_cli.rb
492
+ - test/test_generator.rb
493
+ - test/test_stdout.rb
494
+ - test/test_util.rb
495
+ - test/util/generator_helpers.rb
205
496
  homepage: https://github.com/puppetlabs/beaker-hostgenerator
206
497
  licenses:
207
498
  - Apache2
@@ -1,6 +0,0 @@
1
- module BeakerHostGenerator
2
- module Errors
3
- class Error < RuntimeError ; end
4
- class InvalidNodeSpecError < BeakerHostGenerator::Errors::Error ; end
5
- end
6
- end