Fix title of database sync Exec in mysql class

The mysql class incorrectly defined an Exec collector to match on 'heat-manage
db_sync', which is not a real Exec in the catalog. The collector silently
failed to find this resource and the notify relationship between the database and the
sync command was never created. This changes the collector to match on
heat-dbsync, which is a real exec defined in init.pp.

Change-Id: Icc8ceb25b525ba83e66c719abca31799a4d2d223
This commit is contained in:
Colleen Murphy 2014-07-09 11:42:11 -07:00
parent b2eec2883c
commit 2ab35c8017
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ class heat::db::mysql(
validate_string($password)
Class['heat::db::mysql'] -> Exec<| title == 'heat-manage db_sync' |>
Mysql::Db[$dbname] ~> Exec<| title == 'heat-manage db_sync' |>
Class['heat::db::mysql'] -> Exec<| title == 'heat-dbsync' |>
Mysql::Db[$dbname] ~> Exec<| title == 'heat-dbsync' |>
if ($mysql_module >= 2.2) {
mysql::db { $dbname: