r10k::config: don't inherit params class #146
ci.yml
on: pull_request
Puppet
/
Static validations
18s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/classes/config_spec.rb#L112
r10k::config on gentoo-2-x86_64 with empty proxy is expected to contain File[r10k.yaml] with content !~ /^proxy: .*$/
Failure/Error: it { is_expected.to contain_file('r10k.yaml').without_content(%r{^proxy: .*$}) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'proxy' (line: 2, column: 1) on node fv-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.internal.cloudapp.net
|
Puppet / 8 (Ruby 3.2):
spec/classes/config_spec.rb#L122
r10k::config on gentoo-2-x86_64 with proxy is expected to contain File[r10k.yaml] with content =~ /^proxy: https:\/\/proxy.local:8080$/
Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^proxy: https://proxy.local:8080$}) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'proxy' (line: 2, column: 1) on node fv-az581-473.nvteuoyyzb5e5f4nqjhax2omta.phxx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.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-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/config_spec.rb#L112
r10k::config on centos-8-x86_64 with empty proxy is expected to contain File[r10k.yaml] with content !~ /^proxy: .*$/
Failure/Error: it { is_expected.to contain_file('r10k.yaml').without_content(%r{^proxy: .*$}) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'proxy' (line: 2, column: 1) on node fv-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.internal.cloudapp.net
|
Puppet / 7 (Ruby 2.7):
spec/classes/config_spec.rb#L122
r10k::config on centos-8-x86_64 with proxy is expected to contain File[r10k.yaml] with content =~ /^proxy: https:\/\/proxy.local:8080$/
Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^proxy: https://proxy.local:8080$}) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Config]: has no parameter named 'proxy' (line: 2, column: 1) on node fv-az572-834.xfljd2mj00zetb5gvhv1u2zrtd.dx.internal.cloudapp.net
|