facterdb 1.10.1 → 1.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +60 -0
  3. data/README.md +13 -5
  4. data/facts/1.6/amazon-2017-x86_64.facts +3 -3
  5. data/facts/1.6/archlinux-x86_64.facts +1 -0
  6. data/facts/1.6/fedora-19-i386.facts +1 -0
  7. data/facts/1.6/fedora-19-x86_64.facts +1 -0
  8. data/facts/1.6/ubuntu-18.04-aarch64.facts +1 -1
  9. data/facts/1.7/amazon-2017-x86_64.facts +3 -3
  10. data/facts/1.7/archlinux-x86_64.facts +1 -0
  11. data/facts/1.7/centos-9-x86_64.facts +3 -3
  12. data/facts/1.7/ubuntu-18.04-aarch64.facts +1 -1
  13. data/facts/2.0/amazon-2017-x86_64.facts +3 -3
  14. data/facts/2.0/archlinux-x86_64.facts +1 -0
  15. data/facts/2.0/centos-9-x86_64.facts +3 -3
  16. data/facts/2.0/ubuntu-18.04-aarch64.facts +3 -1
  17. data/facts/2.1/amazon-2017-x86_64.facts +9 -9
  18. data/facts/2.1/archlinux-x86_64.facts +1 -0
  19. data/facts/2.1/centos-9-x86_64.facts +3 -3
  20. data/facts/2.1/ubuntu-18.04-aarch64.facts +3 -2
  21. data/facts/2.2/amazon-2017-x86_64.facts +9 -9
  22. data/facts/2.2/archlinux-x86_64.facts +1 -0
  23. data/facts/2.2/centos-9-x86_64.facts +3 -3
  24. data/facts/2.2/ubuntu-18.04-aarch64.facts +3 -2
  25. data/facts/2.3/amazon-2017-x86_64.facts +9 -9
  26. data/facts/2.3/archlinux-x86_64.facts +1 -0
  27. data/facts/2.3/centos-9-x86_64.facts +3 -3
  28. data/facts/2.3/ubuntu-18.04-aarch64.facts +3 -2
  29. data/facts/2.4/amazon-2017-x86_64.facts +9 -9
  30. data/facts/2.4/archlinux-x86_64.facts +1 -0
  31. data/facts/2.4/centos-9-x86_64.facts +3 -3
  32. data/facts/2.4/ubuntu-18.04-aarch64.facts +3 -2
  33. data/facts/2.4/windows-2012 r2-x64.facts +1 -0
  34. data/facts/2.4/windows-7-x64.facts +1 -0
  35. data/facts/2.5/archlinux-x86_64.facts +1 -0
  36. data/facts/2.5/solaris-10-i86pc.facts +4 -15
  37. data/facts/2.5/ubuntu-18.04-aarch64.facts +3 -2
  38. data/facts/3.0/ubuntu-15.10-i386.facts +4 -0
  39. data/facts/3.0/ubuntu-15.10-x86_64.facts +4 -0
  40. data/facts/3.10/archlinux-x86_64.facts +2 -1
  41. data/facts/3.10/ubuntu-18.04-aarch64.facts +7 -2
  42. data/facts/3.11/archlinux-x86_64.facts +3 -2
  43. data/facts/3.11/solaris-10-i86pc.facts +4 -10
  44. data/facts/3.12/archlinux-x86_64.facts +3 -2
  45. data/facts/3.14/VirtuozzoLinux-7-x86_64.facts +4 -4
  46. data/facts/3.14/archlinux-x86_64.facts +2 -1
  47. data/facts/3.14/fedora-32-x86_64.facts +490 -0
  48. data/facts/3.14/fedora-33-x86_64.facts +482 -0
  49. data/facts/3.14/fedora-34-x86_64.facts +493 -0
  50. data/facts/3.14/rocky-8-x86_64.facts +6 -6
  51. data/facts/3.14/ubuntu-21.04-x86_64.facts +510 -0
  52. data/facts/3.14/ubuntu-21.10-x86_64.facts +609 -0
  53. data/facts/3.2/aix-53-powerpc.facts +6 -2
  54. data/facts/3.2/aix-61-powerpc.facts +6 -2
  55. data/facts/3.2/aix-71-powerpc.facts +6 -2
  56. data/facts/3.6/amazon-2017-x86_64.facts +9 -9
  57. data/facts/3.6/pcs-6-x86_64.facts +6 -2
  58. data/facts/3.9/aix-7.1-power.facts +4 -4
  59. data/facts/3.9/archlinux-x86_64.facts +2 -1
  60. data/facts/3.9/solaris-10-i86pc.facts +4 -10
  61. data/facts/4.0/almalinux-8-x86_64.facts +302 -67
  62. data/facts/4.0/centos-7-x86_64.facts +1 -16
  63. data/facts/4.0/debian-10-x86_64.facts +1 -17
  64. data/facts/4.0/debian-11-x86_64.facts +256 -68
  65. data/facts/4.0/fedora-32-x86_64.facts +506 -0
  66. data/facts/4.0/fedora-33-x86_64.facts +505 -0
  67. data/facts/4.0/fedora-34-x86_64.facts +509 -0
  68. data/facts/4.0/fedora-35-x86_64.facts +504 -0
  69. data/facts/4.0/freebsd-11-x86_64.facts +237 -22
  70. data/facts/4.0/freebsd-12-x86_64.facts +239 -24
  71. data/facts/4.0/freebsd-13-x86_64.facts +287 -18
  72. data/facts/4.0/oraclelinux-7-x86_64.facts +691 -0
  73. data/facts/4.0/redhat-7-x86_64.facts +691 -0
  74. data/facts/4.0/redhat-8-x86_64.facts +267 -53
  75. data/facts/4.0/rocky-8-x86_64.facts +523 -0
  76. data/facts/4.0/scientific-7-x86_64.facts +691 -0
  77. data/facts/4.0/solaris-11-sun4v.facts +1 -6
  78. data/facts/4.0/ubuntu-18.04-x86_64.facts +280 -62
  79. data/facts/4.0/ubuntu-20.04-x86_64.facts +365 -75
  80. data/facts/4.0/ubuntu-21.04-x86_64.facts +646 -0
  81. data/facts/4.0/ubuntu-21.10-x86_64.facts +624 -0
  82. data/facts/4.1/almalinux-8-x86_64.facts +544 -0
  83. data/facts/4.1/debian-11-x86_64.facts +256 -68
  84. data/facts/4.1/fedora-32-x86_64.facts +508 -0
  85. data/facts/4.1/fedora-33-x86_64.facts +507 -0
  86. data/facts/4.1/fedora-34-x86_64.facts +511 -0
  87. data/facts/4.1/fedora-35-x86_64.facts +506 -0
  88. data/facts/4.1/freebsd-11-x86_64.facts +237 -22
  89. data/facts/4.1/freebsd-12-x86_64.facts +239 -24
  90. data/facts/4.1/freebsd-13-x86_64.facts +287 -18
  91. data/facts/4.1/redhat-8-x86_64.facts +267 -53
  92. data/facts/4.1/rocky-8-x86_64.facts +525 -0
  93. data/facts/4.1/ubuntu-18.04-x86_64.facts +280 -62
  94. data/facts/4.1/ubuntu-20.04-x86_64.facts +365 -75
  95. data/facts/4.1/ubuntu-21.04-x86_64.facts +648 -0
  96. data/facts/4.1/ubuntu-21.10-x86_64.facts +626 -0
  97. data/facts/4.2/almalinux-8-x86_64.facts +550 -0
  98. data/facts/4.2/centos-9-x86_64.facts +14 -3
  99. data/facts/4.2/debian-11-x86_64.facts +255 -67
  100. data/facts/4.2/fedora-32-x86_64.facts +508 -0
  101. data/facts/4.2/fedora-33-x86_64.facts +507 -0
  102. data/facts/4.2/fedora-34-x86_64.facts +511 -0
  103. data/facts/4.2/fedora-35-x86_64.facts +506 -0
  104. data/facts/4.2/freebsd-11-x86_64.facts +22 -22
  105. data/facts/4.2/freebsd-12-x86_64.facts +25 -25
  106. data/facts/4.2/freebsd-13-x86_64.facts +242 -26
  107. data/facts/4.2/oraclelinux-7-x86_64.facts +593 -0
  108. data/facts/4.2/oraclelinux-9-x86_64.facts +302 -0
  109. data/facts/4.2/redhat-7-x86_64.facts +593 -0
  110. data/facts/4.2/redhat-8-x86_64.facts +267 -53
  111. data/facts/4.2/redhat-9-x86_64.facts +302 -0
  112. data/facts/4.2/rocky-8-x86_64.facts +525 -0
  113. data/facts/4.2/scientific-7-x86_64.facts +593 -0
  114. data/facts/4.2/ubuntu-18.04-x86_64.facts +280 -62
  115. data/facts/4.2/ubuntu-20.04-x86_64.facts +365 -75
  116. data/facts/4.2/ubuntu-21.04-x86_64.facts +654 -0
  117. data/facts/4.2/ubuntu-21.10-x86_64.facts +632 -0
  118. data/facts/Gemfile +3 -0
  119. data/facts/Vagrantfile +54 -1
  120. data/facts/get_facts.sh +46 -5
  121. data/lib/facterdb/version.rb +1 -1
  122. data/spec/facts_spec.rb +27 -27
  123. metadata +39 -3
data/facts/Vagrantfile CHANGED
@@ -43,6 +43,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
43
43
  host.vm.provision "shell", path: "get_facts.sh"
44
44
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
45
45
  end
46
+ config.vm.define "ubuntu-20.04-x86_64" do |host|
47
+ host.vm.box = "ubuntu/focal64"
48
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
49
+ host.vm.provision "shell", path: "get_facts.sh"
50
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
51
+ end
52
+ config.vm.define "ubuntu-21.04-x86_64" do |host|
53
+ host.vm.box = "ubuntu/hirsute64"
54
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
55
+ host.vm.provision "shell", path: "get_facts.sh"
56
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
57
+ end
58
+ config.vm.define "ubuntu-21.10-x86_64" do |host|
59
+ host.vm.box = "ubuntu/impish64"
60
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
61
+ host.vm.provision "shell", path: "get_facts.sh"
62
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
63
+ end
46
64
  config.vm.define "centos-7-x86_64" do |host|
47
65
  host.vm.box = "centos/7"
48
66
  host.vm.network :private_network, ip: '10.0.0.2'
@@ -70,7 +88,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
70
88
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
71
89
  end
72
90
  config.vm.define "rockylinux-8-x86_64" do |host|
73
- host.vm.box = "https://github.com/anoncam/rocky-linux-vagrant/blob/main/rockylinux.box"
91
+ host.vm.box = "generic/rocky8"
74
92
  host.vm.synced_folder ".", "/vagrant"
