facterdb 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_todo.yml +5 -6
  3. data/CHANGELOG.md +12 -0
  4. data/bin/legacy-facts-striper +127 -0
  5. data/database/list_arch_os_facter.md +6 -16
  6. data/database/list_facter_os_arch.md +211 -227
  7. data/database/list_os_arch_facter.md +45 -56
  8. data/database/list_os_facter_arch.md +210 -229
  9. data/database/table.md +0 -3
  10. data/facts/4.0/almalinux-8-x86_64.facts +0 -63
  11. data/facts/4.0/almalinux-9-x86_64.facts +0 -59
  12. data/facts/4.0/debian-11-x86_64.facts +0 -58
  13. data/facts/4.0/freebsd-11-x86_64.facts +0 -42
  14. data/facts/4.0/freebsd-12-x86_64.facts +0 -42
  15. data/facts/4.0/freebsd-13-x86_64.facts +0 -42
  16. data/facts/4.0/opensuse-15-x86_64.facts +0 -54
  17. data/facts/4.0/oraclelinux-7-x86_64.facts +23 -16
  18. data/facts/4.0/redhat-8-x86_64.facts +0 -64
  19. data/facts/4.0/rocky-8-x86_64.facts +0 -60
  20. data/facts/4.0/rocky-9-x86_64.facts +0 -64
  21. data/facts/4.0/scientific-7-x86_64.facts +23 -16
  22. data/facts/4.0/solaris-11-sun4v.facts +0 -6
  23. data/facts/4.0/ubuntu-18.04-x86_64.facts +0 -60
  24. data/facts/4.0/ubuntu-20.04-x86_64.facts +0 -60
  25. data/facts/4.0/ubuntu-21.04-x86_64.facts +0 -60
  26. data/facts/4.0/ubuntu-21.10-x86_64.facts +0 -60
  27. data/facts/4.1/almalinux-8-x86_64.facts +0 -63
  28. data/facts/4.1/almalinux-9-x86_64.facts +0 -59
  29. data/facts/4.1/debian-11-x86_64.facts +0 -58
  30. data/facts/4.1/freebsd-11-x86_64.facts +0 -42
  31. data/facts/4.1/freebsd-12-x86_64.facts +0 -42
  32. data/facts/4.1/freebsd-13-x86_64.facts +0 -42
  33. data/facts/4.1/opensuse-15-x86_64.facts +0 -54
  34. data/facts/4.1/redhat-8-x86_64.facts +0 -64
  35. data/facts/4.1/rocky-8-x86_64.facts +0 -60
  36. data/facts/4.1/rocky-9-x86_64.facts +0 -64
  37. data/facts/4.1/ubuntu-18.04-x86_64.facts +0 -60
  38. data/facts/4.1/ubuntu-20.04-x86_64.facts +0 -60
  39. data/facts/4.1/ubuntu-21.04-x86_64.facts +0 -60
  40. data/facts/4.1/ubuntu-21.10-x86_64.facts +0 -60
  41. data/facts/4.2/almalinux-8-x86_64.facts +0 -59
  42. data/facts/4.2/almalinux-9-x86_64.facts +0 -59
  43. data/facts/4.2/amazon-2022-x86_64.facts +0 -7
  44. data/facts/4.2/archlinux-x86_64.facts +0 -54
  45. data/facts/4.2/centos-9-x86_64.facts +0 -62
  46. data/facts/4.2/darwin-20-x86_64.facts +1 -63
  47. data/facts/4.2/debian-11-x86_64.facts +0 -58
  48. data/facts/4.2/debian-12-i386.facts +0 -58
  49. data/facts/4.2/debian-12-x86_64.facts +0 -58
  50. data/facts/4.2/fedora-36-x86_64.facts +0 -63
  51. data/facts/4.2/fedora-37-x86_64.facts +0 -63
  52. data/facts/4.2/fedora-38-x86_64.facts +0 -62
  53. data/facts/4.2/fedora-39-x86_64.facts +0 -62
  54. data/facts/4.2/freebsd-11-x86_64.facts +0 -42
  55. data/facts/4.2/freebsd-12-x86_64.facts +0 -42
  56. data/facts/4.2/freebsd-13-x86_64.facts +0 -42
  57. data/facts/4.2/gentoo-2-x86_64.facts +0 -65
  58. data/facts/4.2/opensuse-15-x86_64.facts +0 -54
  59. data/facts/4.2/oraclelinux-7-x86_64.facts +0 -63
  60. data/facts/4.2/oraclelinux-8-x86_64.facts +0 -63
  61. data/facts/4.2/oraclelinux-9-x86_64.facts +0 -12
  62. data/facts/4.2/popos-21.10-x86_64.facts +0 -36
  63. data/facts/4.2/redhat-8-x86_64.facts +0 -64
  64. data/facts/4.2/redhat-9-x86_64.facts +0 -64
  65. data/facts/4.2/rocky-8-x86_64.facts +0 -60
  66. data/facts/4.2/rocky-9-x86_64.facts +0 -64
  67. data/facts/4.2/scientific-7-x86_64.facts +0 -63
  68. data/facts/4.2/sles-12-x86_64.facts +0 -54
  69. data/facts/4.2/sles-15-x86_64.facts +0 -58
  70. data/facts/4.2/ubuntu-18.04-x86_64.facts +0 -60
  71. data/facts/4.2/ubuntu-20.04-x86_64.facts +0 -60
  72. data/facts/4.2/ubuntu-21.04-x86_64.facts +0 -60
  73. data/facts/4.2/ubuntu-21.10-x86_64.facts +0 -60
  74. data/facts/4.2/ubuntu-22.04-x86_64.facts +0 -60
  75. data/facts/4.2/ubuntu-22.10-x86_64.facts +0 -60
  76. data/facts/4.2/windows-10-x86_64.facts +1 -44
  77. data/facts/4.2/windows-11-x86_64.facts +1 -44
  78. data/facts/4.2/windows-2012 r2-x86_64.facts +1 -42
  79. data/facts/4.2/windows-2012-x86_64.facts +7 -42
  80. data/facts/4.2/windows-2016-core-x86_64.facts +7 -43
  81. data/facts/4.2/windows-2016-x86_64.facts +7 -43
  82. data/facts/4.2/windows-2019-core-x86_64.facts +1 -43
  83. data/facts/4.2/windows-2019-x86_64.facts +1 -43
  84. data/facts/4.2/windows-2022-core-x86_64.facts +1 -44
  85. data/facts/4.2/windows-2022-x86_64.facts +1 -44
  86. data/facts/4.3/almalinux-8-x86_64.facts +0 -59
  87. data/facts/4.3/almalinux-9-x86_64.facts +0 -59
  88. data/facts/4.3/archlinux-x86_64.facts +0 -54
  89. data/facts/4.3/centos-9-x86_64.facts +0 -62
  90. data/facts/4.3/debian-11-x86_64.facts +0 -58
  91. data/facts/4.3/debian-12-i386.facts +0 -58
  92. data/facts/4.3/debian-12-x86_64.facts +0 -58
  93. data/facts/4.3/fedora-36-x86_64.facts +0 -63
  94. data/facts/4.3/fedora-37-x86_64.facts +0 -63
  95. data/facts/4.3/fedora-38-x86_64.facts +0 -62
  96. data/facts/4.3/fedora-39-x86_64.facts +0 -62
  97. data/facts/4.3/freebsd-13-x86_64.facts +0 -43
  98. data/facts/4.3/gentoo-2-x86_64.facts +0 -65
  99. data/facts/4.3/opensuse-15-x86_64.facts +0 -54
  100. data/facts/4.3/oraclelinux-8-x86_64.facts +0 -68
  101. data/facts/4.3/oraclelinux-9-x86_64.facts +0 -60
  102. data/facts/4.3/redhat-8-x86_64.facts +0 -64
  103. data/facts/4.3/redhat-9-x86_64.facts +0 -64
  104. data/facts/4.3/rocky-8-x86_64.facts +0 -64
  105. data/facts/4.3/rocky-9-x86_64.facts +0 -64
  106. data/facts/4.3/sles-12-x86_64.facts +0 -61
  107. data/facts/4.3/ubuntu-18.04-x86_64.facts +0 -60
  108. data/facts/4.3/ubuntu-20.04-x86_64.facts +0 -60
  109. data/facts/4.3/ubuntu-22.04-x86_64.facts +0 -60
  110. data/facts/4.3/windows-10-x86_64.facts +1 -44
  111. data/facts/4.3/windows-11-x86_64.facts +1 -44
  112. data/facts/4.3/windows-2012 r2-x86_64.facts +2 -43
  113. data/facts/4.3/windows-2012-x86_64.facts +1 -42
  114. data/facts/4.3/windows-2016-core-x86_64.facts +1 -43
  115. data/facts/4.3/windows-2016-x86_64.facts +1 -43
  116. data/facts/4.3/windows-2019-core-x86_64.facts +1 -43
  117. data/facts/4.3/windows-2019-x86_64.facts +1 -43
  118. data/facts/4.3/windows-2022-core-x86_64.facts +1 -44
  119. data/facts/4.3/windows-2022-x86_64.facts +1 -44
  120. data/facts/4.4/almalinux-8-x86_64.facts +0 -59
  121. data/facts/4.4/almalinux-9-x86_64.facts +0 -59
  122. data/facts/4.4/archlinux-x86_64.facts +0 -54
  123. data/facts/4.4/centos-9-x86_64.facts +0 -62
  124. data/facts/4.4/debian-11-x86_64.facts +0 -58
  125. data/facts/4.4/debian-12-i386.facts +0 -58
  126. data/facts/4.4/debian-12-x86_64.facts +0 -58
  127. data/facts/4.4/fedora-36-x86_64.facts +0 -63
  128. data/facts/4.4/fedora-37-x86_64.facts +0 -63
  129. data/facts/4.4/fedora-38-x86_64.facts +0 -62
  130. data/facts/4.4/fedora-39-x86_64.facts +0 -62
  131. data/facts/4.4/freebsd-13-x86_64.facts +0 -41
  132. data/facts/4.4/gentoo-2-x86_64.facts +0 -65
  133. data/facts/4.4/opensuse-15-x86_64.facts +0 -54
  134. data/facts/4.4/oraclelinux-8-x86_64.facts +0 -68
  135. data/facts/4.4/oraclelinux-9-x86_64.facts +0 -60
  136. data/facts/4.4/redhat-8-x86_64.facts +0 -64
  137. data/facts/4.4/redhat-9-x86_64.facts +0 -64
  138. data/facts/4.4/rocky-8-x86_64.facts +0 -64
  139. data/facts/4.4/rocky-9-x86_64.facts +0 -64
  140. data/facts/4.4/sles-12-x86_64.facts +0 -61
  141. data/facts/4.4/ubuntu-18.04-x86_64.facts +0 -60
  142. data/facts/4.4/ubuntu-20.04-x86_64.facts +0 -60
  143. data/facts/4.4/ubuntu-22.04-x86_64.facts +0 -60
  144. data/facts/4.4/windows-10-x86_64.facts +1 -44
  145. data/facts/4.4/windows-11-x86_64.facts +1 -44
  146. data/facts/4.4/windows-2012 r2-x86_64.facts +1 -42
  147. data/facts/4.4/windows-2012-x86_64.facts +1 -42
  148. data/facts/4.4/windows-2016-core-x86_64.facts +1 -43
  149. data/facts/4.4/windows-2016-x86_64.facts +2 -44
  150. data/facts/4.4/windows-2019-core-x86_64.facts +1 -43
  151. data/facts/4.4/windows-2019-x86_64.facts +1 -43
  152. data/facts/4.4/windows-2022-core-x86_64.facts +1 -44
  153. data/facts/4.4/windows-2022-x86_64.facts +1 -44
  154. data/facts/4.5/almalinux-8-x86_64.facts +0 -59
  155. data/facts/4.5/almalinux-9-x86_64.facts +0 -59
  156. data/facts/4.5/amazon-2-x86_64.facts +0 -54
  157. data/facts/4.5/archlinux-x86_64.facts +0 -54
  158. data/facts/4.5/centos-9-x86_64.facts +0 -62
  159. data/facts/4.5/debian-11-x86_64.facts +0 -58
  160. data/facts/4.5/debian-12-x86_64.facts +0 -58
  161. data/facts/4.5/fedora-36-x86_64.facts +0 -63
  162. data/facts/4.5/fedora-37-x86_64.facts +0 -63
  163. data/facts/4.5/fedora-38-x86_64.facts +0 -62
  164. data/facts/4.5/fedora-39-x86_64.facts +0 -62
  165. data/facts/4.5/freebsd-12-x86_64.facts +0 -43
  166. data/facts/4.5/freebsd-13-x86_64.facts +0 -43
  167. data/facts/4.5/gentoo-2-x86_64.facts +0 -65
  168. data/facts/4.5/opensuse-15-x86_64.facts +0 -54
  169. data/facts/4.5/oraclelinux-8-x86_64.facts +0 -68
  170. data/facts/4.5/oraclelinux-9-x86_64.facts +0 -60
  171. data/facts/4.5/redhat-8-x86_64.facts +0 -64
  172. data/facts/4.5/redhat-9-x86_64.facts +0 -64
  173. data/facts/4.5/rocky-8-x86_64.facts +0 -64
  174. data/facts/4.5/rocky-9-x86_64.facts +0 -64
  175. data/facts/4.5/ubuntu-18.04-x86_64.facts +0 -60
  176. data/facts/4.5/ubuntu-20.04-x86_64.facts +0 -60
  177. data/facts/4.5/ubuntu-22.04-x86_64.facts +0 -60
  178. data/facts/4.5/windows-10-x86_64.facts +1 -44
  179. data/facts/4.5/windows-11-x86_64.facts +1 -44
  180. data/facts/4.5/windows-2019-x86_64.facts +1 -43
  181. data/facts/4.5/windows-2022-x86_64.facts +1 -44
  182. data/facts/4.6/almalinux-8-x86_64.facts +0 -59
  183. data/facts/4.6/almalinux-9-x86_64.facts +0 -59
  184. data/facts/4.6/archlinux-x86_64.facts +0 -54
  185. data/facts/4.6/centos-9-x86_64.facts +0 -62
  186. data/facts/4.6/debian-11-x86_64.facts +0 -58
  187. data/facts/4.6/debian-12-x86_64.facts +0 -58
  188. data/facts/4.6/fedora-36-x86_64.facts +0 -63
  189. data/facts/4.6/fedora-37-x86_64.facts +0 -63
  190. data/facts/4.6/fedora-38-x86_64.facts +0 -62
  191. data/facts/4.6/fedora-39-x86_64.facts +0 -62
  192. data/facts/4.6/gentoo-2-x86_64.facts +0 -65
  193. data/facts/4.6/oraclelinux-8-x86_64.facts +0 -68
  194. data/facts/4.6/oraclelinux-9-x86_64.facts +0 -60
  195. data/facts/4.6/redhat-8-x86_64.facts +0 -64
  196. data/facts/4.6/redhat-9-x86_64.facts +0 -64
  197. data/facts/4.6/rocky-9-x86_64.facts +0 -64
  198. data/facts/4.6/ubuntu-20.04-x86_64.facts +0 -60
  199. data/facts/4.6/ubuntu-22.04-x86_64.facts +0 -60
  200. data/facts/4.6/windows-10-x86_64.facts +1 -44
  201. data/facts/4.6/windows-11-x86_64.facts +1 -44
  202. data/facts/4.6/windows-2019-x86_64.facts +1 -43
  203. data/facts/4.6/windows-2022-x86_64.facts +1 -44
  204. data/facts/4.7/almalinux-8-x86_64.facts +0 -59
  205. data/facts/4.7/almalinux-9-x86_64.facts +0 -59
  206. data/facts/4.7/archlinux-x86_64.facts +0 -54
  207. data/facts/4.7/centos-9-x86_64.facts +0 -62
  208. data/facts/4.7/debian-11-x86_64.facts +0 -58
  209. data/facts/4.7/debian-12-x86_64.facts +0 -58
  210. data/facts/4.7/fedora-36-x86_64.facts +0 -63
  211. data/facts/4.7/fedora-37-x86_64.facts +0 -63
  212. data/facts/4.7/fedora-38-x86_64.facts +0 -62
  213. data/facts/4.7/fedora-39-x86_64.facts +0 -62
  214. data/facts/4.7/gentoo-2-x86_64.facts +0 -65
  215. data/facts/4.7/openbsd-7-x86_64.facts +0 -31
  216. data/facts/4.7/opensuse-15-x86_64.facts +0 -54
  217. data/facts/4.7/oraclelinux-8-x86_64.facts +0 -68
  218. data/facts/4.7/oraclelinux-9-x86_64.facts +0 -60
  219. data/facts/4.7/redhat-8-x86_64.facts +0 -64
  220. data/facts/4.7/redhat-9-x86_64.facts +0 -64
  221. data/facts/4.7/rocky-9-x86_64.facts +0 -64
  222. data/facts/4.7/ubuntu-20.04-x86_64.facts +0 -60
  223. data/facts/4.7/ubuntu-22.04-x86_64.facts +0 -60
  224. data/facts/4.7/windows-10-x86_64.facts +1 -44
  225. data/facts/4.7/windows-11-x86_64.facts +1 -44
  226. data/facts/4.7/windows-2019-x86_64.facts +1 -43
  227. data/facts/4.7/windows-2022-x86_64.facts +1 -44
  228. data/facts/Vagrantfile +0 -32
  229. data/facts/get_facts.sh +10 -10
  230. data/facts/windows_get_facts.ps1 +1 -1
  231. data/lib/facterdb/bin.rb +1 -1
  232. data/lib/facterdb/version.rb +1 -1
  233. data/lib/facterdb.rb +0 -31
  234. data/spec/facter_db_spec.rb +5 -90
  235. data/spec/facts_spec.rb +16 -2
  236. metadata +4 -18
  237. data/facts/4.0/centos-7-x86_64.facts +0 -694
  238. data/facts/4.0/centos-8-x86_64.facts +0 -512
  239. data/facts/4.0/redhat-7-x86_64.facts +0 -694
  240. data/facts/4.1/centos-7-x86_64.facts +0 -582
  241. data/facts/4.1/centos-8-x86_64.facts +0 -514
  242. data/facts/4.2/centos-7-x86_64.facts +0 -593
  243. data/facts/4.2/centos-8-x86_64.facts +0 -521
  244. data/facts/4.2/redhat-7-x86_64.facts +0 -536
  245. data/facts/4.3/centos-7-x86_64.facts +0 -592
  246. data/facts/4.3/centos-8-x86_64.facts +0 -521
  247. data/facts/4.4/centos-7-x86_64.facts +0 -592
  248. data/facts/4.4/centos-8-x86_64.facts +0 -521
  249. data/facts/4.5/centos-7-x86_64.facts +0 -602
  250. data/facts/4.5/centos-8-x86_64.facts +0 -527
  251. data/facts/4.6/centos-8-x86_64.facts +0 -529
  252. data/facts/4.7/centos-8-x86_64.facts +0 -529
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "aio_agent_version": "8.6.0",
3
- "architecture": "x64",
4
3
  "dhcp_servers": {
5
4
  "Ethernet": "10.0.2.2",
6
5
  "system": "10.0.2.2"
@@ -13,28 +12,20 @@
13
12
  "uuid": "6B456DEB-9630-430D-9F85-AEBD695A160B"
14
13
  }
