facterdb 1.5.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +32 -0
  3. data/.github/workflows/test.yml +28 -0
  4. data/CHANGELOG.md +175 -125
  5. data/Gemfile +2 -2
  6. data/README.md +114 -99
  7. data/Rakefile +15 -4
  8. data/facterdb.gemspec +6 -7
  9. data/facts/1.6/debian-11-x86_64.facts +57 -0
  10. data/facts/1.6/freebsd-13-x86_64.facts +51 -0
  11. data/facts/1.6/oraclelinux-8-x86_64.facts +59 -0
  12. data/facts/1.7/centos-9-x86_64.facts +82 -0
  13. data/facts/1.7/debian-11-x86_64.facts +74 -0
  14. data/facts/1.7/freebsd-13-x86_64.facts +69 -0
  15. data/facts/1.7/oraclelinux-8-x86_64.facts +82 -0
  16. data/facts/2.0/centos-9-x86_64.facts +82 -0
  17. data/facts/2.0/debian-11-x86_64.facts +76 -0
  18. data/facts/2.0/freebsd-13-x86_64.facts +70 -0
  19. data/facts/2.0/oraclelinux-8-x86_64.facts +82 -0
  20. data/facts/2.1/centos-9-x86_64.facts +112 -0
  21. data/facts/2.1/debian-11-x86_64.facts +84 -0
  22. data/facts/2.1/freebsd-13-x86_64.facts +70 -0
  23. data/facts/2.1/oraclelinux-8-x86_64.facts +92 -0
  24. data/facts/2.2/centos-9-x86_64.facts +137 -0
  25. data/facts/2.2/debian-11-x86_64.facts +115 -0
  26. data/facts/2.2/freebsd-13-x86_64.facts +91 -0
  27. data/facts/2.2/oraclelinux-8-x86_64.facts +115 -0
  28. data/facts/2.3/centos-9-x86_64.facts +138 -0
  29. data/facts/2.3/debian-11-x86_64.facts +116 -0
  30. data/facts/2.3/freebsd-13-x86_64.facts +92 -0
  31. data/facts/2.3/oraclelinux-8-x86_64.facts +143 -0
  32. data/facts/2.4/centos-9-x86_64.facts +139 -0
  33. data/facts/2.4/debian-11-x86_64.facts +118 -0
  34. data/facts/2.4/freebsd-13-x86_64.facts +92 -0
  35. data/facts/2.4/oraclelinux-8-x86_64.facts +160 -0
  36. data/facts/2.5/debian-11-x86_64.facts +118 -0
  37. data/facts/2.5/freebsd-13-x86_64.facts +92 -0
  38. data/facts/2.5/oraclelinux-8-x86_64.facts +160 -0
  39. data/facts/3.11/archlinux-x86_64.facts +11 -1
  40. data/facts/3.11/oraclelinux-8-x86_64.facts +494 -0
  41. data/facts/3.11/solaris-10-i86pc.facts +1 -4
  42. data/facts/3.11/solaris-11-i86pc.facts +1 -4
  43. data/facts/3.11/solaris-11-sun4v.facts +1 -4
  44. data/facts/3.12/oraclelinux-8-x86_64.facts +400 -0
  45. data/facts/3.13/oraclelinux-8-x86_64.facts +406 -0
  46. data/facts/3.14/almalinux-8-x86_64.facts +522 -0
  47. data/facts/3.14/archlinux-x86_64.facts +11 -1
  48. data/facts/3.14/darwin-19-x86_64.facts +412 -0
  49. data/facts/3.14/darwin-20-x86_64.facts +516 -0
  50. data/facts/3.14/debian-11-x86_64.facts +508 -0
  51. data/facts/3.14/freebsd-11-x86_64.facts +479 -0
  52. data/facts/3.14/freebsd-12-x86_64.facts +479 -0
  53. data/facts/3.14/freebsd-13-x86_64.facts +475 -0
  54. data/facts/3.14/oraclelinux-8-x86_64.facts +406 -0
  55. data/facts/3.14/rocky-8-x86_64.facts +625 -0
  56. data/facts/3.14/solaris-11-i86pc.facts +1 -4
  57. data/facts/3.14/solaris-11-sun4v.facts +1 -4
  58. data/facts/3.9/solaris-10-i86pc.facts +0 -3
  59. data/facts/4.0/almalinux-8-x86_64.facts +307 -0
  60. data/facts/4.0/centos-7-x86_64.facts +706 -0
  61. data/facts/4.0/debian-10-x86_64.facts +1091 -0
  62. data/facts/4.0/debian-11-x86_64.facts +236 -0
  63. data/facts/4.0/freebsd-11-x86_64.facts +208 -0
  64. data/facts/4.0/freebsd-12-x86_64.facts +208 -0
  65. data/facts/4.0/freebsd-13-x86_64.facts +207 -0
  66. data/facts/4.0/solaris-11-sun4v.facts +585 -0
  67. data/facts/4.1/debian-11-x86_64.facts +238 -0
  68. data/facts/4.1/freebsd-11-x86_64.facts +208 -0
  69. data/facts/4.1/freebsd-12-x86_64.facts +208 -0
  70. data/facts/4.1/freebsd-13-x86_64.facts +207 -0
  71. data/facts/4.2/centos-7-x86_64.facts +593 -0
  72. data/facts/4.2/centos-8-x86_64.facts +591 -0
  73. data/facts/4.2/centos-9-x86_64.facts +291 -0
  74. data/facts/4.2/darwin-20-x86_64.facts +524 -0
  75. data/facts/4.2/debian-10-x86_64.facts +574 -0
  76. data/facts/4.2/debian-11-x86_64.facts +244 -0
  77. data/facts/4.2/debian-9-x86_64.facts +597 -0
  78. data/facts/4.2/freebsd-11-x86_64.facts +261 -0
  79. data/facts/4.2/freebsd-12-x86_64.facts +261 -0
  80. data/facts/4.2/freebsd-13-x86_64.facts +260 -0
  81. data/facts/4.2/oraclelinux-8-x86_64.facts +591 -0
  82. data/facts/Gemfile +1 -0
  83. data/facts/Vagrantfile +33 -9
  84. data/facts/get_facts.sh +45 -13
  85. data/lib/facterdb/version.rb +1 -1
  86. data/lib/facterdb.rb +17 -2
  87. data/spec/facts_spec.rb +9 -2
  88. metadata +73 -27
  89. data/.travis.yml +0 -36
data/facts/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source ENV['GEM_SOURCE'] || "https://rubygems.org"
2
2
 
3
3
  gem 'json', :require => false
4
+ gem 'ffi'
4
5
 
5
6
  if facterversion = ENV['FACTER_GEM_VERSION']
6
7
  gem 'facter', facterversion, :require => false
data/facts/Vagrantfile CHANGED
@@ -48,6 +48,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
48
48
  host.vm.provision "shell", path: "get_facts.sh"
49
49
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
50
50
  end
51
+ config.vm.define "debian-11-x86_64" do |host|
52
+ host.vm.box = "boxomatic/debian-11"
53
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
54
+ host.vm.provision "shell", path: "get_facts.sh"
55
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
56
+ end
51
57
  config.vm.define "ubuntu-10.04-x86_64" do |host|
52
58
  host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
53
59
  host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
@@ -150,7 +156,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
150
156
  host.vm.provision "shell", path: "get_facts.sh"
151
157
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
152
158
  end
153
-
159
+ config.vm.define "almalinux-8-x86_64" do |host|
160
+ host.vm.box = "almalinux/8"
161
+ host.vm.synced_folder ".", "/vagrant"
162
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
163
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
164
+ host.vm.provision "shell", path: "get_facts.sh"
165
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
166
+ end
167
+ config.vm.define "rockylinux-8-x86_64" do |host|
168
+ host.vm.box = "https://github.com/anoncam/rocky-linux-vagrant/blob/main/rockylinux.box"
169
+ host.vm.synced_folder ".", "/vagrant"
170
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
171
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
172
+ host.vm.provision "shell", path: "get_facts.sh"
173
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
174
+ end
154
175
  config.vm.define "redhat-8-x86_64" do |host|
155
176
  host.vm.box = "generic/rhel8"
156
177
  host.vm.synced_folder ".", "/vagrant"
@@ -298,20 +319,26 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
298
319
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
299
320
  host.vm.provision "shell", path: "get_facts.sh"
300
321
  end
322
+ config.vm.define "freebsd-11-x86_64" do |host|
323
+ host.vm.box = "bento/freebsd-11"
324
+ host.vm.synced_folder ".", "/vagrant"
325
+ host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
326
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
327
+ host.vm.provision "shell", path: "get_facts.sh"
328
+ host.vm.provision "shell", inline: "/sbin/shutdown -p now"
329
+ end
301
330
  config.vm.define "freebsd-12-x86_64" do |host|
302
- host.vm.box = "bento/freebsd-12.0"
331
+ host.vm.box = "bento/freebsd-12"
303
332
  host.vm.synced_folder ".", "/vagrant"
304
333
  host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
305
- host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
306
334
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
307
335
  host.vm.provision "shell", path: "get_facts.sh"
308
336
  host.vm.provision "shell", inline: "/sbin/shutdown -p now"
309
337
  end
310
- config.vm.define "freebsd-11-x86_64" do |host|
311
- host.vm.box = "bento/freebsd-11.2"
338
+ config.vm.define "freebsd-13-x86_64" do |host|
339
+ host.vm.box = "bento/freebsd-13"
312
340
  host.vm.synced_folder ".", "/vagrant"
313
341
  host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
314
- host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
315
342
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
316
343
  host.vm.provision "shell", path: "get_facts.sh"
317
344
  host.vm.provision "shell", inline: "/sbin/shutdown -p now"
@@ -340,7 +367,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
340
367
  . ~/.profile
341
368
 
342
369
  pkg_info -qe 'bash->=0' || pkg_add -I bash
343
- ln -sf /usr/local/bin/bash /bin
344
370
  SCRIPT
345
371
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
346
372
  host.vm.provision "shell", path: "get_facts.sh"
@@ -354,7 +380,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
354
380
  . ~/.profile
355
381
 
356
382
  pkg_info -qe 'bash->=0' || pkg_add -I bash
357
- ln -sf /usr/local/bin/bash /bin
358
383
  SCRIPT
359
384
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
360
385
  host.vm.provision "shell", path: "get_facts.sh"
@@ -369,7 +394,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
369
394
  . ~/.profile
370
395
 
371
396
  pkg_info -qe 'bash->=0' || pkg_add bash