75
93
  host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
76
94
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
@@ -280,4 +298,39 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
280
298
  host.vm.provision "shell", path: "get_facts.sh"
281
299
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
282
300
  end
301
+ config.vm.define "fedora-32-x86_64" do |host|
302
+ host.vm.box = "generic/fedora32"
303
+ host.vm.synced_folder ".", "/vagrant"
304
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
305
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
306
+ host.vm.provision "shell", path: "get_facts.sh"
307
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
308
+ end
309
+ config.vm.define "fedora-33-x86_64" do |host|
310
+ host.vm.box = "generic/fedora33"
311
+ host.vm.synced_folder ".", "/vagrant"
312
+ # there's no official support for fedora 33, so we need ruby and facter from Fedora
313
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools ruby ruby-devel facter"
314
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
315
+ host.vm.provision "shell", path: "get_facts.sh"
316
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
317
+ end
318
+ config.vm.define "fedora-34-x86_64" do |host|
319
+ host.vm.box = "generic/fedora34"
320
+ host.vm.synced_folder ".", "/vagrant"
321
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
322
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
323
+ host.vm.provision "shell", path: "get_facts.sh"
324
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
325
+ end
326
+ config.vm.define "fedora-35-x86_64" do |host|
327
+ host.vm.box = "generic/fedora35"
328
+ host.vm.synced_folder ".", "/vagrant"
329
+ # there's no official support for fedora 35, so we need ruby 2.7 and facter from Fedora
330
+ host.vm.provision "shell", inline: "dnf -y module install ruby:2.7/default"
331
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools facter ruby-devel"
332
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
333
+ host.vm.provision "shell", path: "get_facts.sh"
334
+ host.vm.provision "shell", inline: "/sbin/shutdown -h now"
335
+ end
283
336
  end
