Merge "Add backups to translate server"
This commit is contained in:
commit
c622416a55
@ -125,4 +125,18 @@ class openstack_project::translate(
|
|||||||
],
|
],
|
||||||
require => Exec['register-zanata-projects'],
|
require => Exec['register-zanata-projects'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mysql_backup::backup_remote { 'translate':
|
||||||
|
database_host => $mysql_host,
|
||||||
|
database_user => $mysql_user,
|
||||||
|
database_password => $mysql_password,
|
||||||
|
num_backups => '10',
|
||||||
|
require => Class['zanata'],
|
||||||
|
}
|
||||||
|
|
||||||
|
include bup
|
||||||
|
bup::site { 'rs-ord':
|
||||||
|
backup_user => 'bup-translate',
|
||||||
|
backup_server => 'ci-backup-rs-ord.openstack.org',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user