facterdb 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (660) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +2 -2
  3. data/.travis.yml +1 -1
  4. data/CHANGELOG.md +39 -0
  5. data/README.md +88 -83
  6. data/Rakefile +21 -7
  7. data/facts/1.6/archlinux-x86_64.facts +21 -34
  8. data/facts/1.6/centos-6-x86_64.facts +50 -49
  9. data/facts/1.6/centos-7-x86_64.facts +20 -21
  10. data/facts/1.6/debian-10-x86_64.facts +57 -0
  11. data/facts/1.6/debian-8-x86_64.facts +34 -29
  12. data/facts/1.6/debian-9-x86_64.facts +56 -0
  13. data/facts/1.6/fedora-28-x86_64.facts +52 -0
  14. data/facts/1.6/fedora-29-x86_64.facts +52 -0
  15. data/facts/1.6/fedora-30-x86_64.facts +52 -0
  16. data/facts/1.6/freebsd-11-x86_64.facts +15 -15
  17. data/facts/1.6/freebsd-12-x86_64.facts +50 -0
  18. data/facts/1.6/linuxmint-18-x86_64.facts +68 -0
  19. data/facts/1.6/linuxmint-19-x86_64.facts +58 -0
  20. data/facts/1.6/openbsd-6.2-i386.facts +62 -0
  21. data/facts/1.6/openbsd-6.2-x86_64.facts +62 -0
  22. data/facts/1.6/openbsd-6.3-i386.facts +62 -0
  23. data/facts/1.6/openbsd-6.3-x86_64.facts +62 -0
  24. data/facts/1.6/openbsd-6.4-x86_64.facts +62 -0
  25. data/facts/1.6/oraclelinux-6-x86_64.facts +50 -49
  26. data/facts/1.6/oraclelinux-7-x86_64.facts +20 -21
  27. data/facts/1.6/redhat-6-x86_64.facts +50 -49
  28. data/facts/1.6/redhat-7-x86_64.facts +20 -21
  29. data/facts/1.6/redhat-8-x86_64.facts +60 -0
  30. data/facts/1.6/scientific-6-x86_64.facts +50 -49
  31. data/facts/1.6/scientific-7-x86_64.facts +20 -21
  32. data/facts/1.6/sles-11-x86_64.facts +58 -51
  33. data/facts/1.6/sles-12-x86_64.facts +26 -41
  34. data/facts/1.6/ubuntu-14.04-x86_64.facts +12 -13
  35. data/facts/1.6/ubuntu-16.04-x86_64.facts +27 -27
  36. data/facts/1.6/ubuntu-18.04-x86_64.facts +18 -17
  37. data/facts/1.7/archlinux-x86_64.facts +31 -58
  38. data/facts/1.7/centos-6-x86_64.facts +67 -66
  39. data/facts/1.7/centos-7-x86_64.facts +26 -27
  40. data/facts/1.7/debian-10-x86_64.facts +73 -0
  41. data/facts/1.7/debian-8-x86_64.facts +41 -36
  42. data/facts/1.7/debian-9-x86_64.facts +72 -0
  43. data/facts/1.7/fedora-26-x86_64.facts +53 -53
  44. data/facts/1.7/fedora-28-x86_64.facts +71 -0
  45. data/facts/1.7/fedora-29-x86_64.facts +71 -0
  46. data/facts/1.7/fedora-30-x86_64.facts +71 -0
  47. data/facts/1.7/freebsd-11-x86_64.facts +23 -23
  48. data/facts/1.7/freebsd-12-x86_64.facts +64 -0
  49. data/facts/1.7/linuxmint-18-x86_64.facts +85 -0
  50. data/facts/1.7/linuxmint-19-x86_64.facts +81 -0
  51. data/facts/1.7/openbsd-6.2-i386.facts +69 -0
  52. data/facts/1.7/openbsd-6.2-x86_64.facts +69 -0
  53. data/facts/1.7/openbsd-6.3-i386.facts +69 -0
  54. data/facts/1.7/openbsd-6.3-x86_64.facts +69 -0
  55. data/facts/1.7/openbsd-6.4-x86_64.facts +69 -0
  56. data/facts/1.7/oraclelinux-6-x86_64.facts +67 -66
  57. data/facts/1.7/oraclelinux-7-x86_64.facts +26 -27
  58. data/facts/1.7/redhat-6-x86_64.facts +67 -66
  59. data/facts/1.7/redhat-7-x86_64.facts +26 -27
  60. data/facts/1.7/redhat-8-x86_64.facts +83 -0
  61. data/facts/1.7/scientific-6-x86_64.facts +67 -66
  62. data/facts/1.7/scientific-7-x86_64.facts +26 -27
  63. data/facts/1.7/sles-11-x86_64.facts +73 -71
  64. data/facts/1.7/sles-12-x86_64.facts +63 -60
  65. data/facts/1.7/ubuntu-14.04-x86_64.facts +13 -14
  66. data/facts/1.7/ubuntu-16.04-x86_64.facts +40 -37
  67. data/facts/1.7/ubuntu-18.04-x86_64.facts +24 -23
  68. data/facts/2.0/archlinux-x86_64.facts +47 -73
  69. data/facts/2.0/centos-6-x86_64.facts +62 -61
  70. data/facts/2.0/centos-7-x86_64.facts +27 -26
  71. data/facts/2.0/darwin-17-x86_64.facts +92 -0
  72. data/facts/2.0/darwin-18-x86_64.facts +91 -0
  73. data/facts/2.0/debian-10-x86_64.facts +75 -0
  74. data/facts/2.0/debian-8-x86_64.facts +75 -70
  75. data/facts/2.0/debian-9-x86_64.facts +66 -77
  76. data/facts/2.0/fedora-26-x86_64.facts +5 -19
  77. data/facts/2.0/fedora-28-x86_64.facts +71 -0
  78. data/facts/2.0/fedora-29-x86_64.facts +71 -0
  79. data/facts/2.0/fedora-30-x86_64.facts +71 -0
  80. data/facts/2.0/freebsd-11-x86_64.facts +46 -46
  81. data/facts/2.0/freebsd-12-x86_64.facts +65 -0
  82. data/facts/2.0/linuxmint-18-x86_64.facts +86 -0
  83. data/facts/2.0/linuxmint-19-x86_64.facts +82 -0
  84. data/facts/2.0/openbsd-6.2-i386.facts +70 -0
  85. data/facts/2.0/openbsd-6.2-x86_64.facts +70 -0
  86. data/facts/2.0/openbsd-6.3-i386.facts +70 -0
  87. data/facts/2.0/openbsd-6.3-x86_64.facts +70 -0
  88. data/facts/2.0/openbsd-6.4-x86_64.facts +70 -0
  89. data/facts/2.0/oraclelinux-6-x86_64.facts +62 -61
  90. data/facts/2.0/oraclelinux-7-x86_64.facts +27 -26
  91. data/facts/2.0/redhat-6-x86_64.facts +62 -61
  92. data/facts/2.0/redhat-7-x86_64.facts +27 -26
  93. data/facts/2.0/redhat-8-x86_64.facts +83 -0
  94. data/facts/2.0/scientific-6-x86_64.facts +62 -61
  95. data/facts/2.0/scientific-7-x86_64.facts +27 -26
  96. data/facts/2.0/sles-11-x86_64.facts +72 -70
  97. data/facts/2.0/sles-12-x86_64.facts +64 -68
  98. data/facts/2.0/ubuntu-14.04-x86_64.facts +13 -14
  99. data/facts/2.0/ubuntu-16.04-x86_64.facts +70 -67
  100. data/facts/2.0/ubuntu-18.04-x86_64.facts +63 -62
  101. data/facts/2.1/archlinux-x86_64.facts +57 -86
  102. data/facts/2.1/centos-6-x86_64.facts +69 -68
  103. data/facts/2.1/centos-7-x86_64.facts +28 -27
  104. data/facts/2.1/darwin-17-x86_64.facts +92 -0
  105. data/facts/2.1/darwin-18-x86_64.facts +91 -0
  106. data/facts/2.1/debian-10-x86_64.facts +92 -0
  107. data/facts/2.1/debian-8-x86_64.facts +90 -74
  108. data/facts/2.1/debian-9-x86_64.facts +77 -89
  109. data/facts/2.1/fedora-26-x86_64.facts +6 -28
  110. data/facts/2.1/fedora-28-x86_64.facts +85 -0
  111. data/facts/2.1/fedora-29-x86_64.facts +90 -0
  112. data/facts/2.1/fedora-30-x86_64.facts +90 -0
  113. data/facts/2.1/freebsd-11-x86_64.facts +45 -45
  114. data/facts/2.1/freebsd-12-x86_64.facts +65 -0
  115. data/facts/2.1/linuxmint-18-x86_64.facts +106 -0
  116. data/facts/2.1/linuxmint-19-x86_64.facts +95 -0
  117. data/facts/2.1/openbsd-6.2-i386.facts +72 -0
  118. data/facts/2.1/openbsd-6.2-x86_64.facts +72 -0
  119. data/facts/2.1/openbsd-6.3-i386.facts +72 -0
  120. data/facts/2.1/openbsd-6.3-x86_64.facts +72 -0
  121. data/facts/2.1/openbsd-6.4-x86_64.facts +72 -0
  122. data/facts/2.1/oraclelinux-6-x86_64.facts +69 -68
  123. data/facts/2.1/oraclelinux-7-x86_64.facts +28 -27
  124. data/facts/2.1/redhat-6-x86_64.facts +69 -68
  125. data/facts/2.1/redhat-7-x86_64.facts +28 -27
  126. data/facts/2.1/redhat-8-x86_64.facts +97 -0
  127. data/facts/2.1/scientific-6-x86_64.facts +69 -68
  128. data/facts/2.1/scientific-7-x86_64.facts +28 -27
  129. data/facts/2.1/sles-11-x86_64.facts +76 -79
  130. data/facts/2.1/sles-12-x86_64.facts +74 -89
  131. data/facts/2.1/ubuntu-14.04-x86_64.facts +13 -14
  132. data/facts/2.1/ubuntu-16.04-x86_64.facts +75 -81
  133. data/facts/2.1/ubuntu-18.04-x86_64.facts +74 -73
  134. data/facts/2.2/archlinux-x86_64.facts +76 -107
  135. data/facts/2.2/centos-6-x86_64.facts +90 -89
  136. data/facts/2.2/centos-7-x86_64.facts +33 -32
  137. data/facts/2.2/darwin-17-x86_64.facts +113 -0
  138. data/facts/2.2/darwin-18-x86_64.facts +112 -0
  139. data/facts/2.2/debian-10-x86_64.facts +123 -0
  140. data/facts/2.2/debian-8-x86_64.facts +115 -98
  141. data/facts/2.2/debian-9-x86_64.facts +100 -112
  142. data/facts/2.2/fedora-26-x86_64.facts +13 -14
  143. data/facts/2.2/fedora-28-x86_64.facts +107 -0
  144. data/facts/2.2/fedora-29-x86_64.facts +112 -0
  145. data/facts/2.2/fedora-30-x86_64.facts +112 -0
  146. data/facts/2.2/freebsd-11-x86_64.facts +63 -63
  147. data/facts/2.2/freebsd-12-x86_64.facts +86 -0
  148. data/facts/2.2/linuxmint-18-x86_64.facts +138 -0
  149. data/facts/2.2/linuxmint-19-x86_64.facts +127 -0
  150. data/facts/2.2/openbsd-6.2-i386.facts +140 -0
  151. data/facts/2.2/openbsd-6.2-x86_64.facts +140 -0
  152. data/facts/2.2/openbsd-6.3-i386.facts +140 -0
  153. data/facts/2.2/openbsd-6.3-x86_64.facts +140 -0
  154. data/facts/2.2/openbsd-6.4-x86_64.facts +140 -0
  155. data/facts/2.2/oraclelinux-6-x86_64.facts +90 -89
  156. data/facts/2.2/oraclelinux-7-x86_64.facts +33 -32
  157. data/facts/2.2/redhat-6-x86_64.facts +90 -89
  158. data/facts/2.2/redhat-7-x86_64.facts +33 -32
  159. data/facts/2.2/redhat-8-x86_64.facts +121 -0
  160. data/facts/2.2/scientific-6-x86_64.facts +90 -89
  161. data/facts/2.2/scientific-7-x86_64.facts +33 -32
  162. data/facts/2.2/sles-11-x86_64.facts +93 -96
  163. data/facts/2.2/sles-12-x86_64.facts +101 -93
  164. data/facts/2.2/ubuntu-14.04-x86_64.facts +16 -17
  165. data/facts/2.2/ubuntu-16.04-x86_64.facts +90 -95
  166. data/facts/2.2/ubuntu-18.04-x86_64.facts +90 -89
  167. data/facts/2.3/archlinux-x86_64.facts +73 -104
  168. data/facts/2.3/centos-6-x86_64.facts +96 -95
  169. data/facts/2.3/centos-7-x86_64.facts +33 -32
  170. data/facts/2.3/darwin-17-x86_64.facts +114 -0
  171. data/facts/2.3/darwin-18-x86_64.facts +113 -0
  172. data/facts/2.3/debian-10-x86_64.facts +124 -0
  173. data/facts/2.3/debian-8-x86_64.facts +116 -99
  174. data/facts/2.3/debian-9-x86_64.facts +102 -114
  175. data/facts/2.3/fedora-26-x86_64.facts +7 -8
  176. data/facts/2.3/fedora-28-x86_64.facts +108 -0
  177. data/facts/2.3/fedora-29-x86_64.facts +113 -0
  178. data/facts/2.3/fedora-30-x86_64.facts +113 -0
  179. data/facts/2.3/freebsd-11-x86_64.facts +48 -48
  180. data/facts/2.3/freebsd-12-x86_64.facts +87 -0
  181. data/facts/2.3/linuxmint-18-x86_64.facts +139 -0
  182. data/facts/2.3/linuxmint-19-x86_64.facts +128 -0
  183. data/facts/2.3/openbsd-6.2-i386.facts +143 -0
  184. data/facts/2.3/openbsd-6.2-x86_64.facts +143 -0
  185. data/facts/2.3/openbsd-6.3-i386.facts +143 -0
  186. data/facts/2.3/openbsd-6.3-x86_64.facts +143 -0
  187. data/facts/2.3/openbsd-6.4-x86_64.facts +143 -0
  188. data/facts/2.3/oraclelinux-6-x86_64.facts +96 -95
  189. data/facts/2.3/oraclelinux-7-x86_64.facts +33 -32
  190. data/facts/2.3/redhat-6-x86_64.facts +96 -95
  191. data/facts/2.3/redhat-7-x86_64.facts +33 -32
  192. data/facts/2.3/redhat-8-x86_64.facts +122 -0
  193. data/facts/2.3/scientific-6-x86_64.facts +96 -95
  194. data/facts/2.3/scientific-7-x86_64.facts +33 -32
  195. data/facts/2.3/sles-11-x86_64.facts +96 -99
  196. data/facts/2.3/sles-12-x86_64.facts +93 -85
  197. data/facts/2.3/ubuntu-14.04-x86_64.facts +16 -17
  198. data/facts/2.3/ubuntu-16.04-x86_64.facts +91 -96
  199. data/facts/2.3/ubuntu-18.04-x86_64.facts +91 -90
  200. data/facts/2.4/archlinux-x86_64.facts +79 -108
  201. data/facts/2.4/centos-6-x86_64.facts +90 -88
  202. data/facts/2.4/centos-7-x86_64.facts +34 -32
  203. data/facts/2.4/darwin-17-x86_64.facts +114 -0
  204. data/facts/2.4/darwin-18-x86_64.facts +113 -0
  205. data/facts/2.4/debian-10-x86_64.facts +124 -0
  206. data/facts/2.4/debian-8-x86_64.facts +117 -99
  207. data/facts/2.4/debian-9-x86_64.facts +103 -114
  208. data/facts/2.4/fedora-26-x86_64.facts +94 -127
  209. data/facts/2.4/fedora-28-x86_64.facts +110 -0
  210. data/facts/2.4/fedora-29-x86_64.facts +114 -0
  211. data/facts/2.4/fedora-30-x86_64.facts +114 -0
  212. data/facts/2.4/freebsd-11-x86_64.facts +58 -58
  213. data/facts/2.4/freebsd-12-x86_64.facts +87 -0
  214. data/facts/2.4/linuxmint-18-x86_64.facts +140 -0
  215. data/facts/2.4/linuxmint-19-x86_64.facts +129 -0
  216. data/facts/2.4/openbsd-6.2-i386.facts +143 -0
  217. data/facts/2.4/openbsd-6.2-x86_64.facts +143 -0
  218. data/facts/2.4/openbsd-6.3-i386.facts +143 -0
  219. data/facts/2.4/openbsd-6.3-x86_64.facts +143 -0
  220. data/facts/2.4/openbsd-6.4-x86_64.facts +143 -0
  221. data/facts/2.4/oraclelinux-6-x86_64.facts +90 -88
  222. data/facts/2.4/oraclelinux-7-x86_64.facts +34 -32
  223. data/facts/2.4/redhat-6-x86_64.facts +90 -88
  224. data/facts/2.4/redhat-7-x86_64.facts +34 -32
  225. data/facts/2.4/redhat-8-x86_64.facts +123 -0
  226. data/facts/2.4/scientific-6-x86_64.facts +90 -88
  227. data/facts/2.4/scientific-7-x86_64.facts +34 -32
  228. data/facts/2.4/sles-11-x86_64.facts +96 -98
  229. data/facts/2.4/sles-12-x86_64.facts +104 -44
  230. data/facts/2.4/ubuntu-14.04-x86_64.facts +17 -17
  231. data/facts/2.4/ubuntu-16.04-x86_64.facts +93 -96
  232. data/facts/2.4/ubuntu-18.04-x86_64.facts +92 -90
  233. data/facts/2.5/archlinux-x86_64.facts +98 -0
  234. data/facts/2.5/centos-6-x86_64.facts +91 -105
  235. data/facts/2.5/centos-7-x86_64.facts +57 -60
  236. data/facts/2.5/darwin-17-x86_64.facts +114 -0
  237. data/facts/2.5/darwin-18-x86_64.facts +113 -0
  238. data/facts/2.5/debian-10-x86_64.facts +124 -0
  239. data/facts/2.5/debian-8-x86_64.facts +121 -114
  240. data/facts/2.5/debian-9-x86_64.facts +103 -114
  241. data/facts/2.5/fedora-28-x86_64.facts +74 -74
  242. data/facts/2.5/fedora-29-x86_64.facts +114 -0
  243. data/facts/2.5/fedora-30-x86_64.facts +114 -0
  244. data/facts/2.5/freebsd-11-x86_64.facts +60 -60
  245. data/facts/2.5/freebsd-12-x86_64.facts +87 -0
  246. data/facts/2.5/linuxmint-18-x86_64.facts +140 -0
  247. data/facts/2.5/linuxmint-19-x86_64.facts +129 -0
  248. data/facts/2.5/openbsd-6.2-i386.facts +143 -0
  249. data/facts/2.5/openbsd-6.2-x86_64.facts +143 -0
  250. data/facts/2.5/openbsd-6.3-i386.facts +143 -0
  251. data/facts/2.5/openbsd-6.3-x86_64.facts +143 -0
  252. data/facts/2.5/openbsd-6.4-x86_64.facts +143 -0
  253. data/facts/2.5/oraclelinux-5-x86_64.facts +115 -117
  254. data/facts/2.5/oraclelinux-6-x86_64.facts +90 -94
  255. data/facts/2.5/oraclelinux-7-x86_64.facts +70 -78
  256. data/facts/2.5/redhat-5-x86_64.facts +109 -103
  257. data/facts/2.5/redhat-6-x86_64.facts +97 -111
  258. data/facts/2.5/redhat-7-x86_64.facts +66 -68
  259. data/facts/2.5/redhat-8-x86_64.facts +123 -0
  260. data/facts/2.5/scientific-5-x86_64.facts +109 -103
  261. data/facts/2.5/scientific-6-x86_64.facts +96 -92
  262. data/facts/2.5/scientific-7-x86_64.facts +62 -65
  263. data/facts/2.5/sles-11-x86_64.facts +100 -103
  264. data/facts/2.5/sles-12-x86_64.facts +94 -94
  265. data/facts/2.5/solaris-10-i86pc.facts +201 -0
  266. data/facts/2.5/ubuntu-14.04-x86_64.facts +100 -103
  267. data/facts/2.5/ubuntu-16.04-x86_64.facts +97 -102
  268. data/facts/2.5/ubuntu-18.04-x86_64.facts +92 -90
  269. data/facts/2.5/windows-2019-x86_64.facts +73 -0
  270. data/facts/3.0/centos-6-x86_64.facts +127 -163
  271. data/facts/3.0/centos-7-x86_64.facts +75 -66
  272. data/facts/3.0/oraclelinux-5-x86_64.facts +83 -121
  273. data/facts/3.0/oraclelinux-6-x86_64.facts +109 -127
  274. data/facts/3.0/oraclelinux-7-x86_64.facts +75 -66
  275. data/facts/3.0/redhat-5-x86_64.facts +81 -72
  276. data/facts/3.0/redhat-6-x86_64.facts +127 -163
  277. data/facts/3.0/redhat-7-x86_64.facts +75 -66
  278. data/facts/3.0/scientific-5-x86_64.facts +85 -76
  279. data/facts/3.0/scientific-6-x86_64.facts +126 -147
  280. data/facts/3.0/scientific-7-x86_64.facts +75 -66
  281. data/facts/3.0/windows-2019-x86_64.facts +143 -0
  282. data/facts/3.1/centos-6-x86_64.facts +138 -174
  283. data/facts/3.1/centos-7-x86_64.facts +83 -74
  284. data/facts/3.1/oraclelinux-5-x86_64.facts +93 -107
  285. data/facts/3.1/oraclelinux-6-x86_64.facts +120 -138
  286. data/facts/3.1/oraclelinux-7-x86_64.facts +83 -74
  287. data/facts/3.1/redhat-5-x86_64.facts +92 -79
  288. data/facts/3.1/redhat-6-x86_64.facts +138 -174
  289. data/facts/3.1/redhat-7-x86_64.facts +83 -74
  290. data/facts/3.1/scientific-5-x86_64.facts +96 -83
  291. data/facts/3.1/scientific-6-x86_64.facts +135 -156
  292. data/facts/3.1/scientific-7-x86_64.facts +83 -74
  293. data/facts/3.1/windows-2019-x86_64.facts +160 -0
  294. data/facts/3.10/centos-5-i386.facts +357 -0
  295. data/facts/3.10/centos-5-x86_64.facts +357 -0
  296. data/facts/3.10/centos-6-i386.facts +349 -0
  297. data/facts/3.10/centos-6-x86_64.facts +34 -34
  298. data/facts/3.10/centos-7-x86_64.facts +34 -34
  299. data/facts/3.10/darwin-15-x86_64.facts +398 -0
  300. data/facts/3.10/darwin-16-x86_64.facts +402 -0
  301. data/facts/3.10/darwin-17-x86_64.facts +423 -0
  302. data/facts/3.10/debian-8-x86_64.facts +162 -155
  303. data/facts/3.10/debian-9-x86_64.facts +122 -90
  304. data/facts/3.10/freebsd-11-amd64.facts +460 -0
  305. data/facts/3.10/freebsd-12-amd64.facts +460 -0
  306. data/facts/3.10/linuxmint-18-x86_64.facts +457 -0
  307. data/facts/3.10/openbsd-6.3-i386.facts +411 -0
  308. data/facts/3.10/openbsd-6.3-x86_64.facts +411 -0
  309. data/facts/3.10/oraclelinux-5-x86_64.facts +357 -0
  310. data/facts/3.10/oraclelinux-6-x86_64.facts +34 -34
  311. data/facts/3.10/oraclelinux-7-x86_64.facts +34 -34
  312. data/facts/3.10/redhat-5-i386.facts +357 -0
  313. data/facts/3.10/redhat-5-x86_64.facts +357 -0
  314. data/facts/3.10/redhat-6-i386.facts +349 -0
  315. data/facts/3.10/redhat-6-x86_64.facts +34 -34
  316. data/facts/3.10/redhat-7-x86_64.facts +34 -34
  317. data/facts/3.10/scientific-5-i386.facts +357 -0
  318. data/facts/3.10/scientific-5-x86_64.facts +357 -0
  319. data/facts/3.10/scientific-6-i386.facts +349 -0
  320. data/facts/3.10/scientific-6-x86_64.facts +34 -34
  321. data/facts/3.10/scientific-7-x86_64.facts +34 -34
  322. data/facts/3.10/sles-11-i386.facts +348 -0
  323. data/facts/3.10/sles-11-x86_64.facts +365 -0
  324. data/facts/3.10/sles-12-x86_64.facts +785 -0
  325. data/facts/3.10/ubuntu-14.04-x86_64.facts +33 -33
  326. data/facts/3.10/ubuntu-16.04-x86_64.facts +86 -86
  327. data/facts/3.10/windows-10-i386.facts +166 -0
  328. data/facts/3.10/windows-10-x86_64.facts +166 -0
  329. data/facts/3.10/windows-2012 r2-core-x86_64.facts +166 -0
  330. data/facts/3.10/windows-2012 r2-x86_64.facts +166 -0
  331. data/facts/3.10/windows-2012-x86_64.facts +166 -0
  332. data/facts/3.10/windows-2016-x86_64.facts +166 -0
  333. data/facts/3.10/windows-2019-x86_64.facts +166 -0
  334. data/facts/3.11/centos-5-i386.facts +359 -0
  335. data/facts/3.11/centos-5-x86_64.facts +359 -0
  336. data/facts/3.11/centos-6-i386.facts +351 -0
  337. data/facts/3.11/centos-6-x86_64.facts +73 -41
  338. data/facts/3.11/centos-7-i386.facts +427 -0
  339. data/facts/3.11/centos-7-x86_64.facts +145 -50
  340. data/facts/3.11/darwin-16-x86_64.facts +457 -0
  341. data/facts/3.11/darwin-17-x86_64.facts +427 -0
  342. data/facts/3.11/darwin-18-x86_64.facts +451 -0
  343. data/facts/3.11/debian-10-x86_64.facts +426 -0
  344. data/facts/3.11/debian-8-x86_64.facts +162 -155
  345. data/facts/3.11/debian-9-x86_64.facts +202 -83
  346. data/facts/3.11/fedora-28-x86_64.facts +418 -0
  347. data/facts/3.11/fedora-29-x86_64.facts +530 -0
  348. data/facts/3.11/freebsd-11-amd64.facts +463 -0
  349. data/facts/3.11/freebsd-12-amd64.facts +463 -0
  350. data/facts/3.11/linuxmint-18-x86_64.facts +461 -0
  351. data/facts/3.11/linuxmint-19-x86_64.facts +426 -0
  352. data/facts/3.11/opensuse-15-x86_64.facts +584 -0
  353. data/facts/3.11/oraclelinux-5-x86_64.facts +359 -0
  354. data/facts/3.11/oraclelinux-6-i386.facts +351 -0
  355. data/facts/3.11/oraclelinux-6-x86_64.facts +73 -41
  356. data/facts/3.11/oraclelinux-7-i386.facts +427 -0
  357. data/facts/3.11/oraclelinux-7-x86_64.facts +145 -50
  358. data/facts/3.11/redhat-5-i386.facts +359 -0
  359. data/facts/3.11/redhat-5-x86_64.facts +359 -0
  360. data/facts/3.11/redhat-6-i386.facts +351 -0
  361. data/facts/3.11/redhat-6-x86_64.facts +73 -41
  362. data/facts/3.11/redhat-7-i386.facts +427 -0
  363. data/facts/3.11/redhat-7-x86_64.facts +145 -50
  364. data/facts/3.11/redhat-8-x86_64.facts +504 -0
  365. data/facts/3.11/scientific-5-i386.facts +359 -0
  366. data/facts/3.11/scientific-5-x86_64.facts +359 -0
  367. data/facts/3.11/scientific-6-i386.facts +351 -0
  368. data/facts/3.11/scientific-6-x86_64.facts +73 -41
  369. data/facts/3.11/scientific-7-i386.facts +427 -0
  370. data/facts/3.11/scientific-7-x86_64.facts +145 -50
  371. data/facts/3.11/sles-11-i386.facts +351 -0
  372. data/facts/3.11/sles-11-x86_64.facts +429 -0
  373. data/facts/3.11/sles-12-x86_64.facts +873 -0
  374. data/facts/3.11/solaris-10-i86pc.facts +603 -0
  375. data/facts/3.11/ubuntu-14.04-x86_64.facts +36 -36
  376. data/facts/3.11/ubuntu-16.04-x86_64.facts +86 -86
  377. data/facts/3.11/ubuntu-18.04-x86_64.facts +157 -70
  378. data/facts/3.11/windows-10-i386.facts +176 -0
  379. data/facts/3.11/windows-10-x86_64.facts +176 -0
  380. data/facts/3.11/windows-2012 r2-core-x86_64.facts +174 -0
  381. data/facts/3.11/windows-2012 r2-x86_64.facts +174 -0
  382. data/facts/3.11/windows-2012-x86_64.facts +174 -0
  383. data/facts/3.11/windows-2016-x86_64.facts +176 -0
  384. data/facts/3.11/windows-2019-x86_64.facts +176 -0
  385. data/facts/3.12/centos-6-x86_64.facts +351 -0
  386. data/facts/3.12/centos-7-x86_64.facts +427 -0
  387. data/facts/3.12/darwin-16-x86_64.facts +440 -0
  388. data/facts/3.12/darwin-17-x86_64.facts +461 -0
  389. data/facts/3.12/debian-8-x86_64.facts +452 -0
  390. data/facts/3.12/debian-9-x86_64.facts +472 -0
  391. data/facts/3.12/fedora-28-x86_64.facts +418 -0
  392. data/facts/3.12/fedora-29-x86_64.facts +423 -0
  393. data/facts/3.12/freebsd-11-amd64.facts +493 -0
  394. data/facts/3.12/freebsd-12-amd64.facts +493 -0
  395. data/facts/3.12/linuxmint-18-x86_64.facts +461 -0
  396. data/facts/3.12/linuxmint-19-x86_64.facts +426 -0
  397. data/facts/3.12/openbsd-6.4-x86_64.facts +412 -0
  398. data/facts/3.12/oraclelinux-6-x86_64.facts +351 -0
  399. data/facts/3.12/oraclelinux-7-x86_64.facts +427 -0
  400. data/facts/3.12/redhat-6-x86_64.facts +351 -0
  401. data/facts/3.12/redhat-7-x86_64.facts +427 -0
  402. data/facts/3.12/redhat-8-x86_64.facts +409 -0
  403. data/facts/3.12/scientific-6-x86_64.facts +351 -0
  404. data/facts/3.12/scientific-7-x86_64.facts +427 -0
  405. data/facts/3.12/sles-11-x86_64.facts +368 -0
  406. data/facts/3.12/sles-12-x86_64.facts +789 -0
  407. data/facts/3.12/ubuntu-14.04-x86_64.facts +460 -0
  408. data/facts/3.12/ubuntu-16.04-x86_64.facts +432 -0
  409. data/facts/3.12/ubuntu-18.04-x86_64.facts +432 -0
  410. data/facts/3.12/windows-10-i386.facts +168 -0
  411. data/facts/3.12/windows-10-x86_64.facts +168 -0
  412. data/facts/3.12/windows-2012 r2-core-x86_64.facts +168 -0
  413. data/facts/3.12/windows-2012 r2-x86_64.facts +168 -0
  414. data/facts/3.12/windows-2012-x86_64.facts +168 -0
  415. data/facts/3.12/windows-2016-x86_64.facts +168 -0
  416. data/facts/3.12/windows-2019-x86_64.facts +168 -0
  417. data/facts/3.13/archlinux-x86_64.facts +421 -0
  418. data/facts/3.13/centos-6-x86_64.facts +351 -0
  419. data/facts/3.13/centos-7-x86_64.facts +427 -0
  420. data/facts/3.13/darwin-16-x86_64.facts +423 -0
  421. data/facts/3.13/darwin-17-x86_64.facts +444 -0
  422. data/facts/3.13/darwin-18-x86_64.facts +434 -0
  423. data/facts/3.13/debian-8-x86_64.facts +452 -0
  424. data/facts/3.13/debian-9-x86_64.facts +472 -0
  425. data/facts/3.13/fedora-28-x86_64.facts +418 -0
  426. data/facts/3.13/fedora-29-x86_64.facts +423 -0
  427. data/facts/3.13/freebsd-11-amd64.facts +493 -0
  428. data/facts/3.13/freebsd-12-amd64.facts +493 -0
  429. data/facts/3.13/linuxmint-18-x86_64.facts +461 -0
  430. data/facts/3.13/linuxmint-19-x86_64.facts +426 -0
  431. data/facts/3.13/oraclelinux-6-x86_64.facts +351 -0
  432. data/facts/3.13/oraclelinux-7-x86_64.facts +427 -0
  433. data/facts/3.13/redhat-6-x86_64.facts +351 -0
  434. data/facts/3.13/redhat-7-x86_64.facts +427 -0
  435. data/facts/3.13/redhat-8-x86_64.facts +415 -0
  436. data/facts/3.13/scientific-6-x86_64.facts +351 -0
  437. data/facts/3.13/scientific-7-x86_64.facts +427 -0
  438. data/facts/3.13/sles-11-x86_64.facts +368 -0
  439. data/facts/3.13/sles-12-x86_64.facts +789 -0
  440. data/facts/3.13/ubuntu-14.04-x86_64.facts +460 -0
  441. data/facts/3.13/ubuntu-16.04-x86_64.facts +432 -0
  442. data/facts/3.13/ubuntu-18.04-x86_64.facts +432 -0
  443. data/facts/3.13/windows-10-i386.facts +168 -0
  444. data/facts/3.13/windows-10-x86_64.facts +168 -0
  445. data/facts/3.13/windows-2012 r2-core-x86_64.facts +168 -0
  446. data/facts/3.13/windows-2012 r2-x86_64.facts +168 -0
  447. data/facts/3.13/windows-2012-x86_64.facts +168 -0
  448. data/facts/3.13/windows-2016-x86_64.facts +168 -0
  449. data/facts/3.13/windows-2019-x86_64.facts +168 -0
  450. data/facts/3.14/centos-6-x86_64.facts +351 -0
  451. data/facts/3.14/centos-7-x86_64.facts +427 -0
  452. data/facts/3.14/darwin-16-x86_64.facts +406 -0
  453. data/facts/3.14/darwin-17-x86_64.facts +427 -0
  454. data/facts/3.14/darwin-18-x86_64.facts +417 -0
  455. data/facts/3.14/debian-8-x86_64.facts +452 -0
  456. data/facts/3.14/debian-9-x86_64.facts +472 -0
  457. data/facts/3.14/fedora-28-x86_64.facts +418 -0
  458. data/facts/3.14/fedora-29-x86_64.facts +423 -0
  459. data/facts/3.14/fedora-30-x86_64.facts +423 -0
  460. data/facts/3.14/freebsd-11-amd64.facts +485 -0
  461. data/facts/3.14/freebsd-12-amd64.facts +494 -0
  462. data/facts/3.14/linuxmint-18-x86_64.facts +461 -0
  463. data/facts/3.14/linuxmint-19-x86_64.facts +426 -0
  464. data/facts/3.14/oraclelinux-6-x86_64.facts +351 -0
  465. data/facts/3.14/oraclelinux-7-x86_64.facts +427 -0
  466. data/facts/3.14/redhat-6-x86_64.facts +351 -0
  467. data/facts/3.14/redhat-7-x86_64.facts +427 -0
  468. data/facts/3.14/redhat-8-x86_64.facts +415 -0
  469. data/facts/3.14/scientific-6-x86_64.facts +351 -0
  470. data/facts/3.14/scientific-7-x86_64.facts +427 -0
  471. data/facts/3.14/sles-11-x86_64.facts +368 -0
  472. data/facts/3.14/sles-12-x86_64.facts +789 -0
  473. data/facts/3.14/ubuntu-14.04-x86_64.facts +460 -0
  474. data/facts/3.14/ubuntu-16.04-x86_64.facts +432 -0
  475. data/facts/3.14/ubuntu-18.04-x86_64.facts +432 -0
  476. data/facts/3.14/windows-10-i386.facts +176 -0
  477. data/facts/3.14/windows-10-x86_64.facts +176 -0
  478. data/facts/3.14/windows-2012 r2-core-x86_64.facts +174 -0
  479. data/facts/3.14/windows-2012 r2-x86_64.facts +174 -0
  480. data/facts/3.14/windows-2012-x86_64.facts +174 -0
  481. data/facts/3.14/windows-2016-x86_64.facts +176 -0
  482. data/facts/3.14/windows-2019-x86_64.facts +176 -0
  483. data/facts/3.3/centos-6-x86_64.facts +138 -174
  484. data/facts/3.3/centos-7-x86_64.facts +85 -76
  485. data/facts/3.3/oraclelinux-5-x86_64.facts +93 -107
  486. data/facts/3.3/oraclelinux-6-x86_64.facts +119 -137
  487. data/facts/3.3/oraclelinux-7-x86_64.facts +85 -76
  488. data/facts/3.3/redhat-5-x86_64.facts +92 -79
  489. data/facts/3.3/redhat-6-x86_64.facts +138 -174
  490. data/facts/3.3/redhat-7-x86_64.facts +85 -76
  491. data/facts/3.3/scientific-5-x86_64.facts +96 -83
  492. data/facts/3.3/scientific-6-x86_64.facts +135 -156
  493. data/facts/3.3/scientific-7-x86_64.facts +85 -76
  494. data/facts/3.3/windows-2019-x86_64.facts +160 -0
  495. data/facts/3.4/oraclelinux-5-x86_64.facts +93 -107
  496. data/facts/3.4/oraclelinux-6-x86_64.facts +123 -105
  497. data/facts/3.4/oraclelinux-7-x86_64.facts +99 -109
  498. data/facts/3.4/redhat-5-x86_64.facts +92 -79
  499. data/facts/3.4/redhat-6-x86_64.facts +62 -62
  500. data/facts/3.4/redhat-7-x86_64.facts +110 -111
  501. data/facts/3.4/scientific-5-x86_64.facts +96 -83
  502. data/facts/3.4/scientific-6-x86_64.facts +97 -82
  503. data/facts/3.4/scientific-7-x86_64.facts +85 -85
  504. data/facts/3.4/sles-11-x86_64.facts +146 -149
  505. data/facts/3.4/sles-12-x86_64.facts +507 -136
  506. data/facts/3.4/windows-2019-x86_64.facts +162 -0
  507. data/facts/3.5/oraclelinux-5-x86_64.facts +97 -111
  508. data/facts/3.5/oraclelinux-6-x86_64.facts +129 -110
  509. data/facts/3.5/oraclelinux-7-x86_64.facts +120 -134
  510. data/facts/3.5/redhat-5-x86_64.facts +94 -81
  511. data/facts/3.5/redhat-6-x86_64.facts +63 -63
  512. data/facts/3.5/redhat-7-x86_64.facts +140 -125
  513. data/facts/3.5/scientific-5-x86_64.facts +100 -87
  514. data/facts/3.5/scientific-6-x86_64.facts +97 -82
  515. data/facts/3.5/scientific-7-x86_64.facts +100 -100
  516. data/facts/3.5/sles-11-x86_64.facts +164 -165
  517. data/facts/3.5/sles-12-x86_64.facts +544 -152
  518. data/facts/3.5/windows-2019-x86_64.facts +162 -0
  519. data/facts/3.6/centos-6-x86_64.facts +36 -36
  520. data/facts/3.6/centos-7-x86_64.facts +32 -32
  521. data/facts/3.6/oraclelinux-5-x86_64.facts +97 -111
  522. data/facts/3.6/oraclelinux-6-x86_64.facts +36 -36
  523. data/facts/3.6/oraclelinux-7-x86_64.facts +32 -32
  524. data/facts/{2.4 → 3.6}/pcs-6-x86_64.facts +0 -0
  525. data/facts/3.6/redhat-5-x86_64.facts +92 -79
  526. data/facts/3.6/redhat-6-x86_64.facts +36 -36
  527. data/facts/3.6/redhat-7-x86_64.facts +32 -32
  528. data/facts/3.6/scientific-5-x86_64.facts +100 -87
  529. data/facts/3.6/scientific-6-x86_64.facts +36 -36
  530. data/facts/3.6/scientific-7-x86_64.facts +32 -32
  531. data/facts/3.6/sles-11-x86_64.facts +167 -168
  532. data/facts/3.6/sles-12-x86_64.facts +547 -155
  533. data/facts/3.6/windows-2019-x86_64.facts +162 -0
  534. data/facts/3.7/centos-6-x86_64.facts +143 -180
  535. data/facts/3.7/centos-7-x86_64.facts +146 -162
  536. data/facts/3.7/debian-8-x86_64.facts +203 -222
  537. data/facts/3.7/linuxmint-18-x86_64.facts +450 -0
  538. data/facts/3.7/oraclelinux-5-x86_64.facts +97 -111
  539. data/facts/3.7/oraclelinux-6-x86_64.facts +124 -142
  540. data/facts/3.7/oraclelinux-7-x86_64.facts +176 -206
  541. data/facts/3.7/redhat-5-x86_64.facts +94 -81
  542. data/facts/3.7/redhat-6-x86_64.facts +143 -180
  543. data/facts/3.7/redhat-7-x86_64.facts +187 -188
  544. data/facts/3.7/scientific-5-x86_64.facts +100 -87
  545. data/facts/3.7/scientific-6-x86_64.facts +140 -162
  546. data/facts/3.7/scientific-7-x86_64.facts +154 -170
  547. data/facts/3.7/sles-11-x86_64.facts +164 -165
  548. data/facts/3.7/sles-12-x86_64.facts +549 -157
  549. data/facts/3.7/ubuntu-14.04-x86_64.facts +131 -149
  550. data/facts/3.7/ubuntu-16.04-x86_64.facts +162 -223
  551. data/facts/3.7/windows-2019-x86_64.facts +162 -0
  552. data/facts/3.8/centos-6-x86_64.facts +142 -179
  553. data/facts/3.8/centos-7-x86_64.facts +149 -165
  554. data/facts/3.8/debian-8-x86_64.facts +205 -224
  555. data/facts/3.8/debian-9-x86_64.facts +204 -218
  556. data/facts/3.8/linuxmint-18-x86_64.facts +450 -0
  557. data/facts/3.8/openbsd-6.2-i386.facts +417 -0
  558. data/facts/3.8/openbsd-6.2-x86_64.facts +417 -0
  559. data/facts/3.8/oraclelinux-5-x86_64.facts +98 -112
  560. data/facts/3.8/oraclelinux-6-x86_64.facts +147 -189
  561. data/facts/3.8/oraclelinux-7-x86_64.facts +177 -207
  562. data/facts/3.8/redhat-5-x86_64.facts +92 -79
  563. data/facts/3.8/redhat-6-x86_64.facts +144 -181
  564. data/facts/3.8/redhat-7-x86_64.facts +188 -189
  565. data/facts/3.8/scientific-5-x86_64.facts +99 -86
  566. data/facts/3.8/scientific-6-x86_64.facts +141 -163
  567. data/facts/3.8/scientific-7-x86_64.facts +155 -171
  568. data/facts/3.8/sles-11-x86_64.facts +165 -166
  569. data/facts/3.8/sles-12-x86_64.facts +550 -158
  570. data/facts/3.8/ubuntu-14.04-x86_64.facts +132 -150
  571. data/facts/3.8/ubuntu-16.04-x86_64.facts +163 -224
  572. data/facts/3.8/windows-2019-x86_64.facts +162 -0
  573. data/facts/3.9/{archlinux-4-x86_64.facts → archlinux-x86_64.facts} +0 -0
  574. data/facts/3.9/centos-5-i386.facts +356 -0
  575. data/facts/3.9/centos-5-x86_64.facts +356 -0
  576. data/facts/3.9/centos-6-i386.facts +348 -0
  577. data/facts/3.9/centos-6-x86_64.facts +34 -34
  578. data/facts/3.9/centos-7-x86_64.facts +34 -34
  579. data/facts/3.9/darwin-15-x86_64.facts +415 -0
  580. data/facts/3.9/darwin-16-x86_64.facts +419 -0
  581. data/facts/3.9/darwin-17-x86_64.facts +440 -0
  582. data/facts/3.9/debian-8-x86_64.facts +162 -155
  583. data/facts/3.9/debian-9-x86_64.facts +120 -88
  584. data/facts/3.9/freebsd-11-amd64.facts +123 -123
  585. data/facts/3.9/freebsd-12-amd64.facts +460 -0
  586. data/facts/3.9/linuxmint-18-x86_64.facts +456 -0
  587. data/facts/3.9/oraclelinux-5-x86_64.facts +356 -0
  588. data/facts/3.9/oraclelinux-6-x86_64.facts +34 -34
  589. data/facts/3.9/oraclelinux-7-x86_64.facts +34 -34
  590. data/facts/3.9/redhat-5-i386.facts +356 -0
  591. data/facts/3.9/redhat-5-x86_64.facts +356 -0
  592. data/facts/3.9/redhat-6-i386.facts +348 -0
  593. data/facts/3.9/redhat-6-x86_64.facts +34 -34
  594. data/facts/3.9/redhat-7-x86_64.facts +34 -34
  595. data/facts/3.9/scientific-5-i386.facts +356 -0
  596. data/facts/3.9/scientific-5-x86_64.facts +356 -0
  597. data/facts/3.9/scientific-6-i386.facts +348 -0
  598. data/facts/3.9/scientific-6-x86_64.facts +34 -34
  599. data/facts/3.9/scientific-7-x86_64.facts +34 -34
  600. data/facts/3.9/sles-11-i386.facts +347 -0
  601. data/facts/3.9/sles-11-x86_64.facts +364 -0
  602. data/facts/3.9/sles-12-x86_64.facts +784 -0
  603. data/facts/3.9/{solaris-10-i386.facts → solaris-10-i86pc.facts} +0 -5
  604. data/facts/3.9/ubuntu-14.04-x86_64.facts +34 -34
  605. data/facts/3.9/ubuntu-16.04-x86_64.facts +86 -86
  606. data/facts/3.9/windows-10-i386.facts +166 -0
  607. data/facts/3.9/windows-10-x86_64.facts +166 -0
  608. data/facts/3.9/windows-2012 r2-core-x86_64.facts +166 -0
  609. data/facts/3.9/windows-2012 r2-x86_64.facts +166 -0
  610. data/facts/3.9/windows-2012-x86_64.facts +166 -0
  611. data/facts/3.9/windows-2016-x86_64.facts +166 -0
  612. data/facts/3.9/windows-2019-x86_64.facts +166 -0
  613. data/facts/Vagrantfile +78 -46
  614. data/facts/get_facts.sh +184 -63
  615. data/lib/facterdb/version.rb +1 -1
  616. data/rakelib/rhel_alts.rake +24 -0
  617. data/spec/facterdb_spec.rb +252 -114
  618. data/spec/facts_spec.rb +81 -0
  619. data/spec/spec_helper.rb +9 -2
  620. metadata +328 -45
  621. data/facts/1.6/fedora-26-x86_64.facts +0 -72
  622. data/facts/1.6/solaris-11-x86_64.facts +0 -60
  623. data/facts/1.7/solaris-11-x86_64.facts +0 -80
  624. data/facts/2.0/solaris-11-x86_64.facts +0 -82
  625. data/facts/2.1/solaris-11-x86_64.facts +0 -82
  626. data/facts/2.2/solaris-11-x86_64.facts +0 -105
  627. data/facts/2.4/fedora-20-x86_64.facts +0 -116
  628. data/facts/2.4/fedora-21-x86_64.facts +0 -123
  629. data/facts/2.5/amazon-2017-x86_64.facts +0 -61
  630. data/facts/2.5/archlinux-4-x86_64.facts +0 -98
  631. data/facts/2.5/fedora-20-x86_64.facts +0 -116
  632. data/facts/2.5/fedora-21-x86_64.facts +0 -123
  633. data/facts/3.0/fedora-20-x86_64.facts +0 -116
  634. data/facts/3.0/fedora-21-x86_64.facts +0 -123
  635. data/facts/3.0/fedora-26-x86_64.facts +0 -143
  636. data/facts/3.1/fedora-20-x86_64.facts +0 -116
  637. data/facts/3.1/fedora-21-x86_64.facts +0 -123
  638. data/facts/3.1/fedora-26-x86_64.facts +0 -143
  639. data/facts/3.2/fedora-20-x86_64.facts +0 -116
  640. data/facts/3.2/fedora-21-x86_64.facts +0 -123
  641. data/facts/3.2/fedora-26-x86_64.facts +0 -143
  642. data/facts/3.3/fedora-20-x86_64.facts +0 -116
  643. data/facts/3.3/fedora-21-x86_64.facts +0 -123
  644. data/facts/3.3/fedora-26-x86_64.facts +0 -143
  645. data/facts/3.4/fedora-20-x86_64.facts +0 -116
  646. data/facts/3.4/fedora-21-x86_64.facts +0 -123
  647. data/facts/3.4/fedora-26-x86_64.facts +0 -143
  648. data/facts/3.5/fedora-20-x86_64.facts +0 -116
  649. data/facts/3.5/fedora-21-x86_64.facts +0 -123
  650. data/facts/3.5/fedora-26-x86_64.facts +0 -143
  651. data/facts/3.6/fedora-20-x86_64.facts +0 -116
  652. data/facts/3.6/fedora-21-x86_64.facts +0 -123
  653. data/facts/3.6/fedora-26-x86_64.facts +0 -143
  654. data/facts/3.7/fedora-20-x86_64.facts +0 -116
  655. data/facts/3.7/fedora-21-x86_64.facts +0 -123
  656. data/facts/3.7/fedora-26-x86_64.facts +0 -143
  657. data/facts/3.8/fedora-20-x86_64.facts +0 -116
  658. data/facts/3.8/fedora-21-x86_64.facts +0 -123
  659. data/facts/3.8/fedora-26-x86_64.facts +0 -143
  660. data/facts/3.9/solaris-10-x86_64.facts +0 -679
