diff --git a/puppet/Puppetfile b/puppet/Puppetfile index 32d77aa38..76c67c8cc 100644 --- a/puppet/Puppetfile +++ b/puppet/Puppetfile @@ -13,7 +13,7 @@ mod 'puppet/extlib', '7.0.0' mod 'puppet/jenkins', '5.0.0' mod 'puppet/letsencrypt', '11.0.0' mod 'puppet/mosquitto', '2.1.0' -mod 'puppet/nodejs', '10.0.0' +mod 'puppet/nodejs', '11.0.0' mod 'puppet/pbuilder', '2.0.0' mod 'puppet/redis', '11.0.0' mod 'puppet/selinux', '4.1.0' diff --git a/puppet/modules/jenkins_node/manifests/unittests.pp b/puppet/modules/jenkins_node/manifests/unittests.pp index 2db37eb4a..001898f19 100644 --- a/puppet/modules/jenkins_node/manifests/unittests.pp +++ b/puppet/modules/jenkins_node/manifests/unittests.pp @@ -70,11 +70,11 @@ stdlib::ensure_packages(['python3-virtualenv']) # nodejs/npm for JavaScript tests - if $facts['os']['family'] == 'RedHat' { + if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '9' { class { 'nodejs': - repo_url_suffix => '14.x', - nodejs_package_ensure => latest, - npm_package_name => false, + repo_version => '18', + repo_class => 'nodejs::repo::dnfmodule', + npm_package_name => false, } -> Package <| provider == 'npm' |> package { 'bower':