372
- ln -sf /usr/local/bin/bash /bin
373
397
  pkg_add facter puppet-5.5.6
374
398
  ln -sf /usr/local/bin/gem24 /usr/bin/gem
375
399
  ln -sf /usr/local/bin/ruby24 /usr/bin/ruby
data/facts/get_facts.sh CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
 
3
3
  export PATH=/opt/puppetlabs/bin:$PATH
4
4
 
@@ -31,12 +31,18 @@ elif test -f /usr/bin/apt-get; then
31
31
  elif test -f /etc/redhat-release ; then
32
32
  operatingsystemmajrelease=$(rpm -qf /etc/redhat-release --queryformat '%{version}' | cut -f1 -d'.')
33
33
  case $(rpm -qf /etc/redhat-release --queryformat '%{name}') in
34
+ almalinux*)
35
+ osfamily='AlmaLinux'
36
+ ;;
34
37
  centos*|redhat*)
35
38
  osfamily='RedHat'
36
39
  ;;
37
40
  fedora*)
38
41
  osfamily='Fedora'
39
42
  ;;
43
+ rocky-*)
44
+ osfamily='RockyLinux'
45
+ ;;
40
46
  *)
41
47
  echo 'Failed to determine osfamily from /etc/redhat-release'
42
48
  exit 1
@@ -150,6 +156,14 @@ case "${osfamily}" in
150
156
  yum remove -y puppet6-release
151
157
  fi
152
158
  ;;
159
+ 'RockyLinux'|'AlmaLinux')
160
+ dnf localinstall -y "http://yum.puppetlabs.com/puppet6-release-el-${operatingsystemmajrelease}.noarch.rpm"
161
+ if dnf install -y puppet-agent; then
162
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
163
+ mkdir -p $(dirname ${output_file})
164
+ facter --show-legacy -p -j | tee ${output_file}
165
+ fi
166
+ ;;
153
167
 
154
168
  'Debian')
155
169
  if [[ "serena" =~ ${lsbdistcodename} ]]; then
@@ -211,15 +225,20 @@ case "${osfamily}" in
211
225
  ;;
212
226
  'FreeBSD')
213
227
  pkg update
214
- pkg install -y sysutils/puppet5 sysutils/facter sysutils/rubygem-bundler
215
- # something about the pkg update process causes the shared folder mount to
216
- # get into an unusable state, so we remount it here before generating any
217
- # fact sets.
218
- umount /vagrant
219
- mount -t vboxvfs Vagrant /vagrant
220
- output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
221
- mkdir -p $(dirname ${output_file})
222
- [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
228
+ for facter_package in facter rubygem-facter ; do
229
+ pkg install -fy ${facter_package}
230
+
231
+ # something about the pkg update process causes the shared folder mount to
232
+ # get into an unusable state, so we remount it here before generating any
233
+ # fact sets.
234
+ umount /vagrant
235
+ mount -t vboxvfs Vagrant /vagrant
236
+ hardwaremodel=$(facter hardwaremodel)
237
+ [ "${hardwaremodel}" = 'amd64' ] && hardwaremodel=x86_64
238
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-${hardwaremodel}.facts"
239
+ mkdir -p $(dirname ${output_file})
240
+ [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
241
+ done
223
242
  ;;
224
243
  'OpenBSD')
225
244
  hardwaremodel=$(facter hardwaremodel)
@@ -290,16 +309,26 @@ hardwaremodel=$(facter hardwaremodel)
290
309
 
291
310
  PATH=/opt/puppetlabs/puppet/bin:$PATH
292
311
 
293
- if ruby -e 'puts RUBY_VERSION' | grep -e '^2\.3'; then
294
- gem install bundler --no-ri --no-rdoc --no-format-executable
312
+ if [ "$(ruby -e 'puts Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("2.3")')" = "true" ]; then
313
+ gem install bundler --no-document --no-format-executable
295
314
  else
296
315
  gem install bundler --version '~> 1.0' --no-ri --no-rdoc --no-format-executable
297
316
  fi
298
317
  bundle install --path vendor/bundler
299
318
 
300
- for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0; do
319
+ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 4.0.0 4.1.0 4.2.0; do
301
320
  FACTER_GEM_VERSION="~> ${version}" bundle update
321
+
322
+ # This is another workaround for shared folder on FreeBSD. "Accessing"
323
+ # /vagrant helps to not encounter a bug where we try to access files in
324
+ # /vagrant/subdir/file
325
+ ls -d /vagrant > /dev/null
326
+ ls -l /vagrant > /dev/null
327
+
302
328
  case "${operatingsystem}" in
329
+ almalinux|rocky)
330
+ break
331
+ ;;
303
332
  openbsd)
304
333
  output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
305
334
  ;;
@@ -310,6 +339,9 @@ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0; do
310
339
  output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemmajrelease}-${hardwaremodel}.facts"
311
340
  ;;
312
341
  esac
342
+ if [ -f $output_file ]; then
343
+ continue
344
+ fi
313
345
  mkdir -p $(dirname $output_file)
314
346
  echo $version | grep -q -E '^1\.' &&
315
347
  FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '1.5.0'
3
+ STRING = '1.9.0'
4
4
  end
5
5
  end
data/lib/facterdb.rb CHANGED
@@ -11,6 +11,13 @@ module FacterDB
11
11
  @database ||= "[#{facterdb_fact_files.map { |f| read_json_file(f) }.join(',')}]\n"
12
12
  end
13
13
 
14
+ # @note Call this method at the end of test suite, for example via after(:suite), to reclaim back the memory required to hold json data and filter cache
15
+ def self.cleanup
16
+ @database = nil
17
+ Thread.current[:facterdb_last_filter_seen] = nil
18
+ Thread.current[:facterdb_last_facts_seen] = nil
19
+ end
20
+
14
21
  # @return [Boolean] - returns true if we should use the default facterdb database, false otherwise
15
22
  # @note If the user passes anything to the FACTERDB_SKIP_DEFAULTDB environment variable we assume
16
23
  # they want to skip the default db
@@ -123,8 +130,16 @@ module FacterDB
123
130
 
124
131
  # @return [Array] - array of hashes of facts
125
132
  # @param filter [Object] - The filter to convert to jgrep string
126
- def self.get_facts(filter=nil)
133
+ def self.get_facts(filter=nil, cache=true)
134
+ if cache && filter && filter == Thread.current[:facterdb_last_filter_seen]
135
+ return Thread.current[:facterdb_last_facts_seen]
136
+ end
127
137
  filter_str = generate_filter_str(filter)
128
- JGrep.jgrep(database, filter_str).map { |hash| Hash[hash.map{ |k, v| [k.to_sym, v] }] }
138
+ result = JGrep.jgrep(database, filter_str).map { |hash| Hash[hash.map{ |k, v| [k.to_sym, v] }] }
139
+ if cache
140
+ Thread.current[:facterdb_last_filter_seen] = filter
141
+ Thread.current[:facterdb_last_facts_seen] = result
142
+ end
143
+ result
129
144
  end
130
145
  end
data/spec/facts_spec.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'spec_helper'
2
2
  require 'digest'
3
+ require 'pathname'
3
4
 
4
5
  RSpec::Matchers.define :have_a_unique_hash do
5
6
  match do |actual|
@@ -99,9 +100,15 @@ describe 'Default Facts' do
99
100
  expect(content['facterversion']).to have_facter_version(facter_dir_path, filepath)
100
101
  end
101
102
 
102
- it 'contains an ipaddress fact' do
103
+ it 'contains an ipaddress or networking.ip fact' do
103
104
  pending KNOWN_IPADDRESS_PENDING[relative_path] if KNOWN_IPADDRESS_PENDING.key?(relative_path)
104
- expect(content['ipaddress']).to not_be_nil.and not_be_empty
105
+ case content['facterversion']
106
+ when /^[1-3]/
107
+ expect(content['ipaddress']).to not_be_nil.and not_be_empty
108
+ else
109
+ expect(content['networking']['ip']).to not_be_nil.and not_be_empty
110
+ end
111
+
105
112
  end
106
113
  end
107
114
  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.5.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
- - Mickaël Canévet
7
+ - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-19 00:00:00.000000000 Z
11
+ date: 2021-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -66,26 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: github_changelog_generator
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '1.10'
76
- - - "<"
77
- - !ruby/object:Gem::Version
78
- version: 1.10.4
79
- type: :development
80
- prerelease: false
81
- version_requirements: !ruby/object:Gem::Requirement
82
- requirements:
83
- - - "~>"
84
- - !ruby/object:Gem::Version
85
- version: '1.10'
86
- - - "<"
87
- - !ruby/object:Gem::Version
88
- version: 1.10.4
89
69
  - !ruby/object:Gem::Dependency
90
70
  name: facter
91
71
  requirement: !ruby/object:Gem::Requirement
@@ -116,15 +96,16 @@ dependencies:
116
96
  version: '0'
117
97
  description: Contains facts from many Facter version on many Operating Systems
118
98
  email:
119
- - mickael.canevet@camptocamp.com
99
+ - voxpupuli@groups.io
120
100
  executables:
121
101
  - facterdb
122
102
  extensions: []
123
103
  extra_rdoc_files: []
124
104
  files:
105
+ - ".github/workflows/release.yml"
106
+ - ".github/workflows/test.yml"
125
107
  - ".gitignore"
126
108
  - ".gitmodules"
127
- - ".travis.yml"
128
109
  - CHANGELOG.md
129
110
  - Gemfile
130
111
  - HISTORY.md
@@ -146,6 +127,7 @@ files:
146
127
  - facts/1.6/centos-7-x86_64.facts
147
128
  - facts/1.6/centos-8-x86_64.facts
148
129
  - facts/1.6/debian-10-x86_64.facts
130
+ - facts/1.6/debian-11-x86_64.facts
149
131
  - facts/1.6/debian-6-i386.facts
150
132
  - facts/1.6/debian-6-x86_64.facts
151
133
  - facts/1.6/debian-7-i386.facts
@@ -168,6 +150,7 @@ files:
168
150
  - facts/1.6/freebsd-10-x86_64.facts
169
151
  - facts/1.6/freebsd-11-x86_64.facts
170
152
  - facts/1.6/freebsd-12-x86_64.facts
153
+ - facts/1.6/freebsd-13-x86_64.facts
171
154
  - facts/1.6/freebsd-9-i386.facts
172
155
  - facts/1.6/freebsd-9-x86_64.facts
173
156
  - facts/1.6/gentoo-i386.facts