data/facts/get_facts.sh CHANGED
@@ -97,9 +97,10 @@ case "${osfamily}" in
97
97
  done
98
98
  yum remove -y puppet5-release
99
99
  fi
100
+ # Puppet 6
100
101
  yum install -y "https://yum.puppetlabs.com/puppet6-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
101
102
  if [[ "${?}" == 0 ]]; then
102
- for puppet_agent_version in 6.2.0-1 6.4.2-1 6.6.0-1; do
103
+ for puppet_agent_version in 6.25.0-1; do
103
104
  dnf install -y "puppet-agent-${puppet_agent_version}.fc${operatingsystemmajrelease}"
104
105
  if [[ "${?}" == 0 ]]; then
105
106
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
@@ -109,6 +110,24 @@ case "${osfamily}" in
109
110
  done
110
111
  yum remove -y puppet6-release
111
112
  fi
113
+ # Puppet 7
114
+ if [[ $operatingsystemmajrelease == '33' ]] && command -v facter &> /dev/null; then
115
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
116
+ mkdir -p $(dirname ${output_file})
117
+ facter --show-legacy -p -j | tee ${output_file}
118
+ fi
119
+ yum install -y "https://yum.puppetlabs.com/puppet7-release-fedora-${operatingsystemmajrelease}.noarch.rpm"
120
+ if [[ "${?}" == 0 ]]; then
121
+ for puppet_agent_version in 7.12.0-1; do
122
+ dnf install -y "puppet-agent-${puppet_agent_version}.fc${operatingsystemmajrelease}"
123
+ if [[ "${?}" == 0 ]]; then
124
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
125
+ mkdir -p $(dirname ${output_file})
126
+ facter --show-legacy -p -j | tee ${output_file}
127
+ fi
128
+ done
129
+ yum remove -y puppet7-release
130
+ fi
112
131
  ;;
113
132
  'RedHat')
114
133
  if [[ ${operatingsystemmajrelease} -eq 5 ]]; then
@@ -155,6 +174,18 @@ case "${osfamily}" in
155
174
  done
156
175
  yum remove -y puppet6-release
157
176
  fi
177
+ wget "http://yum.puppetlabs.com/puppet7-release-el-${operatingsystemmajrelease}.noarch.rpm" -O /tmp/puppet7-release.rpm
178
+ if test -f /tmp/puppet7-release.rpm; then
179
+ rpm -ivh /tmp/puppet7-release.rpm
180
+ for puppet_agent_version in 7.5.0 7.6.1 7.12.0; do
181
+ if yum install -y puppet-agent-${puppet_agent_version}; then
182
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
183
+ mkdir -p $(dirname ${output_file})
184
+ facter --show-legacy -p -j | tee ${output_file}
185
+ fi
186
+ done
187
+ yum remove -y puppet7-release
188
+ fi
158
189
  ;;
159
190
  'RockyLinux'|'AlmaLinux')
160
191
  dnf localinstall -y "http://yum.puppetlabs.com/puppet6-release-el-${operatingsystemmajrelease}.noarch.rpm"
@@ -212,11 +243,24 @@ case "${osfamily}" in
212
243
  done
213
244
  apt-get -y remove --purge puppet6-release
214
245
  fi
246
+ curl "https://apt.puppetlabs.com/puppet7-release-${lsbdistcodename}.deb" -o /tmp/puppet7-release.deb
247
+ if test "$?" -eq 0 -a -f /tmp/puppet7-release.deb; then
248
+ dpkg --install /tmp/puppet7-release.deb
249
+ apt-get update
250
+ for puppet_agent_version in 7.5.0 7.6.1 7.12.0; do
251
+ if apt_install puppet-agent=${puppet_agent_version}*; then
252
+ output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
253
+ mkdir -p $(dirname ${output_file})
254
+ facter --show-legacy -p -j | tee ${output_file}
255
+ fi
256
+ done
257
+ apt-get -y remove --purge puppet7-release
258
+ fi
215
259
  apt_install make gcc libgmp-dev
