From 53f974f16b65cc0e92c0f2877df5e5e91b39cfb8 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 7 Dec 2015 22:44:39 +0000 Subject: [PATCH] Add database backups for refstack.openstack.org Change-Id: If9561b28c0fdff7b83ca7c00ea7093df3367815d --- manifests/site.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index 16783a7f40..a34d33ca4e 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -598,6 +598,12 @@ node 'refstack.openstack.org' { ssl_ca_content => hiera('refstack_ssl_chain_file_contents'), protocol => 'https', } + mysql_backup::backup_remote { 'refstack': + database_host => hiera('refstack_mysql_host', 'localhost'), + database_user => hiera('refstack_mysql_user', 'refstack'), + database_password => hiera('refstack_mysql_password'), + require => Class['::refstack'], + } } # A machine to run Storyboard