Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Puppet profile to create a DB and replica set
class profile::mongomaster {
mongodb_replset { DPP:
ensure => present,
members => ['10.20.1.19:27017', '10.20.1.20:27017', '10.20.1.21:27017'],
}
mongodb_database { 'InsightDBQA':
ensure => present,
tries => 10,
require => Class['mongodb::server'],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.