facterdb 3.0.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +6 -6
- data/CHANGELOG.md +20 -0
- data/bin/legacy-facts-striper +18 -7
- data/database/list_arch_os_facter.md +1 -0
- data/database/list_facter_os_arch.md +6 -0
- data/database/list_os_arch_facter.md +2 -0
- data/database/list_os_facter_arch.md +7 -0
- data/database/table.md +1 -0
- data/facterdb.gemspec +1 -1
- data/facts/4.0/almalinux-8-x86_64.facts +0 -25
- data/facts/4.0/almalinux-9-x86_64.facts +0 -25
- data/facts/4.0/debian-11-x86_64.facts +0 -28
- data/facts/4.0/freebsd-11-x86_64.facts +0 -12
- data/facts/4.0/freebsd-12-x86_64.facts +0 -12
- data/facts/4.0/freebsd-13-x86_64.facts +0 -12
- data/facts/4.0/opensuse-15-x86_64.facts +0 -27
- data/facts/4.0/oraclelinux-7-x86_64.facts +1 -111
- data/facts/4.0/redhat-8-x86_64.facts +0 -25
- data/facts/4.0/rocky-8-x86_64.facts +0 -19
- data/facts/4.0/rocky-9-x86_64.facts +0 -25
- data/facts/4.0/scientific-7-x86_64.facts +1 -112
- data/facts/4.0/solaris-11-sun4v.facts +0 -40
- data/facts/4.0/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.0/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.0/ubuntu-21.04-x86_64.facts +0 -28
- data/facts/4.0/ubuntu-21.10-x86_64.facts +0 -28
- data/facts/4.1/almalinux-8-x86_64.facts +0 -25
- data/facts/4.1/almalinux-9-x86_64.facts +0 -25
- data/facts/4.1/debian-11-x86_64.facts +0 -28
- data/facts/4.1/freebsd-11-x86_64.facts +0 -12
- data/facts/4.1/freebsd-12-x86_64.facts +0 -12
- data/facts/4.1/freebsd-13-x86_64.facts +0 -12
- data/facts/4.1/opensuse-15-x86_64.facts +0 -27
- data/facts/4.1/redhat-8-x86_64.facts +0 -25
- data/facts/4.1/rocky-8-x86_64.facts +0 -19
- data/facts/4.1/rocky-9-x86_64.facts +0 -25
- data/facts/4.1/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.1/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.1/ubuntu-21.04-x86_64.facts +0 -28
- data/facts/4.1/ubuntu-21.10-x86_64.facts +0 -28
- data/facts/4.2/almalinux-8-x86_64.facts +0 -25
- data/facts/4.2/almalinux-9-x86_64.facts +0 -25
- data/facts/4.2/archlinux-x86_64.facts +0 -26
- data/facts/4.2/centos-9-x86_64.facts +0 -25
- data/facts/4.2/darwin-20-x86_64.facts +0 -38
- data/facts/4.2/debian-11-x86_64.facts +0 -26
- data/facts/4.2/debian-12-i386.facts +0 -26
- data/facts/4.2/debian-12-x86_64.facts +0 -26
- data/facts/4.2/fedora-36-x86_64.facts +0 -25
- data/facts/4.2/fedora-37-x86_64.facts +0 -25
- data/facts/4.2/fedora-38-x86_64.facts +0 -25
- data/facts/4.2/fedora-39-x86_64.facts +0 -25
- data/facts/4.2/freebsd-11-x86_64.facts +0 -12
- data/facts/4.2/freebsd-12-x86_64.facts +0 -12
- data/facts/4.2/freebsd-13-x86_64.facts +0 -12
- data/facts/4.2/gentoo-2-x86_64.facts +0 -25
- data/facts/4.2/opensuse-15-x86_64.facts +0 -27
- data/facts/4.2/oraclelinux-7-x86_64.facts +0 -35
- data/facts/4.2/oraclelinux-8-x86_64.facts +0 -33
- data/facts/4.2/redhat-8-x86_64.facts +0 -25
- data/facts/4.2/redhat-9-x86_64.facts +0 -25
- data/facts/4.2/rocky-8-x86_64.facts +0 -19
- data/facts/4.2/rocky-9-x86_64.facts +0 -25
- data/facts/4.2/scientific-7-x86_64.facts +0 -35
- data/facts/4.2/sles-12-x86_64.facts +0 -27
- data/facts/4.2/sles-15-x86_64.facts +0 -27
- data/facts/4.2/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.2/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.2/ubuntu-21.04-x86_64.facts +0 -28
- data/facts/4.2/ubuntu-21.10-x86_64.facts +0 -28
- data/facts/4.2/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.2/ubuntu-22.10-x86_64.facts +0 -28
- data/facts/4.2/ubuntu-24.04-x86_64.facts +472 -0
- data/facts/4.2/windows-10-x86_64.facts +0 -13
- data/facts/4.2/windows-11-x86_64.facts +0 -13
- data/facts/4.2/windows-2012 r2-x86_64.facts +0 -13
- data/facts/4.2/windows-2012-x86_64.facts +0 -58
- data/facts/4.2/windows-2016-core-x86_64.facts +0 -58
- data/facts/4.2/windows-2016-x86_64.facts +0 -58
- data/facts/4.2/windows-2019-core-x86_64.facts +0 -13
- data/facts/4.2/windows-2019-x86_64.facts +0 -13
- data/facts/4.2/windows-2022-core-x86_64.facts +0 -13
- data/facts/4.2/windows-2022-x86_64.facts +0 -13
- data/facts/4.3/almalinux-8-x86_64.facts +0 -25
- data/facts/4.3/almalinux-9-x86_64.facts +0 -25
- data/facts/4.3/archlinux-x86_64.facts +0 -26
- data/facts/4.3/centos-9-x86_64.facts +0 -25
- data/facts/4.3/debian-11-x86_64.facts +0 -26
- data/facts/4.3/debian-12-i386.facts +0 -26
- data/facts/4.3/debian-12-x86_64.facts +0 -26
- data/facts/4.3/fedora-36-x86_64.facts +0 -25
- data/facts/4.3/fedora-37-x86_64.facts +0 -25
- data/facts/4.3/fedora-38-x86_64.facts +0 -25
- data/facts/4.3/fedora-39-x86_64.facts +0 -25
- data/facts/4.3/freebsd-13-x86_64.facts +0 -15
- data/facts/4.3/gentoo-2-x86_64.facts +0 -25
- data/facts/4.3/opensuse-15-x86_64.facts +0 -27
- data/facts/4.3/oraclelinux-8-x86_64.facts +0 -25
- data/facts/4.3/oraclelinux-9-x86_64.facts +0 -25
- data/facts/4.3/redhat-8-x86_64.facts +0 -25
- data/facts/4.3/redhat-9-x86_64.facts +0 -25
- data/facts/4.3/rocky-8-x86_64.facts +0 -25
- data/facts/4.3/rocky-9-x86_64.facts +0 -25
- data/facts/4.3/sles-12-x86_64.facts +0 -27
- data/facts/4.3/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.3/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.3/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.3/ubuntu-24.04-x86_64.facts +472 -0
- data/facts/4.3/windows-10-x86_64.facts +0 -21
- data/facts/4.3/windows-11-x86_64.facts +0 -21
- data/facts/4.3/windows-2012 r2-x86_64.facts +0 -13
- data/facts/4.3/windows-2012-x86_64.facts +0 -13
- data/facts/4.3/windows-2016-core-x86_64.facts +0 -13
- data/facts/4.3/windows-2016-x86_64.facts +0 -13
- data/facts/4.3/windows-2019-core-x86_64.facts +0 -13
- data/facts/4.3/windows-2019-x86_64.facts +0 -21
- data/facts/4.3/windows-2022-core-x86_64.facts +0 -13
- data/facts/4.3/windows-2022-x86_64.facts +0 -21
- data/facts/4.4/almalinux-8-x86_64.facts +0 -25
- data/facts/4.4/almalinux-9-x86_64.facts +0 -25
- data/facts/4.4/archlinux-x86_64.facts +0 -26
- data/facts/4.4/centos-9-x86_64.facts +0 -25
- data/facts/4.4/debian-11-x86_64.facts +0 -26
- data/facts/4.4/debian-12-i386.facts +0 -26
- data/facts/4.4/debian-12-x86_64.facts +0 -26
- data/facts/4.4/fedora-36-x86_64.facts +0 -25
- data/facts/4.4/fedora-37-x86_64.facts +0 -25
- data/facts/4.4/fedora-38-x86_64.facts +0 -25
- data/facts/4.4/fedora-39-x86_64.facts +0 -25
- data/facts/4.4/freebsd-13-x86_64.facts +0 -15
- data/facts/4.4/gentoo-2-x86_64.facts +0 -25
- data/facts/4.4/opensuse-15-x86_64.facts +0 -27
- data/facts/4.4/oraclelinux-8-x86_64.facts +0 -25
- data/facts/4.4/oraclelinux-9-x86_64.facts +0 -25
- data/facts/4.4/redhat-8-x86_64.facts +0 -25
- data/facts/4.4/redhat-9-x86_64.facts +0 -25
- data/facts/4.4/rocky-8-x86_64.facts +0 -25
- data/facts/4.4/rocky-9-x86_64.facts +0 -25
- data/facts/4.4/sles-12-x86_64.facts +0 -27
- data/facts/4.4/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.4/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.4/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.4/ubuntu-24.04-x86_64.facts +472 -0
- data/facts/4.4/windows-10-x86_64.facts +0 -21
- data/facts/4.4/windows-11-x86_64.facts +0 -21
- data/facts/4.4/windows-2012 r2-x86_64.facts +0 -13
- data/facts/4.4/windows-2012-x86_64.facts +0 -13
- data/facts/4.4/windows-2016-core-x86_64.facts +0 -13
- data/facts/4.4/windows-2016-x86_64.facts +0 -13
- data/facts/4.4/windows-2019-core-x86_64.facts +0 -13
- data/facts/4.4/windows-2019-x86_64.facts +0 -21
- data/facts/4.4/windows-2022-core-x86_64.facts +0 -13
- data/facts/4.4/windows-2022-x86_64.facts +0 -21
- data/facts/4.5/almalinux-8-x86_64.facts +0 -25
- data/facts/4.5/almalinux-9-x86_64.facts +0 -25
- data/facts/4.5/amazon-2-x86_64.facts +0 -26
- data/facts/4.5/archlinux-x86_64.facts +0 -26
- data/facts/4.5/centos-9-x86_64.facts +0 -25
- data/facts/4.5/debian-11-x86_64.facts +0 -26
- data/facts/4.5/debian-12-x86_64.facts +0 -26
- data/facts/4.5/fedora-36-x86_64.facts +0 -25
- data/facts/4.5/fedora-37-x86_64.facts +0 -25
- data/facts/4.5/fedora-38-x86_64.facts +0 -25
- data/facts/4.5/fedora-39-x86_64.facts +0 -25
- data/facts/4.5/freebsd-12-x86_64.facts +0 -15
- data/facts/4.5/freebsd-13-x86_64.facts +0 -15
- data/facts/4.5/gentoo-2-x86_64.facts +0 -25
- data/facts/4.5/opensuse-15-x86_64.facts +0 -27
- data/facts/4.5/oraclelinux-8-x86_64.facts +0 -25
- data/facts/4.5/oraclelinux-9-x86_64.facts +0 -25
- data/facts/4.5/redhat-8-x86_64.facts +0 -25
- data/facts/4.5/redhat-9-x86_64.facts +0 -25
- data/facts/4.5/rocky-8-x86_64.facts +0 -25
- data/facts/4.5/rocky-9-x86_64.facts +0 -25
- data/facts/4.5/ubuntu-18.04-x86_64.facts +0 -28
- data/facts/4.5/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.5/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.5/ubuntu-24.04-x86_64.facts +478 -0
- data/facts/4.5/windows-10-x86_64.facts +0 -21
- data/facts/4.5/windows-11-x86_64.facts +0 -21
- data/facts/4.5/windows-2019-x86_64.facts +0 -21
- data/facts/4.5/windows-2022-x86_64.facts +0 -21
- data/facts/4.6/almalinux-8-x86_64.facts +0 -25
- data/facts/4.6/almalinux-9-x86_64.facts +0 -25
- data/facts/4.6/archlinux-x86_64.facts +0 -26
- data/facts/4.6/centos-9-x86_64.facts +0 -25
- data/facts/4.6/debian-11-x86_64.facts +0 -26
- data/facts/4.6/debian-12-x86_64.facts +0 -26
- data/facts/4.6/fedora-36-x86_64.facts +0 -25
- data/facts/4.6/fedora-37-x86_64.facts +0 -25
- data/facts/4.6/fedora-38-x86_64.facts +0 -25
- data/facts/4.6/fedora-39-x86_64.facts +0 -25
- data/facts/4.6/gentoo-2-x86_64.facts +0 -25
- data/facts/4.6/oraclelinux-8-x86_64.facts +0 -25
- data/facts/4.6/oraclelinux-9-x86_64.facts +0 -25
- data/facts/4.6/redhat-8-x86_64.facts +0 -25
- data/facts/4.6/redhat-9-x86_64.facts +0 -25
- data/facts/4.6/rocky-9-x86_64.facts +0 -25
- data/facts/4.6/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.6/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.6/ubuntu-24.04-x86_64.facts +479 -0
- data/facts/4.6/windows-10-x86_64.facts +0 -21
- data/facts/4.6/windows-11-x86_64.facts +0 -21
- data/facts/4.6/windows-2019-x86_64.facts +0 -21
- data/facts/4.6/windows-2022-x86_64.facts +0 -21
- data/facts/4.7/almalinux-8-x86_64.facts +0 -25
- data/facts/4.7/almalinux-9-x86_64.facts +0 -25
- data/facts/4.7/archlinux-x86_64.facts +0 -26
- data/facts/4.7/centos-9-x86_64.facts +0 -25
- data/facts/4.7/debian-11-x86_64.facts +0 -26
- data/facts/4.7/debian-12-x86_64.facts +0 -26
- data/facts/4.7/fedora-36-x86_64.facts +0 -25
- data/facts/4.7/fedora-37-x86_64.facts +0 -25
- data/facts/4.7/fedora-38-x86_64.facts +0 -25
- data/facts/4.7/fedora-39-x86_64.facts +0 -25
- data/facts/4.7/gentoo-2-x86_64.facts +0 -25
- data/facts/4.7/openbsd-7-x86_64.facts +0 -8
- data/facts/4.7/opensuse-15-x86_64.facts +0 -27
- data/facts/4.7/oraclelinux-8-x86_64.facts +0 -25
- data/facts/4.7/oraclelinux-9-x86_64.facts +0 -25
- data/facts/4.7/redhat-8-x86_64.facts +0 -25
- data/facts/4.7/redhat-9-x86_64.facts +0 -25
- data/facts/4.7/rocky-9-x86_64.facts +0 -25
- data/facts/4.7/ubuntu-20.04-x86_64.facts +0 -28
- data/facts/4.7/ubuntu-22.04-x86_64.facts +0 -26
- data/facts/4.7/ubuntu-24.04-x86_64.facts +479 -0
- data/facts/4.7/windows-10-x86_64.facts +0 -21
- data/facts/4.7/windows-11-x86_64.facts +0 -21
- data/facts/4.7/windows-2019-x86_64.facts +0 -21
- data/facts/4.7/windows-2022-x86_64.facts +0 -21
- data/facts/Vagrantfile +6 -0
- data/facts/get_facts.sh +1 -1
- data/lib/facterdb/version.rb +1 -1
- data/spec/facts_spec.rb +41 -0
- metadata +11 -5
@@ -1,9 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"aio_agent_version": "8.6.0",
|
3
|
-
"dhcp_servers": {
|
4
|
-
"Ethernet": "10.0.2.2",
|
5
|
-
"system": "10.0.2.2"
|
6
|
-
},
|
7
3
|
"dmi": {
|
8
4
|
"manufacturer": "innotek GmbH",
|
9
5
|
"product": {
|
@@ -25,15 +21,11 @@
|
|
25
21
|
"privileged": true,
|
26
22
|
"user": "FOO\\vagrant"
|
27
23
|
},
|
28
|
-
"interfaces": "Ethernet",
|
29
|
-
"ipaddress6_Ethernet": "fe80::8d97:e947:bec7:8686",
|
30
|
-
"ipaddress_Ethernet": "10.0.2.15",
|
31
24
|
"is_virtual": true,
|
32
25
|
"kernel": "windows",
|
33
26
|
"kernelmajversion": "10.0",
|
34
27
|
"kernelrelease": "10.0.20348",
|
35
28
|
"kernelversion": "10.0.20348",
|
36
|
-
"macaddress_Ethernet": "08:00:27:E7:59:F0",
|
37
29
|
"memory": {
|
38
30
|
"system": {
|
39
31
|
"available": "957.90 MiB",
|
@@ -45,11 +37,6 @@
|
|
45
37
|
"used_bytes": 1125953536
|
46
38
|
}
|
47
39
|
},
|
48
|
-
"mtu_Ethernet": 1500,
|
49
|
-
"netmask6_Ethernet": "ffff:ffff:ffff:ffff::",
|
50
|
-
"netmask_Ethernet": "255.255.255.0",
|
51
|
-
"network6_Ethernet": "fe80::",
|
52
|
-
"network_Ethernet": "10.0.2.0",
|
53
40
|
"networking": {
|
54
41
|
"dhcp": "10.0.2.2",
|
55
42
|
"domain": "example.com",
|
@@ -165,14 +152,6 @@
|
|
165
152
|
"type": "ssh-rsa"
|
166
153
|
}
|
167
154
|
},
|
168
|
-
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAOmczeAhgWVjwzCJYyJ38DOE98Xiaw45rmEULqbq6c2iy9YgTEp2DRl/AmOQNosKg1+e/DtrHgqWdIHQplipyOCd6wbJ131Z3PgmMcJqy4XAyhZcaa2wkHdUic0P+7qD1HengkIgquuizJzPKnX1klM2e1QgUeuXZT/ULRW9vI8NAAAAFQD/jjjBCL+7QwI+8iQYAKtp5rW/dwAAAIEAsVXIkqYxA9PgeklIXuchjvTsIAnzFeixSa5p51xCTDBll91QEFX3OtzK3Vp2puJDXBvwymuPnBCaW31AepDnWv4m3YmFWd3s6ZIp8qPbi1UfhkoIH11gwcz4kQT5h6gBbA717d+1DAAw9W6174Ju1dKdoqg86ZNtA5QfgBZ06xwAAACBANZ1rECCGE2HVWbxDBHf6mAv5yoBRNUbPWQ3DYM5qLdYhqPCFmcRdaxIjOtCuqutviphOYEdEWY//jR86GkPGJZeK5Sg6+ol0eZTDNox933GeNuuLTg57F77ODTfeEpYgPNTlklG+MI/V0xjpgiaN+aqfyCmPUh6X0m+epYNXLIJ",
|
169
|
-
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKdzf7SfxY+LVZayjebjV98AK/c7sFT6rOvVu1pKJyaAGKJvERyVlay9aUOo5EZbGqud61jYpLXrAlGuOQZyWeg=",
|
170
|
-
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIPOwOYrxf49nywRDLItAiMup1peRQkpfykjDknfisRzq",
|
171
|
-
"sshfp_dsa": "SSHFP 2 1 2cbf142ec3e5298f32eb0fcccf139ce09d42e534\nSSHFP 2 2 7c39b6025bf87f7828dac9370dc4374061fa9b643e1fdcaf86ba55cea66b831a",
|
172
|
-
"sshfp_ecdsa": "SSHFP 3 1 3bd1e5d4b841b0150d1d9d1ae1e926c0f8c01baf\nSSHFP 3 2 f49774b85c325c1b3a03ca07d43b59bc0483c1bed307e1e0eda8146a7f8a32d3",
|
173
|
-
"sshfp_ed25519": "SSHFP 4 1 d90c588d7e89b743439d6bbde8cbf68de80f554c\nSSHFP 4 2 4a3633cdbef6f2e3d7aebacb4cd127890cdb0d05a8fffa36047a2da574008117",
|
174
|
-
"sshfp_rsa": "SSHFP 1 1 c9f7a8861f449e575242f99981ed7580d609f86c\nSSHFP 1 2 5f9ff10646bb92e2f762c650f1f4486331b2848960ab8519031f1fdf1bd92d19",
|
175
|
-
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDQfE6HJW1DZInpdu3xQG1ok0bY+IK2Jhfk3kGd087eE8nuzm1O0JLe5A9elSLCe1I63MTxadw/ZI48DiAnd4q8MckaqU2bE7ycfO1N6KLvBIZ6bmlWR+XpW/0rxLD3aP/lvuu7R731PdgfH5APDyyqYLVdPI1JdvfopJf/55gJqjdZkNE4S5OGUqXEuiwPYL56OgNntwqvoRDvOLQ8DDPNlcz/PGR0tIxhakUM7cPhkBYSZWvTnoJQCJcyx9OE7li9dH0ZnfQ2wezm0cro2Nh3enRN0yeHZ69CvWMoMbotxlKDdM0Gyn7rEvP/9JVr9Mll9UjqO8qbFJYc4E0QjmMQNrEjH9d+F8JsavMh9azZ9f4X2vY83A658RnbweJIscITmIeqPiyyoWLDDJ5XniatYTfpMXKk5SpkvRf7l/LzywK0NsCRioOppOw+mxHcsuDgPYiCmkLq7LYbC6FMZc/PtqpA+UNnxxTsnOfTtIfSyrkIo+LdBPcpxtkiBCZ5AFU=",
|
176
155
|
"system_uptime": {
|
177
156
|
"days": 0,
|
178
157
|
"hours": 0,
|
data/facts/Vagrantfile
CHANGED
@@ -72,6 +72,12 @@ 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 'ubuntu-24.04-x86_64', autostart: false do |host|
|
76
|
+
host.vm.box = 'bento/ubuntu-24.04'
|
77
|
+
host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
|
78
|
+
host.vm.provision 'shell', path: 'get_facts.sh'
|
79
|
+
host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
|
80
|
+
end
|
75
81
|
# images are at https://cloud.centos.org/centos/9-stream/x86_64/images/
|
76
82
|
# can be imported with `vagrant box add --name centos/stream9 $url` you can also
|
77
83
|
# use the host.vm.box_url below
|
data/facts/get_facts.sh
CHANGED
@@ -99,7 +99,7 @@ case "${osfamily}" in
|
|
99
99
|
apt-get -y remove --purge puppet8-release
|
100
100
|
fi
|
101
101
|
# libc6-dev needed to build the ffi gem
|
102
|
-
apt_install make gcc libgmp-dev libc6-dev
|
102
|
+
apt_install make gcc libgmp-dev libc6-dev ruby ruby-dev
|
103
103
|
|
104
104
|
# There are no puppet-agent packages for $releasename yet, so generate a Facter 3.x
|
105
105
|
# fact set from the official Debian package.
|
data/lib/facterdb/version.rb
CHANGED
data/spec/facts_spec.rb
CHANGED
@@ -110,6 +110,25 @@ describe 'Default Facts' do
|
|
110
110
|
expect(content['puppet_server']).to be_nil
|
111
111
|
expect(content['pe_version']).to be_nil
|
112
112
|
expect(content['package_provider']).to be_nil
|
113
|
+
expect(content['is_pe']).to be_nil
|
114
|
+
expect(content['pe_major_version']).to be_nil
|
115
|
+
expect(content['pe_minor_version']).to be_nil
|
116
|
+
expect(content['pe_patch_version']).to be_nil
|
117
|
+
end
|
118
|
+
|
119
|
+
it 'contains no facts from puppetlabs/puppet_agent' do
|
120
|
+
expect(content['env_temp_variable']).to be_nil
|
121
|
+
expect(content['puppet_agent_appdata']).to be_nil
|
122
|
+
expect(content['puppet_agent_pid']).to be_nil
|
123
|
+
expect(content['puppet_runmode']).to be_nil
|
124
|
+
expect(content['puppet_ssldir']).to be_nil
|
125
|
+
expect(content['puppet_digest_algorithm']).to be_nil
|
126
|
+
expect(content['puppet_config']).to be_nil
|
127
|
+
expect(content['puppet_stringify_facts']).to be_nil
|
128
|
+
expect(content['puppet_sslpaths']).to be_nil
|
129
|
+
expect(content['puppet_master_server']).to be_nil
|
130
|
+
expect(content['puppet_confdir']).to be_nil
|
131
|
+
expect(content['puppet_client_datadir']).to be_nil
|
113
132
|
end
|
114
133
|
|
115
134
|
it 'contains no facts from puppet/systemd' do
|
@@ -139,6 +158,28 @@ describe 'Default Facts' do
|
|
139
158
|
it 'does not contain the legacy operatingsystem fact' do
|
140
159
|
expect(content['operatingsystem']).to be_nil
|
141
160
|
end
|
161
|
+
|
162
|
+
# those facts aren't default in Open Source Puppet/Facter core
|
163
|
+
it 'does not contain the PE facts' do
|
164
|
+
expect(content['pe_patch']).to be_nil
|
165
|
+
expect(content['puppet_inventory_metadata']).to be_nil
|
166
|
+
end
|
167
|
+
|
168
|
+
it 'does not contain random facts from known modules' do
|
169
|
+
expect(content['selinux_python_command']).to be_nil
|
170
|
+
expect(content['mysql_server_id']).to be_nil
|
171
|
+
expect(content['stage']).to be_nil
|
172
|
+
expect(content['virt_libvirt']).to be_nil
|
173
|
+
expect(content['function_number']).to be_nil
|
174
|
+
expect(content['classification']).to be_nil
|
175
|
+
expect(content['who2bug']).to be_nil
|
176
|
+
expect(content['prometheus_alert_manager_running']).to be_nil
|
177
|
+
expect(content['docker_home_dirs']).to be_nil
|
178
|
+
expect(content['aio_agent_build']).to be_nil
|
179
|
+
expect(content['python2_version']).to be_nil
|
180
|
+
expect(content['python_version']).to be_nil
|
181
|
+
expect(content['puppet_agent_pid']).to be_nil
|
182
|
+
end
|
142
183
|
end
|
143
184
|
end
|
144
185
|
end
|
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: 3.
|
4
|
+
version: 3.2.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: 2024-
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 2.
|
67
|
+
version: 2.8.0
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 2.
|
74
|
+
version: 2.8.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: facter
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,6 +218,7 @@ files:
|
|
218
218
|
- facts/4.2/ubuntu-21.10-x86_64.facts
|
219
219
|
- facts/4.2/ubuntu-22.04-x86_64.facts
|
220
220
|
- facts/4.2/ubuntu-22.10-x86_64.facts
|
221
|
+
- facts/4.2/ubuntu-24.04-x86_64.facts
|
221
222
|
- facts/4.2/windows-10-x86_64.facts
|
222
223
|
- facts/4.2/windows-11-x86_64.facts
|
223
224
|
- facts/4.2/windows-2012 r2-x86_64.facts
|
@@ -252,6 +253,7 @@ files:
|
|
252
253
|
- facts/4.3/ubuntu-18.04-x86_64.facts
|
253
254
|
- facts/4.3/ubuntu-20.04-x86_64.facts
|
254
255
|
- facts/4.3/ubuntu-22.04-x86_64.facts
|
256
|
+
- facts/4.3/ubuntu-24.04-x86_64.facts
|
255
257
|
- facts/4.3/windows-10-x86_64.facts
|
256
258
|
- facts/4.3/windows-11-x86_64.facts
|
257
259
|
- facts/4.3/windows-2012 r2-x86_64.facts
|
@@ -286,6 +288,7 @@ files:
|
|
286
288
|
- facts/4.4/ubuntu-18.04-x86_64.facts
|
287
289
|
- facts/4.4/ubuntu-20.04-x86_64.facts
|
288
290
|
- facts/4.4/ubuntu-22.04-x86_64.facts
|
291
|
+
- facts/4.4/ubuntu-24.04-x86_64.facts
|
289
292
|
- facts/4.4/windows-10-x86_64.facts
|
290
293
|
- facts/4.4/windows-11-x86_64.facts
|
291
294
|
- facts/4.4/windows-2012 r2-x86_64.facts
|
@@ -320,6 +323,7 @@ files:
|
|
320
323
|
- facts/4.5/ubuntu-18.04-x86_64.facts
|
321
324
|
- facts/4.5/ubuntu-20.04-x86_64.facts
|
322
325
|
- facts/4.5/ubuntu-22.04-x86_64.facts
|
326
|
+
- facts/4.5/ubuntu-24.04-x86_64.facts
|
323
327
|
- facts/4.5/windows-10-x86_64.facts
|
324
328
|
- facts/4.5/windows-11-x86_64.facts
|
325
329
|
- facts/4.5/windows-2019-x86_64.facts
|
@@ -342,6 +346,7 @@ files:
|
|
342
346
|
- facts/4.6/rocky-9-x86_64.facts
|
343
347
|
- facts/4.6/ubuntu-20.04-x86_64.facts
|
344
348
|
- facts/4.6/ubuntu-22.04-x86_64.facts
|
349
|
+
- facts/4.6/ubuntu-24.04-x86_64.facts
|
345
350
|
- facts/4.6/windows-10-x86_64.facts
|
346
351
|
- facts/4.6/windows-11-x86_64.facts
|
347
352
|
- facts/4.6/windows-2019-x86_64.facts
|
@@ -366,6 +371,7 @@ files:
|
|
366
371
|
- facts/4.7/rocky-9-x86_64.facts
|
367
372
|
- facts/4.7/ubuntu-20.04-x86_64.facts
|
368
373
|
- facts/4.7/ubuntu-22.04-x86_64.facts
|
374
|
+
- facts/4.7/ubuntu-24.04-x86_64.facts
|
369
375
|
- facts/4.7/windows-10-x86_64.facts
|
370
376
|
- facts/4.7/windows-11-x86_64.facts
|
371
377
|
- facts/4.7/windows-2019-x86_64.facts
|
@@ -418,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
418
424
|
- !ruby/object:Gem::Version
|
419
425
|
version: '0'
|
420
426
|
requirements: []
|
421
|
-
rubygems_version: 3.5.
|
427
|
+
rubygems_version: 3.5.11
|
422
428
|
signing_key:
|
423
429
|
specification_version: 4
|
424
430
|
summary: A Database of OS facts provided by Facter
|