From 109f20e44439e9bc5a482d6557f45e990f2a514d Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 3 Oct 2018 06:44:58 -0700 Subject: [PATCH] Retain fewer etherpad database backups These backups were kept locally for convenience of operation. Bup stores blobs in git so it should be effectively deduping these over time so wasn't a stress on remote backups. However now we are filling the local disk with the db backup files. Address this by reducing the number of local backups to 5 (from 10). Change-Id: I1765836784752dba2a6f2582801b860fcce4843c --- modules/openstack_project/manifests/etherpad.pp | 2 +- modules/openstack_project/manifests/etherpad_dev.pp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/etherpad.pp b/modules/openstack_project/manifests/etherpad.pp index ad875a094e..70b7820e63 100644 --- a/modules/openstack_project/manifests/etherpad.pp +++ b/modules/openstack_project/manifests/etherpad.pp @@ -41,7 +41,7 @@ class openstack_project::etherpad ( database_host => $mysql_host, database_user => $mysql_user, database_password => $mysql_password, - num_backups => '10', + num_backups => '5', require => Class['etherpad_lite'], } diff --git a/modules/openstack_project/manifests/etherpad_dev.pp b/modules/openstack_project/manifests/etherpad_dev.pp index abdd1aef54..17e9485c98 100644 --- a/modules/openstack_project/manifests/etherpad_dev.pp +++ b/modules/openstack_project/manifests/etherpad_dev.pp @@ -31,6 +31,7 @@ class openstack_project::etherpad_dev ( database_host => $mysql_host, database_user => $mysql_user, database_password => $mysql_password, + num_backups => '5', require => Class['etherpad_lite'], } }