facterdb 3.7.0 → 3.8.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/release.yml +41 -0
- data/.github/workflows/release.yml +91 -20
- data/.github/workflows/test.yml +3 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile +3 -7
- data/facterdb.gemspec +1 -2
- data/facts/4.10/almalinux-8-x86_64.facts +536 -0
- data/facts/4.10/almalinux-9-x86_64.facts +587 -0
- data/facts/4.10/amazon-2-x86_64.facts +265 -0
- data/facts/4.10/centos-9-x86_64.facts +518 -0
- data/facts/4.10/fedora-40-x86_64.facts +470 -0
- data/facts/4.10/fedora-41-x86_64.facts +845 -0
- data/facts/4.10/opensuse-15-x86_64.facts +482 -0
- data/facts/4.10/oraclelinux-8-x86_64.facts +518 -0
- data/facts/4.10/oraclelinux-9-x86_64.facts +584 -0
- data/facts/4.10/rocky-8-x86_64.facts +486 -0
- data/facts/4.10/rocky-9-x86_64.facts +536 -0
- data/facts/4.10/ubuntu-22.04-aarch64.facts +609 -0
- data/facts/4.10/ubuntu-24.04-aarch64.facts +485 -0
- data/facts/4.10/windows-10-x86_64.facts +174 -0
- data/facts/4.10/windows-11-x86_64.facts +174 -0
- data/facts/4.10/windows-2022-x86_64.facts +168 -0
- data/facts/4.11/almalinux-8-x86_64.facts +538 -0
- data/facts/4.11/almalinux-9-x86_64.facts +589 -0
- data/facts/4.11/amazon-2-x86_64.facts +462 -0
- data/facts/4.11/centos-9-x86_64.facts +518 -0
- data/facts/4.11/fedora-40-x86_64.facts +470 -0
- data/facts/4.11/fedora-41-x86_64.facts +845 -0
- data/facts/4.11/oraclelinux-8-x86_64.facts +520 -0
- data/facts/4.11/oraclelinux-9-x86_64.facts +586 -0
- data/facts/4.11/rocky-8-x86_64.facts +489 -0
- data/facts/4.11/rocky-9-x86_64.facts +539 -0
- data/facts/4.11/ubuntu-22.04-aarch64.facts +614 -0
- data/facts/4.11/ubuntu-24.04-aarch64.facts +490 -0
- data/facts/4.2/amazon-2-x86_64.facts +249 -0
- data/facts/4.2/centos-10-x86_64.facts +502 -0
- data/facts/4.2/fedora-40-x86_64.facts +458 -0
- data/facts/4.2/fedora-41-x86_64.facts +831 -0
- data/facts/4.2/ubuntu-22.04-aarch64.facts +597 -0
- data/facts/4.2/ubuntu-24.04-aarch64.facts +473 -0
- data/facts/4.3/amazon-2-x86_64.facts +249 -0
- data/facts/4.3/centos-10-x86_64.facts +502 -0
- data/facts/4.3/fedora-40-x86_64.facts +458 -0
- data/facts/4.3/fedora-41-x86_64.facts +831 -0
- data/facts/4.3/ubuntu-22.04-aarch64.facts +597 -0
- data/facts/4.3/ubuntu-24.04-aarch64.facts +473 -0
- data/facts/4.4/amazon-2-x86_64.facts +249 -0
- data/facts/4.4/centos-10-x86_64.facts +502 -0
- data/facts/4.4/fedora-40-x86_64.facts +458 -0
- data/facts/4.4/fedora-41-x86_64.facts +831 -0
- data/facts/4.4/ubuntu-22.04-aarch64.facts +597 -0
- data/facts/4.4/ubuntu-24.04-aarch64.facts +473 -0
- data/facts/4.5/fedora-40-x86_64.facts +464 -0
- data/facts/4.5/fedora-41-x86_64.facts +837 -0
- data/facts/4.5/ubuntu-22.04-aarch64.facts +603 -0
- data/facts/4.5/ubuntu-24.04-aarch64.facts +479 -0
- data/facts/4.6/amazon-2-x86_64.facts +257 -0
- data/facts/4.6/fedora-40-x86_64.facts +465 -0
- data/facts/4.6/fedora-41-x86_64.facts +838 -0
- data/facts/4.6/opensuse-15-x86_64.facts +475 -0
- data/facts/4.6/ubuntu-22.04-aarch64.facts +603 -0
- data/facts/4.6/ubuntu-24.04-aarch64.facts +479 -0
- data/facts/4.7/amazon-2-x86_64.facts +257 -0
- data/facts/4.7/fedora-40-x86_64.facts +465 -0
- data/facts/4.7/fedora-41-x86_64.facts +838 -0
- data/facts/4.7/ubuntu-22.04-aarch64.facts +603 -0
- data/facts/4.7/ubuntu-24.04-aarch64.facts +479 -0
- data/facts/4.8/amazon-2-x86_64.facts +263 -0
- data/facts/4.8/fedora-40-x86_64.facts +468 -0
- data/facts/4.8/fedora-41-x86_64.facts +841 -0
- data/facts/4.8/opensuse-15-x86_64.facts +481 -0
- data/facts/4.8/ubuntu-22.04-aarch64.facts +606 -0
- data/facts/4.8/ubuntu-24.04-aarch64.facts +482 -0
- data/facts/4.8/windows-10-x86_64.facts +174 -0
- data/facts/4.8/windows-11-x86_64.facts +174 -0
- data/facts/4.8/windows-2022-x86_64.facts +168 -0
- data/facts/4.9/amazon-2-x86_64.facts +265 -0
- data/facts/4.9/fedora-40-x86_64.facts +470 -0
- data/facts/4.9/fedora-41-x86_64.facts +845 -0
- data/facts/4.9/opensuse-15-x86_64.facts +482 -0
- data/facts/4.9/ubuntu-22.04-aarch64.facts +609 -0
- data/facts/4.9/ubuntu-24.04-aarch64.facts +485 -0
- data/facts/4.9/windows-10-x86_64.facts +174 -0
- data/facts/4.9/windows-11-x86_64.facts +174 -0
- data/facts/4.9/windows-2022-x86_64.facts +168 -0
- data/facts/README.md +8 -0
- data/facts/Vagrantfile +58 -20
- data/facts/get_facts.sh +2 -2
- data/facts/vbguest_install.sh +16 -0
- data/facts/versions.txt +3 -2
- data/lib/facterdb/version.rb +1 -1
- data/lib/facterdb.rb +0 -1
- metadata +86 -24
- data/database/list_arch_os_facter.md +0 -55
- data/database/list_facter_os_arch.md +0 -302
- data/database/list_os_arch_facter.md +0 -104
- data/database/list_os_facter_arch.md +0 -340
- data/database/table.md +0 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df36f3c41a425433e8dc4940f2765178549f63d567fd7c720497a397a06397d
|
4
|
+
data.tar.gz: 0f84e0360c2a2f61a0e2de65fba22837c3e1a9a840eefffd272878852956f4fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc0d0a1daf1bfa62be234fd465b49b5a8c04ee3967ca616115615ea780331e7205e303c213212a747166f8b63149d993c8a153e74856b67644b595f894247df0
|
7
|
+
data.tar.gz: b9ffef061a2d279554401f28f293ff0f5913f824f740458f8af9684bcd26b8bc2350afe035a50863a5b7ce3e07661b4ccdf0ab1a38d85c7b025ceab632b904be
|
data/.github/release.yml
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
---
|
2
|
+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
|
3
|
+
|
4
|
+
changelog:
|
5
|
+
exclude:
|
6
|
+
labels:
|
7
|
+
- duplicate
|
8
|
+
- invalid
|
9
|
+
- modulesync
|
10
|
+
- question
|
11
|
+
- skip-changelog
|
12
|
+
- wont-fix
|
13
|
+
- wontfix
|
14
|
+
- github_actions
|
15
|
+
|
16
|
+
categories:
|
17
|
+
- title: Breaking Changes 🛠
|
18
|
+
labels:
|
19
|
+
- backwards-incompatible
|
20
|
+
|
21
|
+
- title: New Features 🎉
|
22
|
+
labels:
|
23
|
+
- enhancement
|
24
|
+
|
25
|
+
- title: Bug Fixes 🐛
|
26
|
+
labels:
|
27
|
+
- bug
|
28
|
+
- bugfix
|
29
|
+
|
30
|
+
- title: Documentation Updates 📚
|
31
|
+
labels:
|
32
|
+
- documentation
|
33
|
+
- docs
|
34
|
+
|
35
|
+
- title: Dependency Updates ⬆️
|
36
|
+
labels:
|
37
|
+
- dependencies
|
38
|
+
|
39
|
+
- title: Other Changes
|
40
|
+
labels:
|
41
|
+
- "*"
|
@@ -1,35 +1,106 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
name: Gem Release
|
2
3
|
|
3
4
|
on:
|
4
5
|
push:
|
5
6
|
tags:
|
6
7
|
- '*'
|
7
8
|
|
9
|
+
permissions: {}
|
10
|
+
|
8
11
|
jobs:
|
9
|
-
release:
|
10
|
-
|
11
|
-
if: github.
|
12
|
+
build-release:
|
13
|
+
# Prevent releases from forked repositories
|
14
|
+
if: github.repository_owner == 'voxpupuli'
|
15
|
+
name: Build the gem
|
16
|
+
runs-on: ubuntu-24.04
|
12
17
|
steps:
|
13
18
|
- uses: actions/checkout@v4
|
14
|
-
- name: Install Ruby
|
19
|
+
- name: Install Ruby
|
15
20
|
uses: ruby/setup-ruby@v1
|
16
21
|
with:
|
17
|
-
ruby-version: '
|
18
|
-
bundler-cache: true
|
19
|
-
env:
|
20
|
-
BUNDLE_WITHOUT: release
|
21
|
-
- name: Generate database
|
22
|
-
run: bundle exec rake database
|
22
|
+
ruby-version: 'ruby'
|
23
23
|
- name: Build gem
|
24
|
-
|
24
|
+
shell: bash
|
25
|
+
run: gem build --verbose *.gemspec
|
26
|
+
- name: Upload gem to GitHub cache
|
27
|
+
uses: actions/upload-artifact@v4
|
28
|
+
with:
|
29
|
+
name: gem-artifact
|
30
|
+
path: '*.gem'
|
31
|
+
retention-days: 1
|
32
|
+
compression-level: 0
|
33
|
+
|
34
|
+
create-github-release:
|
35
|
+
needs: build-release
|
36
|
+
name: Create GitHub release
|
37
|
+
runs-on: ubuntu-24.04
|
38
|
+
permissions:
|
39
|
+
contents: write # clone repo and create release
|
40
|
+
steps:
|
41
|
+
- name: Download gem from GitHub cache
|
42
|
+
uses: actions/download-artifact@v4
|
43
|
+
with:
|
44
|
+
name: gem-artifact
|
45
|
+
- name: Create Release
|
46
|
+
shell: bash
|
47
|
+
env:
|
48
|
+
GH_TOKEN: ${{ github.token }}
|
49
|
+
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes *.gem
|
50
|
+
|
51
|
+
release-to-github:
|
52
|
+
needs: build-release
|
53
|
+
name: Release to GitHub
|
54
|
+
runs-on: ubuntu-24.04
|
55
|
+
permissions:
|
56
|
+
packages: write # publish to rubygems.pkg.github.com
|
57
|
+
steps:
|
58
|
+
- name: Download gem from GitHub cache
|
59
|
+
uses: actions/download-artifact@v4
|
60
|
+
with:
|
61
|
+
name: gem-artifact
|
62
|
+
- name: Publish gem to GitHub packages
|
63
|
+
run: gem push --host https://rubygems.pkg.github.com/${{ github.repository_owner }} *.gem
|
64
|
+
env:
|
65
|
+
GEM_HOST_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
66
|
+
|
67
|
+
release-to-rubygems:
|
68
|
+
needs: build-release
|
69
|
+
name: Release gem to rubygems.org
|
70
|
+
runs-on: ubuntu-24.04
|
71
|
+
environment: release # recommended by rubygems.org
|
72
|
+
permissions:
|
73
|
+
id-token: write # rubygems.org authentication
|
74
|
+
steps:
|
75
|
+
- name: Download gem from GitHub cache
|
76
|
+
uses: actions/download-artifact@v4
|
77
|
+
with:
|
78
|
+
name: gem-artifact
|
79
|
+
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
25
80
|
- name: Publish gem to rubygems.org
|
81
|
+
shell: bash
|
26
82
|
run: gem push *.gem
|
27
|
-
|
28
|
-
|
29
|
-
|
83
|
+
|
84
|
+
release-verification:
|
85
|
+
name: Check that all releases are done
|
86
|
+
runs-on: ubuntu-24.04
|
87
|
+
permissions:
|
88
|
+
contents: read # minimal permissions that we have to grant
|
89
|
+
needs:
|
90
|
+
- create-github-release
|
91
|
+
- release-to-github
|
92
|
+
- release-to-rubygems
|
93
|
+
steps:
|
94
|
+
- name: Download gem from GitHub cache
|
95
|
+
uses: actions/download-artifact@v4
|
96
|
+
with:
|
97
|
+
name: gem-artifact
|
98
|
+
- name: Install Ruby
|
99
|
+
uses: ruby/setup-ruby@v1
|
100
|
+
with:
|
101
|
+
ruby-version: 'ruby'
|
102
|
+
- name: Wait for release to propagate
|
103
|
+
shell: bash
|
30
104
|
run: |
|
31
|
-
|
32
|
-
|
33
|
-
chmod 0600 ~/.gem/credentials
|
34
|
-
- name: Publish gem to GitHub packages
|
35
|
-
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
105
|
+
gem install rubygems-await
|
106
|
+
gem await *.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -6,10 +6,11 @@ on:
|
|
6
6
|
branches:
|
7
7
|
- master
|
8
8
|
|
9
|
+
permissions:
|
10
|
+
contents: read # minimal required permissions to clone repo
|
11
|
+
|
9
12
|
jobs:
|
10
13
|
rubocop_and_matrix:
|
11
|
-
env:
|
12
|
-
BUNDLE_WITHOUT: release
|
13
14
|
runs-on: ubuntu-latest
|
14
15
|
outputs:
|
15
16
|
ruby: ${{ steps.ruby.outputs.versions }}
|
@@ -39,8 +40,6 @@ jobs:
|
|
39
40
|
with:
|
40
41
|
ruby-version: ${{ matrix.ruby }}
|
41
42
|
bundler-cache: true
|
42
|
-
env:
|
43
|
-
BUNDLE_WITHOUT: release
|
44
43
|
- name: Run tests
|
45
44
|
run: bundle exec rake spec
|
46
45
|
- name: Build gem
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.8.0](https://rubygems.org/gems/facterdb/versions/3.8.0) (2025-06-12)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.7.0...3.8.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Drop Facter dependency [\#405](https://github.com/voxpupuli/facterdb/pull/405) ([bastelfreak](https://github.com/bastelfreak))
|
10
|
+
- add in more facts for various OS releases [\#403](https://github.com/voxpupuli/facterdb/pull/403) ([hbrown-uiowa](https://github.com/hbrown-uiowa))
|
11
|
+
- Add Fedora 40 & 41 factsets [\#400](https://github.com/voxpupuli/facterdb/pull/400) ([hbrown-uiowa](https://github.com/hbrown-uiowa))
|
12
|
+
- feat: add ubuntu 22.04 & 24.04 arm64 factsets [\#398](https://github.com/voxpupuli/facterdb/pull/398) ([rwaffen](https://github.com/rwaffen))
|
13
|
+
- feat: update centos installation and factsets [\#397](https://github.com/voxpupuli/facterdb/pull/397) ([rwaffen](https://github.com/rwaffen))
|
14
|
+
|
3
15
|
## [3.7.0](https://rubygems.org/gems/facterdb/versions/3.7.0) (2025-03-05)
|
4
16
|
|
5
17
|
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.6.0...3.7.0)
|
data/Gemfile
CHANGED
@@ -2,11 +2,7 @@ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
gem 'faraday-retry', require: false
|
9
|
-
gem 'github_changelog_generator', '>= 1.16.4', require: false
|
10
|
-
gem 'redcarpet'
|
11
|
-
gem 'yard'
|
5
|
+
group :release, optional: true do
|
6
|
+
gem 'faraday-retry', '~> 2.1', require: false
|
7
|
+
gem 'github_changelog_generator', '~> 1.16.4', require: false
|
12
8
|
end
|
data/facterdb.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
|
22
22
|
s.add_development_dependency 'rspec', '~> 3.13'
|
23
23
|
|
24
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~> 3.
|
25
|
-
s.add_dependency 'facter', '< 5.0.0'
|
24
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 3.1.0'
|
26
25
|
s.add_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
|
27
26
|
end
|