Fix db sync command resource title.

The db sync command resource title is not consistent with the title in
resource colector. This patch fixes the name for consistency.

Change-Id: I46e26f7afd1907ace4121bbf570c58d0939687ff
This commit is contained in:
Liao Penghui 2015-11-16 12:25:34 +08:00
parent 12b0de0a22
commit 4d152b2a24
2 changed files with 2 additions and 2 deletions

View File

@ -79,5 +79,5 @@ class trove::db::mysql(
allowed_hosts => $allowed_hosts,
}
::Openstacklib::Db::Mysql['trove'] ~> Exec<| title == 'trove-db-sync' |>
::Openstacklib::Db::Mysql['trove'] ~> Exec<| title == 'trove-manage db_sync' |>
}

View File

@ -60,7 +60,7 @@ define trove::generic_service(
$trove_title = "trove-${name}"
Exec['post-trove_config'] ~> Service<| title == $trove_title |>
Exec<| title == 'trove-db-sync' |> ~> Service<| title == $trove_title |>
Exec<| title == 'trove-manage db_sync' |> ~> Service<| title == $trove_title |>
if ($package_name) {
if !defined(Package[$package_name]) {