@@ -0,0 +1,166 @@
1
+ {
2
+ "aio_agent_version": "5.3.8",
3
+ "architecture": "x64",
4
+ "dhcp_servers": {
5
+ "Ethernet0": "10.32.22.10",
6
+ "system": "10.32.22.10"
7
+ },
8
+ "dmi": {
9
+ "manufacturer": "VMware, Inc.",
10
+ "product": {
11
+ "name": "VMware7,1",
12
+ "serial_number": "VMware-42 1a 65 2a a1 3e 6b 5f-55 3e 02 33 74 0e 05 b7"
13
+ }
14
+ },
15
+ "domain": "example.com",
16
+ "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
17
+ "facterversion": "3.9.6",
18
+ "fqdn": "foo.example.com",
19
+ "hardwareisa": "x64",
20
+ "hardwaremodel": "x86_64",
21
+ "hostname": "foo",
22
+ "hypervisors": {
23
+ "vmware": {
24
+
25
+ }
26
+ },
27
+ "id": "K2PIKVP2I4KJ0UP\\Administrator",
28
+ "identity": {
29
+ "privileged": true,
30
+ "user": "K2PIKVP2I4KJ0UP\\Administrator"
31
+ },
32
+ "interfaces": "Ethernet0",
33
+ "ipaddress": "10.16.112.107",
34
+ "ipaddress6": "fe80::880d:c1b2:b168:3062%4",
35
+ "ipaddress6_Ethernet0": "fe80::880d:c1b2:b168:3062%4",
36
+ "ipaddress_Ethernet0": "10.16.112.107",
37
+ "is_virtual": true,
38
+ "kernel": "windows",
39
+ "kernelmajversion": "10.0",
40
+ "kernelrelease": "10.0.17763",
41
+ "kernelversion": "10.0.17763",
42
+ "macaddress": "00:50:56:9A:3B:9B",
43
+ "macaddress_Ethernet0": "00:50:56:9A:3B:9B",
44
+ "manufacturer": "VMware, Inc.",
45
+ "memory": {
46
+ "system": {
47
+ "available": "2.76 GiB",
48
+ "available_bytes": 2959282176,
49
+ "capacity": "31.08%",
50
+ "total": "4.00 GiB",
51
+ "total_bytes": 4293898240,
52
+ "used": "1.24 GiB",
53
+ "used_bytes": 1334616064
54
+ }
55
+ },
56
+ "memoryfree": "2.76 GiB",
57
+ "memoryfree_mb": 2822.19140625,
58
+ "memorysize": "4.00 GiB",
59
+ "memorysize_mb": 4094.98046875,
60
+ "mtu_Ethernet0": 1500,
61
+ "netmask": "255.255.240.0",
62
+ "netmask6": "ffff:ffff:ffff:ffff::",
63
+ "netmask6_Ethernet0": "ffff:ffff:ffff:ffff::",
64
+ "netmask_Ethernet0": "255.255.240.0",
65
+ "network": "10.16.112.0",
66
+ "network6": "fe80::%4",
67
+ "network6_Ethernet0": "fe80::%4",
68
+ "network_Ethernet0": "10.16.112.0",
69
+ "networking": {
70
+ "dhcp": "10.32.22.10",
71
+ "domain": "example.com",
72
+ "fqdn": "foo.example.com",
73
+ "hostname": "foo",
74
+ "interfaces": {
75
+ "Ethernet0": {
76
+ "bindings": [
77
+ {
78
+ "address": "10.16.112.107",
79
+ "netmask": "255.255.240.0",
80
+ "network": "10.16.112.0"
81
+ }
82
+ ],
83
+ "bindings6": [
84
+ {
85
+ "address": "fe80::880d:c1b2:b168:3062%4",
86
+ "netmask": "ffff:ffff:ffff:ffff::",
87
+ "network": "fe80::%4"
88
+ }
89
+ ],
90
+ "dhcp": "10.32.22.10",
91
+ "ip": "10.16.112.107",
92
+ "ip6": "fe80::880d:c1b2:b168:3062%4",
93
+ "mac": "00:50:56:9A:3B:9B",
94
+ "mtu": 1500,
95
+ "netmask": "255.255.240.0",
96
+ "netmask6": "ffff:ffff:ffff:ffff::",
97
+ "network": "10.16.112.0",
98
+ "network6": "fe80::%4"
99
+ }
100
+ },
101
+ "ip": "10.16.112.107",
102
+ "ip6": "fe80::880d:c1b2:b168:3062%4",
103
+ "mac": "00:50:56:9A:3B:9B",
104
+ "mtu": 1500,
105
+ "netmask": "255.255.240.0",
106
+ "netmask6": "ffff:ffff:ffff:ffff::",
107
+ "network": "10.16.112.0",
108
+ "network6": "fe80::%4",
109
+ "primary": "Ethernet0"
110
+ },
111
+ "operatingsystem": "windows",
112
+ "operatingsystemmajrelease": "2016",
113
+ "operatingsystemrelease": "2016",
114
+ "os": {
115
+ "architecture": "x64",
116
+ "family": "windows",
117
+ "hardware": "x86_64",
118
+ "name": "windows",
119
+ "release": {
120
+ "full": "2016",
121
+ "major": "2016"
122
+ },
123
+ "windows": {
124
+ "system32": "C:\\Windows\\system32"
125
+ }
126
+ },
127
+ "osfamily": "windows",
128
+ "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin64\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Packer\\SysInternals;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PowerShell\\6;C:\\Users\\cyg_server\\AppData\\Local\\Microsoft\\WindowsApps",
129
+ "physicalprocessorcount": 2,
130
+ "processor0": "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
131
+ "processor1": "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
132
+ "processorcount": 2,
133
+ "processors": {
134
+ "count": 2,
135
+ "isa": "x64",
136
+ "models": [
137
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz",
138
+ "Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz"
139
+ ],
140
+ "physicalcount": 2
141
+ },
142
+ "productname": "VMware7,1",
143
+ "puppetversion": "5.3.7",
144
+ "ruby": {
145
+ "platform": "x64-mingw32",
146
+ "sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
147
+ "version": "2.4.4"
148
+ },
149
+ "rubyplatform": "x64-mingw32",
150
+ "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.4.0",
151
+ "rubyversion": "2.4.4",
152
+ "serialnumber": "VMware-42 1a 65 2a a1 3e 6b 5f-55 3e 02 33 74 0e 05 b7",
153
+ "system32": "C:\\Windows\\system32",
154
+ "system_uptime": {
155
+ "days": 0,
156
+ "hours": 1,
157
+ "seconds": 4764,
158
+ "uptime": "1:19 hours"
159
+ },
160
+ "timezone": "Coordinated Universal Time",
161
+ "uptime": "1:19 hours",
162
+ "uptime_days": 0,
163
+ "uptime_hours": 1,
164
+ "uptime_seconds": 4764,
165
+ "virtual": "vmware"
166
+ }
data/facts/Vagrantfile CHANGED
@@ -7,6 +7,9 @@ VAGRANTFILE_API_VERSION = "2"
7
7
  Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
