Skip to content

Commit 74eb076

Browse files
committed
ignore old Gentoo factsets with legacy facter
facterdb contains a very old factset for Gentoo with Facter version 1.7. This version is very old and won't work at all with the current version of the module. Since we don't set a specific version for Gentoo in the metadata.json (because it's a rolling release distribution), rspec-puppet-facts will even pick those very old factsets. We are ignoring them now. facterdb contains more modern factsets so Gentoo is still tested.
1 parent 004143f commit 74eb076

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

spec/classes/python_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
describe 'python', type: :class do
44
on_supported_os.each do |os, facts|
5-
context "on #{os} " do
5+
next if os == 'gentoo-3-x86_64'
6+
context "on #{os}" do
67
let :facts do
78
facts
89
end

spec/defines/pyvenv_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
describe 'python::pyvenv', type: :define do
44
on_supported_os.each do |os, facts|
5-
context("on #{os} ") do
5+
next if os == 'gentoo-3-x86_64'
6+
context "on #{os}" do
67
let :facts do
78
# python3 is required to use pyvenv
89
facts.merge(

spec/defines/requirements_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
describe 'python::requirements', type: :define do
44
on_supported_os.each do |os, facts|
5+
next if os == 'gentoo-3-x86_64'
56
context "on #{os}" do
67
let :facts do
78
facts

0 commit comments

Comments
 (0)