mongodb/ceilmoneter manifests cannot depend on eachother
since mongodb and ceilometer classes are in separate manifests, possibly on different hosts, they cannot depend on classes realized in the other manifest. Change-Id: I3710270900733705ce5ed052a52a2996d96f8756 Closes-bug: 1297995
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
class { 'ceilometer::db':
|
class { 'ceilometer::db':
|
||||||
database_connection => 'mongodb://%(CONFIG_MONGODB_HOST)s:27017/ceilometer',
|
database_connection => 'mongodb://%(CONFIG_MONGODB_HOST)s:27017/ceilometer',
|
||||||
require => Class['mongodb::server'],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'ceilometer::collector':
|
class { 'ceilometer::collector':
|
||||||
require => Class['mongodb::server'],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'ceilometer::agent::auth':
|
class { 'ceilometer::agent::auth':
|
||||||
@@ -24,5 +22,4 @@ class { 'ceilometer::alarm::evaluator':
|
|||||||
class { 'ceilometer::api':
|
class { 'ceilometer::api':
|
||||||
keystone_host => '%(CONFIG_KEYSTONE_HOST)s',
|
keystone_host => '%(CONFIG_KEYSTONE_HOST)s',
|
||||||
keystone_password => '%(CONFIG_CEILOMETER_KS_PW)s',
|
keystone_password => '%(CONFIG_CEILOMETER_KS_PW)s',
|
||||||
require => Class['mongodb::server'],
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
class { 'mongodb::server':
|
class { 'mongodb::server':
|
||||||
smallfiles => true,
|
smallfiles => true,
|
||||||
bind_ip => ['%(CONFIG_MONGODB_HOST)s'],
|
bind_ip => ['%(CONFIG_MONGODB_HOST)s'],
|
||||||
before => Class['ceilometer::db'],
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user