Skip to content

r10k::config: don't inherit params class #139

r10k::config: don't inherit params class

r10k::config: don't inherit params class #139

Triggered via pull request July 29, 2023 10:09
Status Failure
Total duration 1m 54s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

20 errors
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L12
r10k::config on gentoo-2-x86_64 with defaults is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Unknown variable: 'r10k::sources'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 12, column: 6) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L26
r10k::config on gentoo-2-x86_64 modified file locations and ownership is expected to contain Class[r10k::params] Failure/Error: it { is_expected.to contain_class('r10k::params') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L28
r10k::config on gentoo-2-x86_64 modified file locations and ownership is expected to contain File[r10k.yaml] with ensure => "file", owner => "root", group => "root", mode => "0644" and path => "/etc/r10k.yaml" Failure/Error: expect(subject).to contain_file('r10k.yaml').with( ensure: 'file', owner: 'root', group: 'root', mode: '0644', path: '/etc/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L46
r10k::config on gentoo-2-x86_64 set to value true and a configfile specified is expected to contain File[symlink_r10k.yaml] with ensure => "link", path => "/etc/r10k.yaml" and target => "/etc/puppetlabs/r10k/r10k.yaml" Failure/Error: expect(subject).to contain_file('symlink_r10k.yaml').with( ensure: 'link', path: '/etc/r10k.yaml', target: '/etc/puppetlabs/r10k/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'manage_configfile_symlink' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L62
r10k::config on gentoo-2-x86_64 Managing r10k with rugged turned on via git_settings is expected to contain File[r10k.yaml] with content =~ /git:\n.*private_key: "\/root\/\.ssh\/id_dsa"\n.*provider: rugged\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n.*private_key: "/root/\.ssh/id_dsa"\n.*provider: rugged\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'git_settings' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L12
r10k on gentoo-2-x86_64 with default values is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Function Call, Class[R10k]: parameter 'deploy_settings' expects a Hash value, got Undef (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L77
r10k::config on gentoo-2-x86_64 managing git repository settings is expected to contain File[r10k.yaml] with content =~ /git:\n\s+repositories:\n\s+- remote: https:\/\/github\.com\/voxpupuli\/fake_repo\n\s+proxy: http:\/\/some\.proxy\.com\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n\s+repositories:\n\s+- remote: https://github\.com/voxpupuli/fake_repo\n\s+proxy: http://some\.proxy\.com\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'git_settings' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L87
r10k::config on gentoo-2-x86_64 manage forge settings of r10k via forge_settings is expected to contain File[r10k.yaml] with content =~ /forge:\n.*baseurl: https:\/\/forgeapi\.puppetlabs\.com\n.*proxy: https:\/\/proxy\.example\.com:3128\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{forge:\n.*baseurl: https://forgeapi\.puppetlabs\.com\n.*proxy: https://proxy\.example\.com:3128\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'forge_settings' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L13
r10k on gentoo-2-x86_64 with default values is expected to contain Class[r10k::install] Failure/Error: it { is_expected.to contain_class('r10k::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Class[R10k]: parameter 'deploy_settings' expects a Hash value, got Undef (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/config_spec.rb#L102
r10k::config on gentoo-2-x86_64 with optional parameter postrun specified with array of system call "/usr/bin/curl -F deploy=done http://my-app.site/endpoint" is expected to contain File[r10k.yaml] with content =~ /^postrun:\n.*"\/usr\/bin\/curl"\n.*"-F"\n.*deploy=done\n.*http:\/\/my-app\.site\/endpoint\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^postrun:\n.*"/usr/bin/curl"\n.*"-F"\n.*deploy=done\n.*http://my-app\.site/endpoint\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'postrun' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az399-952.xfxj3v4vhc3u1ao5qbfwj2dboa.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L12
r10k::config on centos-8-x86_64 with defaults is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Unknown variable: 'r10k::sources'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 12, column: 6) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L26
r10k::config on centos-8-x86_64 modified file locations and ownership is expected to contain Class[r10k::params] Failure/Error: it { is_expected.to contain_class('r10k::params') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L28
r10k::config on centos-8-x86_64 modified file locations and ownership is expected to contain File[r10k.yaml] with ensure => "file", owner => "root", group => "root", mode => "0644" and path => "/etc/r10k.yaml" Failure/Error: expect(subject).to contain_file('r10k.yaml').with( ensure: 'file', owner: 'root', group: 'root', mode: '0644', path: '/etc/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L46
r10k::config on centos-8-x86_64 set to value true and a configfile specified is expected to contain File[symlink_r10k.yaml] with ensure => "link", path => "/etc/r10k.yaml" and target => "/etc/puppetlabs/r10k/r10k.yaml" Failure/Error: expect(subject).to contain_file('symlink_r10k.yaml').with( ensure: 'link', path: '/etc/r10k.yaml', target: '/etc/puppetlabs/r10k/r10k.yaml' ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'manage_configfile_symlink' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L62
r10k::config on centos-8-x86_64 Managing r10k with rugged turned on via git_settings is expected to contain File[r10k.yaml] with content =~ /git:\n.*private_key: "\/root\/\.ssh\/id_dsa"\n.*provider: rugged\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n.*private_key: "/root/\.ssh/id_dsa"\n.*provider: rugged\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'git_settings' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L12
r10k on centos-8-x86_64 with default values is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Function Call, Class[R10k]: parameter 'deploy_settings' expects a Hash value, got Undef (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L77
r10k::config on centos-8-x86_64 managing git repository settings is expected to contain File[r10k.yaml] with content =~ /git:\n\s+repositories:\n\s+- remote: https:\/\/github\.com\/voxpupuli\/fake_repo\n\s+proxy: http:\/\/some\.proxy\.com\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{git:\n\s+repositories:\n\s+- remote: https://github\.com/voxpupuli/fake_repo\n\s+proxy: http://some\.proxy\.com\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'git_settings' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L13
r10k on centos-8-x86_64 with default values is expected to contain Class[r10k::install] Failure/Error: it { is_expected.to contain_class('r10k::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, Class[R10k]: parameter 'deploy_settings' expects a Hash value, got Undef (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L87
r10k::config on centos-8-x86_64 manage forge settings of r10k via forge_settings is expected to contain File[r10k.yaml] with content =~ /forge:\n.*baseurl: https:\/\/forgeapi\.puppetlabs\.com\n.*proxy: https:\/\/proxy\.example\.com:3128\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{forge:\n.*baseurl: https://forgeapi\.puppetlabs\.com\n.*proxy: https://proxy\.example\.com:3128\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'forge_settings' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/config_spec.rb#L102
r10k::config on centos-8-x86_64 with optional parameter postrun specified with array of system call "/usr/bin/curl -F deploy=done http://my-app.site/endpoint" is expected to contain File[r10k.yaml] with content =~ /^postrun:\n.*"\/usr\/bin\/curl"\n.*"-F"\n.*deploy=done\n.*http:\/\/my-app\.site\/endpoint\n/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^postrun:\n.*"/usr/bin/curl"\n.*"-F"\n.*deploy=done\n.*http://my-app\.site/endpoint\n}) } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'configfile' has no parameter named 'cachedir' has no parameter named 'manage_modulepath' has no parameter named 'postrun' has no parameter named 'root_user' has no parameter named 'root_group' (line: 2, column: 1) on node fv-az553-714.zc1u1lbs04yetn3u4av55kheog.jx.internal.cloudapp.net