e14739c91c
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
20 lines
487 B
Puppet
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' :}
|
|
}
|
|
|
|
}
|