Ottomata has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/346541 )
Change subject: Properly default to master database name when slave database not given ...................................................................... Properly default to master database name when slave database not given Bug: T124307 Change-Id: Ic33d2ae0ec5ab2d0181e19b2a9385d7cedbfd870 --- M modules/role/files/mariadb/eventlogging_sync.sh 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Ottomata: Verified; Looks good to me, approved diff --git a/modules/role/files/mariadb/eventlogging_sync.sh b/modules/role/files/mariadb/eventlogging_sync.sh index 6dda100..5f7a937 100755 --- a/modules/role/files/mariadb/eventlogging_sync.sh +++ b/modules/role/files/mariadb/eventlogging_sync.sh @@ -66,7 +66,7 @@ done # If slave_database was not given, default to using database. -slave_database=${slave_database:-database} +slave_database=${slave_database:-$database} shift $((OPTIND-1)) -- To view, visit https://gerrit.wikimedia.org/r/346541 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic33d2ae0ec5ab2d0181e19b2a9385d7cedbfd870 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <ao...@wikimedia.org> Gerrit-Reviewer: Ottomata <ao...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits