aboutsummaryrefslogtreecommitdiff
path: root/manifests/mail.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-09-05 13:22:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-09-05 13:22:48 -0300
commit35613fe0e9de8e8229862c939d3c9fb8890a1db2 (patch)
tree36dd3b9fdf6e92bfe8fb40d45e73448702cbefbf /manifests/mail.pp
parent126e34605a20b8134719e036bef68568bbc102cb (diff)
downloadpuppet-nodo-35613fe0e9de8e8229862c939d3c9fb8890a1db2.tar.gz
puppet-nodo-35613fe0e9de8e8229862c939d3c9fb8890a1db2.tar.bz2
Including mysql backup at database class; adding --single-transaction sql dump option to avoid 'out of resources' error
Diffstat (limited to 'manifests/mail.pp')
-rw-r--r--manifests/mail.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index c82aac6..18a4a08 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -17,8 +17,9 @@ class nodo::mail {
include mail::system
backupninja::mysql { "all_databases":
- backupdir => '/var/backups/mysql',
- compress => true,
- sqldump => true,
+ backupdir => '/var/backups/mysql',
+ compress => true,
+ sqldump => true,
+ sqldumpoptions => '--lock-tables --complete-insert --add-drop-table --quick --quote-names --single-transaction',
}
}