Springle has uploaded a new change for review.

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

Change subject: switch dstore dumps to /srv
......................................................................

switch dstore dumps to /srv

Change-Id: I2a0dfb5cd1952dd35a50d451f3c69391eb996cfa
---
M manifests/role/mariadb.pp
M manifests/site.pp
2 files changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/44/187044/1

diff --git a/manifests/role/mariadb.pp b/manifests/role/mariadb.pp
index 18992ad..d1f7172 100644
--- a/manifests/role/mariadb.pp
+++ b/manifests/role/mariadb.pp
@@ -215,9 +215,7 @@
 class role::mariadb::backup {
     include role::backup::host
     include passwords::mysql::dump
-
     include role::mariadb::backup::config
-    $backups_folder = $role::mariadb::backup::config::folder
 
     file { $backups_folder:
         ensure => directory,
@@ -238,7 +236,7 @@
         xtrabackup       => false,
         per_db           => true,
         innodb_only      => true,
-        local_dump_dir   => $backups_folder,
+        local_dump_dir   => '/srv/backups',
         password_file    => '/etc/mysql/conf.d/dumps.cnf',
         method           => 'predump',
         mysql_binary     => '/usr/local/bin/mysql',
diff --git a/manifests/site.pp b/manifests/site.pp
index d26d436..9bf8fcb 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -967,7 +967,6 @@
     include admin
     $cluster = 'mysql'
     $ganglia_aggregator = true
-    $mariadb_backups_folder = '/a/backups'
     include role::mariadb::backup
     # 24h delay on all repl streams
     class { 'role::mariadb::dbstore':

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

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

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

Reply via email to