telemetry: exec[check_mongodb] has a soft dependency on service[mongodb]
The mongodb service may not be declared on the same node where the services are running, this change adds a soft dependency on the mongodb service. (meaning, there'll be a dependency only if the mongodb service is running on the same node) Fixes Bug#242
This commit is contained in:
@@ -33,8 +33,8 @@ class cloud::telemetry::server(
|
|||||||
logoutput => false,
|
logoutput => false,
|
||||||
tries => 60,
|
tries => 60,
|
||||||
try_sleep => 5,
|
try_sleep => 5,
|
||||||
require => Service['mongodb'],
|
|
||||||
}
|
}
|
||||||
|
Service <| title == 'mongodb' |> -> Exec['check_mongodb']
|
||||||
|
|
||||||
# Install MongoDB database
|
# Install MongoDB database
|
||||||
class { 'ceilometer::db':
|
class { 'ceilometer::db':
|
||||||
|
Reference in New Issue
Block a user