(CAT-2100) Add Debian 12 support #258
Annotations
2 errors
Run tests:
spec/classes/mysql_backup_xtrabackup_spec.rb#L100
mysql::backup::xtrabackup on debian-12-x86_64 with backupuser and backuppassword contains the defined mysql user
Failure/Error:
expect(subject).to contain_mysql_grant('backupuser@localhost/*.*')
.with(
ensure: 'present',
user: 'backupuser@localhost',
table: '*.*',
privileges:
if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) ||
(facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0)
['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES']
else
expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*] with privileges set to ["BINLOG MONITOR", "RELOAD", "PROCESS", "LOCK TABLES"] but it is set to ["RELOAD", "PROCESS", "LOCK TABLES", "REPLICATION CLIENT"]
Diff:
@@ -1,8 +1,8 @@
-BINLOG MONITOR
-
RELOAD
PROCESS
LOCK TABLES
+
+REPLICATION CLIENT
|
Run tests
Process completed with exit code 1.
|
Loading