Skip to content

Instantly share code, notes, and snippets.

@whyvez
Last active January 2, 2016 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whyvez/8231090 to your computer and use it in GitHub Desktop.
Save whyvez/8231090 to your computer and use it in GitHub Desktop.
aws .ebextentions mongodb config files
files:
"/etc/yum.repos.d/10gen.repo":
mode: "000777"
owner: root
group: root
content: |
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
enabled=1
packages:
yum:
mongo-10gen: []
mongo-10gen-server: []
commands:
01UpdateConfig:
command: "chkconfig mongod on"
02StartService:
command: "/etc/init.d/mongod start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment