facterdb 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/facts/4.0/freebsd-13-x86_64.facts +6 -4
- data/facts/4.1/freebsd-13-x86_64.facts +6 -4
- data/facts/4.2/freebsd-13-x86_64.facts +6 -4
- data/lib/facterdb/version.rb +1 -1
- data/spec/facts_spec.rb +17 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eddd6b67188fcedcb9cf6a6a99ff4bcd485292235c2a46993e7e70126087575
|
4
|
+
data.tar.gz: '09a205ac7198b59504a0f2e3abdb9d4cda3e8448ccb09fabe3ce71dece886f0a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbcd8b09a755897d5244b6633a263c20083fd01791bc401225022ce4e5940c1cddaf3c5a33a125fca4c97763f53f80f4722d6ad58df35ecc9d0cc34ca8f5ad91
|
7
|
+
data.tar.gz: 693ec5b5c00366e4f526bd63e6728feb9270d8e7c2034283307c03ac588733a4f6f5a06582198013d11bd38625818ac56e44eb2ed81b6a7716f39e5c1a65347c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.12.1](https://rubygems.org/gems/facterdb/versions/1.12.1) (2021-11-25)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/1.12.0...1.12.1)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Fix hostname facts for freebsd13 and add spec test [\#216](https://github.com/voxpupuli/facterdb/pull/216) ([msalway](https://github.com/msalway))
|
10
|
+
|
3
11
|
## [1.12.0](https://rubygems.org/gems/facterdb/versions/1.12.0) (2021-11-10)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/voxpupuli/facterdb/compare/1.11.0...1.12.0)
|
@@ -24,13 +24,14 @@
|
|
24
24
|
"uuid": "dc77188a-5cf2-e84a-9c9b-0cb604ae8808"
|
25
25
|
}
|
26
26
|
},
|
27
|
-
"domain": "
|
27
|
+
"domain": "example.com",
|
28
28
|
"facterversion": "4.0.52",
|
29
|
+
"fqdn": "foo.example.com",
|
29
30
|
"gem_version": "~> 4.0.0",
|
30
31
|
"gid": "wheel",
|
31
32
|
"hardwareisa": "amd64",
|
32
33
|
"hardwaremodel": "amd64",
|
33
|
-
"hostname": "",
|
34
|
+
"hostname": "foo",
|
34
35
|
"id": "root",
|
35
36
|
"identity": {
|
36
37
|
"gid": 0,
|
@@ -301,8 +302,9 @@
|
|
301
302
|
"network_em0": "10.0.2.0",
|
302
303
|
"network_lo0": "127.0.0.0",
|
303
304
|
"networking": {
|
304
|
-
"domain": "
|
305
|
-
"
|
305
|
+
"domain": "example.com",
|
306
|
+
"fqdn": "foo.example.com",
|
307
|
+
"hostname": "foo",
|
306
308
|
"interfaces": {
|
307
309
|
"em0": {
|
308
310
|
"bindings": [
|
@@ -24,13 +24,14 @@
|
|
24
24
|
"uuid": "dc77188a-5cf2-e84a-9c9b-0cb604ae8808"
|
25
25
|
}
|
26
26
|
},
|
27
|
-
"domain": "
|
27
|
+
"domain": "example.com",
|
28
28
|
"facterversion": "4.1.1",
|
29
|
+
"fqdn": "foo.example.com",
|
29
30
|
"gem_version": "~> 4.1.0",
|
30
31
|
"gid": "wheel",
|
31
32
|
"hardwareisa": "amd64",
|
32
33
|
"hardwaremodel": "amd64",
|
33
|
-
"hostname": "",
|
34
|
+
"hostname": "foo",
|
34
35
|
"id": "root",
|
35
36
|
"identity": {
|
36
37
|
"gid": 0,
|
@@ -301,8 +302,9 @@
|
|
301
302
|
"network_em0": "10.0.2.0",
|
302
303
|
"network_lo0": "127.0.0.0",
|
303
304
|
"networking": {
|
304
|
-
"domain": "
|
305
|
-
"
|
305
|
+
"domain": "example.com",
|
306
|
+
"fqdn": "foo.example.com",
|
307
|
+
"hostname": "foo",
|
306
308
|
"interfaces": {
|
307
309
|
"em0": {
|
308
310
|
"bindings": [
|
@@ -24,13 +24,14 @@
|
|
24
24
|
"uuid": "dc77188a-5cf2-e84a-9c9b-0cb604ae8808"
|
25
25
|
}
|
26
26
|
},
|
27
|
-
"domain": "
|
27
|
+
"domain": "example.com",
|
28
28
|
"facterversion": "4.2.5",
|
29
|
+
"fqdn": "foo.example.com",
|
29
30
|
"gem_version": "~> 4.2.0",
|
30
31
|
"gid": "wheel",
|
31
32
|
"hardwareisa": "amd64",
|
32
33
|
"hardwaremodel": "amd64",
|
33
|
-
"hostname": "",
|
34
|
+
"hostname": "foo",
|
34
35
|
"id": "root",
|
35
36
|
"identity": {
|
36
37
|
"gid": 0,
|
@@ -301,8 +302,9 @@
|
|
301
302
|
"network_em0": "10.0.2.0",
|
302
303
|
"network_lo0": "127.0.0.0",
|
303
304
|
"networking": {
|
304
|
-
"domain": "
|
305
|
-
"
|
305
|
+
"domain": "example.com",
|
306
|
+
"fqdn": "foo.example.com",
|
307
|
+
"hostname": "foo",
|
306
308
|
"interfaces": {
|
307
309
|
"em0": {
|
308
310
|
"bindings": [
|
data/lib/facterdb/version.rb
CHANGED
data/spec/facts_spec.rb
CHANGED
@@ -82,6 +82,19 @@ describe 'Default Facts' do
|
|
82
82
|
'facts/3.0/ubuntu-15.10-i386.facts' => 'no puppet-agent package',
|
83
83
|
}
|
84
84
|
|
85
|
+
KNOWN_HOSTNAME_PENDING = {
|
86
|
+
'facts/3.10/ubuntu-18.04-aarch64.facts' => 'unable to regenerate facts',
|
87
|
+
'facts/3.2/aix-61-powerpc.facts' => 'unable to regenerate facts',
|
88
|
+
'facts/3.2/aix-71-powerpc.facts' => 'unable to regenerate facts',
|
89
|
+
'facts/3.2/aix-53-powerpc.facts' => 'unable to regenerate facts',
|
90
|
+
'facts/3.6/pcs-6-x86_64.facts' => 'unable to regenerate facts',
|
91
|
+
'facts/3.0/ubuntu-15.10-x86_64.facts' => 'no puppet-agent package',
|
92
|
+
'facts/3.0/ubuntu-15.10-i386.facts' => 'no puppet-agent package',
|
93
|
+
'facts/4.2/centos-9-x86_64.facts' => 'no legacy facts',
|
94
|
+
'facts/4.2/oraclelinux-9-x86_64.facts' => 'no legacy facts',
|
95
|
+
'facts/4.2/redhat-9-x86_64.facts' => 'no legacy facts',
|
96
|
+
}
|
97
|
+
|
85
98
|
project_dir = Pathname.new(__dir__).parent
|
86
99
|
FacterDB.default_fact_files.each do |filepath|
|
87
100
|
relative_path = Pathname.new(filepath).relative_path_from(project_dir).to_s
|
@@ -123,6 +136,10 @@ describe 'Default Facts' do
|
|
123
136
|
expect(content['systemd_version']).to be_nil
|
124
137
|
expect(content['systemd_internal_services']).to be_nil
|
125
138
|
end
|
139
|
+
it 'contains a hostname fact' do
|
140
|
+
pending KNOWN_HOSTNAME_PENDING[relative_path] if KNOWN_HOSTNAME_PENDING.key?(relative_path)
|
141
|
+
expect(content['hostname']).to not_be_nil.and not_be_empty
|
142
|
+
end
|
126
143
|
end
|
127
144
|
end
|
128
145
|
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: 1.12.
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -1845,7 +1845,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1845
1845
|
- !ruby/object:Gem::Version
|
1846
1846
|
version: '0'
|
1847
1847
|
requirements: []
|
1848
|
-
rubygems_version: 3.2.
|
1848
|
+
rubygems_version: 3.2.32
|
1849
1849
|
signing_key:
|
1850
1850
|
specification_version: 4
|
1851
1851
|
summary: A Database of OS facts provided by Facter
|