Jcrespo has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/243372

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, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/72/243372/1

diff --git a/manifests/role/labsdb.pp b/manifests/role/labsdb.pp
index cdf47ff..5f1f11e 100644
--- a/manifests/role/labsdb.pp
+++ b/manifests/role/labsdb.pp
@@ -40,9 +40,11 @@
         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',
     }
+       
+       
 
     #mariadb::monitor_replication { 'tools':
     #    multisource   => false,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I498e3843fbed0af8166b4844fcfc89f15f3ff650
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>

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

Reply via email to