Skip to content

Commit b0327ea

Browse files
committed
drop repo_priority modifications from acceptance, base it on the default from params.pp
1 parent 01633e7 commit b0327ea

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

spec/acceptance/class_spec.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,11 @@ def nodesource_unsupported(nodejs_version)
4040

4141
include_examples 'cleanup'
4242

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-
5243
it_behaves_like 'an idempotent resource' do
5344
let(:manifest) do
5445
<<-PUPPET
5546
class { 'nodejs':
5647
repo_version => '#{nodejs_version}',
57-
repo_priority => #{repo_priority},
5848
}
5949
PUPPET
6050
end

0 commit comments

Comments
 (0)