216
260
 
217
261
  # There are no puppet-agent packages for Buster yet, so generate a Facter 3.x
218
262
  # fact set from the official Debian package.
219
- if [[ "buster" = "${lsbdistcodename}" ]]; then
263
+ if [[ "buster" = "${lsbdistcodename}" || "hirsute" =~ ${lsbdistcodename} || "impish" =~ ${lsbdistcodename} ]]; then
220
264
  apt_install ruby rubygems ruby-dev puppet facter
221
265
  output_file="/vagrant/$(facter --version | cut -d. -f1,2)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
222
266
  mkdir -p $(dirname ${output_file})
@@ -326,9 +370,6 @@ for version in 4.0.0 4.1.0 4.2.0; do
326
370
  ls -l /vagrant > /dev/null
327
371
 
328
372
  case "${operatingsystem}" in
329
- almalinux|rocky)
330
- break
331
- ;;
332
373
  openbsd)
333
374
  output_file="/vagrant/$(bundle exec facter --version | cut -d. -f1,2)/${operatingsystem}-${operatingsystemrelease}-${hardwaremodel}.facts"
334
375
  ;;
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '1.10.1'
3
+ STRING = '1.12.2'
4
4
  end
5
5
  end
data/spec/facts_spec.rb CHANGED
@@ -62,26 +62,6 @@ describe 'Default Facts' do
62
62
  end
63
63
  end
64
64
 
65
- KNOWN_IPADDRESS_PENDING = {
66
- 'facts/1.6/fedora-19-i386.facts' => 'unable to regenerate facts',
67
- 'facts/1.6/fedora-19-x86_64.facts' => 'unable to regenerate facts',
68
- 'facts/2.1/archlinux-x86_64.facts' => 'no ifconfig package',
69
- 'facts/3.10/ubuntu-18.04-aarch64.facts' => 'unable to regenerate facts',
70
- 'facts/1.6/archlinux-x86_64.facts' => 'no ifconfig package',
71
- 'facts/2.4/archlinux-x86_64.facts' => 'no ifconfig package',
72
- 'facts/3.2/aix-61-powerpc.facts' => 'unable to regenerate facts',
73
- 'facts/3.2/aix-71-powerpc.facts' => 'unable to regenerate facts',
74
- 'facts/3.2/aix-53-powerpc.facts' => 'unable to regenerate facts',
75
- 'facts/2.3/archlinux-x86_64.facts' => 'no ifconfig package',
76
- 'facts/2.5/archlinux-x86_64.facts' => 'no ifconfig package',
77
- 'facts/1.7/archlinux-x86_64.facts' => 'no ifconfig package',
78
- 'facts/2.0/archlinux-x86_64.facts' => 'no ifconfig package',
79
- 'facts/2.2/archlinux-x86_64.facts' => 'no ifconfig package',
80
- 'facts/3.6/pcs-6-x86_64.facts' => 'unable to regenerate facts',
81
- 'facts/3.0/ubuntu-15.10-x86_64.facts' => 'no puppet-agent package',
82
- 'facts/3.0/ubuntu-15.10-i386.facts' => 'no puppet-agent package',
83
- }
84
-
85
65
  project_dir = Pathname.new(__dir__).parent
86
66
  FacterDB.default_fact_files.each do |filepath|
87
67
  relative_path = Pathname.new(filepath).relative_path_from(project_dir).to_s
@@ -100,15 +80,35 @@ describe 'Default Facts' do
100
80
  expect(content['facterversion']).to have_facter_version(facter_dir_path, filepath)
101
81
  end
102
82
 
103
- it 'contains an ipaddress or networking.ip fact' do
104
- pending KNOWN_IPADDRESS_PENDING[relative_path] if KNOWN_IPADDRESS_PENDING.key?(relative_path)
105
- case content['facterversion']
106
- when /^[1-3]/
107
- expect(content['ipaddress']).to not_be_nil.and not_be_empty
108
- else
83
+ it 'contains newer networking facts hash' do
84
+ if Gem::Version.new(content['facterversion']) >= Gem::Version.new('3.0.0')
109
85
  expect(content['networking']['ip']).to not_be_nil.and not_be_empty
