Ensure DB is provisioned before db-sync
This adds a dependency to ensure that the MySQL database is created before attempting to run the neutron db-sync. Change-Id: Ife7b6829f70d9fc9bd25419d45f45e86ff80b4fb
This commit is contained in:
parent
f2b115c566
commit
290d711c45
@ -58,4 +58,5 @@ class neutron::db::mysql (
|
||||
allowed_hosts => $allowed_hosts,
|
||||
}
|
||||
::Openstacklib::Db::Mysql['neutron'] ~> Service <| title == 'neutron-server' |>
|
||||
::Openstacklib::Db::Mysql['neutron'] ~> Exec <| title == 'neutron-db-sync' |>
|
||||
}
|
||||
|
@ -41,5 +41,5 @@ class neutron::db::postgresql(
|
||||
}
|
||||
|
||||
::Openstacklib::Db::Postgresql['neutron'] ~> Service <| title == 'neutron-server' |>
|
||||
|
||||
::Openstacklib::Db::Postgresql['neutron'] ~> Exec <| title == 'neutron-db-sync' |>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user