Use mongodb_conn_validator instead of anchor.

Anchor['mongodb setup done'] has been removed since the equivalent
is already done in the module itself. Hence we rely on this resource
to make sure MongoDB is up and running.

Change-Id: I800d61f7423db4b9a12c75fe1788546c8fcf12ed
This commit is contained in:
Yanis Guenane 2015-02-05 14:33:25 -05:00
parent f7a4955119
commit 93ae676d18

View File

@ -46,7 +46,7 @@ class cloud::telemetry::collector(
class { 'ceilometer::db':
database_connection => $db_conn,
sync_db => true,
require => Anchor['mongodb setup done'],
require => Mongodb_conn_validator['mongodb'],
}
class { 'ceilometer::collector': }