From f30ea0aad9ddcf27f6868c4733aa6dabdca83c21 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 13 Aug 2013 14:11:23 -0700 Subject: [PATCH] Switch etherpad_lite backups to mysql_backup. * .../openstack_project/manifests/etherpad.pp: Use the new mysql_backup module to backup the etherpad DB. Note that this change is not sufficient to completely clean out the old logrotate config and cron for the old etherpad DB backups. This should be merged in a coordinated manner where the other logrotate configs and cron are removed by hand. Change-Id: Ide60ce13a454f72865d697ee736beada76850f32 --- modules/openstack_project/manifests/etherpad.pp | 4 +++- modules/openstack_project/manifests/etherpad_dev.pp | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/etherpad.pp b/modules/openstack_project/manifests/etherpad.pp index e4d99c32f2..db2991343c 100644 --- a/modules/openstack_project/manifests/etherpad.pp +++ b/modules/openstack_project/manifests/etherpad.pp @@ -11,7 +11,9 @@ class openstack_project::etherpad ( } include etherpad_lite - include etherpad_lite::backup + mysql_backup::backup { 'etherpad-lite': + require => Class['etherpad_lite'], + } class { 'etherpad_lite::apache': ssl_cert_file => '/etc/ssl/certs/etherpad.openstack.org.pem', diff --git a/modules/openstack_project/manifests/etherpad_dev.pp b/modules/openstack_project/manifests/etherpad_dev.pp index 521dda6fb0..af1273e5f1 100644 --- a/modules/openstack_project/manifests/etherpad_dev.pp +++ b/modules/openstack_project/manifests/etherpad_dev.pp @@ -19,7 +19,9 @@ class openstack_project::etherpad_dev ( ep_headings => true } - include etherpad_lite::backup + mysql_backup::backup { 'etherpad-lite': + require => Class['etherpad_lite'], + } class { 'etherpad_lite::apache': ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',