From cf952bdc77ced331b2ae236792f91bbec19c49ba Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 19 Jan 2017 08:29:07 -0600 Subject: [PATCH] Move gerrit's MySQL backups to gerrit homedir The root partition on review.o.o is fairly small, and 30 days of backups recently filled it up. On the other hand, we have plenty of space in /home/gerrit2 - so just stick them there. Change-Id: Ic8286ad175dedfa039b6563204fdf8d5681b9af9 --- modules/openstack_project/manifests/gerrit.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index c756528ea0..b8b0fecd4c 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -202,6 +202,7 @@ class openstack_project::gerrit ( database_host => $mysql_host, database_user => 'gerrit2', database_password => $mysql_password, + dest_dir => '/home/gerrit2/mysql_backups', require => Class['::gerrit'], }