facterdb 3.0.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/.github/release.yml +41 -0
  3. data/.github/workflows/pages.yml +5 -5
  4. data/.github/workflows/release.yml +92 -21
  5. data/.github/workflows/test.yml +13 -15
  6. data/.rubocop_todo.yml +14 -18
  7. data/CHANGELOG.md +173 -0
  8. data/Gemfile +6 -7
  9. data/README.md +4 -20
  10. data/bin/legacy-facts-striper +18 -7
  11. data/facterdb.gemspec +3 -4
  12. data/facts/4.0/almalinux-8-x86_64.facts +0 -25
  13. data/facts/4.0/almalinux-9-x86_64.facts +0 -25
  14. data/facts/4.0/debian-11-x86_64.facts +0 -28
  15. data/facts/4.0/freebsd-11-x86_64.facts +0 -12
  16. data/facts/4.0/freebsd-12-x86_64.facts +0 -12
  17. data/facts/4.0/freebsd-13-x86_64.facts +0 -12
  18. data/facts/4.0/opensuse-15-x86_64.facts +0 -27
  19. data/facts/4.0/oraclelinux-7-x86_64.facts +1 -111
  20. data/facts/4.0/redhat-8-x86_64.facts +0 -25
  21. data/facts/4.0/rocky-8-x86_64.facts +0 -19
  22. data/facts/4.0/rocky-9-x86_64.facts +0 -25
  23. data/facts/4.0/scientific-7-x86_64.facts +1 -112
  24. data/facts/4.0/solaris-11-sun4v.facts +0 -40
  25. data/facts/4.0/ubuntu-18.04-x86_64.facts +0 -28
  26. data/facts/4.0/ubuntu-20.04-x86_64.facts +0 -28
  27. data/facts/4.0/ubuntu-21.04-x86_64.facts +0 -28
  28. data/facts/4.0/ubuntu-21.10-x86_64.facts +0 -28
  29. data/facts/4.1/almalinux-8-x86_64.facts +0 -25
  30. data/facts/4.1/almalinux-9-x86_64.facts +0 -25
  31. data/facts/4.1/debian-11-x86_64.facts +0 -28
  32. data/facts/4.1/freebsd-11-x86_64.facts +0 -12
  33. data/facts/4.1/freebsd-12-x86_64.facts +0 -12
  34. data/facts/4.1/freebsd-13-x86_64.facts +0 -12
  35. data/facts/4.1/opensuse-15-x86_64.facts +0 -27
  36. data/facts/4.1/redhat-8-x86_64.facts +0 -25
  37. data/facts/4.1/rocky-8-x86_64.facts +0 -19
  38. data/facts/4.1/rocky-9-x86_64.facts +0 -25
  39. data/facts/4.1/ubuntu-18.04-x86_64.facts +0 -28
  40. data/facts/4.1/ubuntu-20.04-x86_64.facts +0 -28
  41. data/facts/4.1/ubuntu-21.04-x86_64.facts +0 -28
  42. data/facts/4.1/ubuntu-21.10-x86_64.facts +0 -28
  43. data/facts/4.10/almalinux-10-x86_64.facts +576 -0
  44. data/facts/4.10/almalinux-8-x86_64.facts +536 -0
  45. data/facts/4.10/almalinux-9-x86_64.facts +587 -0
  46. data/facts/4.10/amazon-2-x86_64.facts +265 -0
  47. data/facts/4.10/centos-10-x86_64.facts +495 -0
  48. data/facts/4.10/centos-9-x86_64.facts +518 -0
  49. data/facts/4.10/debian-11-x86_64.facts +440 -0
  50. data/facts/4.10/debian-12-x86_64.facts +521 -0
  51. data/facts/4.10/debian-13-x86_64.facts +514 -0
  52. data/facts/4.10/fedora-40-x86_64.facts +470 -0
  53. data/facts/4.10/fedora-41-x86_64.facts +845 -0
  54. data/facts/4.10/freebsd-13-x86_64.facts +440 -0
  55. data/facts/4.10/freebsd-14-x86_64.facts +440 -0
  56. data/facts/4.10/opensuse-15-x86_64.facts +482 -0
  57. data/facts/4.10/oraclelinux-8-x86_64.facts +518 -0
  58. data/facts/4.10/oraclelinux-9-x86_64.facts +584 -0
  59. data/facts/4.10/redhat-8-x86_64.facts +503 -0
  60. data/facts/4.10/redhat-9-x86_64.facts +554 -0
  61. data/facts/4.10/rocky-10-x86_64.facts +604 -0
  62. data/facts/4.10/rocky-8-x86_64.facts +486 -0
  63. data/facts/4.10/rocky-9-x86_64.facts +536 -0
  64. data/facts/4.10/ubuntu-20.04-x86_64.facts +570 -0
  65. data/facts/4.10/ubuntu-22.04-aarch64.facts +609 -0
  66. data/facts/4.10/ubuntu-22.04-x86_64.facts +578 -0
  67. data/facts/4.10/ubuntu-24.04-aarch64.facts +485 -0
  68. data/facts/4.10/ubuntu-24.04-x86_64.facts +495 -0
  69. data/facts/4.10/windows-10-x86_64.facts +174 -0
  70. data/facts/4.10/windows-11-x86_64.facts +174 -0
  71. data/facts/4.10/windows-2022-x86_64.facts +168 -0
  72. data/facts/4.11/almalinux-10-x86_64.facts +587 -0
  73. data/facts/4.11/almalinux-8-x86_64.facts +538 -0
  74. data/facts/4.11/almalinux-9-x86_64.facts +589 -0
  75. data/facts/4.11/amazon-2-x86_64.facts +462 -0
  76. data/facts/4.11/centos-10-x86_64.facts +495 -0
  77. data/facts/4.11/centos-9-x86_64.facts +518 -0
  78. data/facts/4.11/debian-11-x86_64.facts +443 -0
  79. data/facts/4.11/debian-12-x86_64.facts +524 -0
  80. data/facts/4.11/debian-13-x86_64.facts +517 -0
  81. data/facts/4.11/fedora-40-x86_64.facts +470 -0
  82. data/facts/4.11/fedora-41-x86_64.facts +845 -0
  83. data/facts/4.11/oraclelinux-8-x86_64.facts +520 -0
  84. data/facts/4.11/oraclelinux-9-x86_64.facts +586 -0
  85. data/facts/4.11/redhat-8-x86_64.facts +505 -0
  86. data/facts/4.11/redhat-9-x86_64.facts +556 -0
  87. data/facts/4.11/rocky-10-x86_64.facts +606 -0
  88. data/facts/4.11/rocky-8-x86_64.facts +489 -0
  89. data/facts/4.11/rocky-9-x86_64.facts +539 -0
  90. data/facts/4.11/ubuntu-20.04-x86_64.facts +572 -0
  91. data/facts/4.11/ubuntu-22.04-aarch64.facts +614 -0
  92. data/facts/4.11/ubuntu-22.04-x86_64.facts +580 -0
  93. data/facts/4.11/ubuntu-24.04-aarch64.facts +490 -0
  94. data/facts/4.11/ubuntu-24.04-x86_64.facts +498 -0
  95. data/facts/4.2/almalinux-8-x86_64.facts +0 -25
  96. data/facts/4.2/almalinux-9-x86_64.facts +0 -25
  97. data/facts/4.2/amazon-2-x86_64.facts +249 -0
  98. data/facts/4.2/archlinux-x86_64.facts +0 -26
  99. data/facts/4.2/centos-10-x86_64.facts +502 -0
  100. data/facts/4.2/centos-9-x86_64.facts +0 -25
  101. data/facts/4.2/darwin-20-x86_64.facts +0 -38
  102. data/facts/4.2/debian-11-x86_64.facts +0 -26
  103. data/facts/4.2/debian-12-i386.facts +0 -26
  104. data/facts/4.2/debian-12-x86_64.facts +0 -26
  105. data/facts/4.2/fedora-36-x86_64.facts +0 -25
  106. data/facts/4.2/fedora-37-x86_64.facts +0 -25
  107. data/facts/4.2/fedora-38-x86_64.facts +0 -25
  108. data/facts/4.2/fedora-39-x86_64.facts +0 -25
  109. data/facts/4.2/fedora-40-x86_64.facts +458 -0
  110. data/facts/4.2/fedora-41-x86_64.facts +831 -0
  111. data/facts/4.2/freebsd-11-x86_64.facts +0 -12
  112. data/facts/4.2/freebsd-12-x86_64.facts +0 -12
  113. data/facts/4.2/freebsd-13-x86_64.facts +0 -12
  114. data/facts/4.2/freebsd-14-x86_64.facts +406 -0
  115. data/facts/4.2/gentoo-2-x86_64.facts +0 -25
  116. data/facts/4.2/opensuse-15-x86_64.facts +0 -27
  117. data/facts/4.2/oraclelinux-7-x86_64.facts +0 -35
  118. data/facts/4.2/oraclelinux-8-x86_64.facts +0 -33
  119. data/facts/4.2/redhat-8-x86_64.facts +0 -25
  120. data/facts/4.2/redhat-9-x86_64.facts +0 -25
  121. data/facts/4.2/rocky-8-x86_64.facts +0 -19
  122. data/facts/4.2/rocky-9-x86_64.facts +0 -25
  123. data/facts/4.2/scientific-7-x86_64.facts +0 -35
  124. data/facts/4.2/sles-12-x86_64.facts +0 -27
  125. data/facts/4.2/sles-15-x86_64.facts +0 -27
  126. data/facts/4.2/ubuntu-18.04-x86_64.facts +0 -28
  127. data/facts/4.2/ubuntu-20.04-x86_64.facts +0 -28
  128. data/facts/4.2/ubuntu-21.04-x86_64.facts +0 -28
  129. data/facts/4.2/ubuntu-21.10-x86_64.facts +0 -28
  130. data/facts/4.2/ubuntu-22.04-aarch64.facts +597 -0
  131. data/facts/4.2/ubuntu-22.04-x86_64.facts +0 -26
  132. data/facts/4.2/ubuntu-22.10-x86_64.facts +0 -28
  133. data/facts/4.2/ubuntu-24.04-aarch64.facts +473 -0
  134. data/facts/4.2/ubuntu-24.04-x86_64.facts +473 -0
  135. data/facts/4.2/windows-10-x86_64.facts +0 -13
  136. data/facts/4.2/windows-11-x86_64.facts +0 -13
  137. data/facts/4.2/windows-2012 r2-x86_64.facts +0 -13
  138. data/facts/4.2/windows-2012-x86_64.facts +0 -58
  139. data/facts/4.2/windows-2016-core-x86_64.facts +0 -58
  140. data/facts/4.2/windows-2016-x86_64.facts +0 -58
  141. data/facts/4.2/windows-2019-core-x86_64.facts +0 -13
  142. data/facts/4.2/windows-2019-x86_64.facts +0 -13
  143. data/facts/4.2/windows-2022-core-x86_64.facts +0 -13
  144. data/facts/4.2/windows-2022-x86_64.facts +0 -13
  145. data/facts/4.3/almalinux-8-x86_64.facts +0 -25
  146. data/facts/4.3/almalinux-9-x86_64.facts +0 -25
  147. data/facts/4.3/amazon-2-x86_64.facts +249 -0
  148. data/facts/4.3/archlinux-x86_64.facts +0 -26
  149. data/facts/4.3/centos-10-x86_64.facts +502 -0
  150. data/facts/4.3/centos-9-x86_64.facts +0 -25
  151. data/facts/4.3/debian-11-x86_64.facts +0 -26
  152. data/facts/4.3/debian-12-i386.facts +0 -26
  153. data/facts/4.3/debian-12-x86_64.facts +0 -26
  154. data/facts/4.3/fedora-36-x86_64.facts +0 -25
  155. data/facts/4.3/fedora-37-x86_64.facts +0 -25
  156. data/facts/4.3/fedora-38-x86_64.facts +0 -25
  157. data/facts/4.3/fedora-39-x86_64.facts +0 -25
  158. data/facts/4.3/fedora-40-x86_64.facts +458 -0
  159. data/facts/4.3/fedora-41-x86_64.facts +831 -0
  160. data/facts/4.3/freebsd-13-x86_64.facts +0 -15
  161. data/facts/4.3/freebsd-14-x86_64.facts +406 -0
  162. data/facts/4.3/gentoo-2-x86_64.facts +0 -25
  163. data/facts/4.3/opensuse-15-x86_64.facts +0 -27
  164. data/facts/4.3/oraclelinux-8-x86_64.facts +0 -25
  165. data/facts/4.3/oraclelinux-9-x86_64.facts +0 -25
  166. data/facts/4.3/redhat-8-x86_64.facts +0 -25
  167. data/facts/4.3/redhat-9-x86_64.facts +0 -25
  168. data/facts/4.3/rocky-8-x86_64.facts +0 -25
  169. data/facts/4.3/rocky-9-x86_64.facts +0 -25
  170. data/facts/4.3/sles-12-x86_64.facts +0 -27
  171. data/facts/4.3/ubuntu-18.04-x86_64.facts +0 -28
  172. data/facts/4.3/ubuntu-20.04-x86_64.facts +0 -28
  173. data/facts/4.3/ubuntu-22.04-aarch64.facts +597 -0
  174. data/facts/4.3/ubuntu-22.04-x86_64.facts +0 -26
  175. data/facts/4.3/ubuntu-24.04-aarch64.facts +473 -0
  176. data/facts/4.3/ubuntu-24.04-x86_64.facts +473 -0
  177. data/facts/4.3/windows-10-x86_64.facts +0 -21
  178. data/facts/4.3/windows-11-x86_64.facts +0 -21
  179. data/facts/4.3/windows-2012 r2-x86_64.facts +0 -13
  180. data/facts/4.3/windows-2012-x86_64.facts +0 -13
  181. data/facts/4.3/windows-2016-core-x86_64.facts +0 -13
  182. data/facts/4.3/windows-2016-x86_64.facts +0 -13
  183. data/facts/4.3/windows-2019-core-x86_64.facts +0 -13
  184. data/facts/4.3/windows-2019-x86_64.facts +0 -21
  185. data/facts/4.3/windows-2022-core-x86_64.facts +0 -13
  186. data/facts/4.3/windows-2022-x86_64.facts +0 -21
  187. data/facts/4.4/almalinux-8-x86_64.facts +0 -25
  188. data/facts/4.4/almalinux-9-x86_64.facts +0 -25
  189. data/facts/4.4/amazon-2-x86_64.facts +249 -0
  190. data/facts/4.4/archlinux-x86_64.facts +0 -26
  191. data/facts/4.4/centos-10-x86_64.facts +502 -0
  192. data/facts/4.4/centos-9-x86_64.facts +0 -25
  193. data/facts/4.4/debian-11-x86_64.facts +0 -26
  194. data/facts/4.4/debian-12-i386.facts +0 -26
  195. data/facts/4.4/debian-12-x86_64.facts +0 -26
  196. data/facts/4.4/fedora-36-x86_64.facts +0 -25
  197. data/facts/4.4/fedora-37-x86_64.facts +0 -25
  198. data/facts/4.4/fedora-38-x86_64.facts +0 -25
  199. data/facts/4.4/fedora-39-x86_64.facts +0 -25
  200. data/facts/4.4/fedora-40-x86_64.facts +458 -0
  201. data/facts/4.4/fedora-41-x86_64.facts +831 -0
  202. data/facts/4.4/freebsd-13-x86_64.facts +0 -15
  203. data/facts/4.4/freebsd-14-x86_64.facts +406 -0
  204. data/facts/4.4/gentoo-2-x86_64.facts +0 -25
  205. data/facts/4.4/opensuse-15-x86_64.facts +0 -27
  206. data/facts/4.4/oraclelinux-8-x86_64.facts +0 -25
  207. data/facts/4.4/oraclelinux-9-x86_64.facts +0 -25
  208. data/facts/4.4/redhat-8-x86_64.facts +0 -25
  209. data/facts/4.4/redhat-9-x86_64.facts +0 -25
  210. data/facts/4.4/rocky-8-x86_64.facts +0 -25
  211. data/facts/4.4/rocky-9-x86_64.facts +0 -25
  212. data/facts/4.4/sles-12-x86_64.facts +0 -27
  213. data/facts/4.4/ubuntu-18.04-x86_64.facts +0 -28
  214. data/facts/4.4/ubuntu-20.04-x86_64.facts +0 -28
  215. data/facts/4.4/ubuntu-22.04-aarch64.facts +597 -0
  216. data/facts/4.4/ubuntu-22.04-x86_64.facts +0 -26
  217. data/facts/4.4/ubuntu-24.04-aarch64.facts +473 -0
  218. data/facts/4.4/ubuntu-24.04-x86_64.facts +473 -0
  219. data/facts/4.4/windows-10-x86_64.facts +0 -21
  220. data/facts/4.4/windows-11-x86_64.facts +0 -21
  221. data/facts/4.4/windows-2012 r2-x86_64.facts +0 -13
  222. data/facts/4.4/windows-2012-x86_64.facts +0 -13
  223. data/facts/4.4/windows-2016-core-x86_64.facts +0 -13
  224. data/facts/4.4/windows-2016-x86_64.facts +0 -13
  225. data/facts/4.4/windows-2019-core-x86_64.facts +0 -13
  226. data/facts/4.4/windows-2019-x86_64.facts +0 -21
  227. data/facts/4.4/windows-2022-core-x86_64.facts +0 -13
  228. data/facts/4.4/windows-2022-x86_64.facts +0 -21
  229. data/facts/4.5/almalinux-8-x86_64.facts +0 -25
  230. data/facts/4.5/almalinux-9-x86_64.facts +0 -25
  231. data/facts/4.5/amazon-2-x86_64.facts +0 -26
  232. data/facts/4.5/archlinux-x86_64.facts +0 -26
  233. data/facts/4.5/centos-10-x86_64.facts +489 -0
  234. data/facts/4.5/centos-9-x86_64.facts +0 -25
  235. data/facts/4.5/debian-11-x86_64.facts +0 -26
  236. data/facts/4.5/debian-12-x86_64.facts +0 -26
  237. data/facts/4.5/fedora-36-x86_64.facts +0 -25
  238. data/facts/4.5/fedora-37-x86_64.facts +0 -25
  239. data/facts/4.5/fedora-38-x86_64.facts +0 -25
  240. data/facts/4.5/fedora-39-x86_64.facts +0 -25
  241. data/facts/4.5/fedora-40-x86_64.facts +464 -0
  242. data/facts/4.5/fedora-41-x86_64.facts +837 -0
  243. data/facts/4.5/freebsd-12-x86_64.facts +0 -15
  244. data/facts/4.5/freebsd-13-x86_64.facts +0 -15
  245. data/facts/4.5/freebsd-14-x86_64.facts +411 -0
  246. data/facts/4.5/gentoo-2-x86_64.facts +0 -25
  247. data/facts/4.5/opensuse-15-x86_64.facts +0 -27
  248. data/facts/4.5/oraclelinux-8-x86_64.facts +0 -25
  249. data/facts/4.5/oraclelinux-9-x86_64.facts +0 -25
  250. data/facts/4.5/redhat-8-x86_64.facts +0 -25
  251. data/facts/4.5/redhat-9-x86_64.facts +0 -25
  252. data/facts/4.5/rocky-8-x86_64.facts +0 -25
  253. data/facts/4.5/rocky-9-x86_64.facts +0 -25
  254. data/facts/4.5/ubuntu-18.04-x86_64.facts +0 -28
  255. data/facts/4.5/ubuntu-20.04-x86_64.facts +0 -28
  256. data/facts/4.5/ubuntu-22.04-aarch64.facts +603 -0
  257. data/facts/4.5/ubuntu-22.04-x86_64.facts +0 -26
  258. data/facts/4.5/ubuntu-24.04-aarch64.facts +479 -0
  259. data/facts/4.5/ubuntu-24.04-x86_64.facts +479 -0
  260. data/facts/4.5/windows-10-x86_64.facts +0 -21
  261. data/facts/4.5/windows-11-x86_64.facts +0 -21
  262. data/facts/4.5/windows-2019-x86_64.facts +0 -21
  263. data/facts/4.5/windows-2022-x86_64.facts +0 -21
  264. data/facts/4.6/almalinux-8-x86_64.facts +0 -25
  265. data/facts/4.6/almalinux-9-x86_64.facts +0 -25
  266. data/facts/4.6/amazon-2-x86_64.facts +257 -0
  267. data/facts/4.6/archlinux-x86_64.facts +0 -26
  268. data/facts/4.6/centos-10-x86_64.facts +490 -0
  269. data/facts/4.6/centos-9-x86_64.facts +0 -25
  270. data/facts/4.6/debian-11-x86_64.facts +0 -26
  271. data/facts/4.6/debian-12-x86_64.facts +0 -26
  272. data/facts/4.6/fedora-36-x86_64.facts +0 -25
  273. data/facts/4.6/fedora-37-x86_64.facts +0 -25
  274. data/facts/4.6/fedora-38-x86_64.facts +0 -25
  275. data/facts/4.6/fedora-39-x86_64.facts +0 -25
  276. data/facts/4.6/fedora-40-x86_64.facts +465 -0
  277. data/facts/4.6/fedora-41-x86_64.facts +838 -0
  278. data/facts/4.6/freebsd-13-x86_64.facts +411 -0
  279. data/facts/4.6/freebsd-14-x86_64.facts +411 -0
  280. data/facts/4.6/gentoo-2-x86_64.facts +0 -25
  281. data/facts/4.6/opensuse-15-x86_64.facts +475 -0
  282. data/facts/4.6/oraclelinux-8-x86_64.facts +0 -25
  283. data/facts/4.6/oraclelinux-9-x86_64.facts +0 -25
  284. data/facts/4.6/redhat-8-x86_64.facts +0 -25
  285. data/facts/4.6/redhat-9-x86_64.facts +0 -25
  286. data/facts/4.6/rocky-8-x86_64.facts +469 -0
  287. data/facts/4.6/rocky-9-x86_64.facts +0 -25
  288. data/facts/4.6/ubuntu-20.04-x86_64.facts +0 -28
  289. data/facts/4.6/ubuntu-22.04-aarch64.facts +603 -0
  290. data/facts/4.6/ubuntu-22.04-x86_64.facts +0 -26
  291. data/facts/4.6/ubuntu-24.04-aarch64.facts +479 -0
  292. data/facts/4.6/ubuntu-24.04-x86_64.facts +480 -0
  293. data/facts/4.6/windows-10-x86_64.facts +0 -21
  294. data/facts/4.6/windows-11-x86_64.facts +0 -21
  295. data/facts/4.6/windows-2019-x86_64.facts +0 -21
  296. data/facts/4.6/windows-2022-x86_64.facts +0 -21
  297. data/facts/4.7/almalinux-8-x86_64.facts +0 -25
  298. data/facts/4.7/almalinux-9-x86_64.facts +0 -25
  299. data/facts/4.7/amazon-2-x86_64.facts +257 -0
  300. data/facts/4.7/archlinux-x86_64.facts +0 -26
  301. data/facts/4.7/centos-10-x86_64.facts +490 -0
  302. data/facts/4.7/centos-9-x86_64.facts +0 -25
  303. data/facts/4.7/debian-11-x86_64.facts +0 -26
  304. data/facts/4.7/debian-12-x86_64.facts +0 -26
  305. data/facts/4.7/fedora-36-x86_64.facts +0 -25
  306. data/facts/4.7/fedora-37-x86_64.facts +0 -25
  307. data/facts/4.7/fedora-38-x86_64.facts +0 -25
  308. data/facts/4.7/fedora-39-x86_64.facts +0 -25
  309. data/facts/4.7/fedora-40-x86_64.facts +465 -0
  310. data/facts/4.7/fedora-41-x86_64.facts +838 -0
  311. data/facts/4.7/freebsd-13-x86_64.facts +411 -0
  312. data/facts/4.7/freebsd-14-x86_64.facts +411 -0
  313. data/facts/4.7/gentoo-2-x86_64.facts +0 -25
  314. data/facts/4.7/openbsd-7-x86_64.facts +0 -8
  315. data/facts/4.7/opensuse-15-x86_64.facts +0 -27
  316. data/facts/4.7/oraclelinux-8-x86_64.facts +0 -25
  317. data/facts/4.7/oraclelinux-9-x86_64.facts +0 -25
  318. data/facts/4.7/redhat-8-x86_64.facts +0 -25
  319. data/facts/4.7/redhat-9-x86_64.facts +0 -25
  320. data/facts/4.7/rocky-8-x86_64.facts +469 -0
  321. data/facts/4.7/rocky-9-x86_64.facts +0 -25
  322. data/facts/4.7/ubuntu-20.04-x86_64.facts +0 -28
  323. data/facts/4.7/ubuntu-22.04-aarch64.facts +603 -0
  324. data/facts/4.7/ubuntu-22.04-x86_64.facts +0 -26
  325. data/facts/4.7/ubuntu-24.04-aarch64.facts +479 -0
  326. data/facts/4.7/ubuntu-24.04-x86_64.facts +480 -0
  327. data/facts/4.7/windows-10-x86_64.facts +0 -21
  328. data/facts/4.7/windows-11-x86_64.facts +0 -21
  329. data/facts/4.7/windows-2019-x86_64.facts +0 -21
  330. data/facts/4.7/windows-2022-x86_64.facts +0 -21
  331. data/facts/4.8/almalinux-8-x86_64.facts +457 -0
  332. data/facts/4.8/almalinux-9-x86_64.facts +575 -0
  333. data/facts/4.8/amazon-2-x86_64.facts +263 -0
  334. data/facts/4.8/centos-10-x86_64.facts +493 -0
  335. data/facts/4.8/centos-9-x86_64.facts +508 -0
  336. data/facts/4.8/debian-11-x86_64.facts +433 -0
  337. data/facts/4.8/debian-12-x86_64.facts +514 -0
  338. data/facts/4.8/fedora-40-x86_64.facts +468 -0
  339. data/facts/4.8/fedora-41-x86_64.facts +841 -0
  340. data/facts/4.8/freebsd-13-x86_64.facts +411 -0
  341. data/facts/4.8/freebsd-14-x86_64.facts +411 -0
  342. data/facts/4.8/opensuse-15-x86_64.facts +481 -0
  343. data/facts/4.8/oraclelinux-8-x86_64.facts +499 -0
  344. data/facts/4.8/oraclelinux-9-x86_64.facts +545 -0
  345. data/facts/4.8/redhat-8-x86_64.facts +493 -0
  346. data/facts/4.8/redhat-9-x86_64.facts +544 -0
  347. data/facts/4.8/rocky-8-x86_64.facts +474 -0
  348. data/facts/4.8/rocky-9-x86_64.facts +608 -0
  349. data/facts/4.8/ubuntu-20.04-x86_64.facts +569 -0
  350. data/facts/4.8/ubuntu-22.04-aarch64.facts +606 -0
  351. data/facts/4.8/ubuntu-22.04-x86_64.facts +569 -0
  352. data/facts/4.8/ubuntu-24.04-aarch64.facts +482 -0
  353. data/facts/4.8/ubuntu-24.04-x86_64.facts +485 -0
  354. data/facts/4.8/windows-10-x86_64.facts +174 -0
  355. data/facts/4.8/windows-11-x86_64.facts +174 -0
  356. data/facts/4.8/windows-2022-x86_64.facts +168 -0
  357. data/facts/4.9/almalinux-8-x86_64.facts +458 -0
  358. data/facts/4.9/almalinux-9-x86_64.facts +579 -0
  359. data/facts/4.9/amazon-2-x86_64.facts +265 -0
  360. data/facts/4.9/centos-10-x86_64.facts +495 -0
  361. data/facts/4.9/centos-9-x86_64.facts +509 -0
  362. data/facts/4.9/debian-11-x86_64.facts +434 -0
  363. data/facts/4.9/debian-12-x86_64.facts +515 -0
  364. data/facts/4.9/fedora-40-x86_64.facts +470 -0
  365. data/facts/4.9/fedora-41-x86_64.facts +845 -0
  366. data/facts/4.9/freebsd-13-x86_64.facts +411 -0
  367. data/facts/4.9/freebsd-14-x86_64.facts +411 -0
  368. data/facts/4.9/opensuse-15-x86_64.facts +482 -0
  369. data/facts/4.9/oraclelinux-8-x86_64.facts +501 -0
  370. data/facts/4.9/oraclelinux-9-x86_64.facts +547 -0
  371. data/facts/4.9/redhat-8-x86_64.facts +495 -0
  372. data/facts/4.9/redhat-9-x86_64.facts +546 -0
  373. data/facts/4.9/rocky-8-x86_64.facts +476 -0
  374. data/facts/4.9/rocky-9-x86_64.facts +613 -0
  375. data/facts/4.9/ubuntu-20.04-x86_64.facts +570 -0
  376. data/facts/4.9/ubuntu-22.04-aarch64.facts +609 -0
  377. data/facts/4.9/ubuntu-22.04-x86_64.facts +570 -0
  378. data/facts/4.9/ubuntu-24.04-aarch64.facts +485 -0
  379. data/facts/4.9/ubuntu-24.04-x86_64.facts +488 -0
  380. data/facts/4.9/windows-10-x86_64.facts +174 -0
  381. data/facts/4.9/windows-11-x86_64.facts +174 -0
  382. data/facts/4.9/windows-2022-x86_64.facts +168 -0
  383. data/facts/5.1/almalinux-10-x86_64.facts +578 -0
  384. data/facts/5.1/almalinux-8-x86_64.facts +538 -0
  385. data/facts/5.1/almalinux-9-x86_64.facts +589 -0
  386. data/facts/5.1/amazon-2-x86_64.facts +462 -0
  387. data/facts/5.1/amazon-2023-x86_64.facts +527 -0
  388. data/facts/5.1/centos-10-x86_64.facts +524 -0
  389. data/facts/5.1/centos-9-x86_64.facts +547 -0
  390. data/facts/5.1/debian-11-x86_64.facts +443 -0
  391. data/facts/5.1/debian-12-x86_64.facts +524 -0
  392. data/facts/5.1/debian-13-x86_64.facts +576 -0
  393. data/facts/5.1/fedora-42-x86_64.facts +546 -0
  394. data/facts/5.1/fedora-43-x86_64.facts +597 -0
  395. data/facts/5.1/freebsd-13-x86_64.facts +440 -0
  396. data/facts/5.1/freebsd-14-x86_64.facts +440 -0
  397. data/facts/5.1/opensuse-16-x86_64.facts +290 -0
  398. data/facts/5.1/oraclelinux-10-x86_64.facts +551 -0
  399. data/facts/5.1/oraclelinux-8-x86_64.facts +520 -0
  400. data/facts/5.1/oraclelinux-9-x86_64.facts +586 -0
  401. data/facts/5.1/redhat-8-x86_64.facts +505 -0
  402. data/facts/5.1/redhat-9-x86_64.facts +556 -0
  403. data/facts/5.1/rocky-10-x86_64.facts +606 -0
  404. data/facts/5.1/rocky-8-x86_64.facts +489 -0
  405. data/facts/5.1/rocky-9-x86_64.facts +539 -0
  406. data/facts/5.1/ubuntu-22.04-x86_64.facts +580 -0
  407. data/facts/5.1/ubuntu-24.04-x86_64.facts +498 -0
  408. data/facts/5.1/windows-10-x86_64.facts +173 -0
  409. data/facts/5.1/windows-11-x86_64.facts +173 -0
  410. data/facts/5.1/windows-2019-x86_64.facts +167 -0
  411. data/facts/5.1/windows-2022-x86_64.facts +168 -0
  412. data/facts/5.1/windows-2025-x86_64.facts +159 -0
  413. data/facts/5.2/almalinux-10-x86_64.facts +585 -0
  414. data/facts/5.2/almalinux-8-x86_64.facts +545 -0
  415. data/facts/5.2/almalinux-9-x86_64.facts +596 -0
  416. data/facts/5.2/amazon-2-x86_64.facts +469 -0
  417. data/facts/5.2/amazon-2023-x86_64.facts +534 -0
  418. data/facts/5.2/centos-10-x86_64.facts +519 -0
  419. data/facts/5.2/centos-9-x86_64.facts +578 -0
  420. data/facts/5.2/debian-11-x86_64.facts +443 -0
  421. data/facts/5.2/debian-12-x86_64.facts +524 -0
  422. data/facts/5.2/debian-13-x86_64.facts +575 -0
  423. data/facts/5.2/oraclelinux-10-x86_64.facts +555 -0
  424. data/facts/5.2/oraclelinux-8-x86_64.facts +524 -0
  425. data/facts/5.2/oraclelinux-9-x86_64.facts +590 -0
  426. data/facts/5.2/redhat-8-x86_64.facts +509 -0
  427. data/facts/5.2/redhat-9-x86_64.facts +560 -0
  428. data/facts/5.2/rocky-10-x86_64.facts +613 -0
  429. data/facts/5.2/rocky-8-x86_64.facts +496 -0
  430. data/facts/5.2/rocky-9-x86_64.facts +546 -0
  431. data/facts/5.2/ubuntu-22.04-x86_64.facts +580 -0
  432. data/facts/5.2/ubuntu-24.04-x86_64.facts +498 -0
  433. data/facts/5.2/windows-2019-x86_64.facts +166 -0
  434. data/facts/5.2/windows-2022-x86_64.facts +167 -0
  435. data/facts/5.2/windows-2025-x86_64.facts +159 -0
  436. data/facts/5.4/almalinux-10-x86_64.facts +585 -0
  437. data/facts/5.4/almalinux-8-x86_64.facts +545 -0
  438. data/facts/5.4/almalinux-9-x86_64.facts +596 -0
  439. data/facts/5.4/amazon-2023-x86_64.facts +534 -0
  440. data/facts/5.4/centos-10-x86_64.facts +544 -0
  441. data/facts/5.4/centos-9-x86_64.facts +578 -0
  442. data/facts/5.4/debian-11-x86_64.facts +443 -0
  443. data/facts/5.4/debian-12-x86_64.facts +524 -0
  444. data/facts/5.4/debian-13-x86_64.facts +575 -0
  445. data/facts/5.4/oraclelinux-10-x86_64.facts +555 -0
  446. data/facts/5.4/oraclelinux-8-x86_64.facts +524 -0
  447. data/facts/5.4/oraclelinux-9-x86_64.facts +590 -0
  448. data/facts/5.4/redhat-8-x86_64.facts +509 -0
  449. data/facts/5.4/redhat-9-x86_64.facts +560 -0
  450. data/facts/5.4/rocky-10-x86_64.facts +613 -0
  451. data/facts/5.4/rocky-8-x86_64.facts +496 -0
  452. data/facts/5.4/rocky-9-x86_64.facts +546 -0
  453. data/facts/5.4/ubuntu-22.04-x86_64.facts +580 -0
  454. data/facts/5.4/ubuntu-24.04-x86_64.facts +498 -0
  455. data/facts/5.4/windows-2019-x86_64.facts +166 -0
  456. data/facts/5.4/windows-2022-x86_64.facts +167 -0
  457. data/facts/5.4/windows-2025-x86_64.facts +159 -0
  458. data/facts/5.6/almalinux-10-x86_64.facts +588 -0
  459. data/facts/5.6/almalinux-8-x86_64.facts +545 -0
  460. data/facts/5.6/almalinux-9-x86_64.facts +596 -0
  461. data/facts/5.6/amazon-2-x86_64.facts +469 -0
  462. data/facts/5.6/amazon-2023-x86_64.facts +534 -0
  463. data/facts/5.6/centos-10-x86_64.facts +547 -0
  464. data/facts/5.6/centos-9-x86_64.facts +578 -0
  465. data/facts/5.6/debian-11-x86_64.facts +446 -0
  466. data/facts/5.6/debian-12-x86_64.facts +527 -0
  467. data/facts/5.6/debian-13-x86_64.facts +578 -0
  468. data/facts/5.6/oraclelinux-10-x86_64.facts +558 -0
  469. data/facts/5.6/oraclelinux-8-x86_64.facts +524 -0
  470. data/facts/5.6/oraclelinux-9-x86_64.facts +590 -0
  471. data/facts/5.6/redhat-10-x86_64.facts +491 -0
  472. data/facts/5.6/redhat-8-x86_64.facts +509 -0
  473. data/facts/5.6/redhat-9-x86_64.facts +560 -0
  474. data/facts/5.6/rocky-10-x86_64.facts +616 -0
  475. data/facts/5.6/rocky-8-x86_64.facts +496 -0
  476. data/facts/5.6/rocky-9-x86_64.facts +546 -0
  477. data/facts/5.6/ubuntu-22.04-x86_64.facts +580 -0
  478. data/facts/5.6/ubuntu-24.04-x86_64.facts +498 -0
  479. data/facts/5.6/ubuntu-26.04-x86_64.facts +606 -0
  480. data/facts/5.6/windows-2019-x86_64.facts +166 -0
  481. data/facts/5.6/windows-2022-x86_64.facts +167 -0
  482. data/facts/5.6/windows-2025-x86_64.facts +159 -0
  483. data/facts/README.md +8 -0
  484. data/facts/Vagrantfile +397 -166
  485. data/facts/get_facts.sh +71 -42
  486. data/facts/vbguest_install.sh +16 -0
  487. data/facts/versions.txt +12 -9
  488. data/facts/windows_get_facts.ps1 +2 -2
  489. data/lib/facterdb/version.rb +1 -1
  490. data/lib/facterdb.rb +1 -2
  491. data/spec/facter_db_spec.rb +6 -6
  492. data/spec/facts_spec.rb +54 -10
  493. data/spec/spec_helper.rb +1 -1
  494. metadata +264 -28
  495. data/database/list_arch_os_facter.md +0 -52
  496. data/database/list_facter_os_arch.md +0 -227
  497. data/database/list_os_arch_facter.md +0 -98
  498. data/database/list_os_facter_arch.md +0 -266
  499. data/database/table.md +0 -56
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53a466250e52842b1a9fc76c086fe1593619bc5062f8f328d31f55e53502ba0c
4
- data.tar.gz: ea834e3ef4301cd337bf701b6a756368fc3f19f4d3e520757668fab823ee6859
3
+ metadata.gz: e25f83d1b2f3db3c844b05e416944b0a48a2f64df545ae2e6109aeb07a6a26b0
4
+ data.tar.gz: f586158be81157679227dbfb439143c421bb95e818c34e9669385f8d55a96aff
5
5
  SHA512:
6
- metadata.gz: bdeb267e16c68f4a9838aa20e550cd8acb563b7a4521d54eaa37b06a37aaa5fee63cec197c2bb76462d7733d9630d61720dcb329b97b1a9ce651730bc8c389a1
7
- data.tar.gz: f7a9786b5db64fb150de5269dbaaa92e5f491c704bb4db34702db68ff69f00e24f294fbff5dae405a04771c461cee80220ffed879bad0d00e413044c513d3fe6
6
+ metadata.gz: 3b32b91ecf46855c4125fd2349c0ad92f10487936f2db8757dc55ea94ac78ef0cf55260981ae65e497a3451032786e7728e28d51ab493ae4529d49cc0136ee41
7
+ data.tar.gz: ac4bd07cef5c3d1fcf094cf5007b77506b27d7aa570a4a697e93bd8c50cc2d3f3cdc06120b1c399417c293be380041590ec01c6d65fa356b1d0d41c609cc1e44
@@ -0,0 +1,41 @@
1
+ ---
2
+ # https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
3
+
4
+ changelog:
5
+ exclude:
6
+ labels:
7
+ - duplicate
8
+ - invalid
9
+ - modulesync
10
+ - question
11
+ - skip-changelog
12
+ - wont-fix
13
+ - wontfix
14
+ - github_actions
15
+
16
+ categories:
17
+ - title: Breaking Changes 🛠
18
+ labels:
19
+ - backwards-incompatible
20
+
21
+ - title: New Features 🎉
22
+ labels:
23
+ - enhancement
24
+
25
+ - title: Bug Fixes 🐛
26
+ labels:
27
+ - bug
28
+ - bugfix
29
+
30
+ - title: Documentation Updates 📚
31
+ labels:
32
+ - documentation
33
+ - docs
34
+
35
+ - title: Dependency Updates ⬆️
36
+ labels:
37
+ - dependencies
38
+
39
+ - title: Other Changes
40
+ labels:
41
+ - "*"
@@ -22,20 +22,20 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
24
  - name: Checkout
25
- uses: actions/checkout@v4
25
+ uses: actions/checkout@v7
26
26
  - name: Set up Ruby
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
29
- ruby-version: '3.3'
29
+ ruby-version: '3.4'
30
30
  bundler-cache: true
31
31
  - name: Build docs
32
32
  run: bundle exec rake yard
33
33
  - name: Set up Pages
34
- uses: actions/configure-pages@v5
34
+ uses: actions/configure-pages@v6
35
35
  - name: Upload artifact
36
- uses: actions/upload-pages-artifact@v3
36
+ uses: actions/upload-pages-artifact@v5
37
37
  with:
38
38
  path: build_docs
39
39
  - name: Deploy to GitHub Pages
40
40
  id: deployment
41
- uses: actions/deploy-pages@v4
41
+ uses: actions/deploy-pages@v5
@@ -1,35 +1,106 @@
1
- name: Release
1
+ ---
2
+ name: Gem Release
2
3
 
3
4
  on:
4
5
  push:
5
6
  tags:
6
7
  - '*'
7
8
 
9
+ permissions: {}
10
+
8
11
  jobs:
9
- release:
10
- runs-on: ubuntu-latest
11
- if: github.repository == 'voxpupuli/facterdb'
12
+ build-release:
13
+ # Prevent releases from forked repositories
14
+ if: github.repository_owner == 'voxpupuli'
15
+ name: Build the gem
16
+ runs-on: ubuntu-24.04
12
17
  steps:
13
- - uses: actions/checkout@v4
14
- - name: Install Ruby 3.3
18
+ - uses: actions/checkout@v7
19
+ - name: Install Ruby
15
20
  uses: ruby/setup-ruby@v1
16
21
  with:
17
- ruby-version: '3.3'
18
- bundler-cache: true
19
- env:
20
- BUNDLE_WITHOUT: release
21
- - name: Generate database
22
- run: bundle exec rake database
22
+ ruby-version: 'ruby'
23
23
  - name: Build gem
24
- run: gem build --strict --verbose *.gemspec
24
+ shell: bash
25
+ run: gem build --verbose *.gemspec
26
+ - name: Upload gem to GitHub cache
27
+ uses: actions/upload-artifact@v7
28
+ with:
29
+ name: gem-artifact
30
+ path: '*.gem'
31
+ retention-days: 1
32
+ compression-level: 0
33
+
34
+ create-github-release:
35
+ needs: build-release
36
+ name: Create GitHub release
37
+ runs-on: ubuntu-24.04
38
+ permissions:
39
+ contents: write # clone repo and create release
40
+ steps:
41
+ - name: Download gem from GitHub cache
42
+ uses: actions/download-artifact@v8
43
+ with:
44
+ name: gem-artifact
45
+ - name: Create Release
46
+ shell: bash
47
+ env:
48
+ GH_TOKEN: ${{ github.token }}
49
+ run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
50
+
51
+ release-to-github:
52
+ needs: build-release
53
+ name: Release to GitHub
54
+ runs-on: ubuntu-24.04
55
+ permissions:
56
+ packages: write # publish to rubygems.pkg.github.com
57
+ steps:
58
+ - name: Download gem from GitHub cache
59
+ uses: actions/download-artifact@v8
60
+ with:
61
+ name: gem-artifact
62
+ - name: Publish gem to GitHub packages
63
+ run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
64
+ env:
65
+ GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
66
+
67
+ release-to-rubygems:
68
+ needs: build-release
69
+ name: Release gem to rubygems.org
70
+ runs-on: ubuntu-24.04
71
+ environment: release # recommended by rubygems.org
72
+ permissions:
73
+ id-token: write # rubygems.org authentication
74
+ steps:
75
+ - name: Download gem from GitHub cache
76
+ uses: actions/download-artifact@v8
77
+ with:
78
+ name: gem-artifact
79
+ - uses: rubygems/configure-rubygems-credentials@v2.1.0
25
80
  - name: Publish gem to rubygems.org
81
+ shell: bash
26
82
  run: gem push *.gem
27
- env:
28
- GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
29
- - name: Setup GitHub packages access
83
+
84
+ release-verification:
85
+ name: Check that all releases are done
86
+ runs-on: ubuntu-24.04
87
+ permissions:
88
+ contents: read # minimal permissions that we have to grant
89
+ needs:
90
+ - create-github-release
91
+ - release-to-github
92
+ - release-to-rubygems
93
+ steps:
94
+ - name: Download gem from GitHub cache
95
+ uses: actions/download-artifact@v8
96
+ with:
97
+ name: gem-artifact
98
+ - name: Install Ruby
99
+ uses: ruby/setup-ruby@v1
100
+ with:
101
+ ruby-version: 'ruby'
102
+ - name: Wait for release to propagate
103
+ shell: bash
30
104
  run: |
31
- mkdir -p ~/.gem
32
- echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
33
- chmod 0600 ~/.gem/credentials
34
- - name: Publish gem to GitHub packages
35
- run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
105
+ gem install rubygems-await
106
+ gem await *.gem
@@ -6,41 +6,40 @@ on:
6
6
  branches:
7
7
  - master
8
8
 
9
+ permissions:
10
+ contents: read # minimal required permissions to clone repo
11
+
9
12
  jobs:
10
- rubocop:
11
- env:
12
- BUNDLE_WITHOUT: release
13
+ rubocop_and_matrix:
13
14
  runs-on: ubuntu-latest
15
+ outputs:
16
+ ruby: ${{ steps.ruby.outputs.versions }}
14
17
  steps:
15
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v7
16
19
  - name: Install Ruby ${{ matrix.ruby }}
17
20
  uses: ruby/setup-ruby@v1
18
21
  with:
19
- ruby-version: "3.3"
22
+ ruby-version: "3.4"
20
23
  bundler-cache: true
21
24
  - name: Run Rubocop
22
25
  run: bundle exec rake rubocop
26
+ - id: ruby
27
+ uses: voxpupuli/ruby-version@v2
23
28
 
24
29
  test:
25
30
  runs-on: ubuntu-latest
31
+ needs: rubocop_and_matrix
26
32
  strategy:
27
33
  fail-fast: false
28
34
  matrix:
29
- ruby:
30
- - '2.7'
31
- - '3.0'
32
- - '3.1'
33
- - '3.2'
34
- - '3.3'
35
+ ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
35
36
  steps:
36
- - uses: actions/checkout@v4
37
+ - uses: actions/checkout@v7
37
38
  - name: Install Ruby ${{ matrix.ruby }}
38
39
  uses: ruby/setup-ruby@v1
39
40
  with:
40
41
  ruby-version: ${{ matrix.ruby }}
41
42
  bundler-cache: true
42
- env:
43
- BUNDLE_WITHOUT: release
44
43
  - name: Run tests
45
44
  run: bundle exec rake spec
46
45
  - name: Build gem
@@ -48,7 +47,6 @@ jobs:
48
47
 
49
48
  tests:
50
49
  needs:
51
- - rubocop
52
50
  - test
53
51
  runs-on: ubuntu-latest
54
52
  name: Test suite
data/.rubocop_todo.yml CHANGED
@@ -1,13 +1,13 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2024-06-10 08:58:13 UTC using RuboCop version 1.63.5.
2
+ # `rubocop --auto-gen-config --no-auto-gen-timestamp`
3
+ # using RuboCop version 1.79.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
10
+ # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
11
11
  Lint/DuplicateBranch:
12
12
  Exclude:
13
13
  - 'Rakefile'
@@ -18,13 +18,6 @@ Lint/SuppressedException:
18
18
  Exclude:
19
19
  - 'Rakefile'
20
20
 
21
- # Offense count: 3
22
- # This cop supports unsafe autocorrection (--autocorrect-all).
23
- # Configuration parameters: AutoCorrect.
24
- Lint/UselessAssignment:
25
- Exclude:
26
- - 'spec/facts_spec.rb'
27
-
28
21
  # Offense count: 3
29
22
  # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
30
23
  # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
@@ -71,14 +64,10 @@ RSpec/DescribedClass:
71
64
  Exclude:
72
65
  - 'spec/facter_db_spec.rb'
73
66
 
74
- # Offense count: 3
67
+ # Offense count: 4
75
68
  # Configuration parameters: CountAsOne.
76
69
  RSpec/ExampleLength:
77
- Max: 9
78
-
79
- # Offense count: 4
80
- RSpec/MultipleExpectations:
81
- Max: 7
70
+ Max: 13
82
71
 
83
72
  # Offense count: 11
84
73
  # Configuration parameters: AllowSubject.
@@ -105,6 +94,12 @@ Style/CaseLikeIf:
105
94
  Exclude:
106
95
  - 'Rakefile'
107
96
 
97
+ # Offense count: 1
98
+ # This cop supports unsafe autocorrection (--autocorrect-all).
99
+ Style/CollectionQuerying:
100
+ Exclude:
101
+ - 'spec/facts_spec.rb'
102
+
108
103
  # Offense count: 2
109
104
  # Configuration parameters: AllowedConstants.
110
105
  Style/Documentation:
@@ -120,6 +115,7 @@ Style/Documentation:
120
115
  # SupportedStyles: always, always_true, never
121
116
  Style/FrozenStringLiteralComment:
122
117
  Exclude:
118
+ - '**/*.arb'
123
119
  - 'Gemfile'
124
120
  - 'Rakefile'
125
121
  - 'bin/facterdb'
@@ -186,9 +182,9 @@ Style/SymbolProc:
186
182
  Exclude:
187
183
  - 'Rakefile'
188
184
 
189
- # Offense count: 4
185
+ # Offense count: 5
190
186
  # This cop supports safe autocorrection (--autocorrect).
191
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
187
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
192
188
  # URISchemes: http, https
193
189
  Layout/LineLength:
194
190
  Max: 154
