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:
danehans 2013-07-18 22:14:33 +00:00
parent 479afbd6da
commit 1121d7dccd

View File

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