Commit 20cfc50c by Kevin Falcone

Merge pull request #2503 from edx/jibsheet/mongorc-avoid-slaveOk

Install a global mongorc.js
parents 59dca4a7 a53e16ab
......@@ -148,3 +148,15 @@
- scripts
- scripts:mongo
- install:code
- name: install a global mongorc.js
template:
src: etc/mongorc.js.j2
dest: /etc/mongorc.js
mode: 0755
owner: root
group: root
tags:
- scripts
- scripts:mongo
- mongorc
// we only ever connect to secondaries, avoid people needing to remember to type this
rs.slaveOk();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment