Add database backups for refstack.openstack.org

Change-Id: If9561b28c0fdff7b83ca7c00ea7093df3367815d
This commit is contained in:
Jeremy Stanley 2015-12-07 22:44:39 +00:00 committed by Paul Van Eck
parent 24056e3ca1
commit 53f974f16b

View File

@ -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