Skip to content

Don't do nodejs::install when manage_package_repo is set to false. #100

Don't do nodejs::install when manage_package_repo is set to false.

Don't do nodejs::install when manage_package_repo is set to false. #100

Triggered via pull request September 21, 2023 04:22
Status Failure
Total duration 7m 5s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
40s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

38 errors and 4 warnings
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L32
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L45
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L58
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L72
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to :_secret and ensure set to present npm config set :_secret should be executed Failure/Error: is_expected.to contain_exec('npm_config present //path.to.registry/:_secret').with('command' => "#{npm_path} config set //path.to.registry/:_secret cGFzc3dvcmQ= --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L94
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to present npm config set prefer-online should be executed and require npm package Failure/Error: is_expected.to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[npm-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L98
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to present npm config set prefer-online should not require node package Failure/Error: is_expected.not_to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L120
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to absent and repo class set to nodesource npm config set loglevel should be executed and require nodejs package Failure/Error: is_expected.to contain_exec('npm_config present loglevel').with('command' => "#{npm_path} config set loglevel debug --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[node-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L32
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L45
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/global_config_entry_spec.rb#L58
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az247-300.pyoqamc1z0nuzhu5fvcxfugxug.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L32
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L45
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L58
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L72
nodejs::npm::global_config_entry on freebsd-12-amd64 with name set to :_secret and ensure set to present npm config set :_secret should be executed Failure/Error: is_expected.to contain_exec('npm_config present //path.to.registry/:_secret').with('command' => "#{npm_path} config set //path.to.registry/:_secret cGFzc3dvcmQ= --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L94
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to present npm config set prefer-online should be executed and require npm package Failure/Error: is_expected.to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[npm-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L98
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to present npm config set prefer-online should not require node package Failure/Error: is_expected.not_to contain_exec('npm_config present prefer-online').with('command' => "#{npm_path} config set prefer-online true --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[npm-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L120
nodejs::npm::global_config_entry on freebsd-12-amd64 with ensure npm package set to absent and repo class set to nodesource npm config set loglevel should be executed and require nodejs package Failure/Error: is_expected.to contain_exec('npm_config present loglevel').with('command' => "#{npm_path} config set loglevel debug --global").that_requires('Package[node-package-name]') Puppet::Error: Could not find resource 'Package[node-package-name]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L32
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to proxy and value set to proxy.domain npm config set proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present proxy').with('command' => "#{npm_path} config set proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L45
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to https-proxy and value set to proxy.domain npm config set https-proxy proxy.domain should be executed Failure/Error: is_expected.to contain_exec('npm_config present https-proxy').with('command' => "#{npm_path} config set https-proxy proxy.domain --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/global_config_entry_spec.rb#L58
nodejs::npm::global_config_entry on freebsd-13-amd64 with name set to color and ensure set to absent npm config delete color should be executed Failure/Error: is_expected.to contain_exec('npm_config absent color').with('command' => "#{npm_path} config delete color --global") Puppet::Error: Could not find resource 'Package[www/npm]' in parameter 'require' (file: /home/runner/work/puppet-nodejs/puppet-nodejs/spec/fixtures/modules/nodejs/manifests/npm/global_config_entry.pp, line: 76) on node fv-az189-872.4nfl1vxqu4qebnavkcv4zz5isf.cx.internal.cloudapp.net
Puppet / 7 - Debian 11: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 7 - Debian 11: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 7 - Debian 11
Process completed with exit code 1.
Puppet / 7 - Debian 10: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 7 - Debian 10: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 7 - Debian 10
Process completed with exit code 1.
Puppet / 8 - Debian 10: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 8 - Debian 10: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 8 - Debian 10
Process completed with exit code 1.
Puppet / 8 - Debian 11: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 8 - Debian 11: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 8 - Debian 11
Process completed with exit code 1.
Puppet / 7 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 7 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / 8 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "libnode-dev" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "libnode-dev" to be installed
Puppet / 8 - Ubuntu 20.04: spec/acceptance/class_spec.rb#L88
nodejs Debian distribution packages Package "npm" is expected to be installed Failure/Error: it { is_expected.to be_installed } expected Package "npm" to be installed
Puppet / 8 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / 7 - CentOS 9: spec/acceptance/class_spec.rb#L60
nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed
Puppet / 7 - OracleLinux 9: spec/acceptance/class_spec.rb#L60
nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed
Puppet / 8 - CentOS 9: spec/acceptance/class_spec.rb#L60
nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed
Puppet / 8 - OracleLinux 9: spec/acceptance/class_spec.rb#L60
nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed