Add missing database options in class icingadb #81
Annotations
10 errors
spec/classes/icingadb_spec.rb#L16
icingadb on centos-9-x86_64 with defaults is expected to contain File[/etc/icingadb/config.yml] with owner => "icingadb", group => "icingadb", mode => "0640" and content =~ /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml').with(
{
'owner' => 'icingadb',
'group' => 'icingadb',
'mode' => '0640'
},
).with_content(%r{database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: localhost
+ database: icingadb
+ user: icingadb
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L83
icingadb on centos-9-x86_64 with MySQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L139
icingadb on centos-9-x86_64 with PostgreSQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: pgsql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L16
icingadb on oraclelinux-8-x86_64 with defaults is expected to contain File[/etc/icingadb/config.yml] with owner => "icingadb", group => "icingadb", mode => "0640" and content =~ /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml').with(
{
'owner' => 'icingadb',
'group' => 'icingadb',
'mode' => '0640'
},
).with_content(%r{database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: localhost
+ database: icingadb
+ user: icingadb
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L83
icingadb on oraclelinux-8-x86_64 with MySQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L139
icingadb on oraclelinux-8-x86_64 with PostgreSQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: pgsql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L16
icingadb on oraclelinux-9-x86_64 with defaults is expected to contain File[/etc/icingadb/config.yml] with owner => "icingadb", group => "icingadb", mode => "0640" and content =~ /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml').with(
{
'owner' => 'icingadb',
'group' => 'icingadb',
'mode' => '0640'
},
).with_content(%r{database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: localhost
+ database: icingadb
+ user: icingadb
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L83
icingadb on oraclelinux-9-x86_64 with MySQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: mysql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L139
icingadb on oraclelinux-9-x86_64 with PostgreSQL non TLS and no import is expected to contain File[/etc/icingadb/config.yml] with content =~ /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml')
.with_content(%r{database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,21 +1,41 @@
-(?-mix:database:\n type: pgsql\n host: db.example.org\n port: 4711\n database: foo\n user: bar\n password: supersecret\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: pgsql
+ host: db.example.org
+ port: 4711
+ database: foo
+ user: bar
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
spec/classes/icingadb_spec.rb#L16
icingadb on redhat-8-x86_64 with defaults is expected to contain File[/etc/icingadb/config.yml] with owner => "icingadb", group => "icingadb", mode => "0640" and content =~ /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/
Failure/Error:
is_expected.to contain_file('/etc/icingadb/config.yml').with(
{
'owner' => 'icingadb',
'group' => 'icingadb',
'mode' => '0640'
},
).with_content(%r{database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n})
expected that the catalogue would contain File[/etc/icingadb/config.yml] with content set to /database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n/ but it is set to "# This file is managed by Puppet. DO NOT EDIT.\n\ndatabase:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\n \nredis:\n host: localhost\n port: 6380\n\nlogging:\n level: info\n interval: 20s\n options:\n\nretention:\n options:\n"
Diff:
@@ -1,20 +1,39 @@
-(?-mix:database:\n type: mysql\n host: localhost\n database: icingadb\n user: icingadb\n password: supersecret\nredis:\n host: localhost\n port: 6380\n\n)
+# This file is managed by Puppet. DO NOT EDIT.
+
+database:
+ type: mysql
+ host: localhost
+ database: icingadb
+ user: icingadb
+ password: supersecret
+
+redis:
+ host: localhost
+ port: 6380
+
+logging:
+ level: info
+ interval: 20s
+ options:
+
+retention:
+ options:
|
This job failed
Loading