aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-19 12:27:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-19 12:27:20 -0300
commit34c177082b864111d4fd057372e742b095cdd03b (patch)
tree7cceab0a789729ddfc9e7c94f6ecc39e8c20ffc9
parentf1e5b06da82eef6b28f37573a3d3934907a4372f (diff)
downloadpuppet-nodo-34c177082b864111d4fd057372e742b095cdd03b.tar.gz
puppet-nodo-34c177082b864111d4fd057372e742b095cdd03b.tar.bz2
Adding backupninja::mysql into nodo::mail
-rw-r--r--manifests/mail.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 58f77dc..c82aac6 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -15,4 +15,10 @@ class nodo::mail {
# Class inclusion
include nodo::vserver
include mail::system
+
+ backupninja::mysql { "all_databases":
+ backupdir => '/var/backups/mysql',
+ compress => true,
+ sqldump => true,
+ }
}