@@ -192,6 +175,7 @@ files:
192
175
  - facts/1.6/oraclelinux-6-x86_64.facts
193
176
  - facts/1.6/oraclelinux-7-i386.facts
194
177
  - facts/1.6/oraclelinux-7-x86_64.facts
178
+ - facts/1.6/oraclelinux-8-x86_64.facts
195
179
  - facts/1.6/redhat-5-i386.facts
196
180
  - facts/1.6/redhat-5-x86_64.facts
197
181
  - facts/1.6/redhat-6-i386.facts
@@ -238,7 +222,9 @@ files:
238
222
  - facts/1.7/centos-7-i386.facts
239
223
  - facts/1.7/centos-7-x86_64.facts
240
224
  - facts/1.7/centos-8-x86_64.facts
225
+ - facts/1.7/centos-9-x86_64.facts
241
226
  - facts/1.7/debian-10-x86_64.facts
227
+ - facts/1.7/debian-11-x86_64.facts
242
228
  - facts/1.7/debian-6-i386.facts
243
229
  - facts/1.7/debian-6-x86_64.facts
244
230
  - facts/1.7/debian-7-i386.facts
@@ -262,6 +248,7 @@ files:
262
248
  - facts/1.7/freebsd-10-x86_64.facts
263
249
  - facts/1.7/freebsd-11-x86_64.facts
264
250
  - facts/1.7/freebsd-12-x86_64.facts
251
+ - facts/1.7/freebsd-13-x86_64.facts
265
252
  - facts/1.7/freebsd-9-i386.facts
266
253
  - facts/1.7/freebsd-9-x86_64.facts
267
254
  - facts/1.7/gentoo-i386.facts
@@ -286,6 +273,7 @@ files:
286
273
  - facts/1.7/oraclelinux-6-x86_64.facts
287
274
  - facts/1.7/oraclelinux-7-i386.facts
288
275
  - facts/1.7/oraclelinux-7-x86_64.facts
276
+ - facts/1.7/oraclelinux-8-x86_64.facts
289
277
  - facts/1.7/redhat-5-i386.facts
290
278
  - facts/1.7/redhat-5-x86_64.facts
291
279
  - facts/1.7/redhat-6-i386.facts
@@ -332,6 +320,7 @@ files:
332
320
  - facts/2.0/centos-7-i386.facts
333
321
  - facts/2.0/centos-7-x86_64.facts
334
322
  - facts/2.0/centos-8-x86_64.facts
323
+ - facts/2.0/centos-9-x86_64.facts
335
324
  - facts/2.0/darwin-14-i386.facts
336
325
  - facts/2.0/darwin-14-x86_64.facts
337
326
  - facts/2.0/darwin-15-x86_64.facts
@@ -339,6 +328,7 @@ files:
339
328
  - facts/2.0/darwin-17-x86_64.facts
340
329
  - facts/2.0/darwin-18-x86_64.facts
341
330
  - facts/2.0/debian-10-x86_64.facts
331
+ - facts/2.0/debian-11-x86_64.facts
342
332
  - facts/2.0/debian-6-i386.facts
343
333
  - facts/2.0/debian-6-x86_64.facts
344
334
  - facts/2.0/debian-7-i386.facts
@@ -366,6 +356,7 @@ files:
366
356
  - facts/2.0/freebsd-10-x86_64.facts
367
357
  - facts/2.0/freebsd-11-x86_64.facts
368
358
  - facts/2.0/freebsd-12-x86_64.facts
359
+ - facts/2.0/freebsd-13-x86_64.facts
369
360
  - facts/2.0/freebsd-9-i386.facts
370
361
  - facts/2.0/freebsd-9-x86_64.facts
371
362
  - facts/2.0/gentoo-i386.facts
@@ -396,6 +387,7 @@ files:
396
387
  - facts/2.0/oraclelinux-6-x86_64.facts
397
388
  - facts/2.0/oraclelinux-7-i386.facts
398
389
  - facts/2.0/oraclelinux-7-x86_64.facts
390
+ - facts/2.0/oraclelinux-8-x86_64.facts
399
391
  - facts/2.0/redhat-5-i386.facts
400
392
  - facts/2.0/redhat-5-x86_64.facts
401
393
  - facts/2.0/redhat-6-i386.facts
@@ -442,6 +434,7 @@ files:
442
434
  - facts/2.1/centos-7-i386.facts
443
435
  - facts/2.1/centos-7-x86_64.facts
444
436
  - facts/2.1/centos-8-x86_64.facts
437
+ - facts/2.1/centos-9-x86_64.facts
445
438
  - facts/2.1/darwin-14-i386.facts
446
439
  - facts/2.1/darwin-14-x86_64.facts
447
440
  - facts/2.1/darwin-15-x86_64.facts
@@ -449,6 +442,7 @@ files:
449
442
  - facts/2.1/darwin-17-x86_64.facts
450
443
  - facts/2.1/darwin-18-x86_64.facts
451
444
  - facts/2.1/debian-10-x86_64.facts
445
+ - facts/2.1/debian-11-x86_64.facts
452
446
  - facts/2.1/debian-6-i386.facts
453
447
  - facts/2.1/debian-6-x86_64.facts
454
448
  - facts/2.1/debian-7-i386.facts
@@ -476,6 +470,7 @@ files:
476
470
  - facts/2.1/freebsd-10-x86_64.facts
