Remove Unnecessary mysql::server Dependency
Previously, the db::mysql class required mysql::server. This is unnecessary since the mysql::db define requires the mysql::config class for db creattion. Additionally, this prevents users from using a different class such as galera::server to manage the database. Change-Id: I8ee9303eef67657dd2898d910897748a0af5415b
This commit is contained in:
parent
479afbd6da
commit
1121d7dccd
@ -12,7 +12,6 @@ class glance::db::mysql(
|
|||||||
$cluster_id = 'localzone'
|
$cluster_id = 'localzone'
|
||||||
) {
|
) {
|
||||||
|
|
||||||
Class['mysql::server'] -> Class['glance::db::mysql']
|
|
||||||
Class['glance::db::mysql'] -> Exec<| title == 'glance-manage db_sync' |>
|
Class['glance::db::mysql'] -> Exec<| title == 'glance-manage db_sync' |>
|
||||||
Database[$dbname] ~> Exec<| title == 'glance-manage db_sync' |>
|
Database[$dbname] ~> Exec<| title == 'glance-manage db_sync' |>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user