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 01633e7 commit b0327eaCopy full SHA for b0327ea
1 file changed
spec/acceptance/class_spec.rb
@@ -40,21 +40,11 @@ def nodesource_unsupported(nodejs_version)
40
41
include_examples 'cleanup'
42
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_priority =
46
- if fact('os.family') == 'Debian'
47
- '990'
48
- else
49
- 'absent'
50
- end
51
-
52
it_behaves_like 'an idempotent resource' do
53
let(:manifest) do
54
<<-PUPPET
55
class { 'nodejs':
56
repo_version => '#{nodejs_version}',
57
- repo_priority => #{repo_priority},
58
}
59
PUPPET
60
end
0 commit comments