facterdb 1.6.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +32 -0
- data/.github/workflows/test.yml +28 -0
- data/CHANGELOG.md +174 -121
- data/Gemfile +2 -2
- data/README.md +115 -99
- data/Rakefile +15 -4
- data/facterdb.gemspec +6 -7
- data/facts/1.6/debian-11-x86_64.facts +57 -0
- data/facts/1.6/freebsd-13-x86_64.facts +51 -0
- data/facts/1.6/oraclelinux-8-x86_64.facts +59 -0
- data/facts/1.7/centos-9-x86_64.facts +82 -0
- data/facts/1.7/debian-11-x86_64.facts +74 -0
- data/facts/1.7/freebsd-13-x86_64.facts +69 -0
- data/facts/1.7/oraclelinux-8-x86_64.facts +82 -0
- data/facts/2.0/centos-9-x86_64.facts +82 -0
- data/facts/2.0/debian-11-x86_64.facts +76 -0
- data/facts/2.0/freebsd-13-x86_64.facts +70 -0
- data/facts/2.0/oraclelinux-8-x86_64.facts +82 -0
- data/facts/2.1/centos-9-x86_64.facts +112 -0
- data/facts/2.1/debian-11-x86_64.facts +84 -0
- data/facts/2.1/freebsd-13-x86_64.facts +70 -0
- data/facts/2.1/oraclelinux-8-x86_64.facts +92 -0
- data/facts/2.2/centos-9-x86_64.facts +137 -0
- data/facts/2.2/debian-11-x86_64.facts +115 -0
- data/facts/2.2/freebsd-13-x86_64.facts +91 -0
- data/facts/2.2/oraclelinux-8-x86_64.facts +115 -0
- data/facts/2.3/centos-9-x86_64.facts +138 -0
- data/facts/2.3/debian-11-x86_64.facts +116 -0
- data/facts/2.3/freebsd-13-x86_64.facts +92 -0
- data/facts/2.3/oraclelinux-8-x86_64.facts +143 -0
- data/facts/2.4/centos-9-x86_64.facts +139 -0
- data/facts/2.4/debian-11-x86_64.facts +118 -0
- data/facts/2.4/freebsd-13-x86_64.facts +92 -0
- data/facts/2.4/oraclelinux-8-x86_64.facts +160 -0
- data/facts/2.5/debian-11-x86_64.facts +118 -0
- data/facts/2.5/freebsd-13-x86_64.facts +92 -0
- data/facts/2.5/oraclelinux-8-x86_64.facts +160 -0
- data/facts/3.11/oraclelinux-8-x86_64.facts +494 -0
- data/facts/3.11/redhat-8-x86_64.facts +128 -127
- data/facts/3.11/solaris-10-i86pc.facts +1 -4
- data/facts/3.11/solaris-11-i86pc.facts +1 -4
- data/facts/3.11/solaris-11-sun4v.facts +1 -4
- data/facts/3.11/ubuntu-18.04-x86_64.facts +216 -101
- data/facts/3.12/oraclelinux-8-x86_64.facts +400 -0
- data/facts/3.12/redhat-8-x86_64.facts +109 -105
- data/facts/3.13/oraclelinux-8-x86_64.facts +406 -0
- data/facts/3.13/redhat-8-x86_64.facts +111 -113
- data/facts/3.13/ubuntu-18.04-x86_64.facts +216 -101
- data/facts/3.14/almalinux-8-x86_64.facts +522 -0
- data/facts/3.14/darwin-19-x86_64.facts +412 -0
- data/facts/3.14/darwin-20-x86_64.facts +516 -0
- data/facts/3.14/debian-11-x86_64.facts +508 -0
- data/facts/3.14/freebsd-11-x86_64.facts +479 -0
- data/facts/3.14/freebsd-12-x86_64.facts +479 -0
- data/facts/3.14/freebsd-13-x86_64.facts +475 -0
- data/facts/3.14/oraclelinux-8-x86_64.facts +406 -0
- data/facts/3.14/redhat-8-x86_64.facts +111 -113
- data/facts/3.14/rocky-8-x86_64.facts +625 -0
- data/facts/3.14/solaris-11-i86pc.facts +1 -4
- data/facts/3.14/solaris-11-sun4v.facts +1 -4
- data/facts/3.14/ubuntu-18.04-x86_64.facts +91 -91
- data/facts/3.14/ubuntu-20.04-x86_64.facts +138 -184
- data/facts/3.9/solaris-10-i86pc.facts +0 -3
- data/facts/4.0/almalinux-8-x86_64.facts +307 -0
- data/facts/4.0/centos-7-x86_64.facts +706 -0
- data/facts/4.0/debian-10-x86_64.facts +1091 -0
- data/facts/4.0/debian-11-x86_64.facts +236 -0
- data/facts/4.0/freebsd-11-x86_64.facts +208 -0
- data/facts/4.0/freebsd-12-x86_64.facts +208 -0
- data/facts/4.0/freebsd-13-x86_64.facts +207 -0
- data/facts/4.0/redhat-8-x86_64.facts +230 -0
- data/facts/4.0/solaris-11-sun4v.facts +585 -0
- data/facts/4.0/ubuntu-18.04-x86_64.facts +241 -0
- data/facts/4.0/ubuntu-20.04-x86_64.facts +259 -0
- data/facts/4.1/debian-11-x86_64.facts +238 -0
- data/facts/4.1/freebsd-11-x86_64.facts +208 -0
- data/facts/4.1/freebsd-12-x86_64.facts +208 -0
- data/facts/4.1/freebsd-13-x86_64.facts +207 -0
- data/facts/4.1/redhat-8-x86_64.facts +232 -0
- data/facts/4.1/ubuntu-18.04-x86_64.facts +243 -0
- data/facts/4.1/ubuntu-20.04-x86_64.facts +261 -0
- data/facts/4.2/centos-7-x86_64.facts +593 -0
- data/facts/4.2/centos-8-x86_64.facts +591 -0
- data/facts/4.2/centos-9-x86_64.facts +291 -0
- data/facts/4.2/darwin-20-x86_64.facts +524 -0
- data/facts/4.2/debian-10-x86_64.facts +574 -0
- data/facts/4.2/debian-11-x86_64.facts +244 -0
- data/facts/4.2/debian-9-x86_64.facts +597 -0
- data/facts/4.2/freebsd-11-x86_64.facts +261 -0
- data/facts/4.2/freebsd-12-x86_64.facts +261 -0
- data/facts/4.2/freebsd-13-x86_64.facts +260 -0
- data/facts/4.2/oraclelinux-8-x86_64.facts +591 -0
- data/facts/4.2/redhat-8-x86_64.facts +232 -0
- data/facts/4.2/ubuntu-18.04-x86_64.facts +249 -0
- data/facts/4.2/ubuntu-20.04-x86_64.facts +267 -0
- data/facts/Gemfile +1 -0
- data/facts/Vagrantfile +33 -9
- data/facts/get_facts.sh +45 -13
- data/lib/facterdb/version.rb +1 -1
- data/lib/facterdb.rb +17 -2
- data/spec/facts_spec.rb +9 -2
- metadata +82 -27
- data/.travis.yml +0 -36
@@ -0,0 +1,244 @@
|
|
1
|
+
{
|
2
|
+
"aio_agent_version": "6.24.0",
|
3
|
+
"augeas": {
|
4
|
+
"version": "1.12.0"
|
5
|
+
},
|
6
|
+
"disks": {
|
7
|
+
"sda": {
|
8
|
+
"model": "VBOX HARDDISK",
|
9
|
+
"size": "20.00 GiB",
|
10
|
+
"size_bytes": 21474836480,
|
11
|
+
"type": "hdd",
|
12
|
+
"vendor": "ATA"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"dmi": {
|
16
|
+
"bios": {
|
17
|
+
"release_date": "12/01/2006",
|
18
|
+
"vendor": "innotek GmbH",
|
19
|
+
"version": "VirtualBox"
|
20
|
+
},
|
21
|
+
"board": {
|
22
|
+
"manufacturer": "Oracle Corporation",
|
23
|
+
"product": "VirtualBox",
|
24
|
+
"serial_number": "0"
|
25
|
+
},
|
26
|
+
"chassis": {
|
27
|
+
"type": "Other"
|
28
|
+
},
|
29
|
+
"manufacturer": "innotek GmbH",
|
30
|
+
"product": {
|
31
|
+
"name": "VirtualBox",
|
32
|
+
"serial_number": "0",
|
33
|
+
"uuid": "d34264a8-c1cc-0948-8eb9-e334c8444222"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"facterversion": "4.2.3",
|
37
|
+
"filesystems": "ext2,ext3,ext4",
|
38
|
+
"fips_enabled": false,
|
39
|
+
"gem_version": "~> 4.2.0",
|
40
|
+
"hypervisors": {
|
41
|
+
"virtualbox": {
|
42
|
+
"revision": "145957",
|
43
|
+
"version": "6.1.26"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"identity": {
|
47
|
+
"gid": 0,
|
48
|
+
"group": "root",
|
49
|
+
"privileged": true,
|
50
|
+
"uid": 0,
|
51
|
+
"user": "root"
|
52
|
+
},
|
53
|
+
"is_virtual": true,
|
54
|
+
"kernel": "Linux",
|
55
|
+
"kernelmajversion": "5.10",
|
56
|
+
"kernelrelease": "5.10.0-8-amd64",
|
57
|
+
"kernelversion": "5.10.0",
|
58
|
+
"load_averages": {
|
59
|
+
"15m": 0.04,
|
60
|
+
"1m": 0.29,
|
61
|
+
"5m": 0.11
|
62
|
+
},
|
63
|
+
"memory": {
|
64
|
+
"system": {
|
65
|
+
"available": "1.65 GiB",
|
66
|
+
"available_bytes": 1776082944,
|
67
|
+
"capacity": "14.57%",
|
68
|
+
"total": "1.94 GiB",
|
69
|
+
"total_bytes": 2079068160,
|
70
|
+
"used": "288.95 MiB",
|
71
|
+
"used_bytes": 302985216
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"networking": {
|
75
|
+
"dhcp": "10.0.2.2",
|
76
|
+
"domain": "example.com",
|
77
|
+
"fqdn": "foo.example.com",
|
78
|
+
"hostname": "foo",
|
79
|
+
"interfaces": {
|
80
|
+
"eth0": {
|
81
|
+
"bindings": [
|
82
|
+
{
|
83
|
+
"address": "10.0.2.15",
|
84
|
+
"netmask": "255.255.255.0",
|
85
|
+
"network": "10.0.2.0"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"bindings6": [
|
89
|
+
{
|
90
|
+
"address": "fe80::a00:27ff:fecb:ce07",
|
91
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
92
|
+
"network": "fe80::",
|
93
|
+
"scope6": "link",
|
94
|
+
"flags": [
|
95
|
+
"permanent"
|
96
|
+
]
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"dhcp": "10.0.2.2",
|
100
|
+
"ip": "10.0.2.15",
|
101
|
+
"ip6": "fe80::a00:27ff:fecb:ce07",
|
102
|
+
"mac": "08:00:27:cb:ce:07",
|
103
|
+
"mtu": 1500,
|
104
|
+
"netmask": "255.255.255.0",
|
105
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
106
|
+
"network": "10.0.2.0",
|
107
|
+
"network6": "fe80::",
|
108
|
+
"scope6": "link"
|
109
|
+
},
|
110
|
+
"lo": {
|
111
|
+
"bindings": [
|
112
|
+
{
|
113
|
+
"address": "127.0.0.1",
|
114
|
+
"netmask": "255.0.0.0",
|
115
|
+
"network": "127.0.0.0"
|
116
|
+
}
|
117
|
+
],
|
118
|
+
"bindings6": [
|
119
|
+
{
|
120
|
+
"address": "::1",
|
121
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
122
|
+
"network": "::1",
|
123
|
+
"scope6": "host",
|
124
|
+
"flags": [
|
125
|
+
"permanent"
|
126
|
+
]
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"ip": "127.0.0.1",
|
130
|
+
"ip6": "::1",
|
131
|
+
"mtu": 65536,
|
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
|
+
"ip6": "fe80::a00:27ff:fecb:ce07",
|
141
|
+
"mac": "08:00:27:cb:ce:07",
|
142
|
+
"mtu": 1500,
|
143
|
+
"netmask": "255.255.255.0",
|
144
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
145
|
+
"network": "10.0.2.0",
|
146
|
+
"network6": "fe80::",
|
147
|
+
"primary": "eth0",
|
148
|
+
"scope6": "link"
|
149
|
+
},
|
150
|
+
"os": {
|
151
|
+
"architecture": "amd64",
|
152
|
+
"distro": {
|
153
|
+
"codename": "bullseye",
|
154
|
+
"description": "Debian GNU/Linux 11 (bullseye)",
|
155
|
+
"id": "Debian",
|
156
|
+
"release": {
|
157
|
+
"full": "11.0",
|
158
|
+
"major": "11",
|
159
|
+
"minor": "0"
|
160
|
+
}
|
161
|
+
},
|
162
|
+
"family": "Debian",
|
163
|
+
"hardware": "x86_64",
|
164
|
+
"name": "Debian",
|
165
|
+
"release": {
|
166
|
+
"full": "11.0",
|
167
|
+
"major": "11",
|
168
|
+
"minor": "0"
|
169
|
+
},
|
170
|
+
"selinux": {
|
171
|
+
"enabled": false
|
172
|
+
}
|
173
|
+
},
|
174
|
+
"partitions": {
|
175
|
+
"/dev/sda1": {
|
176
|
+
"filesystem": "ext4",
|
177
|
+
"label": "root",
|
178
|
+
"partuuid": "811dc71c-01",
|
179
|
+
"size": "20.00 GiB",
|
180
|
+
"size_bytes": 21472739328,
|
181
|
+
"uuid": "d7ee67f5-e546-4fe0-85cc-f61d79d9995e"
|
182
|
+
}
|
183
|
+
},
|
184
|
+
"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",
|
185
|
+
"processors": {
|
186
|
+
"cores": 2,
|
187
|
+
"count": 2,
|
188
|
+
"isa": "unknown",
|
189
|
+
"models": [
|
190
|
+
"Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
|
191
|
+
"Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz"
|
192
|
+
],
|
193
|
+
"physicalcount": 1,
|
194
|
+
"speed": "1.99 GHz",
|
195
|
+
"threads": 1
|
196
|
+
},
|
197
|
+
"ruby": {
|
198
|
+
"platform": "x86_64-linux",
|
199
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
200
|
+
"version": "2.5.9"
|
201
|
+
},
|
202
|
+
"ssh": {
|
203
|
+
"dsa": {
|
204
|
+
"fingerprints": {
|
205
|
+
"sha1": "SSHFP 2 1 6c54b0afe418aa75c049e0b4f26cba93cf2de500",
|
206
|
+
"sha256": "SSHFP 2 2 c77a6ed06e5c3aa51f8bfad5b28cc2136f14fe3d70c68076825efdec89d00869"
|
207
|
+
},
|
208
|
+
"key": "AAAAB3NzaC1kc3MAAACBAJCfRs00CvOvqRaAKeE504GNxD2JWIKb832loDnlcXThaLEgfZipZlkvLfU94f2LT/826vOTnvFny+3CF5uVUXtdWQt3I8aWEY/SJcM093eYAljJt5otKk2Cc4QHCXe68I8PxuVe1SKwNdzxttjoN0wYWxjQnyqoFJv4XU9DlMABAAAAFQCLZTi6HGL5lsGSLTAmkYV8GUC7mQAAAIAldTX9CjubrrRY/r2UAyCP8b2Xu1Dl9WBgPllyAQqiGgVJ1sato2JnGSaVUQQwtXMiFPhXDJOZizJZTigGsXe9AMGdO4m7zP5YT5t3eWE/uI3fLSgQ9RUaTsj19ZROLipbie/sv1B+Tp7z0TCOJgnw2R9zIEM1JP94PZAzKUdNBAAAAIBXtNBmn8PlddX7SkylQmd5pQKIuBW95phhW2yIdbRKfDqLKMYlTDM6t9gKHAUNCRbYswtn7Pgz0s+34DJEi+MNVoZMPVA76H9hpN8q0XAuLcEW13LspmmCt9WpdE8LdM4fW4ugqGJiAllXljuJqI/ocnogn/7ARsDKkawfkqIM0A==",
|
209
|
+
"type": "ssh-dss"
|
210
|
+
},
|
211
|
+
"ecdsa": {
|
212
|
+
"fingerprints": {
|
213
|
+
"sha1": "SSHFP 3 1 c1ddebffffce723d479bbd59212fda69dc6e7a92",
|
214
|
+
"sha256": "SSHFP 3 2 ddd776bf79a804210e04d5f9de4771ec4c335d7df7f4a7ef77a671eeb8185f75"
|
215
|
+
},
|
216
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAFiou0ZcDkWTvxqpyMESHlslJHI8Jac/XT3oYdd5GgoK4C6w+DK+dqfxJGd/1LXgMPeQKaFSYcVHJ2Vnc0TeAQ=",
|
217
|
+
"type": "ecdsa-sha2-nistp256"
|
218
|
+
},
|
219
|
+
"ed25519": {
|
220
|
+
"fingerprints": {
|
221
|
+
"sha1": "SSHFP 4 1 e35f61bbe3002ec0f292756ed2d05c7f34bcf262",
|
222
|
+
"sha256": "SSHFP 4 2 2633a7b72ddee5c5dd8d95977003fcef6a18adac427f5c5ac70944450d37aab4"
|
223
|
+
},
|
224
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIO84qXDEEpHpcwfca8MRUCsf9f8pRbS23R8CG4l6Kqgt",
|
225
|
+
"type": "ssh-ed25519"
|
226
|
+
},
|
227
|
+
"rsa": {
|
228
|
+
"fingerprints": {
|
229
|
+
"sha1": "SSHFP 1 1 dc0f0b29d7ed405b3c10f311468259b6b52dbd6b",
|
230
|
+
"sha256": "SSHFP 1 2 f6ad4fae23970b437ab50604e73e4e7be74d151b0f98c4cad4195d695e460a13"
|
231
|
+
},
|
232
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDd4LWvSjrT1akHgI17RZBMxK+PUJ7aG5yJ3qgirPSrHpVnFx6RX20WOgSSzBBAqIM6aiaUV+3zYFoB7rGON8HLFCbJc+3sY1bgEIL9qrDTyuKe4HPn6f1Jw2w4ZTSn7Y+AYTbg2u/UyUDEDjfRozlvrpe6+VlQDZNNZMP//o3cQPaOjoEEtlyxfCAl8lRNBy8jWw/8xvcRU5vmcfzv6dzhdoTZj3HZOzI4hg+0U5zx9VixVmn2BWtJE1Pash7n8BreE6fKF2dHtRHwh9D24v9YamnwmxWz24jin3GewCeWgTrSD8EAnssaB8roRvx1ydo75BlMMlo4BIYkFfjBmNvg9yQifsbfn2y/zuy7Lk5zc3qLrE8aerd1cPG4ljYAVoNbhENqN5Z6VMllva9Py9Mb7i/Kcj6ZS/aQr2bDDQxv4qFhG26h7KThF91MLkoISN5XRnfzy4QA33ra9IHPwwFRQm4cPH9+4918nO0Dw6v08sTb4+CTDIFI9CkZilnTp48=",
|
233
|
+
"type": "ssh-rsa"
|
234
|
+
}
|
235
|
+
},
|
236
|
+
"system_uptime": {
|
237
|
+
"days": 0,
|
238
|
+
"hours": 0,
|
239
|
+
"seconds": 533,
|
240
|
+
"uptime": "0:08 hours"
|
241
|
+
},
|
242
|
+
"timezone": "UTC",
|
243
|
+
"virtual": "virtualbox"
|
244
|
+
}
|