facterdb 1.6.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +32 -0
  3. data/.github/workflows/test.yml +28 -0
  4. data/CHANGELOG.md +174 -121
  5. data/Gemfile +2 -2
  6. data/README.md +115 -99
  7. data/Rakefile +15 -4
  8. data/facterdb.gemspec +6 -7
  9. data/facts/1.6/debian-11-x86_64.facts +57 -0
  10. data/facts/1.6/freebsd-13-x86_64.facts +51 -0
  11. data/facts/1.6/oraclelinux-8-x86_64.facts +59 -0
  12. data/facts/1.7/centos-9-x86_64.facts +82 -0
  13. data/facts/1.7/debian-11-x86_64.facts +74 -0
  14. data/facts/1.7/freebsd-13-x86_64.facts +69 -0
  15. data/facts/1.7/oraclelinux-8-x86_64.facts +82 -0
  16. data/facts/2.0/centos-9-x86_64.facts +82 -0
  17. data/facts/2.0/debian-11-x86_64.facts +76 -0
  18. data/facts/2.0/freebsd-13-x86_64.facts +70 -0
  19. data/facts/2.0/oraclelinux-8-x86_64.facts +82 -0
  20. data/facts/2.1/centos-9-x86_64.facts +112 -0
  21. data/facts/2.1/debian-11-x86_64.facts +84 -0
  22. data/facts/2.1/freebsd-13-x86_64.facts +70 -0
  23. data/facts/2.1/oraclelinux-8-x86_64.facts +92 -0
  24. data/facts/2.2/centos-9-x86_64.facts +137 -0
  25. data/facts/2.2/debian-11-x86_64.facts +115 -0
  26. data/facts/2.2/freebsd-13-x86_64.facts +91 -0
  27. data/facts/2.2/oraclelinux-8-x86_64.facts +115 -0
  28. data/facts/2.3/centos-9-x86_64.facts +138 -0
  29. data/facts/2.3/debian-11-x86_64.facts +116 -0
  30. data/facts/2.3/freebsd-13-x86_64.facts +92 -0
  31. data/facts/2.3/oraclelinux-8-x86_64.facts +143 -0
  32. data/facts/2.4/centos-9-x86_64.facts +139 -0
  33. data/facts/2.4/debian-11-x86_64.facts +118 -0
  34. data/facts/2.4/freebsd-13-x86_64.facts +92 -0
  35. data/facts/2.4/oraclelinux-8-x86_64.facts +160 -0
  36. data/facts/2.5/debian-11-x86_64.facts +118 -0
  37. data/facts/2.5/freebsd-13-x86_64.facts +92 -0
  38. data/facts/2.5/oraclelinux-8-x86_64.facts +160 -0
  39. data/facts/3.11/oraclelinux-8-x86_64.facts +494 -0
  40. data/facts/3.11/redhat-8-x86_64.facts +128 -127
  41. data/facts/3.11/solaris-10-i86pc.facts +1 -4
  42. data/facts/3.11/solaris-11-i86pc.facts +1 -4
  43. data/facts/3.11/solaris-11-sun4v.facts +1 -4
  44. data/facts/3.11/ubuntu-18.04-x86_64.facts +216 -101
  45. data/facts/3.12/oraclelinux-8-x86_64.facts +400 -0
  46. data/facts/3.12/redhat-8-x86_64.facts +109 -105
  47. data/facts/3.13/oraclelinux-8-x86_64.facts +406 -0
  48. data/facts/3.13/redhat-8-x86_64.facts +111 -113
  49. data/facts/3.13/ubuntu-18.04-x86_64.facts +216 -101
  50. data/facts/3.14/almalinux-8-x86_64.facts +522 -0
  51. data/facts/3.14/darwin-19-x86_64.facts +412 -0
  52. data/facts/3.14/darwin-20-x86_64.facts +516 -0
  53. data/facts/3.14/debian-11-x86_64.facts +508 -0
  54. data/facts/3.14/freebsd-11-x86_64.facts +479 -0
  55. data/facts/3.14/freebsd-12-x86_64.facts +479 -0
  56. data/facts/3.14/freebsd-13-x86_64.facts +475 -0
  57. data/facts/3.14/oraclelinux-8-x86_64.facts +406 -0
  58. data/facts/3.14/redhat-8-x86_64.facts +111 -113
  59. data/facts/3.14/rocky-8-x86_64.facts +625 -0
  60. data/facts/3.14/solaris-11-i86pc.facts +1 -4
  61. data/facts/3.14/solaris-11-sun4v.facts +1 -4
  62. data/facts/3.14/ubuntu-18.04-x86_64.facts +91 -91
  63. data/facts/3.14/ubuntu-20.04-x86_64.facts +138 -184
  64. data/facts/3.9/solaris-10-i86pc.facts +0 -3
  65. data/facts/4.0/almalinux-8-x86_64.facts +307 -0
  66. data/facts/4.0/centos-7-x86_64.facts +706 -0
  67. data/facts/4.0/debian-10-x86_64.facts +1091 -0
  68. data/facts/4.0/debian-11-x86_64.facts +236 -0
  69. data/facts/4.0/freebsd-11-x86_64.facts +208 -0
  70. data/facts/4.0/freebsd-12-x86_64.facts +208 -0
  71. data/facts/4.0/freebsd-13-x86_64.facts +207 -0
  72. data/facts/4.0/redhat-8-x86_64.facts +230 -0
  73. data/facts/4.0/solaris-11-sun4v.facts +585 -0
  74. data/facts/4.0/ubuntu-18.04-x86_64.facts +241 -0
  75. data/facts/4.0/ubuntu-20.04-x86_64.facts +259 -0
  76. data/facts/4.1/debian-11-x86_64.facts +238 -0
  77. data/facts/4.1/freebsd-11-x86_64.facts +208 -0
  78. data/facts/4.1/freebsd-12-x86_64.facts +208 -0
  79. data/facts/4.1/freebsd-13-x86_64.facts +207 -0
  80. data/facts/4.1/redhat-8-x86_64.facts +232 -0
  81. data/facts/4.1/ubuntu-18.04-x86_64.facts +243 -0
  82. data/facts/4.1/ubuntu-20.04-x86_64.facts +261 -0
  83. data/facts/4.2/centos-7-x86_64.facts +593 -0
  84. data/facts/4.2/centos-8-x86_64.facts +591 -0
  85. data/facts/4.2/centos-9-x86_64.facts +291 -0
  86. data/facts/4.2/darwin-20-x86_64.facts +524 -0
  87. data/facts/4.2/debian-10-x86_64.facts +574 -0
  88. data/facts/4.2/debian-11-x86_64.facts +244 -0
  89. data/facts/4.2/debian-9-x86_64.facts +597 -0
  90. data/facts/4.2/freebsd-11-x86_64.facts +261 -0
  91. data/facts/4.2/freebsd-12-x86_64.facts +261 -0
  92. data/facts/4.2/freebsd-13-x86_64.facts +260 -0
  93. data/facts/4.2/oraclelinux-8-x86_64.facts +591 -0
  94. data/facts/4.2/redhat-8-x86_64.facts +232 -0
  95. data/facts/4.2/ubuntu-18.04-x86_64.facts +249 -0
  96. data/facts/4.2/ubuntu-20.04-x86_64.facts +267 -0
  97. data/facts/Gemfile +1 -0
  98. data/facts/Vagrantfile +33 -9
  99. data/facts/get_facts.sh +45 -13
  100. data/lib/facterdb/version.rb +1 -1
  101. data/lib/facterdb.rb +17 -2
  102. data/spec/facts_spec.rb +9 -2
  103. metadata +82 -27
  104. data/.travis.yml +0 -36
