Skip to content

config.pp: move all defaults to params.pp #125

config.pp: move all defaults to params.pp

config.pp: move all defaults to params.pp #125

Triggered via pull request July 28, 2023 19:39
Status Cancelled
Total duration 2m 12s
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
34s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

22 errors
Puppet / 7 (Ruby 2.7)
Canceling since a higher priority waiting request for '612/merge' exists
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::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: \["\/usr\/bin\/curl", "-F", "deploy=done", "http:\/\/my-app\.site\/endpoint"\]\n.*$/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^.*:postrun: \["/usr/bin/curl", "-F", "deploy=done", "http://my-app\.site/endpoint"\]\n.*$}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az592-203.hfr0y2hpm4xe1o1mk5vg4mfmbb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2)
Canceling since a higher priority waiting request for '612/merge' exists
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::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: \["\/usr\/bin\/curl", "-F", "deploy=done", "http:\/\/my-app\.site\/endpoint"\]\n.*$/ Failure/Error: it { is_expected.to contain_file('r10k.yaml').with_content(%r{^.*:postrun: \["/usr/bin/curl", "-F", "deploy=done", "http://my-app\.site/endpoint"\]\n.*$}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.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: Unknown variable: 'r10k::r10k_yaml_template'. (file: /home/runner/work/puppet-r10k/puppet-r10k/spec/fixtures/modules/r10k/manifests/config.pp, line: 73, column: 47) on node fv-az298-666.syazwzzmnolutc2p1qz3stsjqd.jx.internal.cloudapp.net