beaker-hostgenerator 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (855) hide show
  1. checksums.yaml +8 -8
  2. data/CHANGELOG.md +15 -0
  3. data/HISTORY.md +210 -2
  4. data/README.md +84 -5
  5. data/lib/beaker-hostgenerator/cli.rb +58 -37
  6. data/lib/beaker-hostgenerator/data.rb +109 -84
  7. data/lib/beaker-hostgenerator/generator.rb +38 -0
  8. data/lib/beaker-hostgenerator/hypervisor.rb +10 -11
  9. data/lib/beaker-hostgenerator/hypervisor/unknown.rb +21 -0
  10. data/lib/beaker-hostgenerator/parser.rb +23 -2
  11. data/lib/beaker-hostgenerator/version.rb +1 -1
  12. data/spec/beaker-hostgenerator/parser_spec.rb +56 -0
  13. data/test/fixtures/generated/default/aix53-POWERa +19 -0
  14. data/test/fixtures/generated/default/aix61-POWERu +20 -0
  15. data/test/fixtures/generated/default/aix71-POWERl +20 -0
  16. data/test/fixtures/generated/default/arista4-32c +21 -0
  17. data/test/fixtures/generated/default/centos4-32d +21 -0
  18. data/test/fixtures/generated/default/centos4-64f +21 -0
  19. data/test/fixtures/generated/default/centos5-32m +21 -0
  20. data/test/fixtures/generated/default/centos5-64aulcdfm +26 -0
  21. data/test/fixtures/generated/default/centos6-32a +20 -0
  22. data/test/fixtures/generated/default/centos6-64u +21 -0
  23. data/test/fixtures/generated/default/centos7-64l +21 -0
  24. data/test/fixtures/generated/default/cisconx-64c +24 -0
  25. data/test/fixtures/generated/default/ciscoxr-64d +21 -0
  26. data/test/fixtures/generated/default/cumulus25-64f +21 -0
  27. data/test/fixtures/generated/default/debian6-32m +21 -0
  28. data/test/fixtures/generated/default/debian6-64aulcdfm +26 -0
  29. data/test/fixtures/generated/default/debian7-32a +20 -0
  30. data/test/fixtures/generated/default/debian7-64u +21 -0
  31. data/test/fixtures/generated/default/debian8-32l +21 -0
  32. data/test/fixtures/generated/default/debian8-64c +21 -0
  33. data/test/fixtures/generated/default/debian9-32d +21 -0
  34. data/test/fixtures/generated/default/debian9-64f +21 -0
  35. data/test/fixtures/generated/default/fedora14-32m +21 -0
  36. data/test/fixtures/generated/default/fedora19-32aulcdfm +26 -0
  37. data/test/fixtures/generated/default/fedora19-64a +20 -0
  38. data/test/fixtures/generated/default/fedora20-32u +21 -0
  39. data/test/fixtures/generated/default/fedora20-64l +21 -0
  40. data/test/fixtures/generated/default/fedora21-32c +21 -0
  41. data/test/fixtures/generated/default/fedora21-64d +21 -0
  42. data/test/fixtures/generated/default/fedora22-32f +21 -0
  43. data/test/fixtures/generated/default/fedora22-64m +21 -0
  44. data/test/fixtures/generated/default/fedora23-32aulcdfm +26 -0
  45. data/test/fixtures/generated/default/fedora23-64a +20 -0
  46. data/test/fixtures/generated/default/opensuse11-32u +21 -0
  47. data/test/fixtures/generated/default/opensuse11-64l +21 -0
  48. data/test/fixtures/{default → generated/default}/oracle5-32c +0 -0
  49. data/test/fixtures/{default → generated/default}/oracle5-64d +0 -0
  50. data/test/fixtures/{default → generated/default}/oracle6-32f +0 -0
  51. data/test/fixtures/{default → generated/default}/oracle6-64m +0 -0
  52. data/test/fixtures/{default → generated/default}/oracle7-64aulcdfm +0 -0
  53. data/test/fixtures/{default → generated/default}/osx1010-64u +0 -0
  54. data/test/fixtures/{default → generated/default}/osx1011-64l +0 -0
  55. data/test/fixtures/{default → generated/default}/osx109-64a +0 -0
  56. data/test/fixtures/{default → generated/default}/redhat4-32c +0 -0
  57. data/test/fixtures/{default → generated/default}/redhat4-64d +0 -0
  58. data/test/fixtures/{default → generated/default}/redhat5-32f +0 -0
  59. data/test/fixtures/{default → generated/default}/redhat5-64m +0 -0
  60. data/test/fixtures/{default → generated/default}/redhat6-32aulcdfm +0 -0
  61. data/test/fixtures/{default → generated/default}/redhat6-64a +0 -0
  62. data/test/fixtures/{default → generated/default}/redhat7-64u +0 -0
  63. data/test/fixtures/generated/default/scientific5-32l +21 -0
  64. data/test/fixtures/generated/default/scientific5-64c +21 -0
  65. data/test/fixtures/generated/default/scientific6-32d +21 -0
  66. data/test/fixtures/generated/default/scientific6-64f +21 -0
  67. data/test/fixtures/generated/default/scientific7-64m +21 -0
  68. data/test/fixtures/generated/default/sles10-32aulcdfm +26 -0
  69. data/test/fixtures/generated/default/sles10-64a +20 -0
  70. data/test/fixtures/generated/default/sles11-32u +21 -0
  71. data/test/fixtures/generated/default/sles11-64l +21 -0
  72. data/test/fixtures/generated/default/sles12-64c +21 -0
  73. data/test/fixtures/generated/default/solaris10-32d +21 -0
  74. data/test/fixtures/generated/default/solaris10-64f +21 -0
  75. data/test/fixtures/generated/default/solaris10-SPARCm +20 -0
  76. data/test/fixtures/generated/default/solaris11-32aulcdfm +26 -0
  77. data/test/fixtures/generated/default/solaris11-64a +20 -0
  78. data/test/fixtures/generated/default/solaris11-SPARCu +20 -0
  79. data/test/fixtures/generated/default/solaris112-32l +21 -0
  80. data/test/fixtures/generated/default/solaris112-64c +21 -0
  81. data/test/fixtures/generated/default/ubuntu1004-32d +21 -0
  82. data/test/fixtures/generated/default/ubuntu1004-64f +21 -0
  83. data/test/fixtures/generated/default/ubuntu1204-32m +21 -0
  84. data/test/fixtures/generated/default/ubuntu1204-64aulcdfm +26 -0
  85. data/test/fixtures/generated/default/ubuntu1404-32a +20 -0
  86. data/test/fixtures/generated/default/ubuntu1404-64u +21 -0
  87. data/test/fixtures/generated/default/ubuntu1504-32l +21 -0
  88. data/test/fixtures/generated/default/ubuntu1504-64c +21 -0
  89. data/test/fixtures/generated/default/ubuntu1510-32d +21 -0
  90. data/test/fixtures/generated/default/ubuntu1510-64f +21 -0
  91. data/test/fixtures/generated/default/ubuntu1604-32m +21 -0
  92. data/test/fixtures/generated/default/ubuntu1604-64aulcdfm +26 -0
  93. data/test/fixtures/generated/default/windows10ent-32u +22 -0
  94. data/test/fixtures/generated/default/windows10ent-64l +22 -0
  95. data/test/fixtures/generated/default/windows10pro-64c +22 -0
  96. data/test/fixtures/generated/default/windows2003-6432u +22 -0
  97. data/test/fixtures/generated/default/windows2003-64a +21 -0
  98. data/test/fixtures/generated/default/windows2003r2-32l +22 -0
  99. data/test/fixtures/generated/default/windows2003r2-6432d +22 -0
  100. data/test/fixtures/generated/default/windows2003r2-64c +22 -0
  101. data/test/fixtures/generated/default/windows2008-6432m +22 -0
  102. data/test/fixtures/generated/default/windows2008-64f +22 -0
  103. data/test/fixtures/generated/default/windows2008r2-6432a +21 -0
  104. data/test/fixtures/generated/default/windows2008r2-64aulcdfm +27 -0
  105. data/test/fixtures/generated/default/windows2012-6432l +22 -0
  106. data/test/fixtures/generated/default/windows2012-64u +22 -0
  107. data/test/fixtures/generated/default/windows2012r2-6432d +22 -0
  108. data/test/fixtures/generated/default/windows2012r2-64c +22 -0
  109. data/test/fixtures/generated/default/windows7-64f +22 -0
  110. data/test/fixtures/generated/default/windows8-64m +22 -0
  111. data/test/fixtures/generated/default/windows81-64aulcdfm +27 -0
  112. data/test/fixtures/generated/default/windowsvista-64a +21 -0
  113. data/test/fixtures/{environment_variable_tests → generated/environment_variable_tests}/pe_version_and_pe_family/centos6-32a +0 -0
  114. data/test/fixtures/{environment_variable_tests → generated/environment_variable_tests}/pe_version_and_pe_family_no_upgrade/centos6-32a +0 -0
  115. data/test/fixtures/{environment_variable_tests → generated/environment_variable_tests}/pe_version_and_pe_family_upgrade_only/centos6-32a +0 -0
  116. data/test/fixtures/generated/multiplatform/aix53-POWERa-windows10pro-64-aix53-POWERaulcdfm +45 -0
  117. data/test/fixtures/generated/multiplatform/aix61-POWERu-windows10ent-64-aix61-POWERm +41 -0
  118. data/test/fixtures/generated/multiplatform/aix71-POWERl-windows10ent-32-aix71-POWERf +41 -0
  119. data/test/fixtures/generated/multiplatform/arista4-32c-windowsvista-64-arista4-32d +43 -0
  120. data/test/fixtures/generated/multiplatform/centos4-32d-windows81-64-centos4-32c +43 -0
  121. data/test/fixtures/generated/multiplatform/centos4-64f-windows8-64-centos4-64l +43 -0
  122. data/test/fixtures/generated/multiplatform/centos5-32m-windows7-64-centos5-32u +43 -0
  123. data/test/fixtures/generated/multiplatform/centos5-64aulcdfm-windows2012r2-6432-centos5-64a +47 -0
  124. data/test/fixtures/generated/multiplatform/centos6-32a-windows2012r2-64-centos6-32aulcdfm +47 -0
  125. data/test/fixtures/generated/multiplatform/centos6-64u-windows2012-6432-centos6-64m +43 -0
  126. data/test/fixtures/generated/multiplatform/centos7-64l-windows2012-64-centos7-64f +43 -0
  127. data/test/fixtures/generated/multiplatform/cisconx-64c-windows2008r2-6432-cisconx-64d +49 -0
  128. data/test/fixtures/generated/multiplatform/ciscoxr-64d-windows2008r2-64-ciscoxr-64c +43 -0
  129. data/test/fixtures/generated/multiplatform/cumulus25-64f-windows2008-6432-cumulus25-64l +43 -0
  130. data/test/fixtures/generated/multiplatform/debian6-32m-windows2008-64-debian6-32u +43 -0
  131. data/test/fixtures/generated/multiplatform/debian6-64aulcdfm-windows2003r2-6432-debian6-64a +47 -0
  132. data/test/fixtures/generated/multiplatform/debian7-32a-windows2003r2-64-debian7-32aulcdfm +47 -0
  133. data/test/fixtures/generated/multiplatform/debian7-64u-windows2003r2-32-debian7-64m +43 -0
  134. data/test/fixtures/generated/multiplatform/debian8-32l-windows2003-6432-debian8-32f +43 -0
  135. data/test/fixtures/generated/multiplatform/debian8-64c-windows2003-64-debian8-64d +43 -0
  136. data/test/fixtures/generated/multiplatform/debian9-32d-ubuntu1604-64-debian9-32c +42 -0
  137. data/test/fixtures/generated/multiplatform/debian9-64f-ubuntu1604-32-debian9-64l +42 -0
  138. data/test/fixtures/generated/multiplatform/fedora14-32m-ubuntu1510-64-fedora14-32u +42 -0
  139. data/test/fixtures/generated/multiplatform/fedora19-32aulcdfm-ubuntu1510-32-fedora19-32a +46 -0
  140. data/test/fixtures/generated/multiplatform/fedora19-64a-ubuntu1504-64-fedora19-64aulcdfm +46 -0
  141. data/test/fixtures/generated/multiplatform/fedora20-32u-ubuntu1504-32-fedora20-32m +42 -0
  142. data/test/fixtures/generated/multiplatform/fedora20-64l-ubuntu1404-64-fedora20-64f +42 -0
  143. data/test/fixtures/generated/multiplatform/fedora21-32c-ubuntu1404-32-fedora21-32d +42 -0
  144. data/test/fixtures/generated/multiplatform/fedora21-64d-ubuntu1204-64-fedora21-64c +42 -0
  145. data/test/fixtures/generated/multiplatform/fedora22-32f-ubuntu1204-32-fedora22-32l +42 -0
  146. data/test/fixtures/generated/multiplatform/fedora22-64m-ubuntu1004-64-fedora22-64u +42 -0
  147. data/test/fixtures/generated/multiplatform/fedora23-32aulcdfm-ubuntu1004-32-fedora23-32a +46 -0
  148. data/test/fixtures/generated/multiplatform/fedora23-64a-solaris112-64-fedora23-64aulcdfm +46 -0
  149. data/test/fixtures/generated/multiplatform/opensuse11-32u-solaris112-32-opensuse11-32m +42 -0
  150. data/test/fixtures/generated/multiplatform/opensuse11-64l-solaris11-SPARC-opensuse11-64f +41 -0
  151. data/test/fixtures/generated/multiplatform/oracle5-32c-solaris11-64-oracle5-32d +42 -0
  152. data/test/fixtures/generated/multiplatform/oracle5-64d-solaris11-32-oracle5-64c +42 -0
  153. data/test/fixtures/generated/multiplatform/oracle6-32f-solaris10-SPARC-oracle6-32l +41 -0
  154. data/test/fixtures/generated/multiplatform/oracle6-64m-solaris10-64-oracle6-64u +42 -0
  155. data/test/fixtures/generated/multiplatform/oracle7-64aulcdfm-solaris10-32-oracle7-64a +46 -0
  156. data/test/fixtures/generated/multiplatform/osx1010-64u-sles11-64-osx1010-64m +42 -0
  157. data/test/fixtures/generated/multiplatform/osx1011-64l-sles11-32-osx1011-64f +42 -0
  158. data/test/fixtures/generated/multiplatform/osx109-64a-sles12-64-osx109-64aulcdfm +46 -0
  159. data/test/fixtures/generated/multiplatform/redhat4-32c-sles10-64-redhat4-32d +42 -0
  160. data/test/fixtures/generated/multiplatform/redhat4-64d-sles10-32-redhat4-64c +42 -0
  161. data/test/fixtures/generated/multiplatform/redhat5-32f-scientific7-64-redhat5-32l +42 -0
  162. data/test/fixtures/generated/multiplatform/redhat5-64m-scientific6-64-redhat5-64u +42 -0
  163. data/test/fixtures/generated/multiplatform/redhat6-32aulcdfm-scientific6-32-redhat6-32a +46 -0
  164. data/test/fixtures/generated/multiplatform/redhat6-64a-scientific5-64-redhat6-64aulcdfm +46 -0
  165. data/test/fixtures/generated/multiplatform/redhat7-64u-scientific5-32-redhat7-64m +42 -0
  166. data/test/fixtures/generated/multiplatform/scientific5-32l-redhat7-64-scientific5-32f +42 -0
  167. data/test/fixtures/generated/multiplatform/scientific5-64c-redhat6-64-scientific5-64d +42 -0
  168. data/test/fixtures/generated/multiplatform/scientific6-32d-redhat6-32-scientific6-32c +42 -0
  169. data/test/fixtures/generated/multiplatform/scientific6-64f-redhat5-64-scientific6-64l +42 -0
  170. data/test/fixtures/generated/multiplatform/scientific7-64m-redhat5-32-scientific7-64u +42 -0
  171. data/test/fixtures/generated/multiplatform/sles10-32aulcdfm-redhat4-64-sles10-32a +46 -0
  172. data/test/fixtures/generated/multiplatform/sles10-64a-redhat4-32-sles10-64aulcdfm +46 -0
  173. data/test/fixtures/generated/multiplatform/sles11-32u-osx1011-64-sles11-32m +42 -0
  174. data/test/fixtures/generated/multiplatform/sles11-64l-osx1010-64-sles11-64f +42 -0
  175. data/test/fixtures/generated/multiplatform/sles12-64c-osx109-64-sles12-64d +42 -0
  176. data/test/fixtures/generated/multiplatform/solaris10-32d-oracle7-64-solaris10-32c +42 -0
  177. data/test/fixtures/generated/multiplatform/solaris10-64f-oracle6-64-solaris10-64l +42 -0
  178. data/test/fixtures/generated/multiplatform/solaris10-SPARCm-oracle6-32-solaris10-SPARCu +40 -0
  179. data/test/fixtures/generated/multiplatform/solaris11-32aulcdfm-oracle5-64-solaris11-32a +46 -0
  180. data/test/fixtures/generated/multiplatform/solaris11-64a-oracle5-32-solaris11-64aulcdfm +46 -0
  181. data/test/fixtures/generated/multiplatform/solaris11-SPARCu-opensuse11-64-solaris11-SPARCm +40 -0
  182. data/test/fixtures/generated/multiplatform/solaris112-32l-opensuse11-32-solaris112-32f +42 -0
  183. data/test/fixtures/generated/multiplatform/solaris112-64c-fedora23-64-solaris112-64d +42 -0
  184. data/test/fixtures/generated/multiplatform/ubuntu1004-32d-fedora23-32-ubuntu1004-32c +42 -0
  185. data/test/fixtures/generated/multiplatform/ubuntu1004-64f-fedora22-64-ubuntu1004-64l +42 -0
  186. data/test/fixtures/generated/multiplatform/ubuntu1204-32m-fedora22-32-ubuntu1204-32u +42 -0
  187. data/test/fixtures/generated/multiplatform/ubuntu1204-64aulcdfm-fedora21-64-ubuntu1204-64a +46 -0
  188. data/test/fixtures/generated/multiplatform/ubuntu1404-32a-fedora21-32-ubuntu1404-32aulcdfm +46 -0
  189. data/test/fixtures/generated/multiplatform/ubuntu1404-64u-fedora20-64-ubuntu1404-64m +42 -0
  190. data/test/fixtures/generated/multiplatform/ubuntu1504-32l-fedora20-32-ubuntu1504-32f +42 -0
  191. data/test/fixtures/generated/multiplatform/ubuntu1504-64c-fedora19-64-ubuntu1504-64d +42 -0
  192. data/test/fixtures/generated/multiplatform/ubuntu1510-32d-fedora19-32-ubuntu1510-32c +42 -0
  193. data/test/fixtures/generated/multiplatform/ubuntu1510-64f-fedora14-32-ubuntu1510-64l +42 -0
  194. data/test/fixtures/generated/multiplatform/ubuntu1604-32m-debian9-64-ubuntu1604-32u +42 -0
  195. data/test/fixtures/generated/multiplatform/ubuntu1604-64aulcdfm-debian9-32-ubuntu1604-64a +46 -0
  196. data/test/fixtures/generated/multiplatform/windows10ent-32u-aix71-POWER-windows10ent-32m +43 -0
  197. data/test/fixtures/generated/multiplatform/windows10ent-64l-aix61-POWER-windows10ent-64f +43 -0
  198. data/test/fixtures/generated/multiplatform/windows10pro-64c-aix53-POWER-windows10pro-64d +43 -0
  199. data/test/fixtures/generated/multiplatform/windows2003-6432u-debian8-32-windows2003-6432m +44 -0
  200. data/test/fixtures/generated/multiplatform/windows2003-64a-debian8-64-windows2003-64aulcdfm +48 -0
  201. data/test/fixtures/generated/multiplatform/windows2003r2-32l-debian7-64-windows2003r2-32f +44 -0
  202. data/test/fixtures/generated/multiplatform/windows2003r2-6432d-debian6-64-windows2003r2-6432c +44 -0
  203. data/test/fixtures/generated/multiplatform/windows2003r2-64c-debian7-32-windows2003r2-64d +44 -0
  204. data/test/fixtures/generated/multiplatform/windows2008-6432m-cumulus25-64-windows2008-6432u +44 -0
  205. data/test/fixtures/generated/multiplatform/windows2008-64f-debian6-32-windows2008-64l +44 -0
  206. data/test/fixtures/generated/multiplatform/windows2008r2-6432a-cisconx-64-windows2008r2-6432aulcdfm +51 -0
  207. data/test/fixtures/generated/multiplatform/windows2008r2-64aulcdfm-ciscoxr-64-windows2008r2-64a +48 -0
  208. data/test/fixtures/generated/multiplatform/windows2012-6432l-centos6-64-windows2012-6432f +44 -0
  209. data/test/fixtures/generated/multiplatform/windows2012-64u-centos7-64-windows2012-64m +44 -0
  210. data/test/fixtures/generated/multiplatform/windows2012r2-6432d-centos5-64-windows2012r2-6432c +44 -0
  211. data/test/fixtures/generated/multiplatform/windows2012r2-64c-centos6-32-windows2012r2-64d +44 -0
  212. data/test/fixtures/generated/multiplatform/windows7-64f-centos5-32-windows7-64l +44 -0
  213. data/test/fixtures/generated/multiplatform/windows8-64m-centos4-64-windows8-64u +44 -0
  214. data/test/fixtures/generated/multiplatform/windows81-64aulcdfm-centos4-32-windows81-64a +48 -0
  215. data/test/fixtures/generated/multiplatform/windowsvista-64a-arista4-32-windowsvista-64aulcdfm +48 -0
  216. data/test/fixtures/generated/osinfo-version-0/aix53-POWERa +19 -0
  217. data/test/fixtures/generated/osinfo-version-0/aix61-POWERu +20 -0
  218. data/test/fixtures/generated/osinfo-version-0/aix71-POWERl +20 -0
  219. data/test/fixtures/generated/osinfo-version-0/arista4-32c +21 -0
  220. data/test/fixtures/generated/osinfo-version-0/centos4-32d +21 -0
  221. data/test/fixtures/generated/osinfo-version-0/centos4-64f +21 -0
  222. data/test/fixtures/generated/osinfo-version-0/centos5-32m +21 -0
  223. data/test/fixtures/generated/osinfo-version-0/centos5-64aulcdfm +26 -0
  224. data/test/fixtures/generated/osinfo-version-0/centos6-32a +20 -0
  225. data/test/fixtures/generated/osinfo-version-0/centos6-64u +21 -0
  226. data/test/fixtures/generated/osinfo-version-0/centos7-64l +21 -0
  227. data/test/fixtures/generated/osinfo-version-0/cisconx-64c +24 -0
  228. data/test/fixtures/generated/osinfo-version-0/ciscoxr-64d +21 -0
  229. data/test/fixtures/generated/osinfo-version-0/cumulus25-64f +21 -0
  230. data/test/fixtures/generated/osinfo-version-0/debian6-32m +21 -0
  231. data/test/fixtures/generated/osinfo-version-0/debian6-64aulcdfm +26 -0
  232. data/test/fixtures/generated/osinfo-version-0/debian7-32a +20 -0
  233. data/test/fixtures/generated/osinfo-version-0/debian7-64u +21 -0
  234. data/test/fixtures/generated/osinfo-version-0/debian8-32l +21 -0
  235. data/test/fixtures/generated/osinfo-version-0/debian8-64c +21 -0
  236. data/test/fixtures/generated/osinfo-version-0/debian9-32d +21 -0
  237. data/test/fixtures/generated/osinfo-version-0/debian9-64f +21 -0
  238. data/test/fixtures/generated/osinfo-version-0/fedora14-32m +21 -0
  239. data/test/fixtures/generated/osinfo-version-0/fedora19-32aulcdfm +26 -0
  240. data/test/fixtures/generated/osinfo-version-0/fedora19-64a +20 -0
  241. data/test/fixtures/generated/osinfo-version-0/fedora20-32u +21 -0
  242. data/test/fixtures/generated/osinfo-version-0/fedora20-64l +21 -0
  243. data/test/fixtures/generated/osinfo-version-0/fedora21-32c +21 -0
  244. data/test/fixtures/generated/osinfo-version-0/fedora21-64d +21 -0
  245. data/test/fixtures/generated/osinfo-version-0/fedora22-32f +21 -0
  246. data/test/fixtures/generated/osinfo-version-0/fedora22-64m +21 -0
  247. data/test/fixtures/generated/osinfo-version-0/fedora23-32aulcdfm +26 -0
  248. data/test/fixtures/generated/osinfo-version-0/fedora23-64a +20 -0
  249. data/test/fixtures/generated/osinfo-version-0/opensuse11-32u +21 -0
  250. data/test/fixtures/generated/osinfo-version-0/opensuse11-64l +21 -0
  251. data/test/fixtures/generated/osinfo-version-0/oracle5-32c +21 -0
  252. data/test/fixtures/generated/osinfo-version-0/oracle5-64d +21 -0
  253. data/test/fixtures/generated/osinfo-version-0/oracle6-32f +21 -0
  254. data/test/fixtures/generated/osinfo-version-0/oracle6-64m +21 -0
  255. data/test/fixtures/generated/osinfo-version-0/oracle7-64aulcdfm +26 -0
  256. data/test/fixtures/generated/osinfo-version-0/osx1010-64u +21 -0
  257. data/test/fixtures/generated/osinfo-version-0/osx1011-64l +21 -0
  258. data/test/fixtures/generated/osinfo-version-0/osx109-64a +20 -0
  259. data/test/fixtures/generated/osinfo-version-0/redhat4-32c +21 -0
  260. data/test/fixtures/generated/osinfo-version-0/redhat4-64d +21 -0
  261. data/test/fixtures/generated/osinfo-version-0/redhat5-32f +21 -0
  262. data/test/fixtures/generated/osinfo-version-0/redhat5-64m +21 -0
  263. data/test/fixtures/generated/osinfo-version-0/redhat6-32aulcdfm +26 -0
  264. data/test/fixtures/generated/osinfo-version-0/redhat6-64a +20 -0
  265. data/test/fixtures/generated/osinfo-version-0/redhat7-64u +21 -0
  266. data/test/fixtures/generated/osinfo-version-0/scientific5-32l +21 -0
  267. data/test/fixtures/generated/osinfo-version-0/scientific5-64c +21 -0
  268. data/test/fixtures/generated/osinfo-version-0/scientific6-32d +21 -0
  269. data/test/fixtures/generated/osinfo-version-0/scientific6-64f +21 -0
  270. data/test/fixtures/generated/osinfo-version-0/scientific7-64m +21 -0
  271. data/test/fixtures/generated/osinfo-version-0/sles10-32aulcdfm +26 -0
  272. data/test/fixtures/generated/osinfo-version-0/sles10-64a +20 -0
  273. data/test/fixtures/generated/osinfo-version-0/sles11-32u +21 -0
  274. data/test/fixtures/generated/osinfo-version-0/sles11-64l +21 -0
  275. data/test/fixtures/generated/osinfo-version-0/sles12-64c +21 -0
  276. data/test/fixtures/generated/osinfo-version-0/solaris10-32d +21 -0
  277. data/test/fixtures/generated/osinfo-version-0/solaris10-64f +21 -0
  278. data/test/fixtures/generated/osinfo-version-0/solaris10-SPARCm +20 -0
  279. data/test/fixtures/generated/osinfo-version-0/solaris11-32aulcdfm +26 -0
  280. data/test/fixtures/generated/osinfo-version-0/solaris11-64a +20 -0
  281. data/test/fixtures/generated/osinfo-version-0/solaris11-SPARCu +20 -0
  282. data/test/fixtures/generated/osinfo-version-0/solaris112-32l +21 -0
  283. data/test/fixtures/generated/osinfo-version-0/solaris112-64c +21 -0
  284. data/test/fixtures/generated/osinfo-version-0/ubuntu1004-32d +21 -0
  285. data/test/fixtures/generated/osinfo-version-0/ubuntu1004-64f +21 -0
  286. data/test/fixtures/generated/osinfo-version-0/ubuntu1204-32m +21 -0
  287. data/test/fixtures/generated/osinfo-version-0/ubuntu1204-64aulcdfm +26 -0
  288. data/test/fixtures/generated/osinfo-version-0/ubuntu1404-32a +20 -0
  289. data/test/fixtures/generated/osinfo-version-0/ubuntu1404-64u +21 -0
  290. data/test/fixtures/generated/osinfo-version-0/ubuntu1504-32l +21 -0
  291. data/test/fixtures/generated/osinfo-version-0/ubuntu1504-64c +21 -0
  292. data/test/fixtures/generated/osinfo-version-0/ubuntu1510-32d +21 -0
  293. data/test/fixtures/generated/osinfo-version-0/ubuntu1510-64f +21 -0
  294. data/test/fixtures/generated/osinfo-version-0/ubuntu1604-32m +21 -0
  295. data/test/fixtures/generated/osinfo-version-0/ubuntu1604-64aulcdfm +26 -0
  296. data/test/fixtures/generated/osinfo-version-0/windows10ent-32u +22 -0
  297. data/test/fixtures/generated/osinfo-version-0/windows10ent-64l +22 -0
  298. data/test/fixtures/generated/osinfo-version-0/windows10pro-64c +22 -0
  299. data/test/fixtures/generated/osinfo-version-0/windows2003-6432u +22 -0
  300. data/test/fixtures/generated/osinfo-version-0/windows2003-64a +21 -0
  301. data/test/fixtures/generated/osinfo-version-0/windows2003r2-32l +22 -0
  302. data/test/fixtures/generated/osinfo-version-0/windows2003r2-6432d +22 -0
  303. data/test/fixtures/generated/osinfo-version-0/windows2003r2-64c +22 -0
  304. data/test/fixtures/generated/osinfo-version-0/windows2008-6432m +22 -0
  305. data/test/fixtures/generated/osinfo-version-0/windows2008-64f +22 -0
  306. data/test/fixtures/generated/osinfo-version-0/windows2008r2-6432a +21 -0
  307. data/test/fixtures/generated/osinfo-version-0/windows2008r2-64aulcdfm +27 -0
  308. data/test/fixtures/generated/osinfo-version-0/windows2012-6432l +22 -0
  309. data/test/fixtures/generated/osinfo-version-0/windows2012-64u +22 -0
  310. data/test/fixtures/generated/osinfo-version-0/windows2012r2-6432d +22 -0
  311. data/test/fixtures/generated/osinfo-version-0/windows2012r2-64c +22 -0
  312. data/test/fixtures/generated/osinfo-version-0/windows7-64f +22 -0
  313. data/test/fixtures/generated/osinfo-version-0/windows8-64m +22 -0
  314. data/test/fixtures/generated/osinfo-version-0/windows81-64aulcdfm +27 -0
  315. data/test/fixtures/generated/osinfo-version-0/windowsvista-64a +21 -0
  316. data/test/fixtures/generated/osinfo-version-1/aix53-POWERa +19 -0
  317. data/test/fixtures/generated/osinfo-version-1/aix61-POWERu +20 -0
  318. data/test/fixtures/generated/osinfo-version-1/aix71-POWERl +20 -0
  319. data/test/fixtures/generated/osinfo-version-1/arista4-32c +21 -0
  320. data/test/fixtures/generated/osinfo-version-1/centos4-32d +21 -0
  321. data/test/fixtures/generated/osinfo-version-1/centos4-64f +21 -0
  322. data/test/fixtures/generated/osinfo-version-1/centos5-32m +21 -0
  323. data/test/fixtures/generated/osinfo-version-1/centos5-64aulcdfm +26 -0
  324. data/test/fixtures/generated/osinfo-version-1/centos6-32a +20 -0
  325. data/test/fixtures/generated/osinfo-version-1/centos6-64u +21 -0
  326. data/test/fixtures/generated/osinfo-version-1/centos7-64l +21 -0
  327. data/test/fixtures/generated/osinfo-version-1/cisconx-64c +24 -0
  328. data/test/fixtures/generated/osinfo-version-1/ciscoxr-64d +21 -0
  329. data/test/fixtures/generated/osinfo-version-1/cumulus25-64f +21 -0
  330. data/test/fixtures/generated/osinfo-version-1/debian6-32m +21 -0
  331. data/test/fixtures/generated/osinfo-version-1/debian6-64aulcdfm +26 -0
  332. data/test/fixtures/generated/osinfo-version-1/debian7-32a +20 -0
  333. data/test/fixtures/generated/osinfo-version-1/debian7-64u +21 -0
  334. data/test/fixtures/generated/osinfo-version-1/debian8-32l +21 -0
  335. data/test/fixtures/generated/osinfo-version-1/debian8-64c +21 -0
  336. data/test/fixtures/generated/osinfo-version-1/debian9-32d +21 -0
  337. data/test/fixtures/generated/osinfo-version-1/debian9-64f +21 -0
  338. data/test/fixtures/generated/osinfo-version-1/fedora14-32m +21 -0
  339. data/test/fixtures/generated/osinfo-version-1/fedora19-32aulcdfm +26 -0
  340. data/test/fixtures/generated/osinfo-version-1/fedora19-64a +20 -0
  341. data/test/fixtures/generated/osinfo-version-1/fedora20-32u +21 -0
  342. data/test/fixtures/generated/osinfo-version-1/fedora20-64l +21 -0
  343. data/test/fixtures/generated/osinfo-version-1/fedora21-32c +21 -0
  344. data/test/fixtures/generated/osinfo-version-1/fedora21-64d +21 -0
  345. data/test/fixtures/generated/osinfo-version-1/fedora22-32f +21 -0
  346. data/test/fixtures/generated/osinfo-version-1/fedora22-64m +21 -0
  347. data/test/fixtures/generated/osinfo-version-1/fedora23-32aulcdfm +26 -0
  348. data/test/fixtures/generated/osinfo-version-1/fedora23-64a +20 -0
  349. data/test/fixtures/generated/osinfo-version-1/opensuse11-32u +21 -0
  350. data/test/fixtures/generated/osinfo-version-1/opensuse11-64l +21 -0
  351. data/test/fixtures/generated/osinfo-version-1/oracle5-32c +21 -0
  352. data/test/fixtures/generated/osinfo-version-1/oracle5-64d +21 -0
  353. data/test/fixtures/generated/osinfo-version-1/oracle6-32f +21 -0
  354. data/test/fixtures/generated/osinfo-version-1/oracle6-64m +21 -0
  355. data/test/fixtures/generated/osinfo-version-1/oracle7-64aulcdfm +26 -0
  356. data/test/fixtures/generated/osinfo-version-1/osx1010-64u +21 -0
  357. data/test/fixtures/generated/osinfo-version-1/osx1011-64l +21 -0
  358. data/test/fixtures/generated/osinfo-version-1/osx109-64a +20 -0
  359. data/test/fixtures/generated/osinfo-version-1/redhat4-32c +21 -0
  360. data/test/fixtures/generated/osinfo-version-1/redhat4-64d +21 -0
  361. data/test/fixtures/generated/osinfo-version-1/redhat5-32f +21 -0
  362. data/test/fixtures/generated/osinfo-version-1/redhat5-64m +21 -0
  363. data/test/fixtures/generated/osinfo-version-1/redhat6-32aulcdfm +26 -0
  364. data/test/fixtures/generated/osinfo-version-1/redhat6-64a +20 -0
  365. data/test/fixtures/generated/osinfo-version-1/redhat7-64u +21 -0
  366. data/test/fixtures/generated/osinfo-version-1/scientific5-32l +21 -0
  367. data/test/fixtures/generated/osinfo-version-1/scientific5-64c +21 -0
  368. data/test/fixtures/generated/osinfo-version-1/scientific6-32d +21 -0
  369. data/test/fixtures/generated/osinfo-version-1/scientific6-64f +21 -0
  370. data/test/fixtures/generated/osinfo-version-1/scientific7-64m +21 -0
  371. data/test/fixtures/generated/osinfo-version-1/sles10-32aulcdfm +26 -0
  372. data/test/fixtures/generated/osinfo-version-1/sles10-64a +20 -0
  373. data/test/fixtures/generated/osinfo-version-1/sles11-32u +21 -0
  374. data/test/fixtures/generated/osinfo-version-1/sles11-64l +21 -0
  375. data/test/fixtures/generated/osinfo-version-1/sles12-64c +21 -0
  376. data/test/fixtures/generated/osinfo-version-1/solaris10-32d +21 -0
  377. data/test/fixtures/generated/osinfo-version-1/solaris10-64f +21 -0
  378. data/test/fixtures/generated/osinfo-version-1/solaris10-SPARCm +20 -0
  379. data/test/fixtures/generated/osinfo-version-1/solaris11-32aulcdfm +26 -0
  380. data/test/fixtures/generated/osinfo-version-1/solaris11-64a +20 -0
  381. data/test/fixtures/generated/osinfo-version-1/solaris11-SPARCu +20 -0
  382. data/test/fixtures/generated/osinfo-version-1/solaris112-32l +21 -0
  383. data/test/fixtures/generated/osinfo-version-1/solaris112-64c +21 -0
  384. data/test/fixtures/generated/osinfo-version-1/ubuntu1004-32d +21 -0
  385. data/test/fixtures/generated/osinfo-version-1/ubuntu1004-64f +21 -0
  386. data/test/fixtures/generated/osinfo-version-1/ubuntu1204-32m +21 -0
  387. data/test/fixtures/generated/osinfo-version-1/ubuntu1204-64aulcdfm +26 -0
  388. data/test/fixtures/generated/osinfo-version-1/ubuntu1404-32a +20 -0
  389. data/test/fixtures/generated/osinfo-version-1/ubuntu1404-64u +21 -0
  390. data/test/fixtures/generated/osinfo-version-1/ubuntu1504-32l +21 -0
  391. data/test/fixtures/generated/osinfo-version-1/ubuntu1504-64c +21 -0
  392. data/test/fixtures/generated/osinfo-version-1/ubuntu1510-32d +21 -0
  393. data/test/fixtures/generated/osinfo-version-1/ubuntu1510-64f +21 -0
  394. data/test/fixtures/generated/osinfo-version-1/ubuntu1604-32m +21 -0
  395. data/test/fixtures/generated/osinfo-version-1/ubuntu1604-64aulcdfm +26 -0
  396. data/test/fixtures/generated/osinfo-version-1/windows10ent-32u +22 -0
  397. data/test/fixtures/generated/osinfo-version-1/windows10ent-64l +22 -0
  398. data/test/fixtures/generated/osinfo-version-1/windows10pro-64c +22 -0
  399. data/test/fixtures/generated/osinfo-version-1/windows2003-6432u +22 -0
  400. data/test/fixtures/generated/osinfo-version-1/windows2003-64a +21 -0
  401. data/test/fixtures/generated/osinfo-version-1/windows2003r2-32l +22 -0
  402. data/test/fixtures/generated/osinfo-version-1/windows2003r2-6432d +22 -0
  403. data/test/fixtures/generated/osinfo-version-1/windows2003r2-64c +22 -0
  404. data/test/fixtures/generated/osinfo-version-1/windows2008-6432m +22 -0
  405. data/test/fixtures/generated/osinfo-version-1/windows2008-64f +22 -0
  406. data/test/fixtures/generated/osinfo-version-1/windows2008r2-6432a +21 -0
  407. data/test/fixtures/generated/osinfo-version-1/windows2008r2-64aulcdfm +27 -0
  408. data/test/fixtures/generated/osinfo-version-1/windows2012-6432l +22 -0
  409. data/test/fixtures/generated/osinfo-version-1/windows2012-64u +22 -0
  410. data/test/fixtures/generated/osinfo-version-1/windows2012r2-6432d +22 -0
  411. data/test/fixtures/generated/osinfo-version-1/windows2012r2-64c +22 -0
  412. data/test/fixtures/generated/osinfo-version-1/windows7-64f +22 -0
  413. data/test/fixtures/generated/osinfo-version-1/windows8-64m +22 -0
  414. data/test/fixtures/generated/osinfo-version-1/windows81-64aulcdfm +27 -0
  415. data/test/fixtures/generated/osinfo-version-1/windowsvista-64a +21 -0
  416. data/test/fixtures/generated/pe_dir/centos6-64mdc +23 -0
  417. data/test/fixtures/generated/pe_upgrade_dir/centos6-64mdc +23 -0
  418. data/test/fixtures/generated/pe_upgrade_ver/centos6-64mdc +23 -0
  419. data/test/fixtures/generated/pe_ver/centos6-64mdc +23 -0
  420. data/test/fixtures/per-host-settings/arbitrary-hypervisor.yaml +39 -0
  421. data/test/fixtures/per-host-settings/with-global-settings.yaml +24 -0
  422. data/test/test_cli.rb +5 -10
  423. data/test/test_stdout.rb +2 -5
  424. data/test/util/generator_helpers.rb +2 -2
  425. metadata +412 -450
  426. data/lib/beaker-hostgenerator/hypervisor/none.rb +0 -17
  427. data/test/fixtures/default/arista4-32a +0 -20
  428. data/test/fixtures/default/centos4-32u +0 -21
  429. data/test/fixtures/default/centos4-64l +0 -21
  430. data/test/fixtures/default/centos5-32c +0 -21
  431. data/test/fixtures/default/centos5-64d +0 -21
  432. data/test/fixtures/default/centos6-32f +0 -21
  433. data/test/fixtures/default/centos6-64m +0 -21
  434. data/test/fixtures/default/centos7-64aulcdfm +0 -26
  435. data/test/fixtures/default/cisconx-64a +0 -23
  436. data/test/fixtures/default/ciscoxr-64u +0 -21
  437. data/test/fixtures/default/cumulus25-64l +0 -21
  438. data/test/fixtures/default/debian6-32c +0 -21
  439. data/test/fixtures/default/debian6-64d +0 -21
  440. data/test/fixtures/default/debian7-32f +0 -21
  441. data/test/fixtures/default/debian7-64m +0 -21
  442. data/test/fixtures/default/debian8-32aulcdfm +0 -26
  443. data/test/fixtures/default/debian8-64a +0 -20
  444. data/test/fixtures/default/debian9-32u +0 -21
  445. data/test/fixtures/default/debian9-64l +0 -21
  446. data/test/fixtures/default/fedora14-32l +0 -21
  447. data/test/fixtures/default/fedora19-32c +0 -21
  448. data/test/fixtures/default/fedora19-64d +0 -21
  449. data/test/fixtures/default/fedora20-32f +0 -21
  450. data/test/fixtures/default/fedora20-64m +0 -21
  451. data/test/fixtures/default/fedora21-32aulcdfm +0 -26
  452. data/test/fixtures/default/fedora21-64a +0 -20
  453. data/test/fixtures/default/fedora22-32u +0 -21
  454. data/test/fixtures/default/fedora22-64l +0 -21
  455. data/test/fixtures/default/fedora23-32c +0 -21
  456. data/test/fixtures/default/fedora23-64d +0 -21
  457. data/test/fixtures/default/opensuse11-32f +0 -21
  458. data/test/fixtures/default/opensuse11-64m +0 -21
  459. data/test/fixtures/default/scientific5-32aulcdfm +0 -26
  460. data/test/fixtures/default/scientific5-64a +0 -20
  461. data/test/fixtures/default/scientific6-32u +0 -21
  462. data/test/fixtures/default/scientific6-64l +0 -21
  463. data/test/fixtures/default/scientific7-64c +0 -21
  464. data/test/fixtures/default/sles10-32d +0 -21
  465. data/test/fixtures/default/sles10-64f +0 -21
  466. data/test/fixtures/default/sles11-32m +0 -21
  467. data/test/fixtures/default/sles11-64aulcdfm +0 -26
  468. data/test/fixtures/default/sles12-64a +0 -20
  469. data/test/fixtures/default/solaris10-32u +0 -21
  470. data/test/fixtures/default/solaris10-64l +0 -21
  471. data/test/fixtures/default/solaris11-32c +0 -21
  472. data/test/fixtures/default/solaris11-64d +0 -21
  473. data/test/fixtures/default/solaris112-32f +0 -21
  474. data/test/fixtures/default/solaris112-64m +0 -21
  475. data/test/fixtures/default/ubuntu1004-32aulcdfm +0 -26
  476. data/test/fixtures/default/ubuntu1004-64a +0 -20
  477. data/test/fixtures/default/ubuntu1204-32u +0 -21
  478. data/test/fixtures/default/ubuntu1204-64l +0 -21
  479. data/test/fixtures/default/ubuntu1404-32c +0 -21
  480. data/test/fixtures/default/ubuntu1404-64d +0 -21
  481. data/test/fixtures/default/ubuntu1504-32f +0 -21
  482. data/test/fixtures/default/ubuntu1504-64m +0 -21
  483. data/test/fixtures/default/ubuntu1510-32aulcdfm +0 -26
  484. data/test/fixtures/default/ubuntu1510-64a +0 -20
  485. data/test/fixtures/default/ubuntu1604-32u +0 -21
  486. data/test/fixtures/default/ubuntu1604-64l +0 -21
  487. data/test/fixtures/default/windows10ent-32d +0 -22
  488. data/test/fixtures/default/windows10ent-32l +0 -22
  489. data/test/fixtures/default/windows10ent-64c +0 -22
  490. data/test/fixtures/default/windows10ent-64f +0 -22
  491. data/test/fixtures/default/windows10pro-64d +0 -22
  492. data/test/fixtures/default/windows10pro-64m +0 -22
  493. data/test/fixtures/default/windows2003-6432d +0 -22
  494. data/test/fixtures/default/windows2003-6432l +0 -22
  495. data/test/fixtures/default/windows2003-64c +0 -22
  496. data/test/fixtures/default/windows2003-64u +0 -22
  497. data/test/fixtures/default/windows2003r2-32c +0 -22
  498. data/test/fixtures/default/windows2003r2-32f +0 -22
  499. data/test/fixtures/default/windows2003r2-6432aulcdfm +0 -27
  500. data/test/fixtures/default/windows2003r2-6432f +0 -22
  501. data/test/fixtures/default/windows2003r2-64d +0 -22
  502. data/test/fixtures/default/windows2003r2-64m +0 -22
  503. data/test/fixtures/default/windows2008-6432aulcdfm +0 -27
  504. data/test/fixtures/default/windows2008-6432u +0 -22
  505. data/test/fixtures/default/windows2008-64a +0 -21
  506. data/test/fixtures/default/windows2008-64m +0 -22
  507. data/test/fixtures/default/windows2008r2-6432c +0 -22
  508. data/test/fixtures/default/windows2008r2-6432u +0 -22
  509. data/test/fixtures/default/windows2008r2-64a +0 -21
  510. data/test/fixtures/default/windows2008r2-64l +0 -22
  511. data/test/fixtures/default/windows2012-6432c +0 -22
  512. data/test/fixtures/default/windows2012-6432f +0 -22
  513. data/test/fixtures/default/windows2012-64d +0 -22
  514. data/test/fixtures/default/windows2012-64l +0 -22
  515. data/test/fixtures/default/windows2012r2-6432aulcdfm +0 -27
  516. data/test/fixtures/default/windows2012r2-6432f +0 -22
  517. data/test/fixtures/default/windows2012r2-64d +0 -22
  518. data/test/fixtures/default/windows2012r2-64m +0 -22
  519. data/test/fixtures/default/windows7-64a +0 -21
  520. data/test/fixtures/default/windows7-64m +0 -22
  521. data/test/fixtures/default/windows8-64aulcdfm +0 -27
  522. data/test/fixtures/default/windows8-64u +0 -22
  523. data/test/fixtures/default/windows81-64a +0 -21
  524. data/test/fixtures/default/windows81-64l +0 -22
  525. data/test/fixtures/default/windowsvista-64c +0 -22
  526. data/test/fixtures/default/windowsvista-64u +0 -22
  527. data/test/fixtures/multiplatform/arista4-32a-windows10pro-64-arista4-32aulcdfm +0 -47
  528. data/test/fixtures/multiplatform/centos4-32u-windows10ent-64-centos4-32m +0 -43
  529. data/test/fixtures/multiplatform/centos4-64l-windows10ent-32-centos4-64f +0 -43
  530. data/test/fixtures/multiplatform/centos5-32c-windowsvista-64-centos5-32d +0 -43
  531. data/test/fixtures/multiplatform/centos5-64d-windows81-64-centos5-64c +0 -43
  532. data/test/fixtures/multiplatform/centos6-32f-windows8-64-centos6-32l +0 -43
  533. data/test/fixtures/multiplatform/centos6-64m-windows7-64-centos6-64u +0 -43
  534. data/test/fixtures/multiplatform/centos7-64aulcdfm-windows2012r2-6432-centos7-64a +0 -47
  535. data/test/fixtures/multiplatform/cisconx-64a-windows2012r2-64-cisconx-64aulcdfm +0 -53
  536. data/test/fixtures/multiplatform/ciscoxr-64u-windows2012-6432-ciscoxr-64m +0 -43
  537. data/test/fixtures/multiplatform/cumulus25-64l-windows2012-64-cumulus25-64f +0 -43
  538. data/test/fixtures/multiplatform/debian6-32c-windows2008r2-6432-debian6-32d +0 -43
  539. data/test/fixtures/multiplatform/debian6-64d-windows2008r2-64-debian6-64c +0 -43
  540. data/test/fixtures/multiplatform/debian7-32f-windows2008-6432-debian7-32l +0 -43
  541. data/test/fixtures/multiplatform/debian7-64m-windows2008-64-debian7-64u +0 -43
  542. data/test/fixtures/multiplatform/debian8-32aulcdfm-windows2003r2-6432-debian8-32a +0 -47
  543. data/test/fixtures/multiplatform/debian8-64a-windows2003r2-64-debian8-64aulcdfm +0 -47
  544. data/test/fixtures/multiplatform/debian9-32u-windows2003r2-32-debian9-32m +0 -43
  545. data/test/fixtures/multiplatform/debian9-64l-windows2003-6432-debian9-64f +0 -43
  546. data/test/fixtures/multiplatform/fedora14-32l-solaris11-64-fedora14-32f +0 -42
  547. data/test/fixtures/multiplatform/fedora19-32c-solaris11-32-fedora19-32d +0 -42
  548. data/test/fixtures/multiplatform/fedora19-64d-solaris10-64-fedora19-64c +0 -42
  549. data/test/fixtures/multiplatform/fedora20-32f-solaris10-32-fedora20-32l +0 -42
  550. data/test/fixtures/multiplatform/fedora20-64m-sles12-64-fedora20-64u +0 -42
  551. data/test/fixtures/multiplatform/fedora21-32aulcdfm-sles11-64-fedora21-32a +0 -46
  552. data/test/fixtures/multiplatform/fedora21-64a-sles11-32-fedora21-64aulcdfm +0 -46
  553. data/test/fixtures/multiplatform/fedora22-32u-sles10-64-fedora22-32m +0 -42
  554. data/test/fixtures/multiplatform/fedora22-64l-sles10-32-fedora22-64f +0 -42
  555. data/test/fixtures/multiplatform/fedora23-32c-scientific7-64-fedora23-32d +0 -42
  556. data/test/fixtures/multiplatform/fedora23-64d-scientific6-64-fedora23-64c +0 -42
  557. data/test/fixtures/multiplatform/opensuse11-32f-scientific6-32-opensuse11-32l +0 -42
  558. data/test/fixtures/multiplatform/opensuse11-64m-scientific5-64-opensuse11-64u +0 -42
  559. data/test/fixtures/multiplatform/oracle5-32c-windows2003-64-oracle5-32d +0 -43
  560. data/test/fixtures/multiplatform/oracle5-64d-ubuntu1604-64-oracle5-64c +0 -42
  561. data/test/fixtures/multiplatform/oracle6-32f-ubuntu1604-32-oracle6-32l +0 -42
  562. data/test/fixtures/multiplatform/oracle6-64m-ubuntu1510-64-oracle6-64u +0 -42
  563. data/test/fixtures/multiplatform/oracle7-64aulcdfm-ubuntu1510-32-oracle7-64a +0 -46
  564. data/test/fixtures/multiplatform/osx1010-64u-ubuntu1504-32-osx1010-64m +0 -42
  565. data/test/fixtures/multiplatform/osx1011-64l-ubuntu1404-64-osx1011-64f +0 -42
  566. data/test/fixtures/multiplatform/osx109-64a-ubuntu1504-64-osx109-64aulcdfm +0 -46
  567. data/test/fixtures/multiplatform/redhat4-32c-ubuntu1404-32-redhat4-32d +0 -42
  568. data/test/fixtures/multiplatform/redhat4-64d-ubuntu1204-64-redhat4-64c +0 -42
  569. data/test/fixtures/multiplatform/redhat5-32f-ubuntu1204-32-redhat5-32l +0 -42
  570. data/test/fixtures/multiplatform/redhat5-64m-ubuntu1004-64-redhat5-64u +0 -42
  571. data/test/fixtures/multiplatform/redhat6-32aulcdfm-ubuntu1004-32-redhat6-32a +0 -46
  572. data/test/fixtures/multiplatform/redhat6-64a-solaris112-64-redhat6-64aulcdfm +0 -46
  573. data/test/fixtures/multiplatform/redhat7-64u-solaris112-32-redhat7-64m +0 -42
  574. data/test/fixtures/multiplatform/scientific5-32aulcdfm-scientific5-32-scientific5-32a +0 -46
  575. data/test/fixtures/multiplatform/scientific5-64a-opensuse11-64-scientific5-64aulcdfm +0 -46
  576. data/test/fixtures/multiplatform/scientific6-32u-opensuse11-32-scientific6-32m +0 -42
  577. data/test/fixtures/multiplatform/scientific6-64l-fedora23-64-scientific6-64f +0 -42
  578. data/test/fixtures/multiplatform/scientific7-64c-fedora23-32-scientific7-64d +0 -42
  579. data/test/fixtures/multiplatform/sles10-32d-fedora22-64-sles10-32c +0 -42
  580. data/test/fixtures/multiplatform/sles10-64f-fedora22-32-sles10-64l +0 -42
  581. data/test/fixtures/multiplatform/sles11-32m-fedora21-64-sles11-32u +0 -42
  582. data/test/fixtures/multiplatform/sles11-64aulcdfm-fedora21-32-sles11-64a +0 -46
  583. data/test/fixtures/multiplatform/sles12-64a-fedora20-64-sles12-64aulcdfm +0 -46
  584. data/test/fixtures/multiplatform/solaris10-32u-fedora20-32-solaris10-32m +0 -42
  585. data/test/fixtures/multiplatform/solaris10-64l-fedora19-64-solaris10-64f +0 -42
  586. data/test/fixtures/multiplatform/solaris11-32c-fedora19-32-solaris11-32d +0 -42
  587. data/test/fixtures/multiplatform/solaris11-64d-fedora14-32-solaris11-64c +0 -42
  588. data/test/fixtures/multiplatform/solaris112-32f-redhat7-64-solaris112-32l +0 -42
  589. data/test/fixtures/multiplatform/solaris112-64m-redhat6-64-solaris112-64u +0 -42
  590. data/test/fixtures/multiplatform/ubuntu1004-32aulcdfm-redhat6-32-ubuntu1004-32a +0 -46
  591. data/test/fixtures/multiplatform/ubuntu1004-64a-redhat5-64-ubuntu1004-64aulcdfm +0 -46
  592. data/test/fixtures/multiplatform/ubuntu1204-32u-redhat5-32-ubuntu1204-32m +0 -42
  593. data/test/fixtures/multiplatform/ubuntu1204-64l-redhat4-64-ubuntu1204-64f +0 -42
  594. data/test/fixtures/multiplatform/ubuntu1404-32c-redhat4-32-ubuntu1404-32d +0 -42
  595. data/test/fixtures/multiplatform/ubuntu1404-64d-osx1011-64-ubuntu1404-64c +0 -42
  596. data/test/fixtures/multiplatform/ubuntu1504-32f-osx1010-64-ubuntu1504-32l +0 -42
  597. data/test/fixtures/multiplatform/ubuntu1504-64m-osx109-64-ubuntu1504-64u +0 -42
  598. data/test/fixtures/multiplatform/ubuntu1510-32aulcdfm-oracle7-64-ubuntu1510-32a +0 -46
  599. data/test/fixtures/multiplatform/ubuntu1510-64a-oracle6-64-ubuntu1510-64aulcdfm +0 -46
  600. data/test/fixtures/multiplatform/ubuntu1604-32u-oracle6-32-ubuntu1604-32m +0 -42
  601. data/test/fixtures/multiplatform/ubuntu1604-64l-oracle5-64-ubuntu1604-64f +0 -42
  602. data/test/fixtures/multiplatform/windows10ent-32d-centos4-64-windows10ent-32c +0 -44
  603. data/test/fixtures/multiplatform/windows10ent-64f-centos4-32-windows10ent-64l +0 -44
  604. data/test/fixtures/multiplatform/windows10pro-64m-arista4-32-windows10pro-64u +0 -44
  605. data/test/fixtures/multiplatform/windows2003-6432d-debian9-64-windows2003-6432c +0 -44
  606. data/test/fixtures/multiplatform/windows2003-64c-oracle5-32-windows2003-64d +0 -44
  607. data/test/fixtures/multiplatform/windows2003r2-32f-debian9-32-windows2003r2-32l +0 -44
  608. data/test/fixtures/multiplatform/windows2003r2-6432aulcdfm-debian8-32-windows2003r2-6432a +0 -48
  609. data/test/fixtures/multiplatform/windows2003r2-64m-debian8-64-windows2003r2-64u +0 -44
  610. data/test/fixtures/multiplatform/windows2008-6432u-debian7-32-windows2008-6432m +0 -44
  611. data/test/fixtures/multiplatform/windows2008-64a-debian7-64-windows2008-64aulcdfm +0 -48
  612. data/test/fixtures/multiplatform/windows2008r2-6432c-debian6-32-windows2008r2-6432d +0 -44
  613. data/test/fixtures/multiplatform/windows2008r2-64l-debian6-64-windows2008r2-64f +0 -44
  614. data/test/fixtures/multiplatform/windows2012-6432f-ciscoxr-64-windows2012-6432l +0 -44
  615. data/test/fixtures/multiplatform/windows2012-64d-cumulus25-64-windows2012-64c +0 -44
  616. data/test/fixtures/multiplatform/windows2012r2-6432aulcdfm-centos7-64-windows2012r2-6432a +0 -48
  617. data/test/fixtures/multiplatform/windows2012r2-64m-cisconx-64-windows2012r2-64u +0 -47
  618. data/test/fixtures/multiplatform/windows7-64a-centos6-64-windows7-64aulcdfm +0 -48
  619. data/test/fixtures/multiplatform/windows8-64u-centos6-32-windows8-64m +0 -44
  620. data/test/fixtures/multiplatform/windows81-64l-centos5-64-windows81-64f +0 -44
  621. data/test/fixtures/multiplatform/windowsvista-64c-centos5-32-windowsvista-64d +0 -44
  622. data/test/fixtures/osinfo-version-0/arista4-32a +0 -20
  623. data/test/fixtures/osinfo-version-0/centos4-32u +0 -21
  624. data/test/fixtures/osinfo-version-0/centos4-64l +0 -21
  625. data/test/fixtures/osinfo-version-0/centos5-32c +0 -21
  626. data/test/fixtures/osinfo-version-0/centos5-64d +0 -21
  627. data/test/fixtures/osinfo-version-0/centos6-32f +0 -21
  628. data/test/fixtures/osinfo-version-0/centos6-64m +0 -21
  629. data/test/fixtures/osinfo-version-0/centos7-64aulcdfm +0 -26
  630. data/test/fixtures/osinfo-version-0/cisconx-64a +0 -23
  631. data/test/fixtures/osinfo-version-0/ciscoxr-64u +0 -21
  632. data/test/fixtures/osinfo-version-0/cumulus25-64l +0 -21
  633. data/test/fixtures/osinfo-version-0/debian6-32c +0 -21
  634. data/test/fixtures/osinfo-version-0/debian6-64d +0 -21
  635. data/test/fixtures/osinfo-version-0/debian7-32f +0 -21
  636. data/test/fixtures/osinfo-version-0/debian7-64m +0 -21
  637. data/test/fixtures/osinfo-version-0/debian8-32aulcdfm +0 -26
  638. data/test/fixtures/osinfo-version-0/debian8-64a +0 -20
  639. data/test/fixtures/osinfo-version-0/debian9-32u +0 -21
  640. data/test/fixtures/osinfo-version-0/debian9-64l +0 -21
  641. data/test/fixtures/osinfo-version-0/fedora14-32l +0 -21
  642. data/test/fixtures/osinfo-version-0/fedora19-32c +0 -21
  643. data/test/fixtures/osinfo-version-0/fedora19-64d +0 -21
  644. data/test/fixtures/osinfo-version-0/fedora20-32f +0 -21
  645. data/test/fixtures/osinfo-version-0/fedora20-64m +0 -21
  646. data/test/fixtures/osinfo-version-0/fedora21-32aulcdfm +0 -26
  647. data/test/fixtures/osinfo-version-0/fedora21-64a +0 -20
  648. data/test/fixtures/osinfo-version-0/fedora22-32u +0 -21
  649. data/test/fixtures/osinfo-version-0/fedora22-64l +0 -21
  650. data/test/fixtures/osinfo-version-0/fedora23-32c +0 -21
  651. data/test/fixtures/osinfo-version-0/fedora23-64d +0 -21
  652. data/test/fixtures/osinfo-version-0/opensuse11-32f +0 -21
  653. data/test/fixtures/osinfo-version-0/opensuse11-64m +0 -21
  654. data/test/fixtures/osinfo-version-0/oracle5-32c +0 -21
  655. data/test/fixtures/osinfo-version-0/oracle5-64d +0 -21
  656. data/test/fixtures/osinfo-version-0/oracle6-32f +0 -21
  657. data/test/fixtures/osinfo-version-0/oracle6-64m +0 -21
  658. data/test/fixtures/osinfo-version-0/oracle7-64aulcdfm +0 -26
  659. data/test/fixtures/osinfo-version-0/osx1010-64u +0 -21
  660. data/test/fixtures/osinfo-version-0/osx1011-64l +0 -21
  661. data/test/fixtures/osinfo-version-0/osx109-64a +0 -20
  662. data/test/fixtures/osinfo-version-0/redhat4-32c +0 -21
  663. data/test/fixtures/osinfo-version-0/redhat4-64d +0 -21
  664. data/test/fixtures/osinfo-version-0/redhat5-32f +0 -21
  665. data/test/fixtures/osinfo-version-0/redhat5-64m +0 -21
  666. data/test/fixtures/osinfo-version-0/redhat6-32aulcdfm +0 -26
  667. data/test/fixtures/osinfo-version-0/redhat6-64a +0 -20
  668. data/test/fixtures/osinfo-version-0/redhat7-64u +0 -21
  669. data/test/fixtures/osinfo-version-0/scientific5-32aulcdfm +0 -26
  670. data/test/fixtures/osinfo-version-0/scientific5-64a +0 -20
  671. data/test/fixtures/osinfo-version-0/scientific6-32u +0 -21
  672. data/test/fixtures/osinfo-version-0/scientific6-64l +0 -21
  673. data/test/fixtures/osinfo-version-0/scientific7-64c +0 -21
  674. data/test/fixtures/osinfo-version-0/sles10-32d +0 -21
  675. data/test/fixtures/osinfo-version-0/sles10-64f +0 -21
  676. data/test/fixtures/osinfo-version-0/sles11-32m +0 -21
  677. data/test/fixtures/osinfo-version-0/sles11-64aulcdfm +0 -26
  678. data/test/fixtures/osinfo-version-0/sles12-64a +0 -20
  679. data/test/fixtures/osinfo-version-0/solaris10-32u +0 -21
  680. data/test/fixtures/osinfo-version-0/solaris10-64l +0 -21
  681. data/test/fixtures/osinfo-version-0/solaris11-32c +0 -21
  682. data/test/fixtures/osinfo-version-0/solaris11-64d +0 -21
  683. data/test/fixtures/osinfo-version-0/solaris112-32f +0 -21
  684. data/test/fixtures/osinfo-version-0/solaris112-64m +0 -21
  685. data/test/fixtures/osinfo-version-0/ubuntu1004-32aulcdfm +0 -26
  686. data/test/fixtures/osinfo-version-0/ubuntu1004-64a +0 -20
  687. data/test/fixtures/osinfo-version-0/ubuntu1204-32u +0 -21
  688. data/test/fixtures/osinfo-version-0/ubuntu1204-64l +0 -21
  689. data/test/fixtures/osinfo-version-0/ubuntu1404-32c +0 -21
  690. data/test/fixtures/osinfo-version-0/ubuntu1404-64d +0 -21
  691. data/test/fixtures/osinfo-version-0/ubuntu1504-32f +0 -21
  692. data/test/fixtures/osinfo-version-0/ubuntu1504-64m +0 -21
  693. data/test/fixtures/osinfo-version-0/ubuntu1510-32aulcdfm +0 -26
  694. data/test/fixtures/osinfo-version-0/ubuntu1510-64a +0 -20
  695. data/test/fixtures/osinfo-version-0/ubuntu1604-32u +0 -21
  696. data/test/fixtures/osinfo-version-0/ubuntu1604-64l +0 -21
  697. data/test/fixtures/osinfo-version-0/windows10ent-32d +0 -22
  698. data/test/fixtures/osinfo-version-0/windows10ent-32l +0 -22
  699. data/test/fixtures/osinfo-version-0/windows10ent-64c +0 -22
  700. data/test/fixtures/osinfo-version-0/windows10ent-64f +0 -22
  701. data/test/fixtures/osinfo-version-0/windows10pro-64d +0 -22
  702. data/test/fixtures/osinfo-version-0/windows10pro-64m +0 -22
  703. data/test/fixtures/osinfo-version-0/windows2003-6432d +0 -22
  704. data/test/fixtures/osinfo-version-0/windows2003-6432l +0 -22
  705. data/test/fixtures/osinfo-version-0/windows2003-64c +0 -22
  706. data/test/fixtures/osinfo-version-0/windows2003-64u +0 -22
  707. data/test/fixtures/osinfo-version-0/windows2003r2-32c +0 -22
  708. data/test/fixtures/osinfo-version-0/windows2003r2-32f +0 -22
  709. data/test/fixtures/osinfo-version-0/windows2003r2-6432aulcdfm +0 -27
  710. data/test/fixtures/osinfo-version-0/windows2003r2-6432f +0 -22
  711. data/test/fixtures/osinfo-version-0/windows2003r2-64d +0 -22
  712. data/test/fixtures/osinfo-version-0/windows2003r2-64m +0 -22
  713. data/test/fixtures/osinfo-version-0/windows2008-6432aulcdfm +0 -27
  714. data/test/fixtures/osinfo-version-0/windows2008-6432u +0 -22
  715. data/test/fixtures/osinfo-version-0/windows2008-64a +0 -21
  716. data/test/fixtures/osinfo-version-0/windows2008-64m +0 -22
  717. data/test/fixtures/osinfo-version-0/windows2008r2-6432c +0 -22
  718. data/test/fixtures/osinfo-version-0/windows2008r2-6432u +0 -22
  719. data/test/fixtures/osinfo-version-0/windows2008r2-64a +0 -21
  720. data/test/fixtures/osinfo-version-0/windows2008r2-64l +0 -22
  721. data/test/fixtures/osinfo-version-0/windows2012-6432c +0 -22
  722. data/test/fixtures/osinfo-version-0/windows2012-6432f +0 -22
  723. data/test/fixtures/osinfo-version-0/windows2012-64d +0 -22
  724. data/test/fixtures/osinfo-version-0/windows2012-64l +0 -22
  725. data/test/fixtures/osinfo-version-0/windows2012r2-6432aulcdfm +0 -27
  726. data/test/fixtures/osinfo-version-0/windows2012r2-6432f +0 -22
  727. data/test/fixtures/osinfo-version-0/windows2012r2-64d +0 -22
  728. data/test/fixtures/osinfo-version-0/windows2012r2-64m +0 -22
  729. data/test/fixtures/osinfo-version-0/windows7-64a +0 -21
  730. data/test/fixtures/osinfo-version-0/windows7-64m +0 -22
  731. data/test/fixtures/osinfo-version-0/windows8-64aulcdfm +0 -27
  732. data/test/fixtures/osinfo-version-0/windows8-64u +0 -22
  733. data/test/fixtures/osinfo-version-0/windows81-64a +0 -21
  734. data/test/fixtures/osinfo-version-0/windows81-64l +0 -22
  735. data/test/fixtures/osinfo-version-0/windowsvista-64c +0 -22
  736. data/test/fixtures/osinfo-version-0/windowsvista-64u +0 -22
  737. data/test/fixtures/osinfo-version-1/arista4-32a +0 -20
  738. data/test/fixtures/osinfo-version-1/centos4-32u +0 -21
  739. data/test/fixtures/osinfo-version-1/centos4-64l +0 -21
  740. data/test/fixtures/osinfo-version-1/centos5-32c +0 -21
  741. data/test/fixtures/osinfo-version-1/centos5-64d +0 -21
  742. data/test/fixtures/osinfo-version-1/centos6-32f +0 -21
  743. data/test/fixtures/osinfo-version-1/centos6-64m +0 -21
  744. data/test/fixtures/osinfo-version-1/centos7-64aulcdfm +0 -26
  745. data/test/fixtures/osinfo-version-1/cisconx-64a +0 -23
  746. data/test/fixtures/osinfo-version-1/ciscoxr-64u +0 -21
  747. data/test/fixtures/osinfo-version-1/cumulus25-64l +0 -21
  748. data/test/fixtures/osinfo-version-1/debian6-32c +0 -21
  749. data/test/fixtures/osinfo-version-1/debian6-64d +0 -21
  750. data/test/fixtures/osinfo-version-1/debian7-32f +0 -21
  751. data/test/fixtures/osinfo-version-1/debian7-64m +0 -21
  752. data/test/fixtures/osinfo-version-1/debian8-32aulcdfm +0 -26
  753. data/test/fixtures/osinfo-version-1/debian8-64a +0 -20
  754. data/test/fixtures/osinfo-version-1/debian9-32u +0 -21
  755. data/test/fixtures/osinfo-version-1/debian9-64l +0 -21
  756. data/test/fixtures/osinfo-version-1/fedora14-32l +0 -21
  757. data/test/fixtures/osinfo-version-1/fedora19-32c +0 -21
  758. data/test/fixtures/osinfo-version-1/fedora19-64d +0 -21
  759. data/test/fixtures/osinfo-version-1/fedora20-32f +0 -21
  760. data/test/fixtures/osinfo-version-1/fedora20-64m +0 -21
  761. data/test/fixtures/osinfo-version-1/fedora21-32aulcdfm +0 -26
  762. data/test/fixtures/osinfo-version-1/fedora21-64a +0 -20
  763. data/test/fixtures/osinfo-version-1/fedora22-32u +0 -21
  764. data/test/fixtures/osinfo-version-1/fedora22-64l +0 -21
  765. data/test/fixtures/osinfo-version-1/fedora23-32c +0 -21
  766. data/test/fixtures/osinfo-version-1/fedora23-64d +0 -21
  767. data/test/fixtures/osinfo-version-1/opensuse11-32f +0 -21
  768. data/test/fixtures/osinfo-version-1/opensuse11-64m +0 -21
  769. data/test/fixtures/osinfo-version-1/oracle5-32c +0 -21
  770. data/test/fixtures/osinfo-version-1/oracle5-64d +0 -21
  771. data/test/fixtures/osinfo-version-1/oracle6-32f +0 -21
  772. data/test/fixtures/osinfo-version-1/oracle6-64m +0 -21
  773. data/test/fixtures/osinfo-version-1/oracle7-64aulcdfm +0 -26
  774. data/test/fixtures/osinfo-version-1/osx1010-64u +0 -21
  775. data/test/fixtures/osinfo-version-1/osx1011-64l +0 -21
  776. data/test/fixtures/osinfo-version-1/osx109-64a +0 -20
  777. data/test/fixtures/osinfo-version-1/redhat4-32c +0 -21
  778. data/test/fixtures/osinfo-version-1/redhat4-64d +0 -21
  779. data/test/fixtures/osinfo-version-1/redhat5-32f +0 -21
  780. data/test/fixtures/osinfo-version-1/redhat5-64m +0 -21
  781. data/test/fixtures/osinfo-version-1/redhat6-32aulcdfm +0 -26
  782. data/test/fixtures/osinfo-version-1/redhat6-64a +0 -20
  783. data/test/fixtures/osinfo-version-1/redhat7-64u +0 -21
  784. data/test/fixtures/osinfo-version-1/scientific5-32aulcdfm +0 -26
  785. data/test/fixtures/osinfo-version-1/scientific5-64a +0 -20
  786. data/test/fixtures/osinfo-version-1/scientific6-32u +0 -21
  787. data/test/fixtures/osinfo-version-1/scientific6-64l +0 -21
  788. data/test/fixtures/osinfo-version-1/scientific7-64c +0 -21
  789. data/test/fixtures/osinfo-version-1/sles10-32d +0 -21
  790. data/test/fixtures/osinfo-version-1/sles10-64f +0 -21
  791. data/test/fixtures/osinfo-version-1/sles11-32m +0 -21
  792. data/test/fixtures/osinfo-version-1/sles11-64aulcdfm +0 -26
  793. data/test/fixtures/osinfo-version-1/sles12-64a +0 -20
  794. data/test/fixtures/osinfo-version-1/solaris10-32u +0 -21
  795. data/test/fixtures/osinfo-version-1/solaris10-64l +0 -21
  796. data/test/fixtures/osinfo-version-1/solaris11-32c +0 -21
  797. data/test/fixtures/osinfo-version-1/solaris11-64d +0 -21
  798. data/test/fixtures/osinfo-version-1/solaris112-32f +0 -21
  799. data/test/fixtures/osinfo-version-1/solaris112-64m +0 -21
  800. data/test/fixtures/osinfo-version-1/ubuntu1004-32aulcdfm +0 -26
  801. data/test/fixtures/osinfo-version-1/ubuntu1004-64a +0 -20
  802. data/test/fixtures/osinfo-version-1/ubuntu1204-32u +0 -21
  803. data/test/fixtures/osinfo-version-1/ubuntu1204-64l +0 -21
  804. data/test/fixtures/osinfo-version-1/ubuntu1404-32c +0 -21
  805. data/test/fixtures/osinfo-version-1/ubuntu1404-64d +0 -21
  806. data/test/fixtures/osinfo-version-1/ubuntu1504-32f +0 -21
  807. data/test/fixtures/osinfo-version-1/ubuntu1504-64m +0 -21
  808. data/test/fixtures/osinfo-version-1/ubuntu1510-32aulcdfm +0 -26
  809. data/test/fixtures/osinfo-version-1/ubuntu1510-64a +0 -20
  810. data/test/fixtures/osinfo-version-1/ubuntu1604-32u +0 -21
  811. data/test/fixtures/osinfo-version-1/ubuntu1604-64l +0 -21
  812. data/test/fixtures/osinfo-version-1/windows10ent-32d +0 -22
  813. data/test/fixtures/osinfo-version-1/windows10ent-32l +0 -22
  814. data/test/fixtures/osinfo-version-1/windows10ent-64c +0 -22
  815. data/test/fixtures/osinfo-version-1/windows10ent-64f +0 -22
  816. data/test/fixtures/osinfo-version-1/windows10pro-64d +0 -22
  817. data/test/fixtures/osinfo-version-1/windows10pro-64m +0 -22
  818. data/test/fixtures/osinfo-version-1/windows2003-6432d +0 -22
  819. data/test/fixtures/osinfo-version-1/windows2003-6432l +0 -22
  820. data/test/fixtures/osinfo-version-1/windows2003-64c +0 -22
  821. data/test/fixtures/osinfo-version-1/windows2003-64u +0 -22
  822. data/test/fixtures/osinfo-version-1/windows2003r2-32c +0 -22
  823. data/test/fixtures/osinfo-version-1/windows2003r2-32f +0 -22
  824. data/test/fixtures/osinfo-version-1/windows2003r2-6432aulcdfm +0 -27
  825. data/test/fixtures/osinfo-version-1/windows2003r2-6432f +0 -22
  826. data/test/fixtures/osinfo-version-1/windows2003r2-64d +0 -22
  827. data/test/fixtures/osinfo-version-1/windows2003r2-64m +0 -22
  828. data/test/fixtures/osinfo-version-1/windows2008-6432aulcdfm +0 -27
  829. data/test/fixtures/osinfo-version-1/windows2008-6432u +0 -22
  830. data/test/fixtures/osinfo-version-1/windows2008-64a +0 -21
  831. data/test/fixtures/osinfo-version-1/windows2008-64m +0 -22
  832. data/test/fixtures/osinfo-version-1/windows2008r2-6432c +0 -22
  833. data/test/fixtures/osinfo-version-1/windows2008r2-6432u +0 -22
  834. data/test/fixtures/osinfo-version-1/windows2008r2-64a +0 -21
  835. data/test/fixtures/osinfo-version-1/windows2008r2-64l +0 -22
  836. data/test/fixtures/osinfo-version-1/windows2012-6432c +0 -22
  837. data/test/fixtures/osinfo-version-1/windows2012-6432f +0 -22
  838. data/test/fixtures/osinfo-version-1/windows2012-64d +0 -22
  839. data/test/fixtures/osinfo-version-1/windows2012-64l +0 -22
  840. data/test/fixtures/osinfo-version-1/windows2012r2-6432aulcdfm +0 -27
  841. data/test/fixtures/osinfo-version-1/windows2012r2-6432f +0 -22
  842. data/test/fixtures/osinfo-version-1/windows2012r2-64d +0 -22
  843. data/test/fixtures/osinfo-version-1/windows2012r2-64m +0 -22
  844. data/test/fixtures/osinfo-version-1/windows7-64a +0 -21
  845. data/test/fixtures/osinfo-version-1/windows7-64m +0 -22
  846. data/test/fixtures/osinfo-version-1/windows8-64aulcdfm +0 -27
  847. data/test/fixtures/osinfo-version-1/windows8-64u +0 -22
  848. data/test/fixtures/osinfo-version-1/windows81-64a +0 -21
  849. data/test/fixtures/osinfo-version-1/windows81-64l +0 -22
  850. data/test/fixtures/osinfo-version-1/windowsvista-64c +0 -22
  851. data/test/fixtures/osinfo-version-1/windowsvista-64u +0 -22
  852. data/test/fixtures/pe_dir/centos6-64mdc +0 -23
  853. data/test/fixtures/pe_upgrade_dir/centos6-64mdc +0 -23
  854. data/test/fixtures/pe_upgrade_ver/centos6-64mdc +0 -23
  855. data/test/fixtures/pe_ver/centos6-64mdc +0 -23
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmQ0NmI3NGFiYjQ2YjQxYzI3YTBhZTZhNzY5YzdhZjM5NjU0MmZjZQ==
4
+ MmVhOGFjMDhhMGU0ZjczZTc4ODVjOGQ0ZGQ5NDYxMDhjNWYxMmQ0OQ==
5
5
  data.tar.gz: !binary |-
6
- ZWExY2JjZTI3MTBlYzc5Nzk2NjdhYjZhZTg2YjE4ZTMwYmEzZGRjYw==
6
+ ZmExZGFmZmY0MWRkYmJiZjFiY2ZlMWI2ZGVjMTI1ODE4M2MxYTBkYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjY5N2NiNDc2OGM3NGVmNDhmM2Q4N2YzY2JlOWM4MWZlMDQxZjVmODU5MmRj
10
- Y2EwNmFlMjM3NmFkMzk4NTI5MjRkMGFiYjAyZTVlYTk0OWU3N2ExNmVlNjYx
11
- MTNjZjcyOWI4ZmY2ZDc4NzFhYjliOGFhOTc5YTU2MTgxZmM3YzQ=
9
+ NDA0NDM4MmM5MDE2ODk2YmI4NTA1NmUyMjk5MTMyODdhMWQ0Mzc5NGZkMWMw
10
+ ZGI4ZjI5NTkxYmI1Nzg0YzRiYzUzYTI2Njc0NmI0NTE1YzMzMDBiZTAyMDAy
11
+ MTI3MmU0ZWM2MmM4NTQxYmI3NmU1YTk5YTQwOTI3OTI4ZGUxZGY=
12
12
  data.tar.gz: !binary |-
