facterdb 1.4.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +32 -0
- data/.github/workflows/test.yml +28 -0
- data/CHANGELOG.md +172 -118
- data/Gemfile +2 -2
- data/README.md +110 -100
- data/Rakefile +9 -3
- data/facterdb.gemspec +7 -8
- data/facts/1.7/centos-9-x86_64.facts +82 -0
- data/facts/2.0/centos-9-x86_64.facts +82 -0
- data/facts/2.1/centos-9-x86_64.facts +112 -0
- data/facts/2.2/centos-9-x86_64.facts +137 -0
- data/facts/2.3/centos-9-x86_64.facts +138 -0
- data/facts/2.4/centos-9-x86_64.facts +139 -0
- data/facts/3.11/archlinux-x86_64.facts +11 -1
- data/facts/3.11/solaris-10-i86pc.facts +1 -4
- data/facts/3.11/solaris-11-i86pc.facts +1 -4
- data/facts/3.11/solaris-11-sun4v.facts +1 -4
- data/facts/3.14/almalinux-8-x86_64.facts +522 -0
- data/facts/3.14/archlinux-x86_64.facts +11 -1
- data/facts/3.14/darwin-19-x86_64.facts +412 -0
- data/facts/3.14/darwin-20-x86_64.facts +516 -0
- data/facts/3.14/solaris-11-i86pc.facts +1 -4
- data/facts/3.14/solaris-11-sun4v.facts +1 -4
- data/facts/3.9/solaris-10-i86pc.facts +0 -3
- data/facts/4.0/almalinux-8-x86_64.facts +307 -0
- data/facts/4.0/centos-7-x86_64.facts +706 -0
- data/facts/4.0/debian-10-x86_64.facts +1091 -0
- data/facts/4.0/solaris-11-sun4v.facts +585 -0
- data/facts/4.2/centos-9-x86_64.facts +291 -0
- data/facts/4.2/darwin-20-x86_64.facts +524 -0
- data/facts/Vagrantfile +8 -1
- data/facts/get_facts.sh +14 -0
- data/lib/facterdb.rb +47 -11
- data/lib/facterdb/version.rb +1 -1
- data/spec/facterdb_spec.rb +36 -0
- data/spec/facts_spec.rb +9 -2
- metadata +25 -30
- data/.travis.yml +0 -28
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source ENV['GEM_SOURCE'] ||
|
1
|
+
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
@@ -9,5 +9,5 @@ else
|
|
9
9
|
end
|
10
10
|
|
11
11
|
group :development do
|
12
|
-
gem 'github_changelog_generator', '
|
12
|
+
gem 'github_changelog_generator', '>= 1.16.4'
|
13
13
|
end
|
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
facterdb
|
2
2
|
========
|
3
3
|
|
4
|
-
[![
|
5
|
-
[![
|
6
|
-
[![
|
7
|
-
[![
|
8
|
-
[![
|
4
|
+
[![License](https://img.shields.io/github/license/voxpupuli/facterdb.svg)](https://github.com/voxpupuli/facterdb/blob/master/LICENSE)
|
5
|
+
[![Test](https://github.com/voxpupuli/facterdb/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/facterdb/actions/workflows/test.yml)
|
6
|
+
[![Release](https://github.com/voxpupuli/facterdb/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/facterdb/actions/workflows/release.yml)
|
7
|
+
[![RubyGem Version](https://img.shields.io/gem/v/facterdb.svg)](https://rubygems.org/gems/facterdb)
|
8
|
+
[![RubyGem Downloads](https://img.shields.io/gem/dt/facterdb.svg)](https://rubygems.org/gems/facterdb)
|
9
|
+
[![Donated by Camptocamp](https://img.shields.io/badge/donated%20by-camptocamp-fb7047.svg)](#transfer-notice)
|
9
10
|
|
10
11
|
A Gem that contains a lot of facts for a lot of Operating Systems.
|
11
12
|
|
@@ -58,101 +59,101 @@ FacterDB::get_facts('osfamily=Debian')
|
|
58
59
|
|
59
60
|
## Facter version and Operating System coverage
|
60
61
|
|
61
|
-
| operating system | 1.6 | 1.7 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 |
|
62
|
-
| --------------------------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
63
|
-
| AIX 5300 | | | | | | | | | | | 1 | | | | | | | | | | | | |
|
64
|
-
| AIX 6100 | | | | | | | | | | | 1 | | | | | | | | | | | | |
|
65
|
-
| AIX 7100 | | | | | | | | | | | 1 | | | | | | | 1 | | | | | |
|
66
|
-
|
|
67
|
-
| Amazon
|
68
|
-
| Amazon
|
69
|
-
| Amazon
|
70
|
-
| Amazon
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| CentOS
|
74
|
-
| CentOS
|
75
|
-
| CentOS
|
76
|
-
|
|
77
|
-
| Darwin
|
78
|
-
| Darwin
|
79
|
-
| Darwin
|
80
|
-
| Darwin
|
81
|
-
| Darwin
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
| Debian
|
86
|
-
| Debian
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
| Fedora
|
91
|
-
| Fedora
|
92
|
-
| Fedora
|
93
|
-
| Fedora
|
94
|
-
| Fedora
|
95
|
-
| Fedora
|
96
|
-
| Fedora
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
| FreeBSD
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
| OpenBSD
|
108
|
-
| OpenBSD
|
109
|
-
| OpenBSD
|
110
|
-
| OpenBSD 6.
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
| OpenSuSE
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
| RedHat
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
| Solaris
|
134
|
-
| Solaris
|
135
|
-
| Ubuntu 10.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | |
|
136
|
-
| Ubuntu 12.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | | | | | | | | | |
|
137
|
-
| Ubuntu 14.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 |
|
138
|
-
| Ubuntu 14.10 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | |
|
139
|
-
| Ubuntu 15.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | |
|
140
|
-
| Ubuntu 15.10 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | | 2 | 2 | 2 | | | | | | | | | |
|
141
|
-
| Ubuntu 16.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 |
|
142
|
-
| Ubuntu 16.10 | | | | | | | | | | | | | | | 2 | | | | | | | | |
|
143
|
-
| Ubuntu 18.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | 1 | 1 | 1 | 1 | 1 |
|
144
|
-
| Ubuntu 20.04 | | | | | | | | | | | | | | | | | | | | | | | 1 |
|
145
|
-
| VirtuozzoLinux 7 | | | | | | | | | | | | | | | | | | | | | | | 1 |
|
146
|
-
| Windows 10 | | | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
|
147
|
-
| Windows 7 | | | | 1 | 1 | 1 | 2 | 1 | 2 | 2 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | |
|
148
|
-
| Windows 8.1 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | |
|
149
|
-
| Windows Server 2008 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | |
|
150
|
-
| Windows Server 2008 R2 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | |
|
151
|
-
| Windows Server 2012 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
152
|
-
| Windows Server 2012 R2 | | | | 1 | 1 | 1 | 2 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
153
|
-
| Windows Server 2012 R2 Core | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
154
|
-
| Windows Server 2016 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
155
|
-
| Windows Server 2019 | | | | | | | | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
62
|
+
| operating system | 1.6 | 1.7 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 3.0 | 3.1 | 3.2 | 3.3 | 3.4 | 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | 4.0 | 4.2 |
|
63
|
+
| --------------------------- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
64
|
+
| AIX 5300 | | | | | | | | | | | 1 | | | | | | | | | | | | | | |
|
65
|
+
| AIX 6100 | | | | | | | | | | | 1 | | | | | | | | | | | | | | |
|
66
|
+
| AIX 7100 | | | | | | | | | | | 1 | | | | | | | 1 | | | | | | | |
|
67
|
+
| AlmaLinux 8 | | | | | | | | | | | | | | | | | | | | | | | 1 | 1 | |
|
68
|
+
| Amazon | 3 | | | | 1 | 1 | 1 | | | | | | | | | | | | | | | | | | |
|
69
|
+
| Amazon 2 | | | | | | | | 1 | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
70
|
+
| Amazon 2016 | | | | | 1 | 1 | 1 | 1 | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
71
|
+
| Amazon 2017 | | | | | 1 | 1 | 1 | | | | | | | | 1 | | | | | | | | | | |
|
72
|
+
| Amazon 4 | | 3 | 3 | 3 | | | | | 1 | 1 | | 1 | | | | | | | | | | | | | |
|
73
|
+
| Archlinux | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
74
|
+
| CentOS 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | |
|
75
|
+
| CentOS 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | |
|
76
|
+
| CentOS 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | |
|
77
|
+
| CentOS 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
78
|
+
| Darwin | | | 4 | 4 | | | | | | | | | | | | | | | | | | | | | |
|
79
|
+
| Darwin 14 | | | 2 | 2 | 2 | 2 | 2 | 1 | | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
|
80
|
+
| Darwin 15 | | | | | 1 | 1 | 1 | 1 | | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | |
|
81
|
+
| Darwin 16 | | | | | 1 | 1 | 1 | 1 | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
82
|
+
| Darwin 17 | | | | | 1 | 1 | 1 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
83
|
+
| Darwin 18 | | | | | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | 1 | 1 | | |
|
84
|
+
| Darwin 19 | | | | | | | | | | | | | | | | | | | | | | | 1 | | |
|
85
|
+
| Darwin 20 | | | | | | | | | | | | | | | | | | | | | | | 1 | | 1 |
|
86
|
+
| Debian 10 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | 1 | 1 | 1 | |
|
87
|
+
| Debian 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | | | | | | | | | | | | | | | |
|
88
|
+
| Debian 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | |
|
89
|
+
| Debian 8 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
90
|
+
| Debian 9 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | 2 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
91
|
+
| Fedora 19 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
92
|
+
| Fedora 22 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | 2 | | | | | | | | | | | | | | | |
|
93
|
+
| Fedora 23 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | 2 | | | | | | | | | | | | | | | |
|
94
|
+
| Fedora 24 | 1 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | |
|
95
|
+
| Fedora 25 | | | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | 2 | 2 | 2 | | | | | | | | |
|
96
|
+
| Fedora 26 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | 1 | 1 | 1 | | | | | |
|
97
|
+
| Fedora 27 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | 1 | | | | | 1 | | | | | |
|
98
|
+
| Fedora 28 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
99
|
+
| Fedora 29 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
100
|
+
| Fedora 30 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | | | 1 | | |
|
101
|
+
| FreeBSD 10 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | | | | | | | | | | 1 | | | | | | | |
|
102
|
+
| FreeBSD 11 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
103
|
+
| FreeBSD 12 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
104
|
+
| FreeBSD 9 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
105
|
+
| Gentoo | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | 1 | | | 1 | | |
|
106
|
+
| LinuxMint 18 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | | 1 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
107
|
+
| LinuxMint 19 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
108
|
+
| OpenBSD 5.7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
109
|
+
| OpenBSD 5.8 | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
110
|
+
| OpenBSD 5.9 | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
111
|
+
| OpenBSD 6.0 | | | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
112
|
+
| OpenBSD 6.2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | 2 | | | | | | | | |
|
113
|
+
| OpenBSD 6.3 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | 2 | | | | | | |
|
114
|
+
| OpenBSD 6.4 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | | 1 | | | | |
|
115
|
+
| OpenSuSE 12 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
116
|
+
| OpenSuSE 13 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
117
|
+
| OpenSuSE 15 | | | | | | | | | | | | | | | | | | | | 1 | | | | | |
|
118
|
+
| OpenSuSE 42 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | |
|
119
|
+
| OracleLinux 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | | | | |
|
120
|
+
| OracleLinux 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 2 | 1 | 1 | 1 | | |
|
121
|
+
| OracleLinux 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | | |
|
122
|
+
| Raspbian 10 | | | | | | | | | | | | | | | | | | | | 2 | | | | | |
|
123
|
+
| Raspbian 9 | | | | | | | 2 | | | | | | | | | | | | | | | | | | |
|
124
|
+
| RedHat 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | |
|
125
|
+
| RedHat 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 3 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | |
|
126
|
+
| RedHat 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | | |
|
127
|
+
| RedHat 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
128
|
+
| SLES 11 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | |
|
129
|
+
| SLES 12 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
130
|
+
| SLES 15 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | | 1 | 1 | 1 | 1 | | |
|
131
|
+
| Scientific 5 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | |
|
132
|
+
| Scientific 6 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | | |
|
133
|
+
| Scientific 7 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 2 | 2 | | 2 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | | |
|
134
|
+
| Solaris 10 | | | | | | | | 1 | | | | | | | | | | 1 | | 1 | | | | | |
|
135
|
+
| Solaris 11 | 1 | 1 | 1 | 1 | 1 | 2 | 2 | 1 | | | | | | | | | | | | 2 | | | 2 | 1 | |
|
136
|
+
| Ubuntu 10.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
137
|
+
| Ubuntu 12.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | | | | | | | | | | | |
|
138
|
+
| Ubuntu 14.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
139
|
+
| Ubuntu 14.10 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
140
|
+
| Ubuntu 15.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | | | | | | | | |
|
141
|
+
| Ubuntu 15.10 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | | 2 | 2 | 2 | | | | | | | | | | | |
|
142
|
+
| Ubuntu 16.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
143
|
+
| Ubuntu 16.10 | | | | | | | | | | | | | | | 2 | | | | | | | | | | |
|
144
|
+
| Ubuntu 18.04 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | | | | | | | | | | 1 | 1 | 1 | 1 | 1 | | |
|
145
|
+
| Ubuntu 20.04 | | | | | | | | | | | | | | | | | | | | | | | 1 | | |
|
146
|
+
| VirtuozzoLinux 7 | | | | | | | | | | | | | | | | | | | | | | | 1 | | |
|
147
|
+
| Windows 10 | | | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | 2 | | |
|
148
|
+
| Windows 7 | | | | 1 | 1 | 1 | 2 | 1 | 2 | 2 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
|
149
|
+
| Windows 8.1 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
|
150
|
+
| Windows Server 2008 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
|
151
|
+
| Windows Server 2008 R2 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
|
152
|
+
| Windows Server 2012 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
153
|
+
| Windows Server 2012 R2 | | | | 1 | 1 | 1 | 2 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
154
|
+
| Windows Server 2012 R2 Core | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
155
|
+
| Windows Server 2016 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
156
|
+
| Windows Server 2019 | | | | | | | | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | |
|
156
157
|
|
157
158
|
Where the number (1, 2 etc.) are the number of factsets for that OS and facter combination (e.g., x86_64 and i386 architectures).
|
158
159
|
|
@@ -278,3 +279,12 @@ Please submit issues at https://github.com/camptocamp/facterdb/issues or PRs in
|
|
278
279
|
* Update the version in `lib/facterdb/version.rb`
|
279
280
|
* Run `rake changelog`
|
280
281
|
* Commit and PR the results.
|
282
|
+
|
283
|
+
|
284
|
+
## Transfer Notice
|
285
|
+
|
286
|
+
This plugin was originally authored by [Camptocamp](http://www.camptocamp.com).
|
287
|
+
The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
|
288
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here instead of Camptocamp.
|
289
|
+
|
290
|
+
Previously: https://github.com/camptocamp/facterdb
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ begin
|
|
12
12
|
config.future_release = FacterDB::Version::STRING
|
13
13
|
config.include_labels = %w[enhancement bug]
|
14
14
|
config.exclude_labels = %w[duplicate question invalid wontfix maintenance]
|
15
|
-
config.user = '
|
15
|
+
config.user = 'voxpupuli'
|
16
16
|
config.project = 'facterdb'
|
17
17
|
config.release_url = "https://rubygems.org/gems/facterdb/versions/%s"
|
18
18
|
config.since_tag = '0.3.11'
|
@@ -58,12 +58,18 @@ def factset_to_os_label(fs)
|
|
58
58
|
if os_name =~ /^(Archlinux|Gentoo)$/
|
59
59
|
label = os_name
|
60
60
|
elsif os_name =~ /^(SLES|FreeBSD|OpenSuSE)$/ ||
|
61
|
-
(os_name =~ /^(RedHat|Scientific|OracleLinux|CentOS)/ && os_rel.nil?)
|
61
|
+
(os_name =~ /^(RedHat|Scientific|OracleLinux|CentOS|AlmaLinux)/ && os_rel.nil?)
|
62
62
|
label = "#{os_name} #{os__rel.split('.').first}"
|
63
63
|
elsif os_name =~ /^(OpenBSD|Ubuntu|Fedora)$/
|
64
64
|
label = "#{os_name} #{os__rel}"
|
65
65
|
elsif os_name =~ /^(Solaris)/
|
66
|
-
|
66
|
+
if fs.key?(:os) && fs[:os].key?('release') && (fs[:os]['release']['major'] =~ /\d/)
|
67
|
+
label = "#{os_name} #{os_rel}"
|
68
|
+
elsif fs.key?(:operatingsystemmajrelease)
|
69
|
+
label = "#{os_name} #{os_rel}"
|
70
|
+
else
|
71
|
+
label = "#{os_name} #{os__rel.split('.')[1]}"
|
72
|
+
end
|
67
73
|
elsif fs[:_facterdb_filename] =~ /sles-15-/
|
68
74
|
label = "SLES 15"
|
69
75
|
elsif os_name.start_with?('Debian') && os_id == 'LinuxMint'
|
data/facterdb.gemspec
CHANGED
@@ -3,13 +3,13 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
3
3
|
require "facterdb/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
|
-
s.name =
|
6
|
+
s.name = 'facterdb'
|
7
7
|
s.version = FacterDB::Version::STRING
|
8
|
-
s.authors = [
|
9
|
-
s.email = [
|
10
|
-
s.homepage =
|
11
|
-
s.summary =
|
12
|
-
s.description =
|
8
|
+
s.authors = ['Vox Pupuli']
|
9
|
+
s.email = ['voxpupuli@groups.io']
|
10
|
+
s.homepage = 'http://github.com/voxpupuli/facterdb'
|
11
|
+
s.summary = 'A Database of OS facts provided by Facter'
|
12
|
+
s.description = 'Contains facts from many Facter version on many Operating Systems'
|
13
13
|
s.licenses = 'Apache-2.0'
|
14
14
|
|
15
15
|
s.files = `git ls-files`.split("\n")
|
@@ -20,7 +20,6 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.add_development_dependency 'rake'
|
21
21
|
s.add_development_dependency 'pry'
|
22
22
|
s.add_development_dependency 'rspec'
|
23
|
-
s.
|
24
|
-
s.add_runtime_dependency 'facter', '< 4.0.0'
|
23
|
+
s.add_runtime_dependency 'facter', '< 5.0.0'
|
25
24
|
s.add_runtime_dependency 'jgrep'
|
26
25
|
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 1.7.0",
|
3
|
+
"architecture": "x86_64",
|
4
|
+
"augeasversion": "1.12.0",
|
5
|
+
"kernel": "Linux",
|
6
|
+
"blockdevice_vdb_size": 5000000512,
|
7
|
+
"blockdevice_vdb_vendor": "0x1af4",
|
8
|
+
"blockdevice_sr0_size": 372736,
|
9
|
+
"blockdevice_sr0_vendor": "QEMU",
|
10
|
+
"blockdevice_sr0_model": "QEMU DVD-ROM",
|
11
|
+
"blockdevice_vda_size": 100000000000,
|
12
|
+
"blockdevice_vda_vendor": "0x1af4",
|
13
|
+
"blockdevices": "sr0,vda,vdb",
|
14
|
+
"domain": "multi-1.local",
|
15
|
+
"macaddress": "52:54:00:0a:d2:26",
|
16
|
+
"osfamily": "RedHat",
|
17
|
+
"operatingsystem": "CentOS",
|
18
|
+
"facterversion": "1.7.6",
|
19
|
+
"filesystems": "iso9660,xfs",
|
20
|
+
"fqdn": "multi-1.multi-1.local",
|
21
|
+
"hardwareisa": "x86_64",
|
22
|
+
"hardwaremodel": "x86_64",
|
23
|
+
"hostname": "multi-1",
|
24
|
+
"id": "stack",
|
25
|
+
"interfaces": "ens3,ens4,lo",
|
26
|
+
"ipaddress_ens3": "10.109.1.2",
|
27
|
+
"macaddress_ens3": "52:54:00:0a:d2:26",
|
28
|
+
"netmask_ens3": "255.255.255.0",
|
29
|
+
"ipaddress_ens4": "192.168.24.3",
|
30
|
+
"macaddress_ens4": "52:54:00:6a:d9:ff",
|
31
|
+
"netmask_ens4": "255.255.255.0",
|
32
|
+
"ipaddress_lo": "127.0.0.1",
|
33
|
+
"netmask_lo": "255.0.0.0",
|
34
|
+
"ipaddress": "10.109.1.2",
|
35
|
+
"kernelmajversion": "5.13",
|
36
|
+
"kernelrelease": "5.13.0-0.rc2.19.el9.x86_64",
|
37
|
+
"kernelversion": "5.13.0",
|
38
|
+
"memorysize": "15.63 GB",
|
39
|
+
"memoryfree": "15.23 GB",
|
40
|
+
"swapsize": "1024.00 MB",
|
41
|
+
"swapfree": "1024.00 MB",
|
42
|
+
"swapsize_mb": "1024.00",
|
43
|
+
"swapfree_mb": "1024.00",
|
44
|
+
"memorysize_mb": "16001.42",
|
45
|
+
"memoryfree_mb": "15598.16",
|
46
|
+
"memorytotal": "15.63 GB",
|
47
|
+
"netmask": "255.255.255.0",
|
48
|
+
"network_ens3": "10.109.1.0",
|
49
|
+
"network_ens4": "192.168.24.0",
|
50
|
+
"network_lo": "127.0.0.0",
|
51
|
+
"operatingsystemmajrelease": "9",
|
52
|
+
"operatingsystemrelease": "9",
|
53
|
+
"path": "/home/stack/facterdb/facts/vendor/bundler/ruby/3.0.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/home/stack/.local/bin:/home/stack/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin",
|
54
|
+
"physicalprocessorcount": 4,
|
55
|
+
"processor0": "AMD Opteron(tm) Processor 6376",
|
56
|
+
"processor1": "AMD Opteron(tm) Processor 6376",
|
57
|
+
"processor2": "AMD Opteron(tm) Processor 6376",
|
58
|
+
"processor3": "AMD Opteron(tm) Processor 6376",
|
59
|
+
"processorcount": "4",
|
60
|
+
"ps": "ps -ef",
|
61
|
+
"rubysitedir": "/usr/local/share/ruby/site_ruby",
|
62
|
+
"rubyversion": "3.0.1",
|
63
|
+
"selinux": "true",
|
64
|
+
"selinux_enforced": "true",
|
65
|
+
"selinux_policyversion": "33",
|
66
|
+
"selinux_current_mode": "enforcing",
|
67
|
+
"selinux_config_mode": "enforcing",
|
68
|
+
"selinux_config_policy": "unknown",
|
69
|
+
"selinux_mode": "unknown",
|
70
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC2JVk4nsrwLkfBayUpVA8HpVtfSfFG1rbDsiK90XVLr3b4drf0Sr14pPTZBVVOs5KSMER2E40t6drYcCqK/k8KtcVtQ30jNLYVSSoIf8YBELdZlITdUDdHkIMAhmNH5VDTy6CTP0bC+7ysJQokLRoNy7ftOIhTbdfkIjXhNiKCqVCHvLUzKN1ubhXtJrhLGlIevNmHeDI/hvEOsNDjbXHoG/t+DnpcC/oKhvAn0XL+VMLq6T4iIadja5t+kBBs04Dw9kJP6zfrMcP83tQC/dsMkY3q+g/n41jkNv6cjvxGZz2UpLC0yel+ezjTxfPeMugvmzkghb/EdINPnAubQHeUqStHhnhC/9x23FgoJJy9OB/YwG4zc2HKgr2haOOidlLw3ST3/FdJDUbi5c/gU+BL6is40OlZzWWDQX/sVjRNyYF9OP9licQ65cdsoHfEn3z1sITiqlgPYxcPUByOWJIJrSLaApScotP9hHqqxIIm59TRwijJi4NFwKc6ou6FFJU=",
|
71
|
+
"sshfp_rsa": "SSHFP 1 1 c4f5f764a14cebbd395e88740e5b25e8333a1f5e\nSSHFP 1 2 a1d0269c1cd821312ca68f00c8ae486660998be9bdde20df7d1446b57ca9977f",
|
72
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJueKsWqIw0wOXNkQxS4oz1BgGWynCJ+LCARJkJKwPyVNl8pVxHkuhKvgjlNaM5+j+7EzvNolztoUlb9F6YpMmc=",
|
73
|
+
"sshfp_ecdsa": "SSHFP 3 1 01965981be711d14d09243a4f4f8066a73590bd6\nSSHFP 3 2 f3467199746fbb547c9791ae1d22325c3c08562063b78ada6501044fcc395343",
|
74
|
+
"timezone": "EDT",
|
75
|
+
"uniqueid": "6d0a0201",
|
76
|
+
"uptime": "23:14 hours",
|
77
|
+
"uptime_days": 0,
|
78
|
+
"uptime_hours": 23,
|
79
|
+
"uptime_seconds": 83651,
|
80
|
+
"virtual": "physical",
|
81
|
+
"is_virtual": "false"
|
82
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
{
|
2
|
+
"gem_version": "~> 2.0.0",
|
3
|
+
"architecture": "x86_64",
|
4
|
+
"augeasversion": "1.12.0",
|
5
|
+
"kernel": "Linux",
|
6
|
+
"blockdevice_vdb_size": 5000000512,
|
7
|
+
"blockdevice_vdb_vendor": "0x1af4",
|
8
|
+
"blockdevice_sr0_size": 372736,
|
9
|
+
"blockdevice_sr0_vendor": "QEMU",
|
10
|
+
"blockdevice_sr0_model": "QEMU DVD-ROM",
|
11
|
+
"blockdevice_vda_size": 100000000000,
|
12
|
+
"blockdevice_vda_vendor": "0x1af4",
|
13
|
+
"blockdevices": "sr0,vda,vdb",
|
14
|
+
"domain": "multi-1.local",
|
15
|
+
"macaddress": "52:54:00:0a:d2:26",
|
16
|
+
"osfamily": "RedHat",
|
17
|
+
"operatingsystem": "CentOS",
|
18
|
+
"facterversion": "2.0.2",
|
19
|
+
"filesystems": "iso9660,xfs",
|
20
|
+
"fqdn": "multi-1.multi-1.local",
|
21
|
+
"hardwareisa": "x86_64",
|
22
|
+
"hardwaremodel": "x86_64",
|
23
|
+
"hostname": "multi-1",
|
24
|
+
"id": "stack",
|
25
|
+
"interfaces": "ens3,ens4,lo",
|
26
|
+
"ipaddress_ens3": "10.109.1.2",
|
27
|
+
"macaddress_ens3": "52:54:00:0a:d2:26",
|
28
|
+
"netmask_ens3": "255.255.255.0",
|
29
|
+
"ipaddress_ens4": "192.168.24.3",
|
30
|
+
"macaddress_ens4": "52:54:00:6a:d9:ff",
|
31
|
+
"netmask_ens4": "255.255.255.0",
|
32
|
+
"ipaddress_lo": "127.0.0.1",
|
33
|
+
"netmask_lo": "255.0.0.0",
|
34
|
+
"ipaddress": "10.109.1.2",
|
35
|
+
"kernelmajversion": "5.13",
|
36
|
+
"kernelrelease": "5.13.0-0.rc2.19.el9.x86_64",
|
37
|
+
"kernelversion": "5.13.0",
|
38
|
+
"memorysize": "15.63 GB",
|
39
|
+
"memoryfree": "15.25 GB",
|
40
|
+
"swapsize": "1024.00 MB",
|
41
|
+
"swapfree": "1024.00 MB",
|
42
|
+
"swapsize_mb": "1024.00",
|
43
|
+
"swapfree_mb": "1024.00",
|
44
|
+
"memorysize_mb": "16001.42",
|
45
|
+
"memoryfree_mb": "15620.22",
|
46
|
+
"netmask": "255.255.255.0",
|
47
|
+
"network_ens3": "10.109.1.0",
|
48
|
+
"network_ens4": "192.168.24.0",
|
49
|
+
"network_lo": "127.0.0.0",
|
50
|
+
"operatingsystemmajrelease": "9",
|
51
|
+
"operatingsystemrelease": "9",
|
52
|
+
"path": "/home/stack/facterdb/facts/vendor/bundler/ruby/3.0.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/home/stack/.local/bin:/home/stack/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin",
|
53
|
+
"physicalprocessorcount": "4",
|
54
|
+
"processor0": "AMD Opteron(tm) Processor 6376",
|
55
|
+
"processor1": "AMD Opteron(tm) Processor 6376",
|
56
|
+
"processor2": "AMD Opteron(tm) Processor 6376",
|
57
|
+
"processor3": "AMD Opteron(tm) Processor 6376",
|
58
|
+
"processorcount": "4",
|
59
|
+
"ps": "ps -ef",
|
60
|
+
"rubysitedir": "/usr/local/share/ruby/site_ruby",
|
61
|
+
"rubyversion": "3.0.1",
|
62
|
+
"selinux": "true",
|
63
|
+
"selinux_enforced": "true",
|
64
|
+
"selinux_policyversion": "33",
|
65
|
+
"selinux_current_mode": "enforcing",
|
66
|
+
"selinux_config_mode": "enforcing",
|
67
|
+
"selinux_config_policy": "unknown",
|
68
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC2JVk4nsrwLkfBayUpVA8HpVtfSfFG1rbDsiK90XVLr3b4drf0Sr14pPTZBVVOs5KSMER2E40t6drYcCqK/k8KtcVtQ30jNLYVSSoIf8YBELdZlITdUDdHkIMAhmNH5VDTy6CTP0bC+7ysJQokLRoNy7ftOIhTbdfkIjXhNiKCqVCHvLUzKN1ubhXtJrhLGlIevNmHeDI/hvEOsNDjbXHoG/t+DnpcC/oKhvAn0XL+VMLq6T4iIadja5t+kBBs04Dw9kJP6zfrMcP83tQC/dsMkY3q+g/n41jkNv6cjvxGZz2UpLC0yel+ezjTxfPeMugvmzkghb/EdINPnAubQHeUqStHhnhC/9x23FgoJJy9OB/YwG4zc2HKgr2haOOidlLw3ST3/FdJDUbi5c/gU+BL6is40OlZzWWDQX/sVjRNyYF9OP9licQ65cdsoHfEn3z1sITiqlgPYxcPUByOWJIJrSLaApScotP9hHqqxIIm59TRwijJi4NFwKc6ou6FFJU=",
|
69
|
+
"sshfp_rsa": "SSHFP 1 1 c4f5f764a14cebbd395e88740e5b25e8333a1f5e\nSSHFP 1 2 a1d0269c1cd821312ca68f00c8ae486660998be9bdde20df7d1446b57ca9977f",
|
70
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJueKsWqIw0wOXNkQxS4oz1BgGWynCJ+LCARJkJKwPyVNl8pVxHkuhKvgjlNaM5+j+7EzvNolztoUlb9F6YpMmc=",
|
71
|
+
"sshfp_ecdsa": "SSHFP 3 1 01965981be711d14d09243a4f4f8066a73590bd6\nSSHFP 3 2 f3467199746fbb547c9791ae1d22325c3c08562063b78ada6501044fcc395343",
|
72
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIH3oYudPTnii27GMd7ocHbIrNYpQUMi9YESufVhwOzk6",
|
73
|
+
"sshfp_ed25519": "SSHFP 4 1 2b4f0187c0ef8d874fbb47ffefbe3b9c336aa00e\nSSHFP 4 2 f9ba2faa6fc99b1efbf355a4699c054b21e4cfb2192d42eafd62e902c0426005",
|
74
|
+
"timezone": "EDT",
|
75
|
+
"uniqueid": "6d0a0201",
|
76
|
+
"uptime": "23:14 hours",
|
77
|
+
"uptime_days": 0,
|
78
|
+
"uptime_hours": 23,
|
79
|
+
"uptime_seconds": 83655,
|
80
|
+
"virtual": "physical",
|
81
|
+
"is_virtual": "false"
|
82
|
+
}
|