477
471
  - facts/2.1/freebsd-11-x86_64.facts
478
472
  - facts/2.1/freebsd-12-x86_64.facts
473
+ - facts/2.1/freebsd-13-x86_64.facts
479
474
  - facts/2.1/freebsd-9-i386.facts
480
475
  - facts/2.1/freebsd-9-x86_64.facts
481
476
  - facts/2.1/gentoo-i386.facts
@@ -506,6 +501,7 @@ files:
506
501
  - facts/2.1/oraclelinux-6-x86_64.facts
507
502
  - facts/2.1/oraclelinux-7-i386.facts
508
503
  - facts/2.1/oraclelinux-7-x86_64.facts
504
+ - facts/2.1/oraclelinux-8-x86_64.facts
509
505
  - facts/2.1/redhat-5-i386.facts
510
506
  - facts/2.1/redhat-5-x86_64.facts
511
507
  - facts/2.1/redhat-6-i386.facts
@@ -562,6 +558,7 @@ files:
562
558
  - facts/2.2/centos-7-i386.facts
563
559
  - facts/2.2/centos-7-x86_64.facts
564
560
  - facts/2.2/centos-8-x86_64.facts
561
+ - facts/2.2/centos-9-x86_64.facts
565
562
  - facts/2.2/darwin-14-i386.facts
566
563
  - facts/2.2/darwin-14-x86_64.facts
567
564
  - facts/2.2/darwin-15-x86_64.facts
@@ -569,6 +566,7 @@ files:
569
566
  - facts/2.2/darwin-17-x86_64.facts
570
567
  - facts/2.2/darwin-18-x86_64.facts
571
568
  - facts/2.2/debian-10-x86_64.facts
569
+ - facts/2.2/debian-11-x86_64.facts
572
570
  - facts/2.2/debian-6-i386.facts
573
571
  - facts/2.2/debian-6-x86_64.facts
574
572
  - facts/2.2/debian-7-i386.facts
@@ -596,6 +594,7 @@ files:
596
594
  - facts/2.2/freebsd-10-x86_64.facts
597
595
  - facts/2.2/freebsd-11-x86_64.facts
598
596
  - facts/2.2/freebsd-12-x86_64.facts
597
+ - facts/2.2/freebsd-13-x86_64.facts
599
598
  - facts/2.2/freebsd-9-i386.facts
600
599
  - facts/2.2/freebsd-9-x86_64.facts
601
600
  - facts/2.2/gentoo-i386.facts
@@ -626,6 +625,7 @@ files:
626
625
  - facts/2.2/oraclelinux-6-x86_64.facts
627
626
  - facts/2.2/oraclelinux-7-i386.facts
628
627
  - facts/2.2/oraclelinux-7-x86_64.facts
628
+ - facts/2.2/oraclelinux-8-x86_64.facts
629
629
  - facts/2.2/redhat-5-i386.facts
630
630
  - facts/2.2/redhat-5-x86_64.facts
631
631
  - facts/2.2/redhat-6-i386.facts
@@ -682,6 +682,7 @@ files:
682
682
  - facts/2.3/centos-7-i386.facts
683
683
  - facts/2.3/centos-7-x86_64.facts
684
684
  - facts/2.3/centos-8-x86_64.facts
685
+ - facts/2.3/centos-9-x86_64.facts
685
686
  - facts/2.3/darwin-14-i386.facts
686
687
  - facts/2.3/darwin-14-x86_64.facts
687
688
  - facts/2.3/darwin-15-x86_64.facts
@@ -689,6 +690,7 @@ files:
689
690
  - facts/2.3/darwin-17-x86_64.facts
690
691
  - facts/2.3/darwin-18-x86_64.facts
691
692
  - facts/2.3/debian-10-x86_64.facts
693
+ - facts/2.3/debian-11-x86_64.facts
692
694
  - facts/2.3/debian-6-i386.facts
693
695
  - facts/2.3/debian-6-x86_64.facts
694
696
  - facts/2.3/debian-7-i386.facts
@@ -716,6 +718,7 @@ files:
716
718
  - facts/2.3/freebsd-10-x86_64.facts
717
719
  - facts/2.3/freebsd-11-x86_64.facts
718
720
  - facts/2.3/freebsd-12-x86_64.facts
721
+ - facts/2.3/freebsd-13-x86_64.facts
719
722
  - facts/2.3/freebsd-9-i386.facts
720
723
  - facts/2.3/freebsd-9-x86_64.facts
721
724
  - facts/2.3/gentoo-i386.facts
@@ -746,6 +749,7 @@ files:
746
749
  - facts/2.3/oraclelinux-6-x86_64.facts
747
750
  - facts/2.3/oraclelinux-7-i386.facts
748
751
  - facts/2.3/oraclelinux-7-x86_64.facts
752
+ - facts/2.3/oraclelinux-8-x86_64.facts
749
753
  - facts/2.3/redhat-5-i386.facts
750
754
  - facts/2.3/redhat-5-x86_64.facts
751
755
  - facts/2.3/redhat-6-i386.facts
@@ -803,6 +807,7 @@ files:
803
807
  - facts/2.4/centos-7-i386.facts
804
808
  - facts/2.4/centos-7-x86_64.facts
805
809
  - facts/2.4/centos-8-x86_64.facts
810
+ - facts/2.4/centos-9-x86_64.facts
806
811
  - facts/2.4/darwin-14-i386.facts
807
812
  - facts/2.4/darwin-14-x86_64.facts
808
813
  - facts/2.4/darwin-15-x86_64.facts
@@ -810,6 +815,7 @@ files:
810
815
  - facts/2.4/darwin-17-x86_64.facts
811
816
  - facts/2.4/darwin-18-x86_64.facts
812
817
  - facts/2.4/debian-10-x86_64.facts
818
+ - facts/2.4/debian-11-x86_64.facts
813
819
  - facts/2.4/debian-6-i386.facts
814
820
  - facts/2.4/debian-6-x86_64.facts
815
821
  - facts/2.4/debian-7-i386.facts
@@ -837,6 +843,7 @@ files:
837
843
  - facts/2.4/freebsd-10-x86_64.facts
838
844
  - facts/2.4/freebsd-11-x86_64.facts
839
845
  - facts/2.4/freebsd-12-x86_64.facts
846
+ - facts/2.4/freebsd-13-x86_64.facts
840
847
  - facts/2.4/freebsd-9-i386.facts
841
848
  - facts/2.4/freebsd-9-x86_64.facts
842
849
  - facts/2.4/gentoo-i386.facts
@@ -867,6 +874,7 @@ files:
867
874
  - facts/2.4/oraclelinux-6-x86_64.facts
868
875
  - facts/2.4/oraclelinux-7-i386.facts
869
876
  - facts/2.4/oraclelinux-7-x86_64.facts
877
+ - facts/2.4/oraclelinux-8-x86_64.facts
870
878
  - facts/2.4/raspbian-9-armv6l.facts
871
879
  - facts/2.4/raspbian-9-armv7l.facts
872
880
  - facts/2.4/redhat-5-i386.facts
@@ -931,6 +939,7 @@ files:
931
939
  - facts/2.5/darwin-17-x86_64.facts
932
940
  - facts/2.5/darwin-18-x86_64.facts
933
941
  - facts/2.5/debian-10-x86_64.facts
942
+ - facts/2.5/debian-11-x86_64.facts
934
943
  - facts/2.5/debian-7-i386.facts
935
944
  - facts/2.5/debian-7-x86_64.facts
936
945
  - facts/2.5/debian-8-i386.facts
@@ -949,6 +958,7 @@ files:
949
958
  - facts/2.5/freebsd-10-x86_64.facts
950
959
  - facts/2.5/freebsd-11-x86_64.facts
951
960
  - facts/2.5/freebsd-12-x86_64.facts
961
+ - facts/2.5/freebsd-13-x86_64.facts
952
962
  - facts/2.5/gentoo-i386.facts
953
963
  - facts/2.5/gentoo-x86_64.facts
954
964
  - facts/2.5/linuxmint-18-x86_64.facts
@@ -964,6 +974,7 @@ files:
964
974
  - facts/2.5/oraclelinux-6-i386.facts
965
975
  - facts/2.5/oraclelinux-6-x86_64.facts
966
976
  - facts/2.5/oraclelinux-7-x86_64.facts
977
+ - facts/2.5/oraclelinux-8-x86_64.facts
967
978
  - facts/2.5/redhat-5-i386.facts
968
979
  - facts/2.5/redhat-5-x86_64.facts
969
980
  - facts/2.5/redhat-6-i386.facts
@@ -1184,6 +1195,7 @@ files:
1184
1195
  - facts/3.11/oraclelinux-6-x86_64.facts
1185
1196
  - facts/3.11/oraclelinux-7-i386.facts
1186
1197
  - facts/3.11/oraclelinux-7-x86_64.facts
1198
+ - facts/3.11/oraclelinux-8-x86_64.facts
1187
1199
  - facts/3.11/raspbian-10-armv6l.facts
1188
1200
  - facts/3.11/raspbian-10-armv7l.facts
1189
1201
  - facts/3.11/redhat-5-i386.facts
@@ -1235,6 +1247,7 @@ files:
1235
1247
  - facts/3.12/openbsd-6.4-x86_64.facts
1236
1248
  - facts/3.12/oraclelinux-6-x86_64.facts
1237
1249
  - facts/3.12/oraclelinux-7-x86_64.facts
1250
+ - facts/3.12/oraclelinux-8-x86_64.facts
1238
1251
  - facts/3.12/redhat-6-x86_64.facts
1239
1252
  - facts/3.12/redhat-7-x86_64.facts
1240
1253
  - facts/3.12/redhat-8-x86_64.facts
@@ -1273,6 +1286,7 @@ files:
1273
1286
  - facts/3.13/linuxmint-19-x86_64.facts
1274
1287
  - facts/3.13/oraclelinux-6-x86_64.facts
1275
1288
  - facts/3.13/oraclelinux-7-x86_64.facts
1289
+ - facts/3.13/oraclelinux-8-x86_64.facts
1276
1290
  - facts/3.13/redhat-6-x86_64.facts
1277
1291
  - facts/3.13/redhat-7-x86_64.facts
1278
1292
  - facts/3.13/redhat-8-x86_64.facts
@@ -1292,6 +1306,7 @@ files:
1292
1306
  - facts/3.13/windows-2016-x86_64.facts
1293
1307
  - facts/3.13/windows-2019-x86_64.facts
1294
1308
  - facts/3.14/VirtuozzoLinux-7-x86_64.facts