8
8
 
9
9
  config.vm.hostname = "foo.example.com"
10
+ config.vm.provider "virtualbox" do |v|
11
+ v.gui = false
12
+ end
10
13
 
11
14
  config.vm.define "debian-6-x86_64" do |host|
12
15
  host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
@@ -34,6 +37,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
34
37
  host.vm.provision "shell", path: "get_facts.sh"
35
38
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
36
39
  end
40
+ config.vm.define "debian-10-x86_64" do |host|
41
+ host.vm.box = "debian/contrib-buster64"
42
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
43
+ host.vm.provision "shell", path: "get_facts.sh"
44
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
45
+ end
37
46
  config.vm.define "ubuntu-10.04-x86_64" do |host|
38
47
  host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
39
48
  host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
@@ -76,13 +85,20 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
76
85
  host.vm.provision "shell", path: "get_facts.sh"
77
86
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
78
87
  end
79
- config.vm.define "mint-18.1-x86_64" do |host|
88
+ config.vm.define "linuxmint-18-x86_64" do |host|
80
89
  host.vm.box = "artem-sidorenko/mint-18.1-cinnamon"
81
90
  host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev libc6-dev"
82
91
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
83
92
  host.vm.provision "shell", path: "get_facts.sh"
84
93
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
85
94
  end
95
+ config.vm.define "linuxmint-19-x86_64" do |host|
96
+ host.vm.box = "ltsp/linuxmint-19.1-cinnamon-64bit"
97
+ host.vm.provision "shell", inline: "export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ruby ruby-dev libc6-dev"
98
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
99
+ host.vm.provision "shell", path: "get_facts.sh"
100
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
101
+ end
86
102
  config.vm.define "ubuntu-16.04-x86_64" do |host|
87
103
  host.vm.box = "ubuntu/xenial64"
88
104
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
@@ -113,6 +129,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
113
129
  host.vm.provision "shell", path: "get_facts.sh"
114
130
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
115
131
  end
132
+ config.vm.define "redhat-8-x86_64" do |host|
133
+ host.vm.box = "generic/rhel8"
134
+ host.vm.synced_folder ".", "/vagrant"
135
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
136
+ host.vm.provision "shell", path: "get_facts.sh"
137
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
138
+ end
116
139
  config.vm.define "fedora-19-x86_64" do |host|
117
140
  host.vm.box = "chef/fedora-19"
118
141
  host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
@@ -163,6 +186,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
163
186
  host.vm.provision "shell", path: "get_facts.sh"
164
187
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
165
188
  end
189
+ config.vm.define "fedora-29-x86_64" do |host|
190
+ host.vm.box = "bento/fedora-29"
191
+ host.vm.synced_folder ".", "/vagrant"
192
+ host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
193
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
194
+ host.vm.provision "shell", path: "get_facts.sh"
195
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
196
+ end
197
+ config.vm.define "fedora-30-x86_64" do |host|
198
+ host.vm.box = "bento/fedora-30"
199
+ host.vm.synced_folder ".", "/vagrant"
200
+ host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
201
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
202
+ host.vm.provision "shell", path: "get_facts.sh"
203
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
204
+ end
166
205
  config.vm.define "archlinux-x86_64" do |host|
167
206
  host.vm.box = "archlinux/archlinux"
168
207
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
@@ -171,14 +210,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
171
210
  end
172
211
  config.vm.define "sles-11sp1-x86_64" do |host|
173
212
  host.vm.box = "suse/sles11sp3"
174
- host.vm.provision "shell", inline: "gem update --system"
213
+ host.vm.network "private_network", ip: "192.168.123.2"
214
+ host.vm.synced_folder ".", "/vagrant", type: "nfs"
175
215
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
176
216
  host.vm.provision "shell", path: "get_facts.sh"
177
217
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
178
218
  end
179
219
  config.vm.define "sles-12sp1-x86_64" do |host|
180
- host.vm.box = "suse/sles12sp1"
181
- host.vm.provision "shell", inline: "gem update --system"
220
+ host.vm.box = "idar/sles12sp3"
182
221
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
183
222
  host.vm.provision "shell", path: "get_facts.sh"
184
223
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
@@ -221,34 +260,28 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
221
260
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
222
261
  host.vm.provision "shell", path: "get_facts.sh"
223
262
  end
224
- config.vm.define "freebsd-11-x86_64" do |host|
225
- host.vm.box = "bento/freebsd-11.1"
226
- host.ssh.shell = '/bin/sh'
227
- host.vm.network :private_network, ip: '10.0.0.2'
228
- host.vm.synced_folder ".", "/vagrant", :nfs => true
229
- host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
263
+ config.vm.define "opensuse-15.0-x86_64" do |host|
264
+ host.vm.box = "opensuse/openSUSE-15.0-x86_64"
230
265
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
231
266
  host.vm.provision "shell", path: "get_facts.sh"
