3aff1017bc
This is a verbatim copy of upstream https://github.com/puppetlabs/puppetlabs-mongodb v0.7.0 c5e672581664c326b9f0dc4071d9d79c764e40cc Partial (Stage 2) blueprint: ceilometer-fuel-integraition Change-Id: Icbd908ff855cd5320c961ec198ccc536baf204e5 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
17 lines
337 B
Puppet
17 lines
337 B
Puppet
node default {
|
|
class { '::mongodb::globals':
|
|
manage_package_repo => true
|
|
} ->
|
|
class { '::mongodb::server':
|
|
smallfiles => true,
|
|
bind_ip => ['0.0.0.0'],
|
|
replset => 'rsmain'
|
|
}
|
|
}
|
|
|
|
node /mongo1/ inherits default {
|
|
mongodb_replset{'rsmain':
|
|
members => ['mongo1:27017', 'mongo2:27017', 'mongo3:27017']
|
|
}
|
|
}
|