data/CHANGELOG.md CHANGED
@@ -1,5 +1,178 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.5.0](https://rubygems.org/gems/facterdb/versions/4.5.0) (2026-08-13)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.4.0...4.5.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - feat: add OpenFact 5.6 facts for RedHat 10 x86\_64 [\#462](https://github.com/voxpupuli/facterdb/pull/462) ([cyberkov](https://github.com/cyberkov))
10
+
11
+ **Closed issues:**
12
+
13
+ - Please add support for RHEL10 [\#461](https://github.com/voxpupuli/facterdb/issues/461)
14
+
15
+ ## [4.4.0](https://rubygems.org/gems/facterdb/versions/4.4.0) (2026-05-01)
16
+
17
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.3.0...4.4.0)
18
+
19
+ **Implemented enhancements:**
20
+
21
+ - Add OpenFact 5.2, 5.4, 5.6 factsets [\#456](https://github.com/voxpupuli/facterdb/pull/456) ([bastelfreak](https://github.com/bastelfreak))
22
+
23
+ ## [4.3.0](https://rubygems.org/gems/facterdb/versions/4.3.0) (2026-04-27)
24
+
25
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.2.0...4.3.0)
26
+
27
+ **Implemented enhancements:**
28
+
29
+ - Add Ubuntu 26.04 factset [\#453](https://github.com/voxpupuli/facterdb/pull/453) ([bastelfreak](https://github.com/bastelfreak))
30
+ - Add Ruby 4.0 support [\#443](https://github.com/voxpupuli/facterdb/pull/443) ([dependabot[bot]](https://github.com/apps/dependabot))
31
+
32
+ ## [4.2.0](https://rubygems.org/gems/facterdb/versions/4.2.0) (2025-11-22)
33
+
34
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.1.0...4.2.0)
35
+
36
+ **Implemented enhancements:**
37
+
38
+ - Add FreeBSD 13/14 Openfact 5.1 factsets [\#438](https://github.com/voxpupuli/facterdb/pull/438) ([bastelfreak](https://github.com/bastelfreak))
39
+ - Add Windows 10/11 openfact 5.1 factsets [\#437](https://github.com/voxpupuli/facterdb/pull/437) ([bastelfreak](https://github.com/bastelfreak))
40
+ - Add Windows 2025 openfact 5.1 factset [\#435](https://github.com/voxpupuli/facterdb/pull/435) ([bastelfreak](https://github.com/bastelfreak))
41
+ - Add opensuse 16 Openfact 5.1 factset [\#434](https://github.com/voxpupuli/facterdb/pull/434) ([bastelfreak](https://github.com/bastelfreak))
42
+ - Add AmazonLinux 2023 [\#433](https://github.com/voxpupuli/facterdb/pull/433) ([bastelfreak](https://github.com/bastelfreak))
43
+ - Add Windows Server 2019/2022 openfact 5.1 factsets [\#432](https://github.com/voxpupuli/facterdb/pull/432) ([bastelfreak](https://github.com/bastelfreak))
44
+ - Add Fedora 42 factset [\#430](https://github.com/voxpupuli/facterdb/pull/430) ([bastelfreak](https://github.com/bastelfreak))
45
+ - Add Fedora 43 factsets [\#429](https://github.com/voxpupuli/facterdb/pull/429) ([bastelfreak](https://github.com/bastelfreak))
46
+ - Add oraclelinux-10 factsets [\#428](https://github.com/voxpupuli/facterdb/pull/428) ([bastelfreak](https://github.com/bastelfreak))
47
+ - Refactor Vagrantfile & feat: add new OS versions [\#427](https://github.com/voxpupuli/facterdb/pull/427) ([d1nuc0m](https://github.com/d1nuc0m))
48
+
49
+ **Merged pull requests:**
50
+
51
+ - deprecation: Legacy facts are deprecated [\#425](https://github.com/voxpupuli/facterdb/pull/425) ([marcusdots](https://github.com/marcusdots))
52
+ - Update voxpupuli-rubocop requirement from ~\> 4.2.0 to ~\> 5.0.0 [\#422](https://github.com/voxpupuli/facterdb/pull/422) ([dependabot[bot]](https://github.com/apps/dependabot))
53
+
54
+ ## [4.1.0](https://rubygems.org/gems/facterdb/versions/4.1.0) (2025-09-09)
55
+
56
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.0.0...4.1.0)
57
+
58
+ **Implemented enhancements:**
59
+
60
+ - Add EL/Debian/Ubuntu OpenFact 5.1 factsets [\#420](https://github.com/voxpupuli/facterdb/pull/420) ([bastelfreak](https://github.com/bastelfreak))
61
+ - Debian 13: Add OpenFact 5.1 factset [\#419](https://github.com/voxpupuli/facterdb/pull/419) ([bastelfreak](https://github.com/bastelfreak))
62
+ - Add AlmaLinux 10 facts [\#418](https://github.com/voxpupuli/facterdb/pull/418) ([matejzero](https://github.com/matejzero))
63
+
64
+ ## [4.0.0](https://rubygems.org/gems/facterdb/versions/4.0.0) (2025-08-12)
65
+
66
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.10.0...4.0.0)
67
+
68
+ **Breaking changes:**
69
+
70
+ - Require Ruby 3.2 or newer [\#415](https://github.com/voxpupuli/facterdb/pull/415) ([bastelfreak](https://github.com/bastelfreak))
71
+
72
+ ## [3.10.0](https://rubygems.org/gems/facterdb/versions/3.10.0) (2025-08-11)
73
+
74
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.9.0...3.10.0)
75
+
76
+ **Implemented enhancements:**
77
+
78
+ - Add Debian 13 Facter 4.11 & OpenFact 5.1 factsets [\#411](https://github.com/voxpupuli/facterdb/pull/411) ([bastelfreak](https://github.com/bastelfreak))
79
+
80
+ ## [3.9.0](https://rubygems.org/gems/facterdb/versions/3.9.0) (2025-08-01)
81
+
82
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.8.0...3.9.0)
83
+
84
+ **Implemented enhancements:**
85
+
86
+ - chore: add Debian 13 facts [\#408](https://github.com/voxpupuli/facterdb/pull/408) ([TheMeier](https://github.com/TheMeier))
87
+
88
+ ## [3.8.0](https://rubygems.org/gems/facterdb/versions/3.8.0) (2025-06-12)
89
+
90
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.7.0...3.8.0)
91
+
92
+ **Implemented enhancements:**
93
+
94
+ - Drop Facter dependency [\#405](https://github.com/voxpupuli/facterdb/pull/405) ([bastelfreak](https://github.com/bastelfreak))
95
+ - add in more facts for various OS releases [\#403](https://github.com/voxpupuli/facterdb/pull/403) ([hbrown-uiowa](https://github.com/hbrown-uiowa))
96
+ - Add Fedora 40 & 41 factsets [\#400](https://github.com/voxpupuli/facterdb/pull/400) ([hbrown-uiowa](https://github.com/hbrown-uiowa))
97
+ - feat: add ubuntu 22.04 & 24.04 arm64 factsets [\#398](https://github.com/voxpupuli/facterdb/pull/398) ([rwaffen](https://github.com/rwaffen))
98
+ - feat: update centos installation and factsets [\#397](https://github.com/voxpupuli/facterdb/pull/397) ([rwaffen](https://github.com/rwaffen))
99
+
100
+ ## [3.7.0](https://rubygems.org/gems/facterdb/versions/3.7.0) (2025-03-05)
101
+
102
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.6.0...3.7.0)
103
+
104
+ **Implemented enhancements:**
105
+
106
+ - Add FreeBSD 13/14 factsets [\#395](https://github.com/voxpupuli/facterdb/pull/395) ([bastelfreak](https://github.com/bastelfreak))
107
+
108
+ ## [3.6.0](https://rubygems.org/gems/facterdb/versions/3.6.0) (2025-03-05)
109
+
110
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.5.0...3.6.0)
111
+
112
+ **Implemented enhancements:**
113
+
114
+ - Add Ubuntu 20.04/22.04 and Debian 11/12 factsets for Facter 4.8 - 4.11 [\#393](https://github.com/voxpupuli/facterdb/pull/393) ([rwaffen](https://github.com/rwaffen))
115
+
116
+ ## [3.5.0](https://rubygems.org/gems/facterdb/versions/3.5.0) (2025-03-04)
117
+
118
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.4.0...3.5.0)
119
+
120
+ **Implemented enhancements:**
121
+
122
+ - Add Ubuntu 24.04 factsets and fix fact generation on Debian OS family [\#391](https://github.com/voxpupuli/facterdb/pull/391) ([rwaffen](https://github.com/rwaffen))
123
+ - feat: add redhat-8/9 facts for 4.10 and 4.11 [\#390](https://github.com/voxpupuli/facterdb/pull/390) ([rwaffen](https://github.com/rwaffen))
124
+ - Add Ruby 3.4 support [\#389](https://github.com/voxpupuli/facterdb/pull/389) ([bastelfreak](https://github.com/bastelfreak))
125
+ - Add CentOS 10 factsets & Switch to openvox packages [\#388](https://github.com/voxpupuli/facterdb/pull/388) ([bastelfreak](https://github.com/bastelfreak))
126
+
127
+ **Merged pull requests:**
128
+
129
+ - Update voxpupuli-rubocop requirement from ~\> 2.8.0 to ~\> 3.0.0 [\#386](https://github.com/voxpupuli/facterdb/pull/386) ([dependabot[bot]](https://github.com/apps/dependabot))
130
+
131
+ ## [3.4.0](https://rubygems.org/gems/facterdb/versions/3.4.0) (2024-09-16)
132
+
133
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.3.0...3.4.0)
134
+
135
+ **Implemented enhancements:**
136
+
137
+ - Add Rocky 8 factsets, switch to bento box [\#382](https://github.com/voxpupuli/facterdb/pull/382) ([bastelfreak](https://github.com/bastelfreak))
138
+
139
+ ## [3.3.0](https://rubygems.org/gems/facterdb/versions/3.3.0) (2024-09-11)
140
+
141
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.2.0...3.3.0)
142
+
143
+ **Implemented enhancements:**
144
+
145
+ - Add Facter 4.9.0 / Puppet 8.9.0 support + factsets [\#381](https://github.com/voxpupuli/facterdb/pull/381) ([bastelfreak](https://github.com/bastelfreak))
146
+ - Facter 4.8: Add Ubuntu 24.04 factset [\#378](https://github.com/voxpupuli/facterdb/pull/378) ([bastelfreak](https://github.com/bastelfreak))
147
+
148
+ **Fixed bugs:**
149
+
150
+ - Ubuntu 24.04: Regenerate all factsets with AIO facts [\#380](https://github.com/voxpupuli/facterdb/pull/380) ([bastelfreak](https://github.com/bastelfreak))
151
+
152
+ **Merged pull requests:**
153
+
154
+ - Ensure all Factsets have modern facts [\#377](https://github.com/voxpupuli/facterdb/pull/377) ([bastelfreak](https://github.com/bastelfreak))
155
+
156
+ ## [3.2.0](https://rubygems.org/gems/facterdb/versions/3.2.0) (2024-08-27)
157
+
158
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.1.0...3.2.0)
159
+
160
+ **Implemented enhancements:**
161
+
162
+ - ubuntu-24.04-x86\_64: Add factsets [\#375](https://github.com/voxpupuli/facterdb/pull/375) ([bastelfreak](https://github.com/bastelfreak))
163
+
164
+ ## [3.1.0](https://rubygems.org/gems/facterdb/versions/3.1.0) (2024-06-14)
165
+
166
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.0.0...3.1.0)
167
+
168
+ **Implemented enhancements:**
169
+
170
+ - Cleanup legacy facts leftovers [\#370](https://github.com/voxpupuli/facterdb/pull/370) ([bastelfreak](https://github.com/bastelfreak))
171
+
172
+ **Fixed bugs:**
173
+
174
+ - Purge custom facts [\#371](https://github.com/voxpupuli/facterdb/pull/371) ([bastelfreak](https://github.com/bastelfreak))
175
+
3
176
  ## [3.0.0](https://rubygems.org/gems/facterdb/versions/3.0.0) (2024-06-10)
4
177
 
5
178
  [Full Changelog](https://github.com/voxpupuli/facterdb/compare/2.1.0...3.0.0)
data/Gemfile CHANGED
@@ -2,11 +2,10 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'facter', ENV.fetch('FACTER_GEM_VERSION', nil), require: false
6
-
7
- group :development do
8
- gem 'faraday-retry', require: false
9
- gem 'github_changelog_generator', '>= 1.16.4', require: false
10
- gem 'redcarpet'
11
- gem 'yard'
5
+ group :release, optional: true do
6
+ gem 'faraday-retry', '~> 2.1', require: false
7
+ gem 'github_changelog_generator', '~> 1.18', require: false
12
8
  end
9
+
10
+ # required to generate the github pages
11
+ gem 'yard', '~> 0.9.43'
data/README.md CHANGED
@@ -39,28 +39,10 @@ Returns an Array of Hash containing the whole facts database.
39
39
 
40
40
  ## Filtering by Facter version and fact values
41
41
 
42
- ### With an Array filter
43
-
44
- ```ruby
45
- require 'facterdb'
46
-
47
- FacterDB.get_facts([{:osfamily => 'Debian'}])
48
- ```
49
-
50
- ### With an Hash filter
51
-
52
- ```ruby
53
- require 'facterdb'
54
-
55
- FacterDB.get_facts({:osfamily => 'Debian'})
56
- ```
57
-
58
- ### With a String filter
59
-
60
42
  ```ruby
61
43
  require 'facterdb'
62
44
 
63
- FacterDB::get_facts('osfamily=Debian')
45
+ FacterDB::get_facts('os.family=Debian')
64
46
  ```
65
47
 
66
48
  ## Included Factsets
@@ -171,7 +153,9 @@ Please submit issues at https://github.com/voxpupuli/facterdb/issues or PRs in t
171
153
  ## Release process
172
154
 
173
155
  * Update the version in `lib/facterdb/version.rb`
174
- * Run `rake changelog`
156
+ * `bundle config set --local path .vendor`
157
+ * `bundle config set --local with 'development'`
158
+ * `CHANGELOG_GITHUB_TOKEN="github_PAT" bundle exec rake changelog`
175
159
  * Commit and PR the results.
176
160
 
177
161
 
@@ -21,6 +21,7 @@ LEGACY_FACTS = %w[
21
21
  boardserialnumber
22
22
  chassisassettag
23
23
  chassistype
24
+ dhcp_servers
24
25
  domain
25
26
  fqdn
26
27
  gid
@@ -28,8 +29,9 @@ LEGACY_FACTS = %w[
28
29
  hardwaremodel
29
30
  hostname
30
31
  id
31
- ipaddress
32
- ipaddress6
32
+ interfaces
33
+ ipaddress_.*
34
+ ipaddress6_.*
33
35
  lsbdistcodename
34
36
  lsbdistdescription
35
37
  lsbdistid
@@ -37,7 +39,7 @@ LEGACY_FACTS = %w[
37
39
  lsbmajdistrelease
38
40
  lsbminordistrelease
39
41
  lsbrelease
40
- macaddress
42
+ macaddress_.*
41
43
  macosx_buildversion
42
44
  macosx_productname
43
45
  macosx_productversion
@@ -48,10 +50,11 @@ LEGACY_FACTS = %w[
48
50
  memoryfree_mb
49
51
  memorysize
50
52
  memorysize_mb
51
- netmask
52
- netmask6
53
- network
54
- network6
53
+ mtu_.*
54
+ netmask6_.*
55
+ netmask_.*
56
+ network6_.*
57
+ network_.*
55
58
  operatingsystem
56
59
  operatingsystemmajrelease
57
60
  operatingsystemrelease
@@ -63,6 +66,14 @@ LEGACY_FACTS = %w[
63
66
  rubyplatform
64
67
  rubysitedir
65
68
  rubyversion
69
+ sshdsakey
70
+ sshecdsakey
71
+ sshed25519key
72
+ sshfp_dsa
73
+ sshfp_ecdsa
74
+ sshfp_ed25519
75
+ sshfp_rsa
76
+ sshrsakey
66
77
  scope6
67
78
  selinux
68
79
  selinux_config_mode
data/facterdb.gemspec CHANGED
@@ -15,13 +15,12 @@ Gem::Specification.new do |s|
15
15
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
16
16
 
17
17
  # we have that configured in our CI file
18
- s.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
18
+ s.required_ruby_version = Gem::Requirement.new('>= 3.2.0')
19
19
 
20
20
  s.add_development_dependency 'coveralls', '~> 0.8.23'
21
21
  s.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
22
22
  s.add_development_dependency 'rspec', '~> 3.13'
23
23
 
24
- s.add_development_dependency 'voxpupuli-rubocop', '~> 2.7.0'
25
- s.add_runtime_dependency 'facter', '< 5.0.0'
26
- s.add_runtime_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
24
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 5.2.0'
25
+ s.add_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
27
26
  end