fuel-library/deployment/puppet/mongodb/manifests/replset.pp
Max Mazur e14739c91c Added MongoDB for Ceilometer
Rebased onto synced upstream for mongodb v 0.7.0
CI retest

Depends on   Fuel Web https://review.openstack.org/#/c/71883
Partial (Stage 2) blueprint: ceilometer-fuel-integraition
Change-Id: I1cd3160ef9fb2c13b31318669cd35f7a3902f7c5
2014-04-15 21:05:10 +04:00

20 lines
487 B
Puppet

# This installs a MongoDB replica set configuration tool
# foe now works only winhout auth
class mongodb::replset (
$replset_setup = $mongodb::params::replset_setup,
$replset_members = undef,
) inherits mongodb::params {
if ($replset_setup == true) {
anchor { 'before-mongodb-replset' :}
->
class { 'mongodb::replset::install':
require => Class['mongodb::server', 'mongodb::client'],
}
->
anchor { 'after-mongodb-replset' :}
}
}