13
- ODNkYmRmY2RkNWIyNmRjZmE4ZDAwNjVhMTZhZmI0YzBkNDRmZTk4ZDE4NTE3
14
- NWYxMmI4ODZlYzMxMWQ4ZWFhMjIzYmY0MmJkMmUxMDA4YTJiYTU0M2QxODc4
15
- Mjc2YThkODhjMGRkYzEzZjQ1YTJiYTQwNmZiYjEwNDk5YTFkYmE=
13
+ ODA0NTBkYmIyN2FjNmZiYWUyYmVkMzNlYmZlYTFhYzU0ZGYzOTZlZWQxNjY0
14
+ ODkyMGIxYTczMzkzYThmYmEzODJlMjkyYTBhYzhjMmQyMzMwYjIxOTNjZDU4
15
+ ZmEyZTU3MmZiMzdkN2Y1N2M3YzRhY2NhZjY4YWQyMzJmZTY0NjU=
data/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ Versioning](http://semver.org).
7
7
  ## [Unreleased][unreleased]
8
8
  ### Changed
9
9
 
10
+ ## [0.7.0] - 2016-6-13
11
+ - Add optional '--global-config' CLI argument to support arbitrary values in the
12
+ general CONFIG section of host files.
13
+ - Add '--version' CLI flag to print out the library version to stdout.
14
+ - Remove requirement that only valid (read: built-in) hypervisors are generated
15
+ by allowing any arbitrary string to be specified as the hypervisor. If the
16
+ hypervisor specified is not a built-in one there will be no additional
17
+ hypervisor-specific configuration generated.
18
+ - Add platforms:
19
+ - aix-5.3-power
20
+ - aix-6.1-power
21
+ - aix-7.1-power
22
+ - solaris-10-sparc
23
+ - solaris-11-sparc
24
+
10
25
  ## [0.6.0] - 2016-05-11
11
26
  - Add new 'none' hypervisor implementation to support static, non-provisioned hosts.
12
27
  - Add support for arbitrary, per-host key=value settings.
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 11 May, 2016 (4a8ee90e)](#LATEST)
3
+ * [LATEST - 13 Jun, 2016 (4792554b)](#LATEST)
4
+ * [0.6.0 - 11 May, 2016 (c807eb0d)](#0.6.0)
4
5
  * [0.5.0 - 31 Mar, 2016 (fa3ae0c8)](#0.5.0)
5
6
  * [0.4.0 - 10 Feb, 2016 (dc333b1c)](#0.4.0)
6
7
  * [0.3.3 - 3 Feb, 2016 (41051da9)](#0.3.3)
@@ -12,7 +13,214 @@
12
13
  * [0.0.1 - 7 Oct, 2015 (d99251e6)](#0.0.1)
13
14
 
14
15
  ## Details
15
- ### <a name = "LATEST">LATEST - 11 May, 2016 (4a8ee90e)
16
+ ### <a name = "LATEST">LATEST - 13 Jun, 2016 (4792554b)
17
+
18
+ * (GEM) update beaker-hostgenerator version to 0.7.0 (4792554b)
19
+
20
+ * Merge pull request #36 from nwolfe/qeng3987/release-0.7.0 (11256701)
21
+
22
+
23
+ ```
24
+ Merge pull request #36 from nwolfe/qeng3987/release-0.7.0
25
+
26
+ (QENG-3987) Update CHANGELOG for 0.7.0 release
27
+ ```
28
+ * (QENG-3987) Update CHANGELOG for 0.7.0 release (2f9fa77c)
29
+
30
+ * Merge pull request #33 from nwolfe/qeng3811-add-aix-and-sparc-platforms (9e73e059)
31
+
32
+
33
+ ```
34
+ Merge pull request #33 from nwolfe/qeng3811-add-aix-and-sparc-platforms
35
+
36
+ (QENG-3811) Add AIX and Solaris SPARC platforms
37
+ ```
38
+ * Merge pull request #35 from nwolfe/maint/alphabetize-test-fixtures (26ae944e)
39
+
40
+
41
+ ```
42
+ Merge pull request #35 from nwolfe/maint/alphabetize-test-fixtures
43
+
44
+ (MAINT) Sort platforms alphabetically
45
+ ```
46
+ * Merge pull request #34 from nwolfe/qeng3946-support-arbitrary-hypervisors (4d018b46)
47
+
48
+
49
+ ```
50
+ Merge pull request #34 from nwolfe/qeng3946-support-arbitrary-hypervisors
51
+
52
+ (QENG-3946) Support arbitrary hypervisors
53
+ ```
54
+ * (QENG-3946) Support arbitrary hypervisors (cf62fc5e)
55
+
56
+
57
+ ```
58
+ (QENG-3946) Support arbitrary hypervisors
59
+
60
+ This commit allows unknown hypervisors to be specified by the user.
61
+ Previously, if the hypervisor specified by the user was not one of the
62
+ valid, built-in implementations then an error was thrown notifying the
63
+ user that an invalid hypervisor was requested.
64
+ Now, this is no longer an error, and instead the host generation will
65
+ continue as normal but there will be no hypervisor-specific
66
+ configuration. The name of the unknown hypervisor will be the value of
67
+ the hypervisor configuration of the hosts.
68
+
69
+ To implement this, we can repurpose the special `Hypervisor::None`
70
+ implementation to instead represent an unknown (but equally valid)
71
+ hypervisor. The unknown name will now be the value of `hypervisor` in
72
+ the generated config, where it used to be `hypervisor: none`.
73
+
74
+ For example:
75
+ $ .. centos6-64{hypervisor=custom}
76
+ ---
77
+ HOSTS:
78
+ centos6-64-1:
79
+ pe_dir:
80
+ pe_ver:
81
+ pe_upgrade_dir:
82
+ pe_upgrade_ver:
83
+ platform: el-6-x86_64
84
+ hypervisor: custom
85
+ roles:
86
+ - agent
87
+ CONFIG:
88
+ nfs_server: none
89
+ consoleport: 443
90
+ ```
91
+ * (QENG-3811) Regenerate fixtures with new platforms (dbd40c80)
92
+
93
+
94
+ ```
95
+ (QENG-3811) Regenerate fixtures with new platforms
96
+
97
+ Our fixture generation isn't quite deterministic, and adding a new
98
+ platform somehow causes unrelated platform fixtures to be changed.
99
+
100
+ This commit deletes the entire `test/fixtures/generated` directory and
101
+ regenerates them anew, with new fixtures for the new AIX and Solaris
102
+ SPARC platforms.
103
+ ```
104
+ * (QENG-3811) Add AIX and Solaris SPARC platforms (8c5eb30d)
105
+
106
+ * (MAINT) Regenerate test fixtures and isolate them (d17d2341)
107
+
108
+
109
+ ```
110
+ (MAINT) Regenerate test fixtures and isolate them
111
+
112
+ Since we sorted the platforms alphabetically, the fixture generation
113
+ results in different filenames. Basically every time we modify
114
+ Data#platforms() we should regenerate the fixtures so we have all
115
+ platforms covered.
116
+
117
+ This moves the generated fixtures into a new directory called
118
+ `test/fixtures/generated/` so it's easier to work with them and not have
119
+ the manually created fixtures get in the way.
120
+ ```
121
+ * (MAINT) Sort platforms alphabetically (2376853e)
122
+
123
+
124
+ ```
125
+ (MAINT) Sort platforms alphabetically
126
+
127
+ Just so it's easier to navigate the large structure in the code.
128
+ ```
129
+ * Merge pull request #32 from nwolfe/qeng3808-alphanumeric-architectures (92eb8545)
130
+
131
+
132
+ ```
133
+ Merge pull request #32 from nwolfe/qeng3808-alphanumeric-architectures
134
+
135
+ (QENG-3808) Support uppercase alphanumeric architectures
136
+ ```
137
+ * Merge pull request #31 from nwolfe/qeng3377-fix-version-flag (7bedf39f)
138
+
139
+
140
+ ```
141
+ Merge pull request #31 from nwolfe/qeng3377-fix-version-flag
142
+
143
+ (QENG-3377) Add --version CLI flag
144
+ ```
145
+ * Merge pull request #30 from nwolfe/qeng3920-arbitrary-global-config-support (ffe6078a)
146
+
147
+
148
+ ```
149
+ Merge pull request #30 from nwolfe/qeng3920-arbitrary-global-config-support
150
+
151
+ (QENG-3920) Global host config CLI configuration support
152
+ ```
153
+ * (QENG-3808) Support uppercase alphanumeric architectures (0fc1ba77)
154
+
155
+
156
+ ```
157
+ (QENG-3808) Support uppercase alphanumeric architectures
158
+
159
+ This commit adds support for uppercase-only alphanumeric architecture
160
+ bits in platform names. For example, we can support things like
161
+ "POWER", "POWER7", "S390X" instead of just "32" or "64".
162
+
163
+ Uppercase letters allow for backwards compatibility when roles are
164
+ specified, which come after the architecture bit. This implementation
165
+ relies on the fact that the role and arbitrary role characters are
166
+ only lowercase.
167
+
168
+ This allows us to distinguish between the architecture "POWER" and the
169
+ role "m" when parsing the spec "POWERm", as in "aix71-POWERm".
170
+ ```
171
+ * (QENG-3377) Add --version CLI flag (2ddec220)
172
+
173
+
174
+ ```
175
+ (QENG-3377) Add --version CLI flag
176
+
177
+ This commit adds a -v/--version CLI flag to print the version number.
178
+
179
+ This also refactors the flow-of-control to remove the need for the
180
+ SafeEarlyExit exception by moving all output-generating codepaths out of
181
+ the initialize method and into the execute method, and teasing apart the
182
+ --list and default generation codepaths. The execute method
183
+ now chooses the code path based on the CLI options set in initialize.
184
+
185
+ While we no longer throw a SafeEarlyExit exception, it's effectively
186
+ part of the API so we must wait until the appropriate time/release to
187
+ delete it. Existing usages of it should not be broken with the changes
188
+ in this commit.
189
+ ```
190
+ * (QENG-3920) Global host config CLI configuration support (151918d9)
191
+
192
+
193
+ ```
194
+ (QENG-3920) Global host config CLI configuration support
195
+
196
+ This commit adds CLI support for specifying global configuration
197
+ settings that will be included in the CONFIG section.
198
+
199
+ For example:
200
+
201
+ $ beaker-hostgenerator --global-config {master=headless} redhat7-64m
202
+ ---
203
+ HOSTS:
204
+ redhat7-64-1:
205
+ pe_dir:
206
+ pe_ver:
207
+ pe_upgrade_dir:
208
+ pe_upgrade_ver:
209
+ hypervisor: vmpooler
210
+ platform: el-7-x86_64
211
+ template: redhat-7-x86_64
212
+ roles:
213
+ - agent
214
+ - master
215
+ CONFIG:
216
+ nfs_server: none
217
+ consoleport: 443
218
+ master: headless
219
+ pooling_api: http://vmpooler.delivery.puppetlabs.net/
220
+ ```
221
+ ### <a name = "0.6.0">0.6.0 - 11 May, 2016 (c807eb0d)
222
+
223
+ * (HISTORY) update beaker-hostgenerator history for gem release 0.6.0 (c807eb0d)
16
224
 
17
225
  * (GEM) update beaker-hostgenerator version to 0.6.0 (4a8ee90e)
18
226
 
data/README.md CHANGED
@@ -3,19 +3,17 @@
3
3
  `beaker-hostgenerator` is a command line utility designed to generate beaker
4
4
  host config files using a compact command line SUT specification.
5
5
 
6
- It currently supports Puppets' internal [vmpooler][vmpooler] hypervisor and
7
- static (non-provisioned) nodes, and is designed in a way that makes it possible
8
- to easily add support for additional hypervisors (any hypervisor type supported
9
- by [beaker][beaker]).
10
-
11
6
  <!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again -->
12
7
  **Table of Contents**
13
8
 
14
9
  - [Beaker Host Generator](#beaker-host-generator)
10
+ - [Hypervisors](#hypervisors)
15
11
  - [Usage](#usage)
16
12
  - [Simple two-host layout](#simple-two-host-layout)
17
13
  - [Single host with Arbitrary Roles](#single-host-with-arbitrary-roles)
18
14
  - [Two hosts with multiple hypervisors and arbitrary host settings](#two-hosts-with-multiple-hypervisors-and-arbitrary-host-settings)
15
+ - [Arbitrary global configuration settings](#arbitrary-global-configuration-settings)
16
+ - [Custom hypervisor](#custom-hypervisor)
19
17
  - [Testing](#testing)
20
18
  - [Test Fixtures](#test-fixtures)
21
19
  - [Generated Fixtures](#generated-fixtures)
@@ -24,6 +22,23 @@ by [beaker][beaker]).
24
22
 
25
23
  <!-- markdown-toc end -->
26
24
 
25
+ ## Hypervisors
26
+
27
+ Any hypervisor may be specified and generated, but if it's not a built-in
28
+ hypervisor you will have to provide the entire hypervisor configuration as
29
+ input. See the [Custom hypervisor](#custom-hypervisor) example for more
30
+ information.
31
+
32
+ It currently provides built-in configuration for Puppets' internal
33
+ [vmpooler][vmpooler] hypervisor and static (non-provisioned) nodes, and is
34
+ designed in a way that makes it possible to easily add support for additional
35
+ hypervisors (any hypervisor type supported by [beaker][beaker]).
36
+
37
+ To see the list of built-in hypervisors you can run:
38
+ ```
39
+ $ beaker-hostgenerator --list
40
+ ```
41
+
27
42
  ## Usage
28
43
 
29
44
  Below are some example usages of `beaker-hostgenerator`.
@@ -140,6 +155,70 @@ CONFIG:
140
155
  pooling_api: http://vmpooler.delivery.puppetlabs.net/
141
156
  ```
142
157
 
158
+ ### Arbitrary global configuration settings
159
+
160
+ ```
161
+ $ beaker-hostgenerator --global-config {preserve_hosts=onfail\,log_level=debug\,server.ip=12.345.6789} redhat7-64m
162
+ ```
163
+
164
+ Will generate
165
+
166
+ ```yaml
167
+ ---
168
+ HOSTS:
169
+ redhat7-64-1:
170
+ pe_dir:
171
+ pe_ver:
172
+ pe_upgrade_dir:
173
+ pe_upgrade_ver:
174
+ hypervisor: vmpooler
175
+ platform: el-7-x86_64
176
+ template: redhat-7-x86_64
177
+ roles:
178
+ - agent
179
+ - master
180
+ CONFIG:
181
+ nfs_server: none
182
+ consoleport: 443
183
+ preserve_hosts: onfail
184
+ log_level: debug
185
+ server.ip: 12.345.6789
186
+ pooling_api: http://vmpooler.delivery.puppetlabs.net/
187
+ ```
188
+
189
+ ### Custom hypervisor
190
+
191
+ The following example shows one way of generating a custom hypervisor that
192
+ includes both per-host configuration and global configuration.
193
+
194
+ The term "custom" in this case signifies that it's not a built-in hypervisor
195
+ (like `vmpooler`), which means we'll have to provide all the configuration
196
+ ourselves as there isn't any built-in configuration for our hypervisor.
197
+
198
+ ```
199
+ $ beaker-hostgenerator --hypervisor=custom --global={custom_api=http://api.custom.net} centos6-64
200
+ ```
201
+
202
+ Will generate
203
+
204
+ ```yaml
205
+ ---
206
+ HOSTS:
207
+ centos6-64-1:
208
+ pe_dir:
209
+ pe_ver:
210
+ pe_upgrade_dir:
211
+ pe_upgrade_ver:
212
+ platform: el-6-x86_64
213
+ hypervisor: custom
214
+ roles:
215
+ - agent
216
+ CONFIG:
217
+ nfs_server: none
218
+ consoleport: 443
219
+ custom_api: http://api.custom.net
220
+ ```
221
+
143
222
  ## Testing
144
223
 
145
224
  Beaker Host Generator currently uses both rspec and minitest tests. To run both
@@ -1,6 +1,7 @@
1
1
  require 'beaker-hostgenerator/generator'
2
2
  require 'beaker-hostgenerator/hypervisor'
3
3
  require 'beaker-hostgenerator/roles'
4
+ require 'beaker-hostgenerator/version'
4
5
  require 'optparse'
5
6
 
6
7
  module BeakerHostGenerator
@@ -113,24 +114,51 @@ Usage: beaker-hostgenerator [options] <layout>
113
114
  @options[:osinfo_version] = version
114
115
  end
115
116
 
117
+ opts.on('--global-config KEYVALUE_STRING',
118
+ "General configuration settings to be included as-is in the " <<
119
+ "CONFIG section. Value should be in the form '{key=value,...}'.") do |p|
120
+ @options[:global_config] = p
121
+ end
122
+
116
123
  opts.on('-h',
117
124
  '--help',
118
125
  'Display command help.') do
119
- puts opts
120
- exit
126
+ @options[:help] = opts.to_s
127
+ end
128
+
129
+ opts.on('-v',
130
+ '--version',
131
+ 'Display beaker-hostgenerator version number.') do
132
+ @options[:version] = true
121
133
  end
122
134
  end
123
135
 
124
136
  optparse.parse!(argv)
137
+ @layout = argv[0]
138
+ end
125
139
 
126
- if @options[:list_supported_values]
127
- print_supported_values
128
- raise BeakerHostGenerator::Exceptions::SafeEarlyExit
140
+ def execute
141
+ if @options[:help]
142
+ @options[:help] # Value is help text string
143
+ elsif @options[:version]
144
+ BeakerHostGenerator::Version::STRING
145
+ elsif @options[:list_supported_values]
146
+ supported_values_help_text
129
147
  else
130
- @layout = argv[0]
148
+ print_warnings
149
+ BeakerHostGenerator::Generator.new.generate(@layout, @options)
150
+ end
151
+ end
152
+
153
+ def execute!
154
+ puts execute
155
+ end
131
156
 
132
- if @options[:osinfo_version] === 0
133
- warning = <<-eow
157
+ private
158
+
159
+ def print_warnings
160
+ if @options[:osinfo_version] === 0
161
+ warning = <<-eow
134
162
  WARNING: Starting with beaker-hostgenerator 1.x platform strings for "el" hosts
135
163
  will correspond to the actual linux distribution name. ie, the platform string
136
164
  corresponding to a host specified as "centos4_64a" will be "centos-4-x86_64"
@@ -138,47 +166,40 @@ rather than "el-4-x86_64". It is recommended that you update your project's test
138
166
  suites ASAP or be forced to do so when beaker-hostgenerator development moves on
139
167
  to the 1.x series. We don't intend to backport features or platforms to 0.x.
140
168
  eow
141
- STDERR.puts(warning)
142
- end
169
+ STDERR.puts(warning)
143
170
  end
144
171
  end
145
172
 
146
- def execute
147
- BeakerHostGenerator::Generator.new.generate(@layout, @options)
148
- end
149
-
150
- def execute!
151
- puts execute
152
- end
153
-
154
- private
155
-
156
- # Prints to stdout a human-readable listing of all supported values for
157
- # the following: platforms, architectures, roles, and hypervisors.
158
- def print_supported_values
159
- puts "valid beaker-hostgenerator platforms:"
173
+ # Builds help text with a human-readable listing of all supported values
174
+ # for the following: platforms, architectures, roles, and hypervisors.
175
+ def supported_values_help_text
176
+ result = "valid beaker-hostgenerator platforms:\n"
160
177
  platforms = get_platforms(@options[:osinfo_version])
161
178
  platforms.each do |k|
162
- puts " #{k}"
179
+ result << " #{k}\n"
163
180
  end
164
- puts "\n"
181
+ result << "\n\n"
165
182
 
166
- puts "valid beaker-hostgenerator architectures:"
167
- puts " 32 => 32-bit OS"
168
- puts " 64 => 64-bit OS"
169
- puts " 6432 => 64-bit OS with 32-bit Puppet (Windows Only)"
170
- puts "\n"
183
+ result << "valid beaker-hostgenerator architectures:\n"
184
+ result << " 32 => 32-bit OS\n"
185
+ result << " 64 => 64-bit OS\n"
186
+ result << " 6432 => 64-bit OS with 32-bit Puppet (Windows Only)\n"
187
+ result << " POWER => power OS (AIX only)\n"
188
+ result << " SPARC => sparc OS (Solaris only)\n"
189
+ result << "\n\n"
171
190
 
172
- puts "valid beaker-hostgenerator host roles:"
191
+ result << "built-in beaker-hostgenerator host roles:\n"
173
192
  BeakerHostGenerator::Roles::ROLES.each do |k,v|
174
- puts " #{k} => #{v}"
193
+ result << " #{k} => #{v}\n"
175
194
  end
176
- puts "\n"
195
+ result << "\n\n"
177
196
 
178
- puts "valid beaker-hostgenerator hypervisors:"
179
- BeakerHostGenerator::Hypervisor.supported_hypervisors().keys.each do |k|
180
- puts " #{k}"
197
+ result << "built-in beaker-hostgenerator hypervisors:\n"
198
+ BeakerHostGenerator::Hypervisor.builtin_hypervisors().keys.each do |k|
199
+ result << " #{k}\n"
181
200
  end
201
+
202
+ result
182
203
  end
183
204
  end
184
205
  end