15
14
  },
16
- "domain": "example.com",
17
15
  "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
16
  "facterversion": "4.7.0",
19
17
  "fips_enabled": false,
20
- "fqdn": "foo.example.com",
21
- "hardwareisa": "x64",
22
- "hardwaremodel": "x86_64",
23
- "hostname": "foo",
24
18
  "hypervisors": {
25
19
  "virtualbox": {
26
20
  "revision": "161095",
27
21
  "version": "7.0.14"
28
22
  }
29
23
  },
30
- "id": "FOO\\vagrant",
31
24
  "identity": {
32
25
  "privileged": true,
33
26
  "user": "FOO\\vagrant"
34
27
  },
35
28
  "interfaces": "Ethernet",
36
- "ipaddress": "10.0.2.15",
37
- "ipaddress6": "fe80::4c6a:201b:6dd8:dfcc",
38
29
  "ipaddress6_Ethernet": "fe80::4c6a:201b:6dd8:dfcc",
39
30
  "ipaddress_Ethernet": "10.0.2.15",
40
31
  "is_virtual": true,
@@ -42,9 +33,7 @@
42
33
  "kernelmajversion": "10.0",
43
34
  "kernelrelease": "10.0.19045",
44
35
  "kernelversion": "10.0.19045",
45
- "macaddress": "08:00:27:85:56:BC",
46
36
  "macaddress_Ethernet": "08:00:27:85:56:BC",
