Jcrespo has submitted this change and it was merged.

Change subject: Changing tmpdir from /tmp to /srv/labsdb/tmp
......................................................................


Changing tmpdir from /tmp to /srv/labsdb/tmp

Having the tmp mysql dir on the root partition creates space
disk problems when doing large transactions, breaking replication
or making / run out of space.

Change-Id: I498e3843fbed0af8166b4844fcfc89f15f3ff650
References: T88718
---
M manifests/role/labsdb.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jcrespo: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/labsdb.pp b/manifests/role/labsdb.pp
index cdf47ff..bf18e6c 100644
--- a/manifests/role/labsdb.pp
+++ b/manifests/role/labsdb.pp
@@ -40,7 +40,7 @@
         config    => "mariadb/tools.my.cnf.erb",
         password  => $passwords::misc::scripts::mysql_root_pass,
         datadir   => '/srv/labsdb/data',
-        tmpdir    => '/tmp',
+        tmpdir    => '/srv/labsdb/tmp',
         read_only => 'ON',
     }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/243372
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I498e3843fbed0af8166b4844fcfc89f15f3ff650
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: coren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to