facterdb 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/pages.yml +2 -2
- data/.github/workflows/release.yml +6 -6
- data/.github/workflows/test.yml +2 -2
- data/.rubocop.yml +0 -3
- data/CHANGELOG.md +32 -0
- data/README.md +1 -19
- data/facterdb.gemspec +1 -1
- data/facts/4.10/almalinux-10-x86_64.facts +576 -0
- data/facts/4.10/rocky-10-x86_64.facts +604 -0
- data/facts/4.11/almalinux-10-x86_64.facts +587 -0
- data/facts/4.11/rocky-10-x86_64.facts +606 -0
- data/facts/5.1/almalinux-10-x86_64.facts +578 -0
- data/facts/5.1/almalinux-8-x86_64.facts +538 -0
- data/facts/5.1/almalinux-9-x86_64.facts +589 -0
- data/facts/5.1/amazon-2023-x86_64.facts +527 -0
- data/facts/5.1/centos-10-x86_64.facts +524 -0
- data/facts/5.1/centos-9-x86_64.facts +547 -0
- data/facts/5.1/debian-11-x86_64.facts +443 -0
- data/facts/5.1/debian-12-x86_64.facts +524 -0
- data/facts/5.1/debian-13-x86_64.facts +174 -109
- data/facts/5.1/fedora-42-x86_64.facts +546 -0
- data/facts/5.1/fedora-43-x86_64.facts +597 -0
- data/facts/5.1/freebsd-13-x86_64.facts +440 -0
- data/facts/5.1/freebsd-14-x86_64.facts +440 -0
- data/facts/5.1/opensuse-16-x86_64.facts +290 -0
- data/facts/5.1/oraclelinux-10-x86_64.facts +551 -0
- data/facts/5.1/oraclelinux-8-x86_64.facts +520 -0
- data/facts/5.1/oraclelinux-9-x86_64.facts +586 -0
- data/facts/5.1/redhat-8-x86_64.facts +505 -0
- data/facts/5.1/redhat-9-x86_64.facts +556 -0
- data/facts/5.1/rocky-10-x86_64.facts +606 -0
- data/facts/5.1/rocky-8-x86_64.facts +489 -0
- data/facts/5.1/rocky-9-x86_64.facts +539 -0
- data/facts/5.1/ubuntu-22.04-x86_64.facts +580 -0
- data/facts/5.1/ubuntu-24.04-x86_64.facts +498 -0
- data/facts/5.1/windows-10-x86_64.facts +173 -0
- data/facts/5.1/windows-11-x86_64.facts +173 -0
- data/facts/5.1/windows-2019-x86_64.facts +167 -0
- data/facts/5.1/windows-2022-x86_64.facts +168 -0
- data/facts/5.1/windows-2025-x86_64.facts +159 -0
- data/facts/Vagrantfile +357 -204
- data/facts/get_facts.sh +12 -3
- data/facts/versions.txt +3 -24
- data/facts/windows_get_facts.ps1 +2 -2
- data/lib/facterdb/version.rb +1 -1
- metadata +35 -3
data/facts/get_facts.sh
CHANGED
|
@@ -32,7 +32,7 @@ apt_install() {
|
|
|
32
32
|
|
|
33
33
|
if test -f /usr/bin/zypper; then
|
|
34
34
|
zypper --non-interactive --gpg-auto-import-keys refresh
|
|
35
|
-
zypper --non-interactive install ruby-devel
|
|
35
|
+
zypper --non-interactive install ruby-devel augeas
|
|
36
36
|
osfamily='Suse'
|
|
37
37
|
# This is Leap which is based on SLES 12
|
|
38
38
|
if [[ `cat /etc/os-release |grep -e '^VERSION="42' -c` == 1 ]]; then
|
|
@@ -60,11 +60,17 @@ elif test -f '/etc/gentoo-release'; then
|
|
|
60
60
|
osfamily='Gentoo'
|
|
61
61
|
elif test -f '/etc/os-release' && grep -q 'Amazon' '/etc/os-release'; then
|
|
62
62
|
osfamily='RedHat'
|
|
63
|
-
|
|
63
|
+
if grep -q 'VERSION="2023"' '/etc/os-release'; then
|
|
64
|
+
operatingsystemmajrelease='9'
|
|
65
|
+
else
|
|
66
|
+
operatingsystemmajrelease='7'
|
|
67
|
+
fi
|
|
64
68
|
else
|
|
65
69
|
osfamily=$(uname)
|
|
66
70
|
fi
|
|
71
|
+
|
|
67
72
|
. /etc/os-release
|
|
73
|
+
|
|
68
74
|
case "${osfamily}" in
|
|
69
75
|
'RedHat')
|
|
70
76
|
if [[ $ID == fedora ]]; then
|
|
@@ -73,6 +79,9 @@ case "${osfamily}" in
|
|
|
73
79
|
elif [[ $ID == ol ]]; then
|
|
74
80
|
distcode=el
|
|
75
81
|
dnf -y groupinstall 'Development Tools'
|
|
82
|
+
elif [[ $ID == amzn ]]; then
|
|
83
|
+
distcode=el
|
|
84
|
+
dnf -y install ruby ruby-devel wget make gcc net-tools augeas
|
|
76
85
|
else
|
|
77
86
|
distcode=el
|
|
78
87
|
fi
|
|
@@ -121,7 +130,7 @@ case "${osfamily}" in
|
|
|
121
130
|
;;
|
|
122
131
|
'FreeBSD')
|
|
123
132
|
pkg update
|
|
124
|
-
for facter_package in
|
|
133
|
+
for facter_package in rubygem-openfact ; do
|
|
125
134
|
pkg install -fy ${facter_package}
|
|
126
135
|
|
|
127
136
|
# something about the pkg update process causes the shared folder mount to
|
data/facts/versions.txt
CHANGED
|
@@ -4,28 +4,7 @@
|
|
|
4
4
|
# https://help.puppet.com/osp/8/Content/PuppetCore/FacterReleaseNotes/release_notes_facter.htm
|
|
5
5
|
# FacterDB only cares about the x.y, and drops .z - Please keep versions in order by Facter version
|
|
6
6
|
|
|
7
|
-
# starting with 8.10, all facts are generated by openvox packages or the
|
|
7
|
+
# starting with 8.10, all facts are generated by openvox packages or the openfact gem release
|
|
8
8
|
|
|
9
|
-
#
|
|
10
|
-
8.
|
|
11
|
-
|
|
12
|
-
# Facter 4.10.0 - Released October 2024 and shipped with Puppet 8.10.0
|
|
13
|
-
8.10.0
|
|
14
|
-
|
|
15
|
-
# Facter 4.9.0 - Released September 2024 and shipped with Puppet 8.9.0
|
|
16
|
-
8.9.0
|
|
17
|
-
|
|
18
|
-
# Facter 4.8.0 - Released July 2024 and shipped with Puppet 8.8.1
|
|
19
|
-
8.8.1
|
|
20
|
-
|
|
21
|
-
# Facter 4.7.0 - Released April 2024 and shipped with Puppet 8.6.0.
|
|
22
|
-
8.6.0
|
|
23
|
-
|
|
24
|
-
# Facter 4.6.1 - Released March 2024 and shipped with Puppet 8.5.1.
|
|
25
|
-
8.5.1
|
|
26
|
-
|
|
27
|
-
# Facter 4.5.2 - Released January 2023 and shipped with Puppet 8.4.0.
|
|
28
|
-
8.4.0
|
|
29
|
-
|
|
30
|
-
# Facter 4.4.2 - Released August 2023 and shipped with Puppet 8.2.0.
|
|
31
|
-
8.2.0
|
|
9
|
+
# OpenFact 5.1.0 - Released July 2025 and shipped in OpenVox 8.23/8.22/8.21.1. OpenFact 5.0.0 isn't in any packages
|
|
10
|
+
8.23.1
|
data/facts/windows_get_facts.ps1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
param(
|
|
2
2
|
[string]$puppetAgentVersionList = 'X:\versions.txt',
|
|
3
|
-
[string]$baseUrl = 'https://downloads.
|
|
3
|
+
[string]$baseUrl = 'https://downloads.voxpupuli.org/windows/openvox{0}/openvox-agent-{1}-{2}.msi',
|
|
4
4
|
[string]$fqdn = 'foo.example.com'
|
|
5
5
|
)
|
|
6
6
|
|
|
@@ -88,7 +88,7 @@ foreach ($pupAgentVer in $puppetAgentVersions) {
|
|
|
88
88
|
# the domain name will fallback to the hypervisor's domain.
|
|
89
89
|
$env:FACTER_fqdn = $fqdn
|
|
90
90
|
|
|
91
|
-
$facterArgs = @("--json"
|
|
91
|
+
$facterArgs = @("--json")
|
|
92
92
|
$facterProcess = Start-Process -FilePath $facterBin -ArgumentList $facterArgs -Wait -PassThru -RedirectStandardOutput "X:\$facterVer\$Os-$Osmaj-$Hw.facts"
|
|
93
93
|
if ($facterProcess.ExitCode -ne 0) {
|
|
94
94
|
Write-Host "Facter failed."
|
data/lib/facterdb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: facterdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vox Pupuli
|
|
@@ -63,14 +63,14 @@ dependencies:
|
|
|
63
63
|
requirements:
|
|
64
64
|
- - "~>"
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version:
|
|
66
|
+
version: 5.0.0
|
|
67
67
|
type: :development
|
|
68
68
|
prerelease: false
|
|
69
69
|
version_requirements: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
71
|
- - "~>"
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version:
|
|
73
|
+
version: 5.0.0
|
|
74
74
|
- !ruby/object:Gem::Dependency
|
|
75
75
|
name: jgrep
|
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -164,6 +164,7 @@ files:
|
|
|
164
164
|
- facts/4.1/ubuntu-20.04-x86_64.facts
|
|
165
165
|
- facts/4.1/ubuntu-21.04-x86_64.facts
|
|
166
166
|
- facts/4.1/ubuntu-21.10-x86_64.facts
|
|
167
|
+
- facts/4.10/almalinux-10-x86_64.facts
|
|
167
168
|
- facts/4.10/almalinux-8-x86_64.facts
|
|
168
169
|
- facts/4.10/almalinux-9-x86_64.facts
|
|
169
170
|
- facts/4.10/amazon-2-x86_64.facts
|
|
@@ -181,6 +182,7 @@ files:
|
|
|
181
182
|
- facts/4.10/oraclelinux-9-x86_64.facts
|
|
182
183
|
- facts/4.10/redhat-8-x86_64.facts
|
|
183
184
|
- facts/4.10/redhat-9-x86_64.facts
|
|
185
|
+
- facts/4.10/rocky-10-x86_64.facts
|
|
184
186
|
- facts/4.10/rocky-8-x86_64.facts
|
|
185
187
|
- facts/4.10/rocky-9-x86_64.facts
|
|
186
188
|
- facts/4.10/ubuntu-20.04-x86_64.facts
|
|
@@ -191,6 +193,7 @@ files:
|
|
|
191
193
|
- facts/4.10/windows-10-x86_64.facts
|
|
192
194
|
- facts/4.10/windows-11-x86_64.facts
|
|
193
195
|
- facts/4.10/windows-2022-x86_64.facts
|
|
196
|
+
- facts/4.11/almalinux-10-x86_64.facts
|
|
194
197
|
- facts/4.11/almalinux-8-x86_64.facts
|
|
195
198
|
- facts/4.11/almalinux-9-x86_64.facts
|
|
196
199
|
- facts/4.11/amazon-2-x86_64.facts
|
|
@@ -205,6 +208,7 @@ files:
|
|
|
205
208
|
- facts/4.11/oraclelinux-9-x86_64.facts
|
|
206
209
|
- facts/4.11/redhat-8-x86_64.facts
|
|
207
210
|
- facts/4.11/redhat-9-x86_64.facts
|
|
211
|
+
- facts/4.11/rocky-10-x86_64.facts
|
|
208
212
|
- facts/4.11/rocky-8-x86_64.facts
|
|
209
213
|
- facts/4.11/rocky-9-x86_64.facts
|
|
210
214
|
- facts/4.11/ubuntu-20.04-x86_64.facts
|
|
@@ -503,7 +507,35 @@ files:
|
|
|
503
507
|
- facts/4.9/windows-10-x86_64.facts
|
|
504
508
|
- facts/4.9/windows-11-x86_64.facts
|
|
505
509
|
- facts/4.9/windows-2022-x86_64.facts
|
|
510
|
+
- facts/5.1/almalinux-10-x86_64.facts
|
|
511
|
+
- facts/5.1/almalinux-8-x86_64.facts
|
|
512
|
+
- facts/5.1/almalinux-9-x86_64.facts
|
|
513
|
+
- facts/5.1/amazon-2023-x86_64.facts
|
|
514
|
+
- facts/5.1/centos-10-x86_64.facts
|
|
515
|
+
- facts/5.1/centos-9-x86_64.facts
|
|
516
|
+
- facts/5.1/debian-11-x86_64.facts
|
|
517
|
+
- facts/5.1/debian-12-x86_64.facts
|
|
506
518
|
- facts/5.1/debian-13-x86_64.facts
|
|
519
|
+
- facts/5.1/fedora-42-x86_64.facts
|
|
520
|
+
- facts/5.1/fedora-43-x86_64.facts
|
|
521
|
+
- facts/5.1/freebsd-13-x86_64.facts
|
|
522
|
+
- facts/5.1/freebsd-14-x86_64.facts
|
|
523
|
+
- facts/5.1/opensuse-16-x86_64.facts
|
|
524
|
+
- facts/5.1/oraclelinux-10-x86_64.facts
|
|
525
|
+
- facts/5.1/oraclelinux-8-x86_64.facts
|
|
526
|
+
- facts/5.1/oraclelinux-9-x86_64.facts
|
|
527
|
+
- facts/5.1/redhat-8-x86_64.facts
|
|
528
|
+
- facts/5.1/redhat-9-x86_64.facts
|
|
529
|
+
- facts/5.1/rocky-10-x86_64.facts
|
|
530
|
+
- facts/5.1/rocky-8-x86_64.facts
|
|
531
|
+
- facts/5.1/rocky-9-x86_64.facts
|
|
532
|
+
- facts/5.1/ubuntu-22.04-x86_64.facts
|
|
533
|
+
- facts/5.1/ubuntu-24.04-x86_64.facts
|
|
534
|
+
- facts/5.1/windows-10-x86_64.facts
|
|
535
|
+
- facts/5.1/windows-11-x86_64.facts
|
|
536
|
+
- facts/5.1/windows-2019-x86_64.facts
|
|
537
|
+
- facts/5.1/windows-2022-x86_64.facts
|
|
538
|
+
- facts/5.1/windows-2025-x86_64.facts
|
|
507
539
|
- facts/Gemfile
|
|
508
540
|
- facts/README.md
|
|
509
541
|
- facts/Vagrantfile
|