47
- "manufacturer": "innotek GmbH",
48
37
  "memory": {
49
38
  "system": {
50
39
  "available": "2.53 GiB",
@@ -56,17 +45,9 @@
56
45
  "used_bytes": 1557131264
57
46
  }
58
47
  },
59
- "memoryfree": "2.53 GiB",
60
- "memoryfree_mb": 2594.6953125,
61
- "memorysize": "3.98 GiB",
62
- "memorysize_mb": 4079.69140625,
63
48
  "mtu_Ethernet": 1500,
64
- "netmask": "255.255.255.0",
65
- "netmask6": "ffff:ffff:ffff:ffff::",
66
49
  "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
67
50
  "netmask_Ethernet": "255.255.255.0",
68
- "network": "10.0.2.0",
69
- "network6": "fe80::",
70
51
  "network6_Ethernet": "fe80::",
71
52
  "network_Ethernet": "10.0.2.0",
72
53
  "networking": {
@@ -114,9 +95,6 @@
114
95
  "primary": "Ethernet",
115
96
  "scope6": "link"
116
97
  },
117
- "operatingsystem": "windows",
118
- "operatingsystemmajrelease": "10",
119
- "operatingsystemrelease": "10",
120
98
  "os": {
121
99
  "architecture": "x64",
122
100
  "family": "windows",
@@ -135,11 +113,7 @@
135
113
  "system32": "C:\\Windows\\system32"
136
114
  }
