Finish conversion to EPP templates #572
Annotations
10 errors
Run tests:
spec/classes/mod/proxy_balancer_spec.rb#L11
apache::mod::proxy_balancer default configuration with custom parameters $manager => true, $allow_from => ['10.10.10.10','11.11.11.11'], $status_path => '/custom-manager' on a Debian OS is expected to contain File[proxy_balancer.conf] with content supplied string
Failure/Error: expect(subject).to contain_file('proxy_balancer.conf').with_content(expected)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Could not find template 'apache/mod/status.conf.erb' (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/manifests/mod/status.pp, line: 47, column: 16) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L22
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[security] with id => "security2_module" and lib => "mod_security2.so"
Failure/Error:
expect(subject).to contain_apache__mod('security').with(
id: 'security2_module',
lib: 'mod_security2.so',
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L29
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Mod[unique_id] with id => "unique_id_module" and lib => "mod_unique_id.so"
Failure/Error:
expect(subject).to contain_apache__mod('unique_id').with(
id: 'unique_id_module',
lib: 'mod_unique_id.so',
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L36
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Package[mod_security_crs]
Failure/Error: it { is_expected.to contain_package('mod_security_crs') }
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L39
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with path => "/etc/httpd/conf.modules.d/security.conf"
Failure/Error:
expect(subject).to contain_file('security.conf').with(
path: '/etc/httpd/conf.modules.d/security.conf',
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L46
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[security.conf] with content =~ /^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$/, content =~ /^\s+SecAuditLogParts ABIJDEFHZ$/, content =~ /^\s+SecAuditLogType Serial$/, content =~ /^\s+SecDebugLog \/var\/log\/httpd\/modsec_debug.log$/, content =~ /^\s+SecAuditLog \/var\/log\/httpd\/modsec_audit.log$/ and content =~ /^\s+SecTmpDir \/var\/lib\/mod_security$/
Failure/Error:
expect(subject).to contain_file('security.conf')
.with_content(%r{^\s+SecAuditLogRelevantStatus "\^\(\?:5\|4\(\?!04\)\)"$})
.with_content(%r{^\s+SecAuditLogParts ABIJDEFHZ$})
.with_content(%r{^\s+SecAuditLogType Serial$})
.with_content(%r{^\s+SecDebugLog /var/log/httpd/modsec_debug.log$})
.with_content(%r{^\s+SecAuditLog /var/log/httpd/modsec_audit.log$})
.with_content(%r{^\s+SecTmpDir /var/lib/mod_security$})
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L56
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d] with ensure => "directory", path => "/etc/httpd/modsecurity.d", owner => "root", group => "root" and mode => "0755"
Failure/Error:
expect(subject).to contain_file('/etc/httpd/modsecurity.d').with(
ensure: 'directory', path: '/etc/httpd/modsecurity.d',
owner: 'root', group: 'root', mode: '0755'
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L63
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/activated_rules] with ensure => "directory", path => "/etc/httpd/modsecurity.d/activated_rules", owner => "apache" and group => "apache"
Failure/Error:
expect(subject).to contain_file('/etc/httpd/modsecurity.d/activated_rules').with(
ensure: 'directory', path: '/etc/httpd/modsecurity.d/activated_rules',
owner: 'apache', group: 'apache'
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L70
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain File[/etc/httpd/modsecurity.d/security_crs.conf] with path => "/etc/httpd/modsecurity.d/security_crs.conf"
Failure/Error:
expect(subject).to contain_file('/etc/httpd/modsecurity.d/security_crs.conf').with(
path: '/etc/httpd/modsecurity.d/security_crs.conf',
)
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Run tests:
spec/classes/mod/security_spec.rb#L77
apache::mod::security on centos-7-x86_64 on RedHat based systems is expected to contain Apache::Security::Rule_link[base_rules/modsecurity_35_bad_robots.data]
Failure/Error: it { is_expected.to contain_apache__security__rule_link('base_rules/modsecurity_35_bad_robots.data') }
Puppet::PreformattedError:
Evaluation Error: Unknown variable: 'anomaly_score_blocking'. (file: /home/runner/work/puppetlabs-apache/puppetlabs-apache/spec/fixtures/modules/apache/templates/mod/security_crs.conf.epp, line: 157, column: 40) on node fv-az1423-355.ei5rwdf52qxuxllzxeqjam05jd.ex.internal.cloudapp.net
|
Loading