Add support for FreeBSD #108
Annotations
10 errors
spec/defines/raw_ruleset_spec.rb#L34
patterndb::raw::ruleset freebsd-13-amd64 without package_name Raw ruleset with only source is expected to contain File[/etc/syslog-ng/patterndb.d/default/myrawruleset.pdb]
Failure/Error: is_expected.to contain_file('/etc/syslog-ng/patterndb.d/default/myrawruleset.pdb')
expected that the catalogue would contain File[/etc/syslog-ng/patterndb.d/default/myrawruleset.pdb]
|
spec/defines/raw_ruleset_spec.rb#L47
patterndb::raw::ruleset freebsd-13-amd64 without package_name Raw rulesets with directory is expected to contain File[/etc/syslog-ng/patterndb.d/default/myrawruleset] with ensure => "directory"
Failure/Error:
is_expected.to contain_file('/etc/syslog-ng/patterndb.d/default/myrawruleset').with(
ensure: 'directory'
)
expected that the catalogue would contain File[/etc/syslog-ng/patterndb.d/default/myrawruleset]
|
spec/classes/patterndb_spec.rb#L45
patterndb Unsupported OS without package_name is expected to raise Puppet::Error
Failure/Error: it { is_expected.to raise_error(Puppet::Error) }
expected Puppet::Error but nothing was raised
|
spec/defines/simple_rule_spec.rb#L37
patterndb::simple::rule almalinux-8-x86_64 without package_name Simple invalid rule with no patterns is expected to raise Exception with message matching /patterns/m
Failure/Error: it { expect { is_expected.to compile }.to raise_error(%r{patterns}m) }
expected Exception with message matching /patterns/m, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: Evaluation Error: Error whil..._dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net> with backtrace:
# ./spec/defines/simple_rule_spec.rb:37:in `block (6 levels) in <top (required)>'
# ./spec/defines/simple_rule_spec.rb:37:in `block (5 levels) in <top (required)>'
|
spec/defines/simple_rule_spec.rb#L47
patterndb::simple::rule almalinux-8-x86_64 without package_name Simple invalid rule with no ruleset is expected to raise Exception with message matching /ruleset/m
Failure/Error: it { expect { is_expected.to compile }.to raise_error(%r{ruleset}m) }
expected Exception with message matching /ruleset/m, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: Evaluation Error: Error whil..._dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net> with backtrace:
# ./spec/defines/simple_rule_spec.rb:47:in `block (6 levels) in <top (required)>'
# ./spec/defines/simple_rule_spec.rb:47:in `block (5 levels) in <top (required)>'
|
spec/defines/simple_rule_spec.rb#L58
patterndb::simple::rule almalinux-8-x86_64 without package_name Simple invalid rule with inexisting ruleset is expected to raise Exception with message matching /Failed while trying to define rule.*for undeclared ruleset/m
Failure/Error: it { expect { is_expected.to compile }.to raise_error(%r{Failed while trying to define rule.*for undeclared ruleset}m) }
expected Exception with message matching /Failed while trying to define rule.*for undeclared ruleset/m, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: Evaluation Error: Error whil..._dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net> with backtrace:
# ./spec/defines/simple_rule_spec.rb:58:in `block (6 levels) in <top (required)>'
# ./spec/defines/simple_rule_spec.rb:58:in `block (5 levels) in <top (required)>'
|
spec/defines/simple_rule_spec.rb#L69
patterndb::simple::rule almalinux-8-x86_64 without package_name Simple rule with 1 string pattern and ruleset is expected to contain Patterndb::Simple::Ruleset[myruleset]
Failure/Error: is_expected.to contain_patterndb__simple__ruleset('myruleset')
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[Patterndb]: has no parameter named 'base_dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net
|
spec/defines/simple_rule_spec.rb#L77
patterndb::simple::rule almalinux-8-x86_64 without package_name Simple rule with 1 string pattern and ruleset is expected to contain Concat[patterndb_simple_ruleset-myruleset] with path => "/BASEDIR/etc/syslog-ng/patterndb.d/default/myruleset.pdb"
Failure/Error:
is_expected.to contain_concat('patterndb_simple_ruleset-myruleset').with(
path: '/BASEDIR/etc/syslog-ng/patterndb.d/default/myruleset.pdb'
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Class[Patterndb]: has no parameter named 'base_dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net
|
spec/defines/simple_rule_spec.rb#L37
patterndb::simple::rule centos-7-x86_64 without package_name Simple invalid rule with no patterns is expected to raise Exception with message matching /patterns/m
Failure/Error: it { expect { is_expected.to compile }.to raise_error(%r{patterns}m) }
expected Exception with message matching /patterns/m, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: Evaluation Error: Error whil..._dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net> with backtrace:
# ./spec/defines/simple_rule_spec.rb:37:in `block (6 levels) in <top (required)>'
# ./spec/defines/simple_rule_spec.rb:37:in `block (5 levels) in <top (required)>'
|
spec/defines/simple_rule_spec.rb#L47
patterndb::simple::rule centos-7-x86_64 without package_name Simple invalid rule with no ruleset is expected to raise Exception with message matching /ruleset/m
Failure/Error: it { expect { is_expected.to compile }.to raise_error(%r{ruleset}m) }
expected Exception with message matching /ruleset/m, got #<RSpec::Expectations::ExpectationNotMetError: error during compilation: Evaluation Error: Error whil..._dir' (line: 2, column: 1) on node fv-az730-719.giq0qrnyxryejfd2nehpp3f3oh.ex.internal.cloudapp.net> with backtrace:
# ./spec/defines/simple_rule_spec.rb:47:in `block (6 levels) in <top (required)>'
# ./spec/defines/simple_rule_spec.rb:47:in `block (5 levels) in <top (required)>'
|
This job failed
Loading