aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/all-nodes-config.yaml
diff options
context:
space:
mode:
authorYanis Guenane <yanis.guenane@enovance.com>2015-04-15 14:41:25 +0200
committerYanis Guenane <yanis.guenane@enovance.com>2015-04-15 14:41:25 +0200
commite202d2dbf578fd6842e9fd16389dc61729995cc0 (patch)
treeb61b9e782822aa030ee14bc93886cfb27b2f8b96 /puppet/all-nodes-config.yaml
parentffb40e685c632c5d79997dc280737ffa26317c45 (diff)
Fix MongoDB setup on nonha setup
Currently a replset parameter is set in mongodb.conf no matter if we are in a ha or nonha setup. This install fine, but on a nonha setup it prevents any program from using MongoDB, since no replset has been initialized. It generates the following error when a program tries to use it : not master and slaveOk=false To prevent this issue a replicatset is initialized in both ha and nonha setup, this way if another MongoDB node is added to the pool, it will be able to attach automatically Change-Id: I65e3f1ad35cb0cd31f6771444a0cffdf7569222f
Diffstat (limited to 'puppet/all-nodes-config.yaml')
0 files changed, 0 insertions, 0 deletions