From 3a9422657bb87ec48380738d2636c655214e1838 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 28 Aug 2013 12:04:06 -0700 Subject: [PATCH] Backup review-dev mysql server. * modules/openstack_project/manifests/review_dev.pp: Use the mysql_backup module to perform local DB backups which can then be backed up offsite by bup. Change-Id: Ia9f1c49a151d75e8e6197d965a8b3e51c0f7544b --- modules/openstack_project/manifests/review_dev.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/openstack_project/manifests/review_dev.pp b/modules/openstack_project/manifests/review_dev.pp index 9e66aa1e47..23395836b6 100644 --- a/modules/openstack_project/manifests/review_dev.pp +++ b/modules/openstack_project/manifests/review_dev.pp @@ -79,6 +79,10 @@ class openstack_project::review_dev ( ], } + mysql_backup::backup { 'review-dev': + require => Class['openstack_project::gerrit'], + } + file { '/var/log/gerrit_user_sync': ensure => directory, owner => 'root',