Created
June 9, 2015 21:56
-
-
Save patrickkelso/915079248012c6749c79 to your computer and use it in GitHub Desktop.
Puppet profile to create a DB and replica set
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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