Fix path to reporting db schema #314
Annotations
10 errors
Run tests:
spec/classes/modules/reporting_spec.rb#L107
icingaweb2::module::reporting on debian-11-x86_64 debian-11-x86_64 with db_type 'mysql', db_port '4711', install_method 'package', manage_service 'false', import_schema 'true' is expected to contain Exec[import icingaweb2::module::reporting schema] with command =~ /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ and unless =~ /^mysql.* -Ns -e 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_command(%r{^mysql.*\< '/usr/share/icingaweb2/modules/reporting/schema/mysql.sql'$})
.with_unless(%r{^mysql.* -Ns -e 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ but it is set to "mysql -P 4711 -u reporting -D reporting < '/usr/share/icingaweb2/modules/reporting/schema/mysql.schema.sql'"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L204
icingaweb2::module::reporting on debian-11-x86_64 debian-11-x86_64 with db_type 'pgsql', db_resource_name 'foobaz', use_tls 'true', import_schema 'true', service_ensure 'stopped', service_enabe 'false' is expected to contain Exec[import icingaweb2::module::reporting schema] with environment => ["PGPASSWORD=foo"], command =~ /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ and unless =~ /^psql.*-w -c 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_environment(['PGPASSWORD=foo'])
.with_command(%r{^psql.*-w -f /usr/share/icingaweb2/modules/reporting/schema/postgresql.sql$})
.with_unless(%r{^psql.*-w -c 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ but it is set to "psql 'host=localhost user=reporting dbname=reporting sslmode=require sslrootcert=/foo/bar' -w -f /usr/share/icingaweb2/modules/reporting/schema/pgsql.schema.sql"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L107
icingaweb2::module::reporting on debian-12-x86_64 debian-12-x86_64 with db_type 'mysql', db_port '4711', install_method 'package', manage_service 'false', import_schema 'true' is expected to contain Exec[import icingaweb2::module::reporting schema] with command =~ /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ and unless =~ /^mysql.* -Ns -e 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_command(%r{^mysql.*\< '/usr/share/icingaweb2/modules/reporting/schema/mysql.sql'$})
.with_unless(%r{^mysql.* -Ns -e 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ but it is set to "mysql -P 4711 -u reporting -D reporting < '/usr/share/icingaweb2/modules/reporting/schema/mysql.schema.sql'"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L204
icingaweb2::module::reporting on debian-12-x86_64 debian-12-x86_64 with db_type 'pgsql', db_resource_name 'foobaz', use_tls 'true', import_schema 'true', service_ensure 'stopped', service_enabe 'false' is expected to contain Exec[import icingaweb2::module::reporting schema] with environment => ["PGPASSWORD=foo"], command =~ /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ and unless =~ /^psql.*-w -c 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_environment(['PGPASSWORD=foo'])
.with_command(%r{^psql.*-w -f /usr/share/icingaweb2/modules/reporting/schema/postgresql.sql$})
.with_unless(%r{^psql.*-w -c 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ but it is set to "psql 'host=localhost user=reporting dbname=reporting sslmode=require sslrootcert=/foo/bar' -w -f /usr/share/icingaweb2/modules/reporting/schema/pgsql.schema.sql"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L107
icingaweb2::module::reporting on redhat-8-x86_64 redhat-8-x86_64 with db_type 'mysql', db_port '4711', install_method 'package', manage_service 'false', import_schema 'true' is expected to contain Exec[import icingaweb2::module::reporting schema] with command =~ /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ and unless =~ /^mysql.* -Ns -e 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_command(%r{^mysql.*\< '/usr/share/icingaweb2/modules/reporting/schema/mysql.sql'$})
.with_unless(%r{^mysql.* -Ns -e 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ but it is set to "mysql -P 4711 -u reporting -D reporting < '/usr/share/icingaweb2/modules/reporting/schema/mysql.schema.sql'"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L204
icingaweb2::module::reporting on redhat-8-x86_64 redhat-8-x86_64 with db_type 'pgsql', db_resource_name 'foobaz', use_tls 'true', import_schema 'true', service_ensure 'stopped', service_enabe 'false' is expected to contain Exec[import icingaweb2::module::reporting schema] with environment => ["PGPASSWORD=foo"], command =~ /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ and unless =~ /^psql.*-w -c 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_environment(['PGPASSWORD=foo'])
.with_command(%r{^psql.*-w -f /usr/share/icingaweb2/modules/reporting/schema/postgresql.sql$})
.with_unless(%r{^psql.*-w -c 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ but it is set to "psql 'host=localhost user=reporting dbname=reporting sslmode=require sslrootcert=/foo/bar' -w -f /usr/share/icingaweb2/modules/reporting/schema/pgsql.schema.sql"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L107
icingaweb2::module::reporting on redhat-9-x86_64 redhat-9-x86_64 with db_type 'mysql', db_port '4711', install_method 'package', manage_service 'false', import_schema 'true' is expected to contain Exec[import icingaweb2::module::reporting schema] with command =~ /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ and unless =~ /^mysql.* -Ns -e 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_command(%r{^mysql.*\< '/usr/share/icingaweb2/modules/reporting/schema/mysql.sql'$})
.with_unless(%r{^mysql.* -Ns -e 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ but it is set to "mysql -P 4711 -u reporting -D reporting < '/usr/share/icingaweb2/modules/reporting/schema/mysql.schema.sql'"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L204
icingaweb2::module::reporting on redhat-9-x86_64 redhat-9-x86_64 with db_type 'pgsql', db_resource_name 'foobaz', use_tls 'true', import_schema 'true', service_ensure 'stopped', service_enabe 'false' is expected to contain Exec[import icingaweb2::module::reporting schema] with environment => ["PGPASSWORD=foo"], command =~ /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ and unless =~ /^psql.*-w -c 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_environment(['PGPASSWORD=foo'])
.with_command(%r{^psql.*-w -f /usr/share/icingaweb2/modules/reporting/schema/postgresql.sql$})
.with_unless(%r{^psql.*-w -c 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ but it is set to "psql 'host=localhost user=reporting dbname=reporting sslmode=require sslrootcert=/foo/bar' -w -f /usr/share/icingaweb2/modules/reporting/schema/pgsql.schema.sql"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L107
icingaweb2::module::reporting on centos-9-x86_64 centos-9-x86_64 with db_type 'mysql', db_port '4711', install_method 'package', manage_service 'false', import_schema 'true' is expected to contain Exec[import icingaweb2::module::reporting schema] with command =~ /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ and unless =~ /^mysql.* -Ns -e 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_command(%r{^mysql.*\< '/usr/share/icingaweb2/modules/reporting/schema/mysql.sql'$})
.with_unless(%r{^mysql.* -Ns -e 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^mysql.*\< '\/usr\/share\/icingaweb2\/modules\/reporting\/schema\/mysql.sql'$/ but it is set to "mysql -P 4711 -u reporting -D reporting < '/usr/share/icingaweb2/modules/reporting/schema/mysql.schema.sql'"
|
Run tests:
spec/classes/modules/reporting_spec.rb#L204
icingaweb2::module::reporting on centos-9-x86_64 centos-9-x86_64 with db_type 'pgsql', db_resource_name 'foobaz', use_tls 'true', import_schema 'true', service_ensure 'stopped', service_enabe 'false' is expected to contain Exec[import icingaweb2::module::reporting schema] with environment => ["PGPASSWORD=foo"], command =~ /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ and unless =~ /^psql.*-w -c 'SELECT \* FROM report'$/
Failure/Error:
is_expected.to contain_exec('import icingaweb2::module::reporting schema')
.with_environment(['PGPASSWORD=foo'])
.with_command(%r{^psql.*-w -f /usr/share/icingaweb2/modules/reporting/schema/postgresql.sql$})
.with_unless(%r{^psql.*-w -c 'SELECT \* FROM report'$})
expected that the catalogue would contain Exec[import icingaweb2::module::reporting schema] with command set to /^psql.*-w -f \/usr\/share\/icingaweb2\/modules\/reporting\/schema\/postgresql.sql$/ but it is set to "psql 'host=localhost user=reporting dbname=reporting sslmode=require sslrootcert=/foo/bar' -w -f /usr/share/icingaweb2/modules/reporting/schema/pgsql.schema.sql"
|
Loading