@@ -0,0 +1,260 @@
1
+ {
2
+ "architecture": "amd64",
3
+ "bios_release_date": "12/01/2006",
4
+ "bios_vendor": "innotek GmbH",
5
+ "bios_version": "VirtualBox",
6
+ "disks": {
7
+ "ada0": {
8
+ "model": "VBOX HARDDISK",
9
+ "serial_number": "VB3d9a9a7b-4480bd65",
10
+ "size": "64.00 GiB",
11
+ "size_bytes": 68719476736
12
+ }
13
+ },
14
+ "dmi": {
15
+ "bios": {
16
+ "release_date": "12/01/2006",
17
+ "vendor": "innotek GmbH",
18
+ "version": "VirtualBox"
19
+ },
20
+ "manufacturer": "innotek GmbH",
21
+ "product": {
22
+ "name": "VirtualBox",
23
+ "serial_number": "0",
24
+ "uuid": "d46a39e9-2c1c-0549-89a5-391974f2e7e7"
25
+ }
26
+ },
27
+ "domain": "example.com",
28
+ "facterversion": "4.2.1",
29
+ "fqdn": "foo.example.com",
30
+ "gid": "wheel",
31
+ "hardwareisa": "amd64",
32
+ "hardwaremodel": "amd64",
33
+ "hostname": "foo",
34
+ "id": "root",
35
+ "identity": {
36
+ "gid": 0,
37
+ "group": "wheel",
38
+ "privileged": true,
39
+ "uid": 0,
40
+ "user": "root"
41
+ },
42
+ "ipaddress": "10.0.2.15",
43
+ "is_virtual": true,
44
+ "kernel": "FreeBSD",
45
+ "kernelmajversion": "13",
46
+ "kernelrelease": "13.0-RELEASE",
47
+ "kernelversion": "13.0",
48
+ "load_averages": {
49
+ "15m": 0.10693359375,
50
+ "1m": 0.5849609375,
51
+ "5m": 0.27685546875
52
+ },
53
+ "macaddress": "08:00:27:37:c2:4d",
54
+ "manufacturer": "innotek GmbH",
55
+ "memory": {
56
+ "swap": {
57
+ "available": "2.00 GiB",
58
+ "available_bytes": 2147483648,
59
+ "capacity": "0%",
60
+ "encrypted": false,
61
+ "total": "2.00 GiB",
62
+ "total_bytes": 2147483648,
63
+ "used": "0 bytes",
64
+ "used_bytes": 0
65
+ },
66
+ "system": {
67
+ "available": "623.88 MiB",
68
+ "available_bytes": 654180352,
69
+ "capacity": "36.63%",
70
+ "total": "984.48 MiB",
71
+ "total_bytes": 1032306688,
72
+ "used": "360.61 MiB",
73
+ "used_bytes": 378126336
74
+ }
75
+ },
76
+ "memoryfree": "623.88 MiB",
77
+ "memoryfree_mb": 623.875,
78
+ "memorysize": "984.48 MiB",
79
+ "memorysize_mb": 984.484375,
80
+ "netmask": "255.255.255.0",
81
+ "netmask6_lo0": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
82
+ "netmask_em0": "255.255.255.0",
83
+ "netmask_lo0": "255.0.0.0",
84
+ "network": "10.0.2.0",
85
+ "network6_lo0": "::1",
86
+ "network_em0": "10.0.2.0",
87
+ "network_lo0": "127.0.0.0",
88
+ "networking": {
89
+ "domain": "example.com",
90
+ "fqdn": "foo.example.com",
91
+ "hostname": "foo",
92
+ "interfaces": {
93
+ "em0": {
94
+ "bindings": [
95
+ {
96
+ "address": "10.0.2.15",
97
+ "netmask": "255.255.255.0",
98
+ "network": "10.0.2.0"
99
+ }
100
+ ],
101
+ "ip": "10.0.2.15",
102
+ "mac": "08:00:27:37:c2:4d",
103
+ "mtu": 1500,
104
+ "netmask": "255.255.255.0",
105
+ "network": "10.0.2.0"
106
+ },
107
+ "lo0": {
108
+ "bindings": [
109
+ {
110
+ "address": "127.0.0.1",
111
+ "netmask": "255.0.0.0",
112
+ "network": "127.0.0.0"
113
+ }
114
+ ],
115
+ "bindings6": [
116
+ {
117
+ "address": "::1",
118
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
119
+ "network": "::1",
120
+ "scope6": "host"
121
+ },
122
+ {
123
+ "address": "fe80::1",
124
+ "netmask": "ffff:ffff:ffff:ffff::",
125
+ "network": "fe80::",
126
+ "scope6": "link"
127
+ }
128
+ ],
129
+ "ip": "127.0.0.1",
130
+ "ip6": "::1",
131
+ "mtu": 16384,
132
+ "netmask": "255.0.0.0",
133
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
134
+ "network": "127.0.0.0",
135
+ "network6": "::1",
136
+ "scope6": "host"
137
+ }
138
+ },
139
+ "ip": "10.0.2.15",
140
+ "mac": "08:00:27:37:c2:4d",
141
+ "mtu": 1500,
142
+ "netmask": "255.255.255.0",
143
+ "network": "10.0.2.0",
144
+ "primary": "em0"
145
+ },
146
+ "operatingsystem": "FreeBSD",
147
+ "operatingsystemmajrelease": "13",
148
+ "operatingsystemrelease": "13.0-RELEASE",
149
+ "os": {
150
+ "architecture": "amd64",
151
+ "family": "FreeBSD",
152
+ "hardware": "amd64",
153
+ "name": "FreeBSD",
154
+ "release": {
155
+ "branch": "RELEASE",
156
+ "full": "13.0-RELEASE",
157
+ "major": "13",
158
+ "minor": "0"
159
+ }
160
+ },
161
+ "osfamily": "FreeBSD",
162
+ "partitions": {
163
+ "ada0p1": {
164
+ "partlabel": "gptboot0",
165
+ "partuuid": "99b10b46-bcdd-11eb-881b-08002737c24d",
166
+ "size": "512.00 KiB",
167
+ "size_bytes": 524288
168
+ },
169
+ "ada0p2": {
170
+ "partlabel": "swap0",
171
+ "partuuid": "99b740c1-bcdd-11eb-881b-08002737c24d",
172
+ "size": "2.00 GiB",
173
+ "size_bytes": 2147483648
174
+ },
175
+ "ada0p3": {
176
+ "partlabel": "zfs0",
177
+ "partuuid": "99bd21c4-bcdd-11eb-881b-08002737c24d",
178
+ "size": "62.00 GiB",
179
+ "size_bytes": 66569895936
180
+ }
181
+ },
182
+ "path": "/opt/puppetlabs/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/vagrant/bin",
183
+ "processor0": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
184
+ "processor1": "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
185
+ "processorcount": 2,
186
+ "processors": {
187
+ "count": 2,
188
+ "isa": "amd64",
189
+ "models": [
190
+ "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
191
+ "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz"
192
+ ],
193
+ "speed": "1.99 GHz"
194
+ },
195
+ "productname": "VirtualBox",
196
+ "ruby": {
197
+ "platform": "amd64-freebsd13",
198
+ "sitedir": "/usr/local/lib/ruby/site_ruby/2.7",
199
+ "version": "2.7.3"
200
+ },
201
+ "rubyplatform": "amd64-freebsd13",
202
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/2.7",
203
+ "rubyversion": "2.7.3",
204
+ "serialnumber": "0",
205
+ "ssh": {
206
+ "ecdsa": {
207
+ "fingerprints": {
208
+ "sha1": "SSHFP 3 1 53b69729fef0e59d7c91cb922fef64de0bf642dc",
209
+ "sha256": "SSHFP 3 2 1d7c2b34d44ca478e190a5b30767e874337d103ac3e63f71cc27a03134c81c07"
210
+ },
211
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBN9OG+cdLT6ab+c6+JrCk/lrdKey1byW3oUxWY9ybbF3Wih5IygSaz6iyyr+Xge1Mxi0HMf9IAqkE911iSZi3kk=",
212
+ "type": "ecdsa-sha2-nistp256"
213
+ },
214
+ "ed25519": {
215
+ "fingerprints": {
216
+ "sha1": "SSHFP 4 1 882c76c1ba285d186b53bb6e2a6ead8e960cc951",
217
+ "sha256": "SSHFP 4 2 fd302981dcc80d537e25eca6399a36a9c7a39d2a0656555e15e5f35bad0d678e"
218
+ },
219
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIHBQwxAEaAiDHmARiTzyHnj3TWVjj3yrcZ9ovVxwFTnz",
220
+ "type": "ssh-ed25519"
221
+ },
222
+ "rsa": {
223
+ "fingerprints": {
224
+ "sha1": "SSHFP 1 1 a95edf0f08db96e27bcb0fd27428304fb0883037",
225
+ "sha256": "SSHFP 1 2 5dc90d4febda1dd40bc062d360bf104d36e482ea81a2bb68f83e140f5d0ac484"
226
+ },
227
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTUsmTLlYzmSFQBalEC6yoI2nHsROPn6sUXXOAClXC9jwA52cP/InDscEnK6ubdiY4bivlXfZNJJdjqVWiv3E8wG8M8i7S2g7JcfF7615/L9w5GA7qwneCNUtwhIdwiYptCzxctkftwLmGKfWOZw7alvt7ebzPJjuw7KBKGBxOhG8oDaMmnTWRO2JjuR1bpMxbCj2NCGAe+ZTcwJfqtrVKBGZM2A+/ZqVqMHR5lYCj6lRUyOFKxa0OmkFt9MXAkJra11lqd+LcyI9PdcMom9UicLhv91HXxwuET4IHoUxvusr8L1ZP7iBKjH68kBSdpOhdXoqokOXqzWc/kYAdbdd",
228
+ "type": "ssh-rsa"
229
+ }
230
+ },
231
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBN9OG+cdLT6ab+c6+JrCk/lrdKey1byW3oUxWY9ybbF3Wih5IygSaz6iyyr+Xge1Mxi0HMf9IAqkE911iSZi3kk=",
232
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIHBQwxAEaAiDHmARiTzyHnj3TWVjj3yrcZ9ovVxwFTnz",
233
+ "sshfp_ecdsa": "SSHFP 3 1 53b69729fef0e59d7c91cb922fef64de0bf642dc\nSSHFP 3 2 1d7c2b34d44ca478e190a5b30767e874337d103ac3e63f71cc27a03134c81c07",
234
+ "sshfp_ed25519": "SSHFP 4 1 882c76c1ba285d186b53bb6e2a6ead8e960cc951\nSSHFP 4 2 fd302981dcc80d537e25eca6399a36a9c7a39d2a0656555e15e5f35bad0d678e",
235
+ "sshfp_rsa": "SSHFP 1 1 a95edf0f08db96e27bcb0fd27428304fb0883037\nSSHFP 1 2 5dc90d4febda1dd40bc062d360bf104d36e482ea81a2bb68f83e140f5d0ac484",
236
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTUsmTLlYzmSFQBalEC6yoI2nHsROPn6sUXXOAClXC9jwA52cP/InDscEnK6ubdiY4bivlXfZNJJdjqVWiv3E8wG8M8i7S2g7JcfF7615/L9w5GA7qwneCNUtwhIdwiYptCzxctkftwLmGKfWOZw7alvt7ebzPJjuw7KBKGBxOhG8oDaMmnTWRO2JjuR1bpMxbCj2NCGAe+ZTcwJfqtrVKBGZM2A+/ZqVqMHR5lYCj6lRUyOFKxa0OmkFt9MXAkJra11lqd+LcyI9PdcMom9UicLhv91HXxwuET4IHoUxvusr8L1ZP7iBKjH68kBSdpOhdXoqokOXqzWc/kYAdbdd",
237
+ "swapencrypted": false,
238
+ "swapfree": "2.00 GiB",
239
+ "swapfree_mb": 2048.0,
240
+ "swapsize": "2.00 GiB",
241
+ "swapsize_mb": 2048.0,
242
+ "system_uptime": {
243
+ "days": 0,
244
+ "hours": 0,
245
+ "seconds": 180,
246
+ "uptime": "0:03 hours"
247
+ },
248
+ "timezone": "UTC",
249
+ "uptime": "0:03 hours",
250
+ "uptime_days": 0,
251
+ "uptime_hours": 0,
252
+ "uptime_seconds": 180,
253
+ "uuid": "d46a39e9-2c1c-0549-89a5-391974f2e7e7",
254
+ "virtual": "vbox",
255
+ "zfs_featurenumbers": "1,2,3,4,5",
256
+ "zfs_version": "5",
257
+ "zpool_featureflags": "async_destroy,empty_bpobj,lz4_compress,multi_vdev_crash_dump,spacemap_histogram,enabled_txg,hole_birth,extensible_dataset,embedded_data,bookmarks,filesystem_limits,large_blocks,large_dnode,sha512,skein,userobj_accounting,encryption,project_quota,device_removal,obsolete_counts,zpool_checkpoint,spacemap_v2,allocation_classes,resilver_defer,bookmark_v2,redaction_bookmarks,redacted_datasets,bookmark_written,log_spacemap,livelist,device_rebuild,zstd_compress,draid",
258
+ "zpool_featurenumbers": "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28",
259
+ "zpool_version": "5000"
260
+ }