1309
+ - facts/3.14/almalinux-8-x86_64.facts
1295
1310
  - facts/3.14/amazon-2-x86_64.facts
1296
1311
  - facts/3.14/amazon-2016-x86_64.facts
1297
1312
  - facts/3.14/archlinux-x86_64.facts
@@ -1301,22 +1316,30 @@ files:
1301
1316
  - facts/3.14/darwin-16-x86_64.facts
1302
1317
  - facts/3.14/darwin-17-x86_64.facts
1303
1318
  - facts/3.14/darwin-18-x86_64.facts
1319
+ - facts/3.14/darwin-19-x86_64.facts
1320
+ - facts/3.14/darwin-20-x86_64.facts
1304
1321
  - facts/3.14/debian-10-x86_64.facts
1322
+ - facts/3.14/debian-11-x86_64.facts
1305
1323
  - facts/3.14/debian-8-x86_64.facts
1306
1324
  - facts/3.14/debian-9-x86_64.facts
1307
1325
  - facts/3.14/fedora-28-x86_64.facts
1308
1326
  - facts/3.14/fedora-29-x86_64.facts
1309
1327
  - facts/3.14/fedora-30-x86_64.facts
1310
1328
  - facts/3.14/freebsd-11-amd64.facts
1329
+ - facts/3.14/freebsd-11-x86_64.facts
1311
1330
  - facts/3.14/freebsd-12-amd64.facts
1331
+ - facts/3.14/freebsd-12-x86_64.facts
1332
+ - facts/3.14/freebsd-13-x86_64.facts
1312
1333
  - facts/3.14/gentoo-x86_64.facts
1313
1334
  - facts/3.14/linuxmint-18-x86_64.facts
1314
1335
  - facts/3.14/linuxmint-19-x86_64.facts
1315
1336
  - facts/3.14/oraclelinux-6-x86_64.facts
1316
1337
  - facts/3.14/oraclelinux-7-x86_64.facts
1338
+ - facts/3.14/oraclelinux-8-x86_64.facts
1317
1339
  - facts/3.14/redhat-6-x86_64.facts
1318
1340
  - facts/3.14/redhat-7-x86_64.facts
1319
1341
  - facts/3.14/redhat-8-x86_64.facts
1342
+ - facts/3.14/rocky-8-x86_64.facts
1320
1343
  - facts/3.14/scientific-6-x86_64.facts
1321
1344
  - facts/3.14/scientific-7-x86_64.facts
1322
1345
  - facts/3.14/sles-11-x86_64.facts
@@ -1710,6 +1733,29 @@ files:
1710
1733
  - facts/3.9/windows-2012-x86_64.facts
1711
1734
  - facts/3.9/windows-2016-x86_64.facts
1712
1735
  - facts/3.9/windows-2019-x86_64.facts
1736
+ - facts/4.0/almalinux-8-x86_64.facts
1737
+ - facts/4.0/centos-7-x86_64.facts
1738
+ - facts/4.0/debian-10-x86_64.facts
1739
+ - facts/4.0/debian-11-x86_64.facts
1740
+ - facts/4.0/freebsd-11-x86_64.facts
1741
+ - facts/4.0/freebsd-12-x86_64.facts
1742
+ - facts/4.0/freebsd-13-x86_64.facts
1743
+ - facts/4.0/solaris-11-sun4v.facts
1744
+ - facts/4.1/debian-11-x86_64.facts
1745
+ - facts/4.1/freebsd-11-x86_64.facts
1746
+ - facts/4.1/freebsd-12-x86_64.facts
1747
+ - facts/4.1/freebsd-13-x86_64.facts
1748
+ - facts/4.2/centos-7-x86_64.facts
1749
+ - facts/4.2/centos-8-x86_64.facts
1750
+ - facts/4.2/centos-9-x86_64.facts
1751
+ - facts/4.2/darwin-20-x86_64.facts
1752
+ - facts/4.2/debian-10-x86_64.facts
1753
+ - facts/4.2/debian-11-x86_64.facts
1754
+ - facts/4.2/debian-9-x86_64.facts
1755
+ - facts/4.2/freebsd-11-x86_64.facts
1756
+ - facts/4.2/freebsd-12-x86_64.facts
1757
+ - facts/4.2/freebsd-13-x86_64.facts
1758
+ - facts/4.2/oraclelinux-8-x86_64.facts
1713
1759
  - facts/Gemfile
1714
1760
  - facts/Vagrantfile
1715
1761
  - facts/Windows_README.md
@@ -1738,7 +1784,7 @@ files:
1738
1784
  - spec/facterdb_spec.rb
1739
1785
  - spec/facts_spec.rb
1740
1786
  - spec/spec_helper.rb
1741
- homepage: http://github.com/camptocamp/facterdb
1787
+ homepage: http://github.com/voxpupuli/facterdb
1742
1788
  licenses:
1743
1789
  - Apache-2.0
1744
1790
  metadata: {}
@@ -1757,7 +1803,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1757
1803
  - !ruby/object:Gem::Version
1758
1804
  version: '0'
1759
1805
  requirements: []
1760
- rubygems_version: 3.0.8
1806
+ rubygems_version: 3.2.22
1761
1807
  signing_key:
1762
1808
  specification_version: 4
1763
1809
  summary: A Database of OS facts provided by Facter