Run a local MySQL service on StoryBoard servers
In preparation to move the SB data out of Trove instances to a local database, make sure the database is created via configuration management. Make the mysql_backup resource require storyboard::database instead of storyboard::application to work around a package resource conflict. A separate maintenance window will be used to move the data, coupled with a change of database hostname in private Hiera. Following that, a followup change will switch the database backups from remote to local. Change-Id: I912130ad8a5a139147727e49800e36e2afd815f7
This commit is contained in:
parent
7f3963efca
commit
a547a75dd9
@ -29,11 +29,17 @@ class openstack_project::storyboard(
|
|||||||
class { 'openstack_project::server': }
|
class { 'openstack_project::server': }
|
||||||
|
|
||||||
|
|
||||||
|
class { '::storyboard::mysql':
|
||||||
|
mysql_database => 'storyboard',
|
||||||
|
mysql_user => $mysql_user,
|
||||||
|
mysql_user_password => $mysql_password,
|
||||||
|
}
|
||||||
|
|
||||||
mysql_backup::backup_remote { 'storyboard':
|
mysql_backup::backup_remote { 'storyboard':
|
||||||
database_host => $mysql_host,
|
database_host => $mysql_host,
|
||||||
database_user => $mysql_user,
|
database_user => $mysql_user,
|
||||||
database_password => $mysql_password,
|
database_password => $mysql_password,
|
||||||
require => Class['::storyboard::application'],
|
require => Class['::storyboard::mysql'],
|
||||||
}
|
}
|
||||||
|
|
||||||
class { '::storyboard::cert':
|
class { '::storyboard::cert':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user