We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55468e5 commit afebd4cCopy full SHA for afebd4c
1 file changed
spec/acceptance/class_spec.rb
@@ -43,10 +43,10 @@ def nodesource_unsupported(nodejs_version)
43
# Debian 12 contains NodeJS 18, when we test 16 and 18, we need to force the nodesource version
44
# as Debians versions *can* be newer
45
repo_pin =
46
- if %w[16 18].include?(nodejs_version) && fact('os.family') == 'Debian' && %w[12 13].include?(fact('os.release.major'))
47
- '1000'
+ if fact('os.family') == 'Debian'
+ '990'
48
else
49
- 'undef'
+ 'absent'
50
end
51
52
it_behaves_like 'an idempotent resource' do
0 commit comments