From 54de0adb0f443ddfbf097c2240c9afa1c3f9fb1a Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 18 Jul 2023 15:52:33 +0200 Subject: [PATCH] Remove replicate readwrite db --- manifests/db_type.pp | 1 - templates/mariadb/my.cnf.erb | 4 ---- 2 files changed, 5 deletions(-) diff --git a/manifests/db_type.pp b/manifests/db_type.pp index 7c953b4..c0490d0 100644 --- a/manifests/db_type.pp +++ b/manifests/db_type.pp @@ -5,7 +5,6 @@ define sunetdrive::db_type( $location=undef, $override_config = undef, $override_compose = undef, - $replicate_rewrite_db = undef, ) { diff --git a/templates/mariadb/my.cnf.erb b/templates/mariadb/my.cnf.erb index 2892c01..81892bb 100644 --- a/templates/mariadb/my.cnf.erb +++ b/templates/mariadb/my.cnf.erb @@ -19,10 +19,6 @@ gtid_strict_mode = ON log_bin = binlog log_slave_updates = ON server_id = <%= @server_id %> -<% if not @replicate_rewrite_db.nil? -%> -replicate-rewrite-db = "<%= @replicate_rewrite_db %>->nextcloud" -replicate-wild-do-table = <%= @replicate_rewrite_db %>.% -<% end -%> # Innodb innodb_autoinc_lock_mode = 2