facterdb 1.19.0 → 1.21.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/test.yml +1 -0
- data/CHANGELOG.md +26 -3
- data/README.md +13 -5
- data/facts/3.14/rocky-9-x86_64.facts +597 -0
- data/facts/3.14/ubuntu-22.10-x86_64.facts +631 -0
- data/facts/4.0/rocky-9-x86_64.facts +617 -0
- data/facts/4.1/rocky-9-x86_64.facts +619 -0
- data/facts/4.2/fedora-37-x86_64.facts +512 -0
- data/facts/4.2/redhat-7-x86_64.facts +200 -257
- data/facts/4.2/redhat-8-x86_64.facts +250 -192
- data/facts/4.2/redhat-9-x86_64.facts +394 -143
- data/facts/4.2/rocky-9-x86_64.facts +626 -0
- data/facts/4.2/sles-12-x86_64.facts +483 -0
- data/facts/4.2/ubuntu-22.10-x86_64.facts +654 -0
- data/facts/4.2/windows-10-x86_64.facts +182 -0
- data/facts/4.2/windows-11-x86_64.facts +182 -0
- data/facts/4.2/windows-2012 r2-x86_64.facts +179 -0
- data/facts/4.2/windows-2012-x86_64.facts +222 -0
- data/facts/4.2/windows-2016-core-x86_64.facts +224 -0
- data/facts/4.2/windows-2016-x86_64.facts +224 -0
- data/facts/4.2/windows-2019-core-x86_64.facts +180 -0
- data/facts/4.2/windows-2019-x86_64.facts +180 -0
- data/facts/4.2/windows-2022-core-x86_64.facts +182 -0
- data/facts/4.2/windows-2022-x86_64.facts +182 -0
- data/facts/Vagrantfile +25 -0
- data/facts/get_facts.sh +1 -1
- data/lib/facterdb/version.rb +1 -1
- metadata +20 -2
@@ -0,0 +1,182 @@
|
|
1
|
+
{
|
2
|
+
"aio_agent_version": "7.18.0",
|
3
|
+
"architecture": "x64",
|
4
|
+
"dhcp_servers": {
|
5
|
+
"Ethernet": "168.63.129.16",
|
6
|
+
"system": "168.63.129.16"
|
7
|
+
},
|
8
|
+
"dmi": {
|
9
|
+
"manufacturer": "American Megatrends Inc.",
|
10
|
+
"product": {
|
11
|
+
"name": "Virtual Machine",
|
12
|
+
"serial_number": "0000-0011-7956-1160-2443-5841-13",
|
13
|
+
"uuid": "A3B26E41-B020-4271-8369-044D9E3FC447"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"domain": "example.com",
|
17
|
+
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
|
18
|
+
"facterversion": "4.2.11",
|
19
|
+
"fips_enabled": false,
|
20
|
+
"fqdn": "foo.example.com",
|
21
|
+
"hardwareisa": "x64",
|
22
|
+
"hardwaremodel": "x86_64",
|
23
|
+
"hostname": "foo",
|
24
|
+
"hypervisors": {
|
25
|
+
"hyperv": {
|
26
|
+
}
|
27
|
+
},
|
28
|
+
"id": "foo\\windows",
|
29
|
+
"identity": {
|
30
|
+
"privileged": true,
|
31
|
+
"user": "foo\\windows"
|
32
|
+
},
|
33
|
+
"interfaces": "Ethernet",
|
34
|
+
"ipaddress": "10.138.1.5",
|
35
|
+
"ipaddress6": "fe80::a86c:fe40:b6b2:1e4",
|
36
|
+
"ipaddress6_Ethernet": "fe80::a86c:fe40:b6b2:1e4",
|
37
|
+
"ipaddress_Ethernet": "10.138.1.5",
|
38
|
+
"is_virtual": true,
|
39
|
+
"kernel": "windows",
|
40
|
+
"kernelmajversion": "10.0",
|
41
|
+
"kernelrelease": "10.0.20348",
|
42
|
+
"kernelversion": "10.0.20348",
|
43
|
+
"macaddress": "60:45:BD:C1:54:79",
|
44
|
+
"macaddress_Ethernet": "60:45:BD:C1:54:79",
|
45
|
+
"manufacturer": "American Megatrends Inc.",
|
46
|
+
"memory": {
|
47
|
+
"system": {
|
48
|
+
"available": "13.84 GiB",
|
49
|
+
"available_bytes": 14865944576,
|
50
|
+
"capacity": "13.47%",
|
51
|
+
"total": "16.00 GiB",
|
52
|
+
"total_bytes": 17179398144,
|
53
|
+
"used": "2.15 GiB",
|
54
|
+
"used_bytes": 2313453568
|
55
|
+
}
|
56
|
+
},
|
57
|
+
"memoryfree": "13.84 GiB",
|
58
|
+
"memoryfree_mb": 14177.26953125,
|
59
|
+
"memorysize": "16.00 GiB",
|
60
|
+
"memorysize_mb": 16383.55078125,
|
61
|
+
"mtu_Ethernet": 1500,
|
62
|
+
"netmask": "255.255.255.0",
|
63
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
64
|
+
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
65
|
+
"netmask_Ethernet": "255.255.255.0",
|
66
|
+
"network": "10.138.1.0",
|
67
|
+
"network6": "fe80::",
|
68
|
+
"network6_Ethernet": "fe80::",
|
69
|
+
"network_Ethernet": "10.138.1.0",
|
70
|
+
"networking": {
|
71
|
+
"dhcp": "168.63.129.16",
|
72
|
+
"domain": "example.com",
|
73
|
+
"fqdn": "foo.example.com",
|
74
|
+
"hostname": "foo",
|
75
|
+
"interfaces": {
|
76
|
+
"Ethernet": {
|
77
|
+
"bindings": [
|
78
|
+
{
|
79
|
+
"address": "10.138.1.5",
|
80
|
+
"netmask": "255.255.255.0",
|
81
|
+
"network": "10.138.1.0"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"bindings6": [
|
85
|
+
{
|
86
|
+
"address": "fe80::a86c:fe40:b6b2:1e4",
|
87
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
88
|
+
"network": "fe80::",
|
89
|
+
"scope6": "link"
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"dhcp": "168.63.129.16",
|
93
|
+
"ip": "10.138.1.5",
|
94
|
+
"ip6": "fe80::a86c:fe40:b6b2:1e4",
|
95
|
+
"mac": "60:45:BD:C1:54:79",
|
96
|
+
"mtu": 1500,
|
97
|
+
"netmask": "255.255.255.0",
|
98
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
99
|
+
"network": "10.138.1.0",
|
100
|
+
"network6": "fe80::",
|
101
|
+
"scope6": "link"
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"ip": "10.138.1.5",
|
105
|
+
"ip6": "fe80::a86c:fe40:b6b2:1e4",
|
106
|
+
"mac": "60:45:BD:C1:54:79",
|
107
|
+
"mtu": 1500,
|
108
|
+
"netmask": "255.255.255.0",
|
109
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
110
|
+
"network": "10.138.1.0",
|
111
|
+
"network6": "fe80::",
|
112
|
+
"primary": "Ethernet",
|
113
|
+
"scope6": "link"
|
114
|
+
},
|
115
|
+
"operatingsystem": "windows",
|
116
|
+
"operatingsystemmajrelease": "2022",
|
117
|
+
"operatingsystemrelease": "2022",
|
118
|
+
"os": {
|
119
|
+
"architecture": "x64",
|
120
|
+
"family": "windows",
|
121
|
+
"hardware": "x86_64",
|
122
|
+
"name": "windows",
|
123
|
+
"release": {
|
124
|
+
"full": "2022",
|
125
|
+
"major": "2022"
|
126
|
+
},
|
127
|
+
"windows": {
|
128
|
+
"display_version": "21H2",
|
129
|
+
"edition_id": "ServerDatacenter",
|
130
|
+
"installation_type": "Server",
|
131
|
+
"product_name": "Windows Server 2022 Datacenter",
|
132
|
+
"release_id": "21H2",
|
133
|
+
"system32": "C:\\Windows\\system32"
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"osfamily": "windows",
|
137
|
+
"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\\dotnet\\;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Users\\windows\\AppData\\Local\\Microsoft\\WindowsApps",
|
138
|
+
"physicalprocessorcount": 1,
|
139
|
+
"processor0": "Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz",
|
140
|
+
"processorcount": 4,
|
141
|
+
"processors": {
|
142
|
+
"cores": 2,
|
143
|
+
"count": 4,
|
144
|
+
"isa": "x64",
|
145
|
+
"models": [
|
146
|
+
"Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz"
|
147
|
+
],
|
148
|
+
"physicalcount": 1,
|
149
|
+
"threads": 2
|
150
|
+
},
|
151
|
+
"productname": "Virtual Machine",
|
152
|
+
"ruby": {
|
153
|
+
"platform": "x64-mingw32",
|
154
|
+
"sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/2.7.0",
|
155
|
+
"version": "2.7.6"
|
156
|
+
},
|
157
|
+
"rubyplatform": "x64-mingw32",
|
158
|
+
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/2.7.0",
|
159
|
+
"rubyversion": "2.7.6",
|
160
|
+
"scope6": "link",
|
161
|
+
"scope6_Ethernet": "link",
|
162
|
+
"serialnumber": "0000-0011-7956-1160-2443-5841-13",
|
163
|
+
"system32": "C:\\Windows\\system32",
|
164
|
+
"system_uptime": {
|
165
|
+
"days": 0,
|
166
|
+
"hours": 0,
|
167
|
+
"seconds": 1414,
|
168
|
+
"uptime": "0:23 hours"
|
169
|
+
},
|
170
|
+
"timezone": "Coordinated Universal Time",
|
171
|
+
"uptime": "0:23 hours",
|
172
|
+
"uptime_days": 0,
|
173
|
+
"uptime_hours": 0,
|
174
|
+
"uptime_seconds": 1414,
|
175
|
+
"uuid": "A3B26E41-B020-4271-8369-044D9E3FC447",
|
176
|
+
"virtual": "hyperv",
|
177
|
+
"windows_display_version": "21H2",
|
178
|
+
"windows_edition_id": "ServerDatacenter",
|
179
|
+
"windows_installation_type": "Server",
|
180
|
+
"windows_product_name": "Windows Server 2022 Datacenter",
|
181
|
+
"windows_release_id": "21H2"
|
182
|
+
}
|
data/facts/Vagrantfile
CHANGED
@@ -60,6 +60,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
60
60
|
host.vm.provision "shell", path: "get_facts.sh"
|
61
61
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
62
62
|
end
|
63
|
+
# the ssh bits on this did not work right, most of the steps for
|
64
|
+
# generating things were done manually
|
65
|
+
config.vm.define "ubuntu-22.10-x86_64" do |host|
|
66
|
+
host.vm.box = "ubuntu/kinetic64"
|
67
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
68
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
69
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
70
|
+
end
|
63
71
|
config.vm.define "centos-7-x86_64" do |host|
|
64
72
|
host.vm.box = "centos/7"
|
65
73
|
host.vm.network :private_network, ip: '10.0.0.2'
|
@@ -123,6 +131,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
123
131
|
host.vm.provision "shell", path: "get_facts.sh"
|
124
132
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
125
133
|
end
|
134
|
+
config.vm.define "rockylinux-9-x86_64" do |host|
|
135
|
+
host.vm.box = "rockylinux/9"
|
136
|
+
host.vm.synced_folder ".", "/vagrant"
|
137
|
+
host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
|
138
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
139
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
140
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
141
|
+
end
|
126
142
|
config.vm.define "redhat-8-x86_64" do |host|
|
127
143
|
host.vm.box = "generic/rhel8"
|
128
144
|
host.vm.synced_folder ".", "/vagrant"
|
@@ -316,4 +332,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
316
332
|
host.vm.provision "shell", path: "get_facts.sh"
|
317
333
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
318
334
|
end
|
335
|
+
config.vm.define "fedora-37-x86_64" do |host|
|
336
|
+
host.vm.box = "generic/fedora37"
|
337
|
+
host.vm.synced_folder ".", "/vagrant"
|
338
|
+
# there's no official support for fedora 37, so we need facter from Fedora
|
339
|
+
host.vm.provision "shell", inline: "dnf -y install facter ruby ruby-devel wget make gcc net-tools"
|
340
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
341
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
342
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
343
|
+
end
|
319
344
|
end
|
data/facts/get_facts.sh
CHANGED
@@ -109,7 +109,7 @@ case "${osfamily}" in
|
|
109
109
|
|
110
110
|
# There are no puppet-agent packages for $releasename yet, so generate a Facter 3.x
|
111
111
|
# fact set from the official Debian package.
|
112
|
-
if [[ "hirsute" =~ ${lsbdistcodename} || "impish" =~ ${lsbdistcodename} || "jammy" =~ ${lsbdistcodename} ]]; then
|
112
|
+
if [[ "hirsute" =~ ${lsbdistcodename} || "impish" =~ ${lsbdistcodename} || "jammy" =~ ${lsbdistcodename} || "kinetic" =~ ${lsbdistcodename} ]]; then
|
113
113
|
apt_install ruby rubygems ruby-dev puppet facter
|
114
114
|
output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
|
115
115
|
mkdir -p $(dirname ${output_file})
|
data/lib/facterdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facterdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -1350,6 +1350,7 @@ files:
|
|
1350
1350
|
- facts/3.14/redhat-7-x86_64.facts
|
1351
1351
|
- facts/3.14/redhat-8-x86_64.facts
|
1352
1352
|
- facts/3.14/rocky-8-x86_64.facts
|
1353
|
+
- facts/3.14/rocky-9-x86_64.facts
|
1353
1354
|
- facts/3.14/scientific-6-x86_64.facts
|
1354
1355
|
- facts/3.14/scientific-7-x86_64.facts
|
1355
1356
|
- facts/3.14/sles-11-x86_64.facts
|
@@ -1364,6 +1365,7 @@ files:
|
|
1364
1365
|
- facts/3.14/ubuntu-21.04-x86_64.facts
|
1365
1366
|
- facts/3.14/ubuntu-21.10-x86_64.facts
|
1366
1367
|
- facts/3.14/ubuntu-22.04-x86_64.facts
|
1368
|
+
- facts/3.14/ubuntu-22.10-x86_64.facts
|
1367
1369
|
- facts/3.14/windows-10-i386.facts
|
1368
1370
|
- facts/3.14/windows-10-x86_64.facts
|
1369
1371
|
- facts/3.14/windows-2012 r2-core-x86_64.facts
|
@@ -1763,6 +1765,7 @@ files:
|
|
1763
1765
|
- facts/4.0/redhat-7-x86_64.facts
|
1764
1766
|
- facts/4.0/redhat-8-x86_64.facts
|
1765
1767
|
- facts/4.0/rocky-8-x86_64.facts
|
1768
|
+
- facts/4.0/rocky-9-x86_64.facts
|
1766
1769
|
- facts/4.0/scientific-7-x86_64.facts
|
1767
1770
|
- facts/4.0/solaris-11-sun4v.facts
|
1768
1771
|
- facts/4.0/ubuntu-16.04-x86_64.facts
|
@@ -1783,6 +1786,7 @@ files:
|
|
1783
1786
|
- facts/4.1/opensuse-15-x86_64.facts
|
1784
1787
|
- facts/4.1/redhat-8-x86_64.facts
|
1785
1788
|
- facts/4.1/rocky-8-x86_64.facts
|
1789
|
+
- facts/4.1/rocky-9-x86_64.facts
|
1786
1790
|
- facts/4.1/ubuntu-16.04-x86_64.facts
|
1787
1791
|
- facts/4.1/ubuntu-18.04-x86_64.facts
|
1788
1792
|
- facts/4.1/ubuntu-20.04-x86_64.facts
|
@@ -1804,6 +1808,7 @@ files:
|
|
1804
1808
|
- facts/4.2/fedora-34-x86_64.facts
|
1805
1809
|
- facts/4.2/fedora-35-x86_64.facts
|
1806
1810
|
- facts/4.2/fedora-36-x86_64.facts
|
1811
|
+
- facts/4.2/fedora-37-x86_64.facts
|
1807
1812
|
- facts/4.2/freebsd-11-x86_64.facts
|
1808
1813
|
- facts/4.2/freebsd-12-x86_64.facts
|
1809
1814
|
- facts/4.2/freebsd-13-x86_64.facts
|
@@ -1817,7 +1822,9 @@ files:
|
|
1817
1822
|
- facts/4.2/redhat-8-x86_64.facts
|
1818
1823
|
- facts/4.2/redhat-9-x86_64.facts
|
1819
1824
|
- facts/4.2/rocky-8-x86_64.facts
|
1825
|
+
- facts/4.2/rocky-9-x86_64.facts
|
1820
1826
|
- facts/4.2/scientific-7-x86_64.facts
|
1827
|
+
- facts/4.2/sles-12-x86_64.facts
|
1821
1828
|
- facts/4.2/sles-15-x86_64.facts
|
1822
1829
|
- facts/4.2/ubuntu-16.04-x86_64.facts
|
1823
1830
|
- facts/4.2/ubuntu-18.04-x86_64.facts
|
@@ -1825,6 +1832,17 @@ files:
|
|
1825
1832
|
- facts/4.2/ubuntu-21.04-x86_64.facts
|
1826
1833
|
- facts/4.2/ubuntu-21.10-x86_64.facts
|
1827
1834
|
- facts/4.2/ubuntu-22.04-x86_64.facts
|
1835
|
+
- facts/4.2/ubuntu-22.10-x86_64.facts
|
1836
|
+
- facts/4.2/windows-10-x86_64.facts
|
1837
|
+
- facts/4.2/windows-11-x86_64.facts
|
1838
|
+
- facts/4.2/windows-2012 r2-x86_64.facts
|
1839
|
+
- facts/4.2/windows-2012-x86_64.facts
|
1840
|
+
- facts/4.2/windows-2016-core-x86_64.facts
|
1841
|
+
- facts/4.2/windows-2016-x86_64.facts
|
1842
|
+
- facts/4.2/windows-2019-core-x86_64.facts
|
1843
|
+
- facts/4.2/windows-2019-x86_64.facts
|
1844
|
+
- facts/4.2/windows-2022-core-x86_64.facts
|
1845
|
+
- facts/4.2/windows-2022-x86_64.facts
|
1828
1846
|
- facts/Gemfile
|
1829
1847
|
- facts/Vagrantfile
|
1830
1848
|
- facts/Windows_README.md
|