Skip to content

Correct typing for IOReadIOPSMax, IOWriteIOPSMax,... in systemd::manage_dropin #569

Correct typing for IOReadIOPSMax, IOWriteIOPSMax,... in systemd::manage_dropin

Correct typing for IOReadIOPSMax, IOWriteIOPSMax,... in systemd::manage_dropin #569

Triggered via pull request March 9, 2024 18:14
Status Failure
Total duration 4m 11s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
23s
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/defines/timer_wrapper_spec.rb#L22
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 simple usage is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile.with_all_deps error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L75
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 with / in title is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L98
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 ensure absent is expected to contain Systemd::Manage_unit[timer_name.timer] with ensure => "absent" Failure/Error: is_expected.to contain_Systemd__Manage_unit("#{title}.timer"). with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L123
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 applies service_overrides is expected to contain File[/etc/systemd/system/timer_name.service] with content =~ /Group=bob/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.service"). with_content(%r{Group=bob}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L140
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 applies service_unit_overrides is expected to contain File[/etc/systemd/system/timer_name.service] with content =~ /Wants=network-online.target/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.service"). with_content(%r{Wants=network-online.target}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 89) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L157
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 applies timer_overrides is expected to contain File[/etc/systemd/system/timer_name.timer] with content =~ /OnBootSec=200/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.timer"). with_content(%r{OnBootSec=200}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L174
systemd::timer_wrapper supported operating systems on virtuozzolinux-7-x86_64 applies timer_unit_overrides is expected to contain File[/etc/systemd/system/timer_name.timer] with content =~ /Wants=network-online.target/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.timer"). with_content(%r{Wants=network-online.target}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L22
systemd::timer_wrapper supported operating systems on gentoo-2-x86_64 simple usage is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile.with_all_deps error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L75
systemd::timer_wrapper supported operating systems on gentoo-2-x86_64 with / in title is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/timer_wrapper_spec.rb#L98
systemd::timer_wrapper supported operating systems on gentoo-2-x86_64 ensure absent is expected to contain Systemd::Manage_unit[timer_name.timer] with ensure => "absent" Failure/Error: is_expected.to contain_Systemd__Manage_unit("#{title}.timer"). with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az775-832.ywbp5beigl5e3k0catohwgwj5f.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L22
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 simple usage is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile.with_all_deps error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L75
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 with / in title is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L98
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 ensure absent is expected to contain Systemd::Manage_unit[timer_name.timer] with ensure => "absent" Failure/Error: is_expected.to contain_Systemd__Manage_unit("#{title}.timer"). with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L123
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 applies service_overrides is expected to contain File[/etc/systemd/system/timer_name.service] with content =~ /Group=bob/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.service"). with_content(%r{Group=bob}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L140
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 applies service_unit_overrides is expected to contain File[/etc/systemd/system/timer_name.service] with content =~ /Wants=network-online.target/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.service"). with_content(%r{Wants=network-online.target}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 89) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L157
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 applies timer_overrides is expected to contain File[/etc/systemd/system/timer_name.timer] with content =~ /OnBootSec=200/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.timer"). with_content(%r{OnBootSec=200}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L174
systemd::timer_wrapper supported operating systems on redhat-8-x86_64 applies timer_unit_overrides is expected to contain File[/etc/systemd/system/timer_name.timer] with content =~ /Wants=network-online.target/ Failure/Error: is_expected.to contain_file("/etc/systemd/system/#{title}.timer"). with_content(%r{Wants=network-online.target}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L22
systemd::timer_wrapper supported operating systems on debian-10-x86_64 simple usage is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile.with_all_deps error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L75
systemd::timer_wrapper supported operating systems on debian-10-x86_64 with / in title is expected to compile into a catalogue without dependency cycles Failure/Error: is_expected.to compile error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/timer_wrapper_spec.rb#L98
systemd::timer_wrapper supported operating systems on debian-10-x86_64 ensure absent is expected to contain Systemd::Manage_unit[timer_name.timer] with ensure => "absent" Failure/Error: is_expected.to contain_Systemd__Manage_unit("#{title}.timer"). with_ensure('absent') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Method call, The function 'each' was called with arguments it does not accept. It expects one of: (Hash hash, Callable[2, 2] block) rejected: parameter 'hash' expects a Hash value, got Undef (Hash hash, Callable[1, 1] block) rejected: parameter 'hash' expects a Hash value, got Undef (Iterable enumerable, Callable[2, 2] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (Iterable enumerable, Callable[1, 1] block) rejected: parameter 'enumerable' expects an Iterable value, got Undef (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/templates/unit_file.epp, line: 59, column: 15) (file: /home/runner/work/puppet-systemd/puppet-systemd/spec/fixtures/modules/systemd/manifests/timer_wrapper.pp, line: 80) on node fv-az1019-343.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net