facterdb 4.1.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 +1 -1
- data/.github/workflows/release.yml +6 -6
- data/.github/workflows/test.yml +2 -2
- data/.rubocop.yml +0 -3
- data/CHANGELOG.md +22 -0
- data/README.md +1 -19
- data/facterdb.gemspec +1 -1
- data/facts/5.1/amazon-2023-x86_64.facts +527 -0
- 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/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 +355 -221
- data/facts/get_facts.sh +12 -3
- data/facts/versions.txt +0 -24
- data/facts/windows_get_facts.ps1 +2 -2
- data/lib/facterdb/version.rb +1 -1
- metadata +15 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e8ae96bb72cc639be88b98977b05f2cdf3bd87a9b6b8ab42aa4c995ffc7f211
|
|
4
|
+
data.tar.gz: fc20af417652cdb573a50dd57b5f6438f7c530eaa0396c6bb8e241a55edad08d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6987b4c58edf2cd52ac153195602882e690adf52f334ce65a675c1e952d9a20428c3718eed77370c2811ce4a803e51e03380491cc35d2a7c31d6434745fe9b47
|
|
7
|
+
data.tar.gz: 54d1726663d621f7e500b6ef704892e6f56188d5ae01cf524b5a28167b083a6e12a7c906da18ad6d2401943425208fdc4f6a71e6f25a5670a1201a9a74b0ee4c
|
data/.github/workflows/pages.yml
CHANGED
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
name: Build the gem
|
|
16
16
|
runs-on: ubuntu-24.04
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
19
|
- name: Install Ruby
|
|
20
20
|
uses: ruby/setup-ruby@v1
|
|
21
21
|
with:
|
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
shell: bash
|
|
25
25
|
run: gem build --verbose *.gemspec
|
|
26
26
|
- name: Upload gem to GitHub cache
|
|
27
|
-
uses: actions/upload-artifact@
|
|
27
|
+
uses: actions/upload-artifact@v5
|
|
28
28
|
with:
|
|
29
29
|
name: gem-artifact
|
|
30
30
|
path: '*.gem'
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
contents: write # clone repo and create release
|
|
40
40
|
steps:
|
|
41
41
|
- name: Download gem from GitHub cache
|
|
42
|
-
uses: actions/download-artifact@
|
|
42
|
+
uses: actions/download-artifact@v6
|
|
43
43
|
with:
|
|
44
44
|
name: gem-artifact
|
|
45
45
|
- name: Create Release
|
|
@@ -56,7 +56,7 @@ jobs:
|
|
|
56
56
|
packages: write # publish to rubygems.pkg.github.com
|
|
57
57
|
steps:
|
|
58
58
|
- name: Download gem from GitHub cache
|
|
59
|
-
uses: actions/download-artifact@
|
|
59
|
+
uses: actions/download-artifact@v6
|
|
60
60
|
with:
|
|
61
61
|
name: gem-artifact
|
|
62
62
|
- name: Publish gem to GitHub packages
|
|
@@ -73,7 +73,7 @@ jobs:
|
|
|
73
73
|
id-token: write # rubygems.org authentication
|
|
74
74
|
steps:
|
|
75
75
|
- name: Download gem from GitHub cache
|
|
76
|
-
uses: actions/download-artifact@
|
|
76
|
+
uses: actions/download-artifact@v6
|
|
77
77
|
with:
|
|
78
78
|
name: gem-artifact
|
|
79
79
|
- uses: rubygems/configure-rubygems-credentials@v1.0.0
|
|
@@ -92,7 +92,7 @@ jobs:
|
|
|
92
92
|
- release-to-rubygems
|
|
93
93
|
steps:
|
|
94
94
|
- name: Download gem from GitHub cache
|
|
95
|
-
uses: actions/download-artifact@
|
|
95
|
+
uses: actions/download-artifact@v6
|
|
96
96
|
with:
|
|
97
97
|
name: gem-artifact
|
|
98
98
|
- name: Install Ruby
|
data/.github/workflows/test.yml
CHANGED
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
outputs:
|
|
16
16
|
ruby: ${{ steps.ruby.outputs.versions }}
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
19
19
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
20
20
|
uses: ruby/setup-ruby@v1
|
|
21
21
|
with:
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
matrix:
|
|
35
35
|
ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
|
|
36
36
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
37
|
+
- uses: actions/checkout@v6
|
|
38
38
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
39
39
|
uses: ruby/setup-ruby@v1
|
|
40
40
|
with:
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.2.0](https://rubygems.org/gems/facterdb/versions/4.2.0) (2025-11-22)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.1.0...4.2.0)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- Add FreeBSD 13/14 Openfact 5.1 factsets [\#438](https://github.com/voxpupuli/facterdb/pull/438) ([bastelfreak](https://github.com/bastelfreak))
|
|
10
|
+
- Add Windows 10/11 openfact 5.1 factsets [\#437](https://github.com/voxpupuli/facterdb/pull/437) ([bastelfreak](https://github.com/bastelfreak))
|
|
11
|
+
- Add Windows 2025 openfact 5.1 factset [\#435](https://github.com/voxpupuli/facterdb/pull/435) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
- Add opensuse 16 Openfact 5.1 factset [\#434](https://github.com/voxpupuli/facterdb/pull/434) ([bastelfreak](https://github.com/bastelfreak))
|
|
13
|
+
- Add AmazonLinux 2023 [\#433](https://github.com/voxpupuli/facterdb/pull/433) ([bastelfreak](https://github.com/bastelfreak))
|
|
14
|
+
- Add Windows Server 2019/2022 openfact 5.1 factsets [\#432](https://github.com/voxpupuli/facterdb/pull/432) ([bastelfreak](https://github.com/bastelfreak))
|
|
15
|
+
- Add Fedora 42 factset [\#430](https://github.com/voxpupuli/facterdb/pull/430) ([bastelfreak](https://github.com/bastelfreak))
|
|
16
|
+
- Add Fedora 43 factsets [\#429](https://github.com/voxpupuli/facterdb/pull/429) ([bastelfreak](https://github.com/bastelfreak))
|
|
17
|
+
- Add oraclelinux-10 factsets [\#428](https://github.com/voxpupuli/facterdb/pull/428) ([bastelfreak](https://github.com/bastelfreak))
|
|
18
|
+
- Refactor Vagrantfile & feat: add new OS versions [\#427](https://github.com/voxpupuli/facterdb/pull/427) ([d1nuc0m](https://github.com/d1nuc0m))
|
|
19
|
+
|
|
20
|
+
**Merged pull requests:**
|
|
21
|
+
|
|
22
|
+
- deprecation: Legacy facts are deprecated [\#425](https://github.com/voxpupuli/facterdb/pull/425) ([marcusdots](https://github.com/marcusdots))
|
|
23
|
+
- Update voxpupuli-rubocop requirement from ~\> 4.2.0 to ~\> 5.0.0 [\#422](https://github.com/voxpupuli/facterdb/pull/422) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
24
|
+
|
|
3
25
|
## [4.1.0](https://rubygems.org/gems/facterdb/versions/4.1.0) (2025-09-09)
|
|
4
26
|
|
|
5
27
|
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.0.0...4.1.0)
|
data/README.md
CHANGED
|
@@ -39,28 +39,10 @@ Returns an Array of Hash containing the whole facts database.
|
|
|
39
39
|
|
|
40
40
|
## Filtering by Facter version and fact values
|
|
41
41
|
|
|
42
|
-
### With an Array filter
|
|
43
|
-
|
|
44
|
-
```ruby
|
|
45
|
-
require 'facterdb'
|
|
46
|
-
|
|
47
|
-
FacterDB.get_facts([{:osfamily => 'Debian'}])
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### With an Hash filter
|
|
51
|
-
|
|
52
|
-
```ruby
|
|
53
|
-
require 'facterdb'
|
|
54
|
-
|
|
55
|
-
FacterDB.get_facts({:osfamily => 'Debian'})
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### With a String filter
|
|
59
|
-
|
|
60
42
|
```ruby
|
|
61
43
|
require 'facterdb'
|
|
62
44
|
|
|
63
|
-
FacterDB::get_facts('
|
|
45
|
+
FacterDB::get_facts('os.family=Debian')
|
|
64
46
|
```
|
|
65
47
|
|
|
66
48
|
## Included Factsets
|
data/facterdb.gemspec
CHANGED
|
@@ -21,6 +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', '~>
|
|
24
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 5.0.0'
|
|
25
25
|
s.add_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
|
|
26
26
|
end
|