137
115
  },
138
- "osfamily": "windows",
139
116
  "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
140
- "physicalprocessorcount": 1,
141
- "processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
142
- "processorcount": 2,
143
117
  "processors": {
144
118
  "cores": 2,
145
119
  "count": 2,
@@ -150,19 +124,13 @@
150
124
  "physicalcount": 1,
151
125
  "threads": 1
152
126
  },
153
- "productname": "VirtualBox",
154
127
  "puppetversion": "8.6.0",
155
128
  "ruby": {
156
129
  "platform": "x64-mingw32",
157
130
  "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
158
131
  "version": "3.2.3"
159
132
  },
160
- "rubyplatform": "x64-mingw32",
161
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
162
- "rubyversion": "3.2.3",
163
- "scope6": "link",
164
133
  "scope6_Ethernet": "link",
165
- "serialnumber": "0",
166
134
  "ssh": {
167
135
  "dsa": {
168
136
  "fingerprints": {
@@ -205,7 +173,6 @@
205
173
  "sshfp_ed25519": "SSHFP 4 1 5b2b28c04b8a81b54399e20e2d36946298ed0984\nSSHFP 4 2 ee29a9053223bb924a4da7a89d16be7f041d9dd422428a31d1c3694b57d7a05e",
206
174
  "sshfp_rsa": "SSHFP 1 1 31acd9fc22a72d0cad2f671cb8fb61e60a40172b\nSSHFP 1 2 35c2e8c6c2416d20539b2c42afff5b21c9b4f6795dbab497038d1d369d76771b",
207
175
  "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDBaNeXcnDCdoHwqqk6NjPsbHQ25/btQOzW9UzeV7AIF5lFqeshEIvyJXnSnQbgO770dNMcsTi4/lXbTs/0GsrLFQwZL/h0a+hDO0Nb8ZecNsev82Jnhmxw0ikMLfRysdPePhQxKeHD8T8Q/X20TWvpHQ8eJ47P2jHEB6muSP/9eCTSQzlvZ90a4CnyiJa0ambx8qw9nrLnA8pXH3xiHvhDi9FwFbUlkqt49EzayglsumIhC2VZPvJpylT4dIcMPAkpPHfjCKtjfKTU32EGygDuFtCw9KreUw7eOAPqoRBYSH8TEl/pxBEY32Wo3l5GImVMx7JRKdv89nzB2wB6v8630F9/07WczAkeeCoJ9vW+JRPvNngSeRKvR2E5QEAkHu6d7zT0BFXVocDI5P+NFlmgj87vliBuX6O8fVWLWOGgsQLaMbDuUI5VXI475llGU/hrEFwsQjpsHEu+A1UYJgvhge3TRzVYwB/7A4m9+MPwTyKD45WhEp3vMoV3dTKzleU=",
208
- "system32": "C:\\Windows\\system32",
209
176
  "system_uptime": {
210
177
  "days": 0,
211
178
  "hours": 0,
@@ -213,15 +180,5 @@
213
180
  "uptime": "0:07 hours"
214
181
  },
215
182
  "timezone": "Coordinated Universal Time",
216
- "uptime": "0:07 hours",
217
- "uptime_days": 0,
218
- "uptime_hours": 0,
219
- "uptime_seconds": 427,
220
- "uuid": "6B456DEB-9630-430D-9F85-AEBD695A160B",
221
- "virtual": "virtualbox",
222
- "windows_display_version": "22H2",
223
- "windows_edition_id": "EnterpriseEval",
224
- "windows_installation_type": "Client",
225
- "windows_product_name": "Windows 10 Enterprise Evaluation",
226
- "windows_release_id": "22H2"
183
+ "virtual": "virtualbox"
227
184
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "aio_agent_version": "8.6.0",
3
- "architecture": "x64",
4
3
  "dhcp_servers": {
5
4
  "Ethernet": "10.0.2.2",
6
5
  "system": "10.0.2.2"
@@ -13,28 +12,20 @@
13
12
  "uuid": "128B9558-F609-41F5-A88F-5F84C5DC854E"
14
13
  }
15
14
  },
16
- "domain": "example.com",
17
15
  "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
16
  "facterversion": "4.7.0",
19
17
  "fips_enabled": false,
20
- "fqdn": "foo.example.com",
21
- "hardwareisa": "x64",
22
- "hardwaremodel": "x86_64",
23
- "hostname": "foo",
24
18
  "hypervisors": {
25
19
  "virtualbox": {
26
20
  "revision": "161095",
27
21
  "version": "7.0.14"
28
22
  }
29
23
  },
30
- "id": "FOO\\vagrant",
31
24
  "identity": {
32
25
  "privileged": true,
33
26
  "user": "FOO\\vagrant"
34
27
  },
35
28
  "interfaces": "Ethernet",
36
- "ipaddress": "10.0.2.15",
37
- "ipaddress6": "fe80::f72f:511:e1c3:e451",
38
29
  "ipaddress6_Ethernet": "fe80::f72f:511:e1c3:e451",
39
30
  "ipaddress_Ethernet": "10.0.2.15",
40
31
  "is_virtual": true,
@@ -42,9 +33,7 @@
42
33
  "kernelmajversion": "10.0",
43
34
  "kernelrelease": "10.0.22631",
44
35
  "kernelversion": "10.0.22631",
45
- "macaddress": "08:00:27:02:6D:35",
46
36
  "macaddress_Ethernet": "08:00:27:02:6D:35",
47
- "manufacturer": "innotek GmbH",
48
37
  "memory": {
49
38
  "system": {
50
39
  "available": "2.38 GiB",
@@ -56,17 +45,9 @@
56
45
  "used_bytes": 1724084224
57
46
  }
58
47
  },
59
- "memoryfree": "2.38 GiB",
60
- "memoryfree_mb": 2435.4765625,
61
- "memorysize": "3.98 GiB",
62
- "memorysize_mb": 4079.69140625,
63
48
  "mtu_Ethernet": 1500,
64
- "netmask": "255.255.255.0",
65
- "netmask6": "ffff:ffff:ffff:ffff::",
66
49
  "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
67
50
  "netmask_Ethernet": "255.255.255.0",
68
- "network": "10.0.2.0",
69
- "network6": "fe80::",
70
51
  "network6_Ethernet": "fe80::",
71
52
  "network_Ethernet": "10.0.2.0",
72
53
  "networking": {
@@ -114,9 +95,6 @@
114
95
  "primary": "Ethernet",
115
96
  "scope6": "link"
116
97
  },
117
- "operatingsystem": "windows",
118
- "operatingsystemmajrelease": "11",
119
- "operatingsystemrelease": "11",
120
98
  "os": {
121
99
  "architecture": "x64",
122
100
  "family": "windows",
@@ -135,11 +113,7 @@
135
113
  "system32": "C:\\Windows\\system32"
136
114
  }
137
115
  },
138
- "osfamily": "windows",
139
116
  "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
140
- "physicalprocessorcount": 1,
141
- "processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
142
- "processorcount": 2,
143
117
  "processors": {
144
118
  "cores": 2,
145
119
  "count": 2,
@@ -150,19 +124,13 @@
150
124
  "physicalcount": 1,
151
125
  "threads": 1
152
126
  },
153
- "productname": "VirtualBox",
154
127
  "puppetversion": "8.6.0",
155
128
  "ruby": {
156
129
  "platform": "x64-mingw32",
157
130
  "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
158
131
  "version": "3.2.3"
159
132
  },
160
- "rubyplatform": "x64-mingw32",
161
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
162
- "rubyversion": "3.2.3",
163
- "scope6": "link",
164
133
  "scope6_Ethernet": "link",
165
- "serialnumber": "0",
166
134
  "ssh": {
167
135
  "dsa": {
168
136
  "fingerprints": {
@@ -205,7 +173,6 @@
205
173
  "sshfp_ed25519": "SSHFP 4 1 e4feb7a0cf8595bd25cb289d34ce00c34a4305ba\nSSHFP 4 2 f34b7083851d17408228ebd6e6c8810546d754422c2610deece70fb00ba67b34",
206
174
  "sshfp_rsa": "SSHFP 1 1 97b9f1dd63e212d5c8fa5a67adc3181553359641\nSSHFP 1 2 d4fd0cb9f4a5708df564e31936f5da0212d5d44a34d82d1686217fd844560ce6",
207
175
  "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDPObcF1zh9ZSz1t6Mr0tsf6Ahx2/JPw+MMHbazirNyqeKotcsI6eibmGfnBu6aGhdvvMg9OPmxT1jdIevFtsTfVRym3cQ0nzJ5BacUQhKmIHuJ9zH18Et0BE4KgAsCLp7YD5kdB2T5FkHTrToQpH9vWGnCoYcXhK+4bYINxXwyQGSErPOwG+3154DstjdF4AZn6UQge7N0+F3lX7yWoGl5+QZxMU8QWbTahemvxscZcujy07sUI2sHBHY3jfxhrw4lfS9xani92bOv/D9+Tu+dPFwbu/bItyinNyyghtfqzMxcbe3Ukf1a5nP8Bz3fmW3YJV0Q6DLqjKqGmNwUWQ5bj5H0hqJdtdC2qmfaTi602/bseTVClsxZ7g7HBOJXpgOTVew04lybsAwtup+J1qtQX7ToGtm2vQpMwUUaJwabN/KVlhnA7bwWf5diN0YRqRmGWWyAkeVzJGkIfHrOPEh0mEf9R7VI3QePqLxatrnzPoeRRuI9+Ez7wMUM10nU4tE=",
208
- "system32": "C:\\Windows\\system32",
209
176
  "system_uptime": {
210
177
  "days": 0,
211
178
  "hours": 0,
@@ -213,15 +180,5 @@
213
180
  "uptime": "0:07 hours"
214
181
  },
215
182
  "timezone": "Coordinated Universal Time",
216
- "uptime": "0:07 hours",
217
- "uptime_days": 0,
218
- "uptime_hours": 0,
219
- "uptime_seconds": 422,
220
- "uuid": "128B9558-F609-41F5-A88F-5F84C5DC854E",
221
- "virtual": "virtualbox",
222
- "windows_display_version": "23H2",
223
- "windows_edition_id": "EnterpriseEval",
224
- "windows_installation_type": "Client",
225
- "windows_product_name": "Windows 10 Enterprise Evaluation",
226
- "windows_release_id": "23H2"
183
+ "virtual": "virtualbox"
227
184
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "aio_agent_version": "8.6.0",
3
- "architecture": "x64",
4
3
  "dhcp_servers": {
5
4
  "Ethernet": "10.0.2.2",
6
5
  "system": "10.0.2.2"
@@ -13,28 +12,20 @@
13
12
  "uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052"
14
13
  }
15
14
  },
16
- "domain": "example.com",
17
15
  "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
16
  "facterversion": "4.7.0",
19
17
  "fips_enabled": false,
20
- "fqdn": "foo.example.com",
21
- "hardwareisa": "x64",
22
- "hardwaremodel": "x86_64",
23
- "hostname": "foo",
24
18
  "hypervisors": {
25
19
  "virtualbox": {
26
20
  "revision": "161095",
27
21
  "version": "7.0.14"
28
22
  }
29
23
  },
30
- "id": "FOO\\vagrant",
31
24
  "identity": {
32
25
  "privileged": true,
33
26
  "user": "FOO\\vagrant"
34
27
  },
35
28
  "interfaces": "Ethernet",
36
- "ipaddress": "10.0.2.15",
37
- "ipaddress6": "fe80::5156:1072:2404:1e7f",
38
29
  "ipaddress6_Ethernet": "fe80::5156:1072:2404:1e7f",
39
30
  "ipaddress_Ethernet": "10.0.2.15",
40
31
  "is_virtual": true,
@@ -42,9 +33,7 @@
42
33
  "kernelmajversion": "10.0",
43
34
  "kernelrelease": "10.0.17763",
44
35
  "kernelversion": "10.0.17763",
45
- "macaddress": "08:00:27:E5:87:1C",
46
36
  "macaddress_Ethernet": "08:00:27:E5:87:1C",
47
- "manufacturer": "innotek GmbH",
48
37
  "memory": {
49
38
  "system": {
50
39
  "available": "1018.89 MiB",
@@ -56,17 +45,9 @@
56
45
  "used_bytes": 1061994496
57
46
  }
58
47
  },
59
- "memoryfree": "1018.89 MiB",
60
- "memoryfree_mb": 1018.89453125,
61
- "memorysize": "1.98 GiB",
62
- "memorysize_mb": 2031.69140625,
63
48
  "mtu_Ethernet": 1500,
64
- "netmask": "255.255.255.0",
65
- "netmask6": "ffff:ffff:ffff:ffff::",
66
49
  "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
67
50
  "netmask_Ethernet": "255.255.255.0",
68
- "network": "10.0.2.0",
69
- "network6": "fe80::",
70
51
  "network6_Ethernet": "fe80::",
71
52
  "network_Ethernet": "10.0.2.0",
72
53
  "networking": {
@@ -114,9 +95,6 @@
114
95
  "primary": "Ethernet",
115
96
  "scope6": "link"
116
97
  },
117
- "operatingsystem": "windows",
118
- "operatingsystemmajrelease": "2019",
119
- "operatingsystemrelease": "2019",
120
98
  "os": {
121
99
  "architecture": "x64",
122
100
  "family": "windows",
@@ -134,11 +112,7 @@
134
112
  "system32": "C:\\Windows\\system32"
135
113
  }
136
114
  },
137
- "osfamily": "windows",
138
115
  "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
139
- "physicalprocessorcount": 1,
140
- "processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
141
- "processorcount": 2,
142
116
  "processors": {
143
117
  "cores": 2,
144
118
  "count": 2,
@@ -149,19 +123,13 @@
149
123
  "physicalcount": 1,
150
124
  "threads": 1
151
125
  },
152
- "productname": "VirtualBox",
153
126
  "puppetversion": "8.6.0",
154
127
  "ruby": {
155
128
  "platform": "x64-mingw32",
156
129
  "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
157
130
  "version": "3.2.3"
158
131
  },
159
- "rubyplatform": "x64-mingw32",
160
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
161
- "rubyversion": "3.2.3",
162
- "scope6": "link",
163
132
  "scope6_Ethernet": "link",
164
- "serialnumber": "0",
165
133
  "ssh": {
166
134
  "dsa": {
167
135
  "fingerprints": {
@@ -204,7 +172,6 @@
204
172
  "sshfp_ed25519": "SSHFP 4 1 9f196515ee27ca6ccee218024bfeb5b0a99d7812\nSSHFP 4 2 427cf51cb6b2a4f5eea42a9b26c761b443b9c4dff2218b24128525d2de39fe74",
205
173
  "sshfp_rsa": "SSHFP 1 1 3596c7925dde9b4364b40ad238a04c8818100f3d\nSSHFP 1 2 f5085e8839097058fb84b33775337f2de0d77df772765907e697e2d7f5b4e32b",
206
174
  "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/gv55+SwnN/BrQPIUXbVGip65xZA3RnbyxFe5wKxHxkmfWsPNhuojDOFLpwKKU1ugNPNuTIChGkI0FyQYU1Ch4Sn4/zk5WN6JMdCP62L/nOMu8LuyTQbzJJyhIhC1r3/kfY2OyrVolZBCCmoSdSFSh39VwapMmcrizMALc3r1g9uLjBP/PZcgffWODA04c5GhX8KAEKQbNGbCXRvI56wHQjmM8QG53we4BfBsQoDyV7O/zU1Xl4ofvfIDWTYWpbOFNHfA4/FvjwaqekWIU4cFoenX+6xi7gzUgXRalYQmA5VZcw/Lo5YExMi2CSkQyUxdjbV9WSGcVgFuBaNRPvbwgPSLZx7+tlsaDh/5hZcVTb9n2siHyi9bX6V3gcIZ0f9evo2lNOi59bZ5bxcI/yttZ9/oz1gRqiwbR9ABq0/u01tjZbvBp8REwffnAQcWWlCj8bpsoSSM5Tgvd14sJ1Ajy88IjZ3MWvZkEWDxiZOWRmh2azL/qWXrdbPI2gudJHk=",
207
- "system32": "C:\\Windows\\system32",
208
175
  "system_uptime": {
209
176
  "days": 0,
210
177
  "hours": 0,
@@ -212,14 +179,5 @@
212
179
  "uptime": "0:06 hours"
213
180
  },
214
181
  "timezone": "Coordinated Universal Time",
215
- "uptime": "0:06 hours",
216
- "uptime_days": 0,
217
- "uptime_hours": 0,
218
- "uptime_seconds": 377,
219
- "uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052",
220
- "virtual": "virtualbox",
221
- "windows_edition_id": "ServerStandardEval",
222
- "windows_installation_type": "Server Core",
223
- "windows_product_name": "Windows Server 2019 Standard Evaluation",
224
- "windows_release_id": "1809"
182
+ "virtual": "virtualbox"
225
183
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "aio_agent_version": "8.6.0",
3
- "architecture": "x64",
4
3
  "dhcp_servers": {
5
4
  "Ethernet": "10.0.2.2",
6
5
  "system": "10.0.2.2"
@@ -13,28 +12,20 @@
13
12
  "uuid": "F2FE13B6-2E77-4300-B709-3654FF7B6063"
14
13
  }
15
14
  },
16
- "domain": "example.com",
17
15
  "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
18
16
  "facterversion": "4.7.0",
19
17
  "fips_enabled": false,
20
- "fqdn": "foo.example.com",
21
- "hardwareisa": "x64",
22
- "hardwaremodel": "x86_64",
23
- "hostname": "foo",
24
18
  "hypervisors": {
25
19
  "virtualbox": {
26
20
  "revision": "161095",
27
21
  "version": "7.0.14"
28
22
  }
29
23
  },
30
- "id": "FOO\\vagrant",
31
24
  "identity": {
32
25
  "privileged": true,
33
26
  "user": "FOO\\vagrant"
34
27
  },
35
28
  "interfaces": "Ethernet",
36
- "ipaddress": "10.0.2.15",
37
- "ipaddress6": "fe80::8d97:e947:bec7:8686",
38
29
  "ipaddress6_Ethernet": "fe80::8d97:e947:bec7:8686",
39
30
  "ipaddress_Ethernet": "10.0.2.15",
40
31
  "is_virtual": true,
@@ -42,9 +33,7 @@
42
33
  "kernelmajversion": "10.0",
43
34
  "kernelrelease": "10.0.20348",
44
35
  "kernelversion": "10.0.20348",
45
- "macaddress": "08:00:27:E7:59:F0",
46
36
  "macaddress_Ethernet": "08:00:27:E7:59:F0",
47
- "manufacturer": "innotek GmbH",
48
37
  "memory": {
49
38
  "system": {
50
39
  "available": "957.90 MiB",
@@ -56,17 +45,9 @@
56
45
  "used_bytes": 1125953536
57
46
  }
58
47
  },
59
- "memoryfree": "957.90 MiB",
60
- "memoryfree_mb": 957.8984375,
61
- "memorysize": "1.98 GiB",
62
- "memorysize_mb": 2031.69140625,
63
48
  "mtu_Ethernet": 1500,
64
- "netmask": "255.255.255.0",
65
- "netmask6": "ffff:ffff:ffff:ffff::",
66
49
  "netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
67
50
  "netmask_Ethernet": "255.255.255.0",
68
- "network": "10.0.2.0",
69
- "network6": "fe80::",
70
51
  "network6_Ethernet": "fe80::",
71
52
  "network_Ethernet": "10.0.2.0",
72
53
  "networking": {
@@ -114,9 +95,6 @@
114
95
  "primary": "Ethernet",
115
96
  "scope6": "link"
116
97
  },
117
- "operatingsystem": "windows",
118
- "operatingsystemmajrelease": "2022",
119
- "operatingsystemrelease": "2022",
120
98
  "os": {
121
99
  "architecture": "x64",
122
100
  "family": "windows",
@@ -135,11 +113,7 @@
135
113
  "system32": "C:\\Windows\\system32"
136
114
  }
137
115
  },
138
- "osfamily": "windows",
139
116
  "path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
140
- "physicalprocessorcount": 1,
141
- "processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
142
- "processorcount": 2,
143
117
  "processors": {
144
118
  "cores": 2,
145
119
  "count": 2,
@@ -150,19 +124,13 @@
150
124
  "physicalcount": 1,
151
125
  "threads": 1
152
126
  },
153
- "productname": "VirtualBox",
154
127
  "puppetversion": "8.6.0",
155
128
  "ruby": {
156
129
  "platform": "x64-mingw32",
157
130
  "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
158
131
  "version": "3.2.3"
159
132
  },
160
- "rubyplatform": "x64-mingw32",
161
- "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0",
162
- "rubyversion": "3.2.3",
163
- "scope6": "link",
164
133
  "scope6_Ethernet": "link",
165
- "serialnumber": "0",
166
134
  "ssh": {
167
135
  "dsa": {
168
136
  "fingerprints": {
@@ -205,7 +173,6 @@
205
173
  "sshfp_ed25519": "SSHFP 4 1 d90c588d7e89b743439d6bbde8cbf68de80f554c\nSSHFP 4 2 4a3633cdbef6f2e3d7aebacb4cd127890cdb0d05a8fffa36047a2da574008117",
206
174
  "sshfp_rsa": "SSHFP 1 1 c9f7a8861f449e575242f99981ed7580d609f86c\nSSHFP 1 2 5f9ff10646bb92e2f762c650f1f4486331b2848960ab8519031f1fdf1bd92d19",
207
175
  "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDQfE6HJW1DZInpdu3xQG1ok0bY+IK2Jhfk3kGd087eE8nuzm1O0JLe5A9elSLCe1I63MTxadw/ZI48DiAnd4q8MckaqU2bE7ycfO1N6KLvBIZ6bmlWR+XpW/0rxLD3aP/lvuu7R731PdgfH5APDyyqYLVdPI1JdvfopJf/55gJqjdZkNE4S5OGUqXEuiwPYL56OgNntwqvoRDvOLQ8DDPNlcz/PGR0tIxhakUM7cPhkBYSZWvTnoJQCJcyx9OE7li9dH0ZnfQ2wezm0cro2Nh3enRN0yeHZ69CvWMoMbotxlKDdM0Gyn7rEvP/9JVr9Mll9UjqO8qbFJYc4E0QjmMQNrEjH9d+F8JsavMh9azZ9f4X2vY83A658RnbweJIscITmIeqPiyyoWLDDJ5XniatYTfpMXKk5SpkvRf7l/LzywK0NsCRioOppOw+mxHcsuDgPYiCmkLq7LYbC6FMZc/PtqpA+UNnxxTsnOfTtIfSyrkIo+LdBPcpxtkiBCZ5AFU=",
208
- "system32": "C:\\Windows\\system32",
209
176
  "system_uptime": {
210
177
  "days": 0,
211
178
  "hours": 0,
@@ -213,15 +180,5 @@
213
180
  "uptime": "0:06 hours"
214
181
  },
215
182
  "timezone": "Coordinated Universal Time",
216
- "uptime": "0:06 hours",
217
- "uptime_days": 0,
218
- "uptime_hours": 0,
219
- "uptime_seconds": 376,
220
- "uuid": "F2FE13B6-2E77-4300-B709-3654FF7B6063",
221
- "virtual": "virtualbox",
222
- "windows_display_version": "21H2",
223
- "windows_edition_id": "ServerStandardEval",
224
- "windows_installation_type": "Server Core",
225
- "windows_product_name": "Windows Server 2022 Standard Evaluation",
226
- "windows_release_id": "21H2"
183
+ "virtual": "virtualbox"
227
184
  }
data/facts/Vagrantfile CHANGED
@@ -72,38 +72,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
72
72
  host.vm.provision 'shell', path: 'get_facts.sh'
73
73
  host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
74
74
  end
75
- config.vm.define 'centos-7-x86_64', autostart: false do |host|
76
- host.vm.box = 'centos/7'
77
- host.vm.network :private_network, ip: '10.0.0.2'
78
- host.vm.synced_folder '.', '/vagrant', nfs: true, nfs_udp: false
79
- host.vm.provision 'shell', inline: 'yum -y install ruby-devel gcc wget net-tools'
80
- host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
81
- host.vm.provision 'shell', path: 'get_facts.sh'
82
- host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
83
- end
84
- config.vm.define 'centos-8-x86_64', autostart: false do |host|
85
- host.vm.box = 'centos/8'
86
- host.vm.synced_folder '.', '/vagrant'
87
- host.vm.provision 'shell', inline: 'dnf -y install wget make gcc net-tools'
88
- host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
89
- host.vm.provision 'shell', path: 'get_facts.sh'
90
- host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
91
- host.vbguest.auto_update = true
92
- end
93
- # images are at https://cloud.centos.org/centos/8-stream/x86_64/images/
94
- # (check for version updates periodically)
95
- # facts land as centos-8-x86_64.facts
96
- config.vm.define 'centos-stream8-x86_64', autostart: false do |host|
97
- host.vm.box = 'centos/stream8'
98
- host.vm.box_url = 'https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-20240513.0.x86_64.vagrant-virtualbox.box'
99
- host.vm.synced_folder '.', '/vagrant'
100
- host.vm.provision 'shell', inline: 'dnf -y install wget make gcc net-tools'
101
- host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
102
- host.vm.provision 'shell', path: 'get_facts.sh'
103
- # commented to allow manual retrieval of facts
104
- # host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
105
- host.vbguest.auto_update = true
106
- end
107
75
  # images are at https://cloud.centos.org/centos/9-stream/x86_64/images/
108
76
  # can be imported with `vagrant box add --name centos/stream9 $url` you can also
109
77
  # use the host.vm.box_url below
data/facts/get_facts.sh CHANGED
@@ -75,7 +75,7 @@ case "${osfamily}" in
75
75
  if yum install -y puppet-agent-${puppet_agent_version}; then
76
76
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter os.name | tr '[:upper:]' '[:lower:]')-$(facter os.release.major)-$(facter os.hardware).facts"
77
77
  mkdir -p $(dirname ${output_file})
78
- facter --show-legacy -p -j | tee ${output_file}
78
+ facter --puppet --json | tee ${output_file}
79
79
  fi
80
80
  done
81
81
  yum remove -y puppet8-release
@@ -93,7 +93,7 @@ case "${osfamily}" in
93
93
  if apt_install puppet-agent=${puppet_agent_version}*; then
94
94
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter os.name | tr '[:upper:]' '[:lower:]')-$(facter os.release.major)-$(facter os.hardware).facts"
95
95
  mkdir -p $(dirname ${output_file})
96
- facter --show-legacy -p -j | tee ${output_file}
96
+ facter --puppet --json | tee ${output_file}
97
97
  fi
98
98
  done
99
99
  apt-get -y remove --purge puppet8-release
@@ -107,7 +107,7 @@ case "${osfamily}" in
107
107
  apt_install ruby rubygems ruby-dev puppet facter
108
108
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
109
109
  mkdir -p $(dirname ${output_file})
110
- facter --show-legacy -p -j | tee ${output_file}
110
+ facter --puppet --json | tee ${output_file}
111
111
  fi
112
112
  ;;
113
113
  'FreeBSD')
@@ -124,7 +124,7 @@ case "${osfamily}" in
124
124
  [ "${hardwaremodel}" = 'amd64' ] && hardwaremodel=x86_64
125
125
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-${hardwaremodel}.facts"
126
126
  mkdir -p $(dirname ${output_file})
127
- [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
127
+ [ ! -f ${output_file} ] && facter --puppet --json | tee ${output_file}
128
128
  done
129
129
  ;;
130
130
  'OpenBSD')
@@ -133,7 +133,7 @@ case "${osfamily}" in
133
133
  # Vagrant box should already have puppet & facter installed
134
134
  output_file="/vagrant/$(facter --version | cut -d. -f1-2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemrelease)-${hardwaremodel}.facts"
135
135
  mkdir -p $(dirname ${output_file})
136
- [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
136
+ [ ! -f ${output_file} ] && facter --puppet --json | tee ${output_file}
137
137
  ;;
138
138
  'Suse')
139
139
  # install deps that we need later for gem based setup
@@ -149,7 +149,7 @@ case "${osfamily}" in
149
149
  if zypper --gpg-auto-import-keys --non-interactive install puppet-agent-${puppet_agent_version}; then
150
150
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
151
151
  mkdir -p $(dirname ${output_file})
152
- facter --show-legacy -p -j | tee ${output_file}
152
+ facter --puppet --json | tee ${output_file}
153
153
  fi
154
154
  done
155
155
  zypper --non-interactive remove puppet8-release
@@ -159,13 +159,13 @@ case "${osfamily}" in
159
159
  pacman --sync --refresh --sysupgrade --noconfirm ruby ruby-bundler base-devel dnsutils facter augeas
160
160
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
161
161
  mkdir -p $(dirname ${output_file})
162
- facter --show-legacy -p -j | tee ${output_file}
162
+ facter --puppet --json | tee ${output_file}
163
163
  ;;
164
164
  'Gentoo')
165
165
  emerge -vq1 dev-lang/ruby dev-ruby/bundler app-admin/puppet dev-ruby/facter sys-apps/dmidecode app-admin/augeas
166
166
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter hardwaremodel).facts"
167
167
  mkdir -p $(dirname ${output_file})
168
- facter --show-legacy -p -j | tee ${output_file}
168
+ facter --puppet --json | tee ${output_file}
169
169
  esac
170
170
 
171
171
  # this lower section relies on the ruby version and facter version that came
@@ -214,6 +214,6 @@ for version in 4.2.14 4.3.0 4.4.3 4.5.2 4.6.0 4.7.0; do
214
214
  fi
215
215
  mkdir -p $(dirname $output_file)
216
216
  echo $version | grep -q -E '^1\.' &&
217
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter --show-legacy --json | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
218
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter --show-legacy --json | tee $output_file
217
+ FACTER_GEM_VERSION="~> ${version}" bundle exec facter --json | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
218
+ FACTER_GEM_VERSION="~> ${version}" bundle exec facter --json | tee $output_file
219
219
  done
@@ -88,7 +88,7 @@ foreach ($pupAgentVer in $puppetAgentVersions) {
88
88
  # the domain name will fallback to the hypervisor's domain.
89
89
  $env:FACTER_fqdn = $fqdn
90
90
 
91
- $facterArgs = @("-j", "-p", "--show-legacy")
91
+ $facterArgs = @("--json", "--puppet")
92
92
  $facterProcess = Start-Process -FilePath $facterBin -ArgumentList $facterArgs -Wait -PassThru -RedirectStandardOutput "X:\$facterVer\$Os-$Osmaj-$Hw.facts"
93
93
  if ($facterProcess.ExitCode -ne 0) {
94
94
  Write-Host "Facter failed."
data/lib/facterdb/bin.rb CHANGED
@@ -8,7 +8,7 @@ module FacterDB
8
8
  end
9
9
 
10
10
  def run
11
- puts JSON.pretty_generate(FacterDB.get_os_facts('*', @args[0]))
11
+ puts JSON.pretty_generate(FacterDB.get_facts(@args[0]))
12
12
  end
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '2.1.0'
3
+ STRING = '3.0.0'
4
4
  end
5
5
  end