86
+ expect(content['networking']['hostname']).to eq('foo')
87
+ expect(content['networking']['domain']).to eq('example.com')
88
+ expect(content['networking']['fqdn']).to eq('foo.example.com')
110
89
  end
111
-
90
+ end
91
+ it 'contains the legacy ipaddress fact' do
92
+ expect(content['ipaddress']).to not_be_nil.and not_be_empty
93
+ end
94
+ it 'contains no facts from puppetlabs/stdlib' do
95
+ expect(content['root_home']).to be_nil
96
+ expect(content['service_provider']).to be_nil
97
+ expect(content['puppet_vardir']).to be_nil
98
+ expect(content['puppet_environmentpath']).to be_nil
99
+ expect(content['puppet_server']).to be_nil
100
+ expect(content['pe_version']).to be_nil
101
+ expect(content['package_provider']).to be_nil
102
+ end
103
+ it 'contains no facts from puppet/systemd' do
104
+ expect(content['systemd']).to be_nil
105
+ expect(content['systemd_version']).to be_nil
106
+ expect(content['systemd_internal_services']).to be_nil
107
+ end
108
+ it 'contains a legacy hostname, domain and fqdn fact' do
109
+ expect(content['hostname']).to eq('foo')
110
+ expect(content['fqdn']).to eq('foo.example.com')
111
+ expect(content['domain']).to eq('example.com')
112
112
  end
113
113
  end
114
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.10.1
4
+ version: 1.12.2
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-10-09 00:00:00.000000000 Z
11
+ date: 2021-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -1325,6 +1325,9 @@ files:
1325
1325
  - facts/3.14/fedora-28-x86_64.facts
1326
1326
  - facts/3.14/fedora-29-x86_64.facts
1327
1327
  - facts/3.14/fedora-30-x86_64.facts
1328
+ - facts/3.14/fedora-32-x86_64.facts
1329
+ - facts/3.14/fedora-33-x86_64.facts
1330
+ - facts/3.14/fedora-34-x86_64.facts
1328
1331
  - facts/3.14/freebsd-11-amd64.facts
1329
1332
  - facts/3.14/freebsd-11-x86_64.facts
1330
1333
  - facts/3.14/freebsd-12-amd64.facts
@@ -1351,6 +1354,8 @@ files:
1351
1354
  - facts/3.14/ubuntu-16.04-x86_64.facts
1352
1355
  - facts/3.14/ubuntu-18.04-x86_64.facts
1353
1356
  - facts/3.14/ubuntu-20.04-x86_64.facts
1357
+ - facts/3.14/ubuntu-21.04-x86_64.facts
1358
+ - facts/3.14/ubuntu-21.10-x86_64.facts
1354
1359
  - facts/3.14/windows-10-i386.facts
1355
1360
  - facts/3.14/windows-10-x86_64.facts
1356
1361
  - facts/3.14/windows-2012 r2-core-x86_64.facts
@@ -1737,20 +1742,39 @@ files:
1737
1742
  - facts/4.0/centos-7-x86_64.facts
1738
1743
  - facts/4.0/debian-10-x86_64.facts
1739
1744
  - facts/4.0/debian-11-x86_64.facts
1745
+ - facts/4.0/fedora-32-x86_64.facts
1746
+ - facts/4.0/fedora-33-x86_64.facts
1747
+ - facts/4.0/fedora-34-x86_64.facts
1748
+ - facts/4.0/fedora-35-x86_64.facts
1740
1749
  - facts/4.0/freebsd-11-x86_64.facts
1741
1750
  - facts/4.0/freebsd-12-x86_64.facts
1742
1751
  - facts/4.0/freebsd-13-x86_64.facts
1752
+ - facts/4.0/oraclelinux-7-x86_64.facts
1753
+ - facts/4.0/redhat-7-x86_64.facts
1743
1754
  - facts/4.0/redhat-8-x86_64.facts
