Skip to content

Clean up fixtures and codebase hardening #75

Clean up fixtures and codebase hardening

Clean up fixtures and codebase hardening #75

Triggered via pull request February 15, 2024 09:10
Status Failure
Total duration 2m 17s
Artifacts

ci.yml

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

Annotations

10 errors
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L17
monit::check with default values for parameters 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: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L18
monit::check with default values for parameters is expected to contain Class[monit] Failure/Error: it { is_expected.to contain_class('monit') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L20
monit::check with default values for parameters is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L40
monit::check with ensure set to valid <absent> is expected to contain File[/etc/monit/conf.d/test] with ensure => "absent", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => value, 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L40
monit::check with ensure set to valid <present> is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => value, 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L67
monit::check with content set to a valid value is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source defined, content supplied string, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => nil, 'content' => content, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L86
monit::check with source set to a valid value is expected to contain File[/etc/monit/conf.d/test] with ensure => "present", owner => "root", group => "root", mode => "0644", source => "puppet:///modules/monit/ntp", content defined, notify => "Service[monit]" and require => "Package[monit]" Failure/Error: is_expected.to contain_file('/etc/monit/conf.d/test').with('ensure' => 'present', 'owner' => 'root', 'group' => 'root', 'mode' => '0644', 'source' => 'puppet:///modules/monit/ntp', 'content' => nil, 'notify' => 'Service[monit]', 'require' => 'Package[monit]') Puppet::PreformattedError: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L106
monit::check with content and source set at the same time fails Failure/Error: is_expected.to compile.and_raise_error(%r{Parameters source and content are mutually exclusive}) error during compilation: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L153
monit::check variable type and content validations with ensure (regex_file_ensure) set to valid present (as String) is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/check_spec.rb#L153
monit::check variable type and content validations with ensure (regex_file_ensure) set to valid absent (as String) is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Unknown variable: 'monit::config_dir_purge_bool'. (file: /home/runner/work/puppet-monit/puppet-monit/spec/fixtures/modules/monit/manifests/config.pp, line: 24, column: 16) on node fv-az1249-53.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net