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,261 @@
1
+ {
2
+ "aio_agent_version": "6.24.0",
3
+ "augeas": {
4
+ "version": "1.12.0"
5
+ },
6
+ "disks": {
7
+ "sda": {
8
+ "model": "HARDDISK",
9
+ "size": "40.00 GiB",
10
+ "size_bytes": 42949672960,
11
+ "type": "hdd",
12
+ "vendor": "VBOX"
13
+ },
14
+ "sdb": {
15
+ "model": "HARDDISK",
16
+ "size": "10.00 MiB",
17
+ "size_bytes": 10485760,
18
+ "type": "hdd",
19
+ "vendor": "VBOX"
20
+ }
21
+ },
22
+ "dmi": {
23
+ "bios": {
24
+ "release_date": "12/01/2006",
25
+ "vendor": "innotek GmbH",
26
+ "version": "VirtualBox"
27
+ },
28
+ "board": {
29
+ "manufacturer": "Oracle Corporation",
30
+ "product": "VirtualBox",
31
+ "serial_number": "0"
32
+ },
33
+ "chassis": {
34
+ "type": "Other"
35
+ },
36
+ "manufacturer": "innotek GmbH",
37
+ "product": {
38
+ "name": "VirtualBox",
39
+ "serial_number": "0",
40
+ "uuid": "20900609-227b-df4c-8c9d-78b9c4fbacc7"
41
+ }
42
+ },
43
+ "facterversion": "4.1.1",
44
+ "filesystems": "btrfs,ext2,ext3,ext4,iso9660,squashfs,vfat",
45
+ "fips_enabled": false,
46
+ "gem_version": "~> 4.1.0",
47
+ "hypervisors": {
48
+ "virtualbox": {
49
+ "revision": "145957",
50
+ "version": "6.1.26"
51
+ }
52
+ },
53
+ "identity": {
54
+ "gid": 0,
55
+ "group": "root",
56
+ "privileged": true,
57
+ "uid": 0,
58
+ "user": "root"
59
+ },
60
+ "is_virtual": true,
61
+ "kernel": "Linux",
62
+ "kernelmajversion": "5.4",
63
+ "kernelrelease": "5.4.0-86-generic",
64
+ "kernelversion": "5.4.0",
65
+ "load_averages": {
66
+ "15m": 0.19,
67
+ "1m": 1.08,
68
+ "5m": 0.5
69
+ },
70
+ "memory": {
71
+ "system": {
72
+ "available": "641.23 MiB",
73
+ "available_bytes": 672378880,
74
+ "capacity": "34.64%",
75
+ "total": "981.04 MiB",
76
+ "total_bytes": 1028689920,
77
+ "used": "339.80 MiB",
78
+ "used_bytes": 356311040
79
+ }
80
+ },
81
+ "networking": {
82
+ "dhcp": "10.0.2.2",
83
+ "domain": "example.com",
84
+ "fqdn": "foo.example.com",
85
+ "hostname": "foo",
86
+ "interfaces": {
87
+ "enp0s3": {
88
+ "bindings": [
89
+ {
90
+ "address": "10.0.2.15",
91
+ "netmask": "255.255.255.0",
92
+ "network": "10.0.2.0"
93
+ }
94
+ ],
95
+ "bindings6": [
96
+ {
97
+ "address": "fe80::46:98ff:fed9:c9f4",
98
+ "netmask": "ffff:ffff:ffff:ffff::",
99
+ "network": "fe80::",
100
+ "scope6": "link"
101
+ }
102
+ ],
103
+ "dhcp": "10.0.2.2",
104
+ "ip": "10.0.2.15",
105
+ "ip6": "fe80::46:98ff:fed9:c9f4",
106
+ "mac": "02:46:98:d9:c9:f4",
107
+ "mtu": 1500,
108
+ "netmask": "255.255.255.0",
109
+ "netmask6": "ffff:ffff:ffff:ffff::",
110
+ "network": "10.0.2.0",
111
+ "network6": "fe80::",
112
+ "scope6": "link"
113
+ },
114
+ "lo": {
115
+ "bindings": [
116
+ {
117
+ "address": "127.0.0.1",
118
+ "netmask": "255.0.0.0",
119
+ "network": "127.0.0.0"
120
+ }
121
+ ],
122
+ "bindings6": [
123
+ {
124
+ "address": "::1",
125
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
126
+ "network": "::1",
127
+ "scope6": "host"
128
+ }
129
+ ],
130
+ "ip": "127.0.0.1",
131
+ "ip6": "::1",
132
+ "mtu": 65536,
133
+ "netmask": "255.0.0.0",
134
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
135
+ "network": "127.0.0.0",
136
+ "network6": "::1",
137
+ "scope6": "host"
138
+ }
139
+ },
140
+ "ip": "10.0.2.15",
141
+ "ip6": "fe80::46:98ff:fed9:c9f4",
142
+ "mac": "02:46:98:d9:c9:f4",
143
+ "mtu": 1500,
144
+ "netmask": "255.255.255.0",
145
+ "netmask6": "ffff:ffff:ffff:ffff::",
146
+ "network": "10.0.2.0",
147
+ "network6": "fe80::",
148
+ "primary": "enp0s3",
149
+ "scope6": "link"
150
+ },
151
+ "os": {
152
+ "architecture": "amd64",
153
+ "distro": {
154
+ "codename": "focal",
155
+ "description": "Ubuntu 20.04.3 LTS",
156
+ "id": "Ubuntu",
157
+ "release": {
158
+ "full": "20.04",
159
+ "major": "20.04"
160
+ }
161
+ },
162
+ "family": "Debian",
163
+ "hardware": "x86_64",
164
+ "name": "Ubuntu",
165
+ "release": {
166
+ "full": "20.04",
167
+ "major": "20.04"
168
+ },
169
+ "selinux": {
170
+ "enabled": false
171
+ }
172
+ },
173
+ "partitions": {
174
+ "/dev/loop0": {
175
+ "backing_file": "/var/lib/snapd/snaps/core20_1081.snap",
176
+ "filesystem": "squashfs",
177
+ "size": "61.77 MiB",
178
+ "size_bytes": 64770048
179
+ },
180
+ "/dev/loop1": {
181
+ "backing_file": "/var/lib/snapd/snaps/lxd_21545.snap",
182
+ "filesystem": "squashfs",
183
+ "size": "67.25 MiB",
184
+ "size_bytes": 70516736
185
+ },
186
+ "/dev/loop2": {
187
+ "backing_file": "/var/lib/snapd/snaps/snapd_12883.snap",
188
+ "filesystem": "squashfs",
189
+ "size": "32.30 MiB",
190
+ "size_bytes": 33869824
191
+ },
192
+ "/dev/sda1": {
193
+ "filesystem": "ext4",
194
+ "label": "cloudimg-rootfs",
195
+ "partuuid": "bbed7fa6-01",
196
+ "size": "40.00 GiB",
197
+ "size_bytes": 42948607488,
198
+ "uuid": "167d8723-2972-4ac5-869e-c16609de3e76"
199
+ }
200
+ },
201
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
202
+ "processors": {
203
+ "cores": 2,
204
+ "count": 2,
205
+ "isa": "x86_64",
206
+ "models": [
207
+ "AMD Ryzen 7 PRO 4750U with Radeon Graphics",
208
+ "AMD Ryzen 7 PRO 4750U with Radeon Graphics"
209
+ ],
210
+ "physicalcount": 1,
211
+ "speed": "1.70 GHz",
212
+ "threads": 1
213
+ },
214
+ "ruby": {
215
+ "platform": "x86_64-linux",
216
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
217
+ "version": "2.5.9"
218
+ },
219
+ "ssh": {
220
+ "dsa": {
221
+ "fingerprints": {
222
+ "sha1": "SSHFP 2 1 18325a14254dc680e869c0c1457ce059267e6103",
223
+ "sha256": "SSHFP 2 2 4cebdf45493df91ee9eb244aa41094bf7b7fefbad79a3dd74596516b9267caf1"
224
+ },
225
+ "key": "AAAAB3NzaC1kc3MAAACBAMH2b2w5mLFY74z64UlktrtaFVFhf99YuxboH3SNtenbX6Kfm1LqT9aTgvac2g1DVBFywQl/aspONf36UMMNpA8DAbHFHYSBKOBzzB18XctJ0AvgGBs1HOCrEsvHzAahwHtSLzXjPxGq4krsCLkxYN9qTZYGJUFtit/bh8oNCobtAAAAFQC87ZmuYGWJtPG/zC6Azm8NOkcM0wAAAIBMkEEAi5od8QrGiTZ3fTXdUCPQl3YEx2PXWpc1QSMnQFv96kmRfOGl8J6IuWjNAm2pPosbOrdIKfpyALQhXQG4XzcBzw+Pt4/blGKNkNoNK47lTdHgW6THWGQ/LeaNfEHic6pijTUdAJVuy+ml96ljX+Up2Dyq6SN/9nY4ztn92wAAAIEAoFeU5R3bsVw0+rOP8RoU6yOhybFPu1I3YrdvbEORp9SpBhxEUdrZXzIByXxL1bDl7wZTIn57952aJc6jYLAYRM5dhFjfKzrS3lrEiO2msskXkVvYgoefBXKvwuOHhrqzGZuo4aqDWWP5clJYedHVgCVag7Q5ZbF8R+04uF5Q4wg=",
226
+ "type": "ssh-dss"
227
+ },
228
+ "ecdsa": {
229
+ "fingerprints": {
230
+ "sha1": "SSHFP 3 1 359f47ecbe281e8a3e175249c4ef46db156c0b55",
231
+ "sha256": "SSHFP 3 2 5ec3008ca9c6e0d0b761f2d1dfd89fbcf3dc4d19383bb49ef4d015f6acf47311"
232
+ },
233
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPFcXtgXA8xYWa2INIoOJ+VrNvBgr2iwLJ2LoHpMLNOx6ykRuGasmcmx20huVTQSQgM0GFLZB2wrG9pd0QJForo=",
234
+ "type": "ecdsa-sha2-nistp256"
235
+ },
236
+ "ed25519": {
237
+ "fingerprints": {
238
+ "sha1": "SSHFP 4 1 15d83e2f036c4c1a6474e6ccb7d8c149e2d2ea9f",
239
+ "sha256": "SSHFP 4 2 11a98b5150cc41d3c66f268fc32c8663df431a35851dbb1d10f2b7204a134532"
240
+ },
241
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIM4Q2KY/Qo2UJXcbx2bYK1C22cHsupThHGbYf7Lk2gpe",
242
+ "type": "ssh-ed25519"
243
+ },
244
+ "rsa": {
245
+ "fingerprints": {
246
+ "sha1": "SSHFP 1 1 d3540c138c56a8446b4a57b7be2136c2ae024d2b",
247
+ "sha256": "SSHFP 1 2 b93587fe58a49c106594e2dc4e9090eb972674b10237aba1501c3af190065ccf"
248
+ },
249
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQD0M14x9dPiCKdjzmtbBKJzVi9R+e3Is/mu75NXO/hbhwFZisP1tL3Cqt4oaCR/x6DgAr9PE4MnXtUErTdqz9IhDOfuWnns+Y+o3j8m8Vbn0FoN3z92ygZXbXHWQRejgdK1l2KOiSAeWuBtsPU5pENFbjt8v7mfo1/q5hoDfxVbusfHahF0uUzfw+uqkBoPsy/KddMi4INgGxBw7rFmnqyG9fhL74F+oZSZpY5p58dg4liG+eHJwDHo2HVGOZqonYgm978hWFAqeXx930w94jSYzFyN2He7+H7JEdptRmcFwhYA/4D5RXGzu7yAFYHh1ZstTu1xkr+GnycKn1pmS86Ld8GRCrEQsiTHFiXYPsMqouhZgDNOE1LDloUHWFmfl0/m+DHKFvn46xqY7YnKzf2Dbqk02MvNJF+r7rN+UWUQm44Zl1pG1qIDCtJM9h0jMJxKyBBC2FfwsQsa4oAddEJlwNDoIpcll8D1jmpkYZ7JJAGbkcRYDzYT4ctluAgvcDs=",
250
+ "type": "ssh-rsa"
251
+ }
252
+ },
253
+ "system_uptime": {
254
+ "days": 0,
255
+ "hours": 0,
256
+ "seconds": 146,
257
+ "uptime": "0:02 hours"
258
+ },
259
+ "timezone": "UTC",
260
+ "virtual": "virtualbox"
261
+ }