1755
+ - facts/4.0/rocky-8-x86_64.facts
1756
+ - facts/4.0/scientific-7-x86_64.facts
1744
1757
  - facts/4.0/solaris-11-sun4v.facts
1745
1758
  - facts/4.0/ubuntu-18.04-x86_64.facts
1746
1759
  - facts/4.0/ubuntu-20.04-x86_64.facts
1760
+ - facts/4.0/ubuntu-21.04-x86_64.facts
1761
+ - facts/4.0/ubuntu-21.10-x86_64.facts
1762
+ - facts/4.1/almalinux-8-x86_64.facts
1747
1763
  - facts/4.1/debian-11-x86_64.facts
1764
+ - facts/4.1/fedora-32-x86_64.facts
1765
+ - facts/4.1/fedora-33-x86_64.facts
1766
+ - facts/4.1/fedora-34-x86_64.facts
1767
+ - facts/4.1/fedora-35-x86_64.facts
1748
1768
  - facts/4.1/freebsd-11-x86_64.facts
1749
1769
  - facts/4.1/freebsd-12-x86_64.facts
1750
1770
  - facts/4.1/freebsd-13-x86_64.facts
1751
1771
  - facts/4.1/redhat-8-x86_64.facts
1772
+ - facts/4.1/rocky-8-x86_64.facts
1752
1773
  - facts/4.1/ubuntu-18.04-x86_64.facts
1753
1774
  - facts/4.1/ubuntu-20.04-x86_64.facts
1775
+ - facts/4.1/ubuntu-21.04-x86_64.facts
1776
+ - facts/4.1/ubuntu-21.10-x86_64.facts
1777
+ - facts/4.2/almalinux-8-x86_64.facts
1754
1778
  - facts/4.2/centos-7-x86_64.facts
1755
1779
  - facts/4.2/centos-8-x86_64.facts
1756
1780
  - facts/4.2/centos-9-x86_64.facts
@@ -1758,13 +1782,25 @@ files:
1758
1782
  - facts/4.2/debian-10-x86_64.facts
1759
1783
  - facts/4.2/debian-11-x86_64.facts
1760
1784
  - facts/4.2/debian-9-x86_64.facts
1785
+ - facts/4.2/fedora-32-x86_64.facts
1786
+ - facts/4.2/fedora-33-x86_64.facts
1787
+ - facts/4.2/fedora-34-x86_64.facts
1788
+ - facts/4.2/fedora-35-x86_64.facts
1761
1789
  - facts/4.2/freebsd-11-x86_64.facts
1762
1790
  - facts/4.2/freebsd-12-x86_64.facts
1763
1791
  - facts/4.2/freebsd-13-x86_64.facts
1792
+ - facts/4.2/oraclelinux-7-x86_64.facts
1764
1793
  - facts/4.2/oraclelinux-8-x86_64.facts
1794
+ - facts/4.2/oraclelinux-9-x86_64.facts
1795
+ - facts/4.2/redhat-7-x86_64.facts
1765
1796
  - facts/4.2/redhat-8-x86_64.facts
1797
+ - facts/4.2/redhat-9-x86_64.facts
1798
+ - facts/4.2/rocky-8-x86_64.facts
1799
+ - facts/4.2/scientific-7-x86_64.facts
1766
1800
  - facts/4.2/ubuntu-18.04-x86_64.facts
1767
1801
  - facts/4.2/ubuntu-20.04-x86_64.facts
1802
+ - facts/4.2/ubuntu-21.04-x86_64.facts
1803
+ - facts/4.2/ubuntu-21.10-x86_64.facts
1768
1804
  - facts/Gemfile
1769
1805
  - facts/Vagrantfile
1770
1806
  - facts/Windows_README.md
@@ -1812,7 +1848,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1812
1848
  - !ruby/object:Gem::Version
1813
1849
  version: '0'
1814
1850
  requirements: []
1815
- rubygems_version: 3.2.22
1851
+ rubygems_version: 3.2.32
1816
1852
  signing_key:
1817
1853
  specification_version: 4
1818
1854
  summary: A Database of OS facts provided by Facter