232
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
233
267
  end
234
- config.vm.define "freebsd-10-x86_64" do |host|
235
- host.vm.box = "bento/freebsd-10.3"
236
- host.vm.network :private_network, ip: '10.0.0.2'
237
- host.vm.synced_folder ".", "/vagrant", :nfs => true
238
- host.vm.provision "shell", inline: "pkg install -y devel/ruby-gems"
268
+ config.vm.define "freebsd-12-x86_64" do |host|
269
+ host.vm.box = "bento/freebsd-12.0"
270
+ host.vm.synced_folder ".", "/vagrant"
271
+ host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
272
+ host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
239
273
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
240
274
  host.vm.provision "shell", path: "get_facts.sh"
241
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
275
+ host.vm.provision "shell", inline: "/sbin/shutdown -p now"
242
276
  end
243
- config.vm.define "freebsd-9-x86_64" do |host|
244
- host.vm.box = "chef/freebsd-9.2"
245
- host.vm.network :private_network, ip: '10.0.0.2'
246
- host.vm.synced_folder ".", "/vagrant", :nfs => true
247
- host.ssh.shell = '/bin/sh'
248
- host.vm.provision "shell", inline: "pkg_add -F -r ruby19-gems"
277
+ config.vm.define "freebsd-11-x86_64" do |host|
278
+ host.vm.box = "bento/freebsd-11.2"
279
+ host.vm.synced_folder ".", "/vagrant"
280
+ host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
281
+ host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
249
282
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
250
283
  host.vm.provision "shell", path: "get_facts.sh"
251
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
284
+ host.vm.provision "shell", inline: "/sbin/shutdown -p now"
252
285
  end
253
286
  config.vm.define "gentoo-x86_64" do |host|
254
287
  host.vm.box = "generic/gentoo"
@@ -266,8 +299,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
266
299
  host.vm.provision "shell", path: "get_facts.sh"
267
300
  host.vm.provision "shell", inline: "/sbin/shutdown -i S -g0 -y 'Bye' &"
268
301
  end
269
- config.vm.define "openbsd-5.9-x86_64" do |host|
270
- host.vm.box = "bodgit/openbsd-5.9-amd64"
302
+ config.vm.define "openbsd-6.2-x86_64" do |host|
303
+ host.vm.box = "bodgit/openbsd-6.2-amd64"
271
304
  host.vm.network :private_network, ip: '10.0.0.2'
272
305
  host.vm.synced_folder ".", "/vagrant", :nfs => true
273
306
  host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
@@ -275,23 +308,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
275
308
 
276
309
  pkg_info -qe 'bash->=0' || pkg_add -I bash
277
310
  ln -sf /usr/local/bin/bash /bin
278
-
279
- pkg_info -qe 'facter->=2.4.6' || pkg_add -I facter-2.4.6
280
- ln -sf /usr/local/bin/ruby22 /usr/local/bin/ruby
281
- ln -sf /usr/local/bin/erb22 /usr/local/bin/erb
282
- ln -sf /usr/local/bin/irb22 /usr/local/bin/irb
283
- ln -sf /usr/local/bin/rdoc22 /usr/local/bin/rdoc
284
- ln -sf /usr/local/bin/ri22 /usr/local/bin/ri
285
- ln -sf /usr/local/bin/rake22 /usr/local/bin/rake
286
- ln -sf /usr/local/bin/gem22 /usr/local/bin/gem
287
- ln -sf /usr/local/bin/testrb22 /usr/local/bin/testrb
288
311
  SCRIPT
289
312
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
290
313
  host.vm.provision "shell", path: "get_facts.sh"
291
314
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
292
315
  end
293
- config.vm.define "openbsd-6.0-x86_64" do |host|
294
- host.vm.box = "bodgit/openbsd-6.0-amd64"
316
+ config.vm.define "openbsd-6.3-x86_64" do |host|
317
+ host.vm.box = "bodgit/openbsd-6.3-amd64"
295
318
  host.vm.network :private_network, ip: '10.0.0.2'
296
319
  host.vm.synced_folder ".", "/vagrant", :nfs => true
297
320
  host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
@@ -299,15 +322,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
299
322
 
300
323
  pkg_info -qe 'bash->=0' || pkg_add -I bash
301
324
  ln -sf /usr/local/bin/bash /bin
325
+ SCRIPT
326
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
327
+ host.vm.provision "shell", path: "get_facts.sh"
328
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
329
+ end
330
+ config.vm.define "openbsd-6.4-x86_64" do |host|
331
+ host.vm.box = "generic/openbsd6"
332
+ host.vm.box_version = "~> 1.9.18"
333
+ host.vm.network :private_network, ip: '10.0.0.2'
334
+ host.vm.synced_folder ".", "/vagrant", :nfs => true
335
+ host.vm.provision "shell", inline: <<-SCRIPT.gsub(/^ +/, '')
336
+ . ~/.profile
302
337
 
303
- pkg_info -qe 'facter->=2.4.6' || pkg_add -I facter-2.4.6p0
304
- ln -sf /usr/local/bin/ruby22 /usr/local/bin/ruby
305
- ln -sf /usr/local/bin/erb22 /usr/local/bin/erb
306
- ln -sf /usr/local/bin/irb22 /usr/local/bin/irb
307
- ln -sf /usr/local/bin/rdoc22 /usr/local/bin/rdoc
308
- ln -sf /usr/local/bin/ri22 /usr/local/bin/ri
309
- ln -sf /usr/local/bin/rake22 /usr/local/bin/rake
310
- ln -sf /usr/local/bin/gem22 /usr/local/bin/gem
338
+ pkg_info -qe 'bash->=0' || pkg_add bash
339
+ ln -sf /usr/local/bin/bash /bin
340
+ pkg_add facter puppet-5.5.6
341
+ ln -sf /usr/local/bin/gem24 /usr/bin/gem
342
+ ln -sf /usr/local/bin/ruby24 /usr/bin/ruby
311
343
  SCRIPT
312
344
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
313
345
  host.vm.provision "shell", path: "get_facts.sh"
data/facts/get_facts.sh CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
3
  export PATH=/opt/puppetlabs/bin:$PATH
4
4
 
@@ -6,6 +6,14 @@ if test -f /usr/bin/zypper; then
6
6
  zypper --non-interactive --gpg-auto-import-keys refresh
7
7
  zypper --non-interactive install ruby-devel
8
8
  osfamily='Suse'
9
+ # This is Leap which is based on SLES 12
10
+ if [[ `cat /etc/os-release |grep -e '^VERSION="42' -c` == 1 ]]; then
11
+ operatingsystemmajrelease=12
12
+ elif test -r /etc/os-release; then
13
+ operatingsystemmajrelease=$(. /etc/os-release ; echo ${VERSION} | cut -d. -f1 | cut -d - -f1)
14
+ else
15
+ operatingsystemmajrelease=$(cat /etc/SuSE-release | grep ^VERSION | cut -d' ' -f3)
16
+ fi
9
17
  elif test -f /usr/bin/apt-get; then
10
18
  apt-get update
11
19
  apt-get install -y lsb-release
@@ -13,7 +21,7 @@ elif test -f /usr/bin/apt-get; then
13
21
  operatingsystem=$(lsb_release -si)
14
22
  operatingsystemmajrelease=$(lsb_release -sr)
15
23
  osfamily='Debian'
16
- elif test -f /usr/bin/dnf; then
24
+ elif test -f /usr/bin/dnf -a ! -f /sbin/rhn_register; then
17
25
  operatingsystemmajrelease=$(cat /etc/redhat-release | cut -d' ' -f3 )
18
26
  osfamily='Fedora'
19
27
  elif test -f /usr/bin/yum; then
@@ -36,103 +44,213 @@ case "${osfamily}" in
36
44
  if [[ "${?}" == 0 ]]; then
37
45
  for puppet_agent_version in 1.5.3-1 1.6.0-1 1.6.1-1 1.6.2-1 1.7.0-1 1.10.12-1; do
38
46
  dnf install -y "puppet-agent-${puppet_agent_version}.fedoraf${operatingsystemmajrelease}"
39
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
40
- mkdir -p $(dirname ${output_file})
41
- facter --show-legacy -p -j | tee ${output_file}
47
+ if [[ "${?}" == 0 ]]; then
48
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
49
+ mkdir -p $(dirname ${output_file})
50
+ facter --show-legacy -p -j | tee ${output_file}
51
+ fi
42
52
  done
43
53
  yum remove -y puppetlabs-release-pc1
44
54
  fi
45
55
  # Puppet 5
46
56
  yum install -y "https://yum.puppetlabs.com/puppet5/puppet5-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
47
- for puppet_agent_version in 5.3.1-1 5.3.2-1 5.3.3-1 5.3.4-1 5.3.5-1 5.4.0-1 5.5.6-1; do
48
- # Package naming changed with Fedora 28
49
- [[ ${operatingsystemmajrelease} -ge 28 ]] && osprefix='fc' || osprefix='fedoraf'
50
- echo dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
51
- dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
52
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
53
- echo "Outputfile: $output_file"
54
- mkdir -p $(dirname ${output_file})
55
- facter --show-legacy -p -j | tee ${output_file}
56
- done
57
-
57
+ if [[ "${?}" == 0 ]]; then
58
+ for puppet_agent_version in 5.3.1-1 5.3.2-1 5.3.3-1 5.3.4-1 5.3.5-1 5.4.0-1 5.5.16-1; do
59
+ # Package naming changed with Fedora 28
60
+ [[ ${operatingsystemmajrelease} -ge 28 ]] && osprefix='fc' || osprefix='fedoraf'
61
+ echo dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
62
+ dnf install -y "puppet-agent-${puppet_agent_version}.${osprefix}${operatingsystemmajrelease}"
63
+ if [[ "${?}" == 0 ]]; then
64
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
65
+ echo "Outputfile: $output_file"
66
+ mkdir -p $(dirname ${output_file})
67
+ facter --show-legacy -p -j | tee ${output_file}
68
+ fi
69
+ done
70
+ yum remove -y puppet5-release
71
+ fi
72
+ yum install -y "https://yum.puppetlabs.com/puppet6-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
73
+ if [[ "${?}" == 0 ]]; then
74
+ for puppet_agent_version in 6.2.0-1 6.4.2-1 6.6.0-1; do
75
+ dnf install -y "puppet-agent-${puppet_agent_version}.fc${operatingsystemmajrelease}"
76
+ if [[ "${?}" == 0 ]]; then
77
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
78
+ mkdir -p $(dirname ${output_file})
79
+ facter --show-legacy -p -j | tee ${output_file}
80
+ fi
81
+ done
82
+ yum remove -y puppet6-release
83
+ fi
58
84
  ;;
59
85
  'RedHat')
60
- wget "https://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppetlabs-release-pc1.rpm
61
- rpm -ivh /tmp/puppetlabs-release-pc1.rpm
62
- for puppet_agent_version in 1.2.2 1.4.2 1.5.3 1.10.4; do
63
- yum install -y puppet-agent-${puppet_agent_version}
64
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
65
- mkdir -p $(dirname ${output_file})
66
- facter --show-legacy -p -j | tee ${output_file}
67
- done
86
+ if [[ ${operatingsystemmajrelease} -eq 5 ]]; then
87
+ # CentOS 5 can no longer wget the release file with HTTPS due to mis-matched SSL support:
88
+ http_method='http'
89
+ # The default CentOS repositories no longer work and prevent yum from working:
90
+ rm -f /etc/yum.repos.d/CentOS*
91
+ else
92
+ http_method='https'
93
+ fi
94
+ wget "${http_method}://yum.puppetlabs.com/puppetlabs-release-pc1-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppetlabs-release-pc1.rpm
95
+ if test -f /tmp/puppetlabs-release-pc1.rpm; then
96
+ rpm -ivh /tmp/puppetlabs-release-pc1.rpm
97
+ for puppet_agent_version in 1.2.2 1.4.2 1.5.3 1.10.4; do
98
+ if yum install -y puppet-agent-${puppet_agent_version}; then
99
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
100
+ mkdir -p $(dirname ${output_file})
101
+ facter --show-legacy -p -j | tee ${output_file}
102
+ fi
103
+ done
104
+ yum remove -y puppetlabs-release-pc1
105
+ fi
68
106
  wget "http://yum.puppetlabs.com/puppet5/puppet5-release-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppet5-release.rpm
69
- rpm -ivh /tmp/puppet5-release.rpm
70
- for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.3; do
71
- yum install -y puppet-agent-${puppet_agent_version}
72
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
73
- mkdir -p $(dirname ${output_file})
74
- facter --show-legacy -p -j | tee ${output_file}
75
- done
107
+ if test -f /tmp/puppet5-release.rpm; then
108
+ rpm -ivh /tmp/puppet5-release.rpm
109
+ for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.16; do
110
+ if yum install -y puppet-agent-${puppet_agent_version}; then
111
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
112
+ mkdir -p $(dirname ${output_file})
113
+ facter --show-legacy -p -j | tee ${output_file}
114
+ fi
115
+ done
116
+ yum remove -y puppet5-release
117
+ fi
118
+ wget "http://yum.puppetlabs.com/puppet6-release-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppet6-release.rpm
119
+ if test -f /tmp/puppet6-release.rpm; then
120
+ rpm -ivh /tmp/puppet6-release.rpm
121
+ for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
122
+ if yum install -y puppet-agent-${puppet_agent_version}; then
123
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
124
+ mkdir -p $(dirname ${output_file})
125
+ facter --show-legacy -p -j | tee ${output_file}
126
+ fi
127
+ done
128
+ yum remove -y puppet6-release
129
+ fi
76
130
  ;;
77
131
 
78
132
  'Debian')
79
- if [[ "xenial" =~ ${lsbdistcodename} ]]; then
80
- lsbdistcodename='wily'
81
- fi
82
133
  if [[ "serena" =~ ${lsbdistcodename} ]]; then
83
134
  lsbdistcodename='xenial'
84
135
  fi
136
+ if [[ "tessa" =~ ${lsbdistcodename} ]]; then
137
+ lsbdistcodename='bionic'
138
+ fi
85
139
  apt-get install -y wget
86
140
  wget "https://apt.puppetlabs.com/puppetlabs-release-pc1-${lsbdistcodename}.deb" -O /tmp/puppetlabs-release-pc1.deb
87
- dpkg --install /tmp/puppetlabs-release-pc1.deb
88
- apt-get update
89
- for puppet_agent_version in 1.2.2 1.4.2 1.5.3; do
90
- apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*
91
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
92
- mkdir -p $(dirname ${output_file})
93
- facter --show-legacy -p -j | tee ${output_file}
94
- done
141
+ if test -f /tmp/puppetlabs-release.deb; then
142
+ dpkg --install /tmp/puppetlabs-release-pc1.deb
143
+ apt-get update
144
+ for puppet_agent_version in 1.2.2 1.4.2 1.5.3; do
145
+ if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
146
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
147
+ mkdir -p $(dirname ${output_file})
148
+ facter --show-legacy -p -j | tee ${output_file}
149
+ fi
150
+ done
151
+ apt-get -y remove --purge puppetlabs-release-pc1
152
+ fi
95
153
  wget "https://apt.puppetlabs.com/puppet5-release-${lsbdistcodename}.deb" -O /tmp/puppet5-release.deb
96
- dpkg --install /tmp/puppet5-release.deb
97
- apt-get update
98
- for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.3; do
99
- apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*
154
+ if test -f /tmp/puppet5-release.deb; then
155
+ dpkg --install /tmp/puppet5-release.deb
156
+ apt-get update
157
+ for puppet_agent_version in 5.0.1 5.1.0 5.3.7 5.4.0 5.5.3; do
158
+ if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
159
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
160
+ mkdir -p $(dirname ${output_file})
161
+ facter --show-legacy -p -j | tee ${output_file}
162
+ fi
163
+ done
164
+ apt-get -y remove --purge puppet5-release
165
+ fi
166
+ wget "https://apt.puppetlabs.com/puppet6-release-${lsbdistcodename}.deb" -O /tmp/puppet6-release.deb
167
+ if test -f /tmp/puppet6-release.deb; then
168
+ dpkg --install /tmp/puppet6-release.deb
169
+ apt-get update
170
+ for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
171
+ if apt-get -y --force-yes install puppet-agent=${puppet_agent_version}*; then
172
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
173
+ mkdir -p $(dirname ${output_file})
174
+ facter --show-legacy -p -j | tee ${output_file}
175
+ fi
176
+ done
177
+ apt-get -y remove --purge puppet6-release
178
+ fi
179
+ apt-get install -y make gcc libgmp-dev
180
+
181
+ # There are no puppet-agent packages for Buster yet, so generate a Facter 3.x
182
+ # fact set from the official Debian package.
183
+ if [[ "buster" = "${lsbdistcodename}" ]]; then
184
+ apt-get install -y ruby rubygems ruby-dev puppet facter
100
185
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
101
186
  mkdir -p $(dirname ${output_file})
102
187
  facter --show-legacy -p -j | tee ${output_file}
103
- done
104
- apt-get install -y make gcc libgmp-dev
188
+ fi
105
189
  ;;
106
190
  'FreeBSD')
107
191
  pkg update
108
- pkg install -y sysutils/puppet5 sysutils/facter
192
+ pkg install -y sysutils/puppet5 sysutils/facter sysutils/rubygem-bundler
193
+ # something about the pkg update process causes the shared folder mount to
194
+ # get into an unusable state, so we remount it here before generating any
195
+ # fact sets.
196
+ umount /vagrant
197
+ mount -t vboxvfs Vagrant /vagrant
109
198
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
110
199
  mkdir -p $(dirname ${output_file})
111
200
  [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
112
201
  ;;
202
+ 'OpenBSD')
203
+ hardwaremodel=$(facter hardwaremodel)
204
+ [ "${hardwaremodel}" = 'amd64' ] && hardwaremodel=x86_64
205
+ # Vagrant box should already have puppet & facter installed
206
+ output_file="/vagrant/$(facter --version | cut -d. -f1-2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemrelease)-${hardwaremodel}.facts"
207
+ mkdir -p $(dirname ${output_file})
208
+ [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
209
+ ;;
113
210
  'Suse')
114
- if [[ `cat /etc/os-release |grep -e '^VERSION="42' -c` == 1 ]]; then
115
- # This is Leap which is based on SLES 12
116
- rpm -Uvh https://yum.puppet.com/puppetlabs-release-pc1-sles-12.noarch.rpm
211
+ if [[ ${operatingsystemmajrelease} -lt 12 ]]; then
212
+ # SLES 11 can no longer wget the release file with HTTPS due to mis-matched SSL support:
213
+ http_method='http'
214
+ else
215
+ http_method='https'
216
+ fi
217
+ if rpm -Uvh ${http_method}://yum.puppet.com/puppetlabs-release-pc1-sles-${operatingsystemmajrelease}.noarch.rpm; then
117
218
  zypper --gpg-auto-import-keys --non-interactive refresh
118
219
  for puppet_agent_version in 1.6.2 1.7.2 1.8.3 1.9.3 1.10.8; do
119
- zypper --non-interactive install puppet-agent-${puppet_agent_version}
120
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
121
- mkdir -p $(dirname ${output_file})
122
- facter --show-legacy -p -j | tee ${output_file}
220
+ if zypper --non-interactive install puppet-agent-${puppet_agent_version}; then
221
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
222
+ mkdir -p $(dirname ${output_file})
223
+ facter --show-legacy -p -j | tee ${output_file}
224
+ fi
123
225
  done
124
226
  zypper --non-interactive remove puppetlabs-release-pc1
125
- rpm -Uvh https://yum.puppet.com/puppet5/puppet5-release-sles-12.noarch.rpm
126
- for puppet_agent_version in 5.0.1 5.1.0 5.2.0 5.3.2; do
127
- zypper --non-interactive install puppet-agent-${puppet_agent_version}
128
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
129
- mkdir -p $(dirname ${output_file})
130
- facter --show-legacy -p -j | tee ${output_file}
227
+ fi
228
+ if rpm -Uvh ${http_method}://yum.puppet.com/puppet5/puppet5-release-sles-${operatingsystemmajrelease}.noarch.rpm; then
229
+ for puppet_agent_version in 5.0.1 5.1.0 5.2.0 5.3.2 5.4.0 5.5.16; do
230
+ if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
231
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
232
+ mkdir -p $(dirname ${output_file})
233
+ facter --show-legacy -p -j | tee ${output_file}
234
+ fi
235
+ done
236
+ zypper --non-interactive remove puppet5-release
237
+ fi
238
+ if rpm -Uvh ${http_method}://yum.puppet.com/puppet6-release-sles-${operatingsystemmajrelease}.noarch.rpm; then
239
+ for puppet_agent_version in 6.2.0 6.4.2 6.6.0; do
240
+ if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
241
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
242
+ mkdir -p $(dirname ${output_file})
243
+ facter --show-legacy -p -j | tee ${output_file}
244
+ fi
131
245
  done
246
+ zypper --non-interactive remove puppet6-release
132
247
  fi
133
248
  ;;
134
249
  'Archlinux')
135
- pacman -Syu --noconfirm ruby puppet ruby-bundler
250
+ pacman -Syu --noconfirm ruby puppet ruby-bundler base-devel dnsutils facter
251
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
252
+ mkdir -p $(dirname ${output_file})
253
+ facter --show-legacy -p -j | tee ${output_file}
136
254
  ;;
137
255
  'Gentoo')
138
256
  emerge -vq1 dev-lang/ruby dev-ruby/bundler app-admin/puppet
@@ -155,6 +273,9 @@ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0; do
155
273
  openbsd)
156
274
  output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
157
275
  ;;
276
+ archlinux)
277
+ output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${hardwaremodel}.facts"
278
+ ;;
158
279
  *)
159
280
  output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
160
281
  ;;