Commit 4d14edb5 by John Jarvis

Merge pull request #322 from edx/jarv/new-mongo

Jarv/new mongo
parents 1f1c559c 174ca317
...@@ -293,77 +293,34 @@ sandbox_post_requirements: "{{ edx_platform_code_dir }}/requirements/edx-sandbo ...@@ -293,77 +293,34 @@ sandbox_post_requirements: "{{ edx_platform_code_dir }}/requirements/edx-sandbo
install_sandbox_reqs_into_regular_venv: true install_sandbox_reqs_into_regular_venv: true
lms_debian_pkgs: lms_debian_pkgs:
- apparmor-utils # for compiling the virtualenv
- aspell # (only needed if wheel files aren't available)
- build-essential - build-essential
- curl - s3cmd
- dvipng - pkg-config
- fabric
- g++
- gcc
- gfortran
- ghostscript
- github-cli
- graphviz
- graphviz-dev - graphviz-dev
- gunicorn - graphviz
- inoticoming
- ipython
- libcrypt-ssleay-perl
- libcurl4-openssl-dev
- libdigest-sha-perl
- libfreetype6-dev
- libgeos-dev
- libgraphviz-dev
- libjpeg8-dev
- liblapack-dev
- liblwp-protocol-https-perl
- libmysqlclient-dev - libmysqlclient-dev
- libnet-amazon-ec2-perl # for scipy, do not install
- libpng12-dev # libopenblas-base, it will cause
- libreadline-dev # problems for numpy
- libreadline6-dev - gfortran
- libssl-dev - libatlas3gf-base
- libswitch-perl - liblapack-dev
- libwww-perl - g++
- libxml++2.6-dev
- libxml2-dev - libxml2-dev
- libxml2-utils
- libxslt1-dev - libxslt1-dev
- lynx-cur # apparmor
- maven2 - apparmor-utils
- mongodb-clients # misc
- mysql-client - curl
- ipython
- npm - npm
- ntp - ntp
- openjdk-7-jdk # for shapely
- openjdk-7-jre - libgeos-dev
- pep8
- perl # R by Specific Vars
- pkg-config
- postfix
- pylint
- python-boto
- python-coverage-test-runner
- python-django-nose
- python-jenkins
- python-nose
- python-nosexcover
- python-numpy
- python-pip
- python-scipy
- rake
- reprepro
- rsyslog
- rubygems
- sqlite3
- super
- vagrant
- yui-compressor
- zip
- zlib1g-dev
# Ruby Specific Vars
ruby_base: /opt/www ruby_base: /opt/www
rbenv_root: "{{ ruby_base }}/.rbenv" rbenv_root: "{{ ruby_base }}/.rbenv"
ruby_version: "1.9.3-p374" ruby_version: "1.9.3-p374"
......
...@@ -38,8 +38,23 @@ ...@@ -38,8 +38,23 @@
state=present state=present
encoding=utf8 encoding=utf8
- name: edxlocal | add the mongodb signing key
apt_key: >
id=7F0CEB10
url=http://docs.mongodb.org/10gen-gpg-key.asc
state=present
- name: edxlocal | add the mongodb repo to the sources list
apt_repository: >
repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'
state=present
- name: edxlocal | install mongo server and recommends - name: edxlocal | install mongo server and recommends
apt: pkg=mongodb-server state=present install_recommends=yes apt: >
pkg=mongodb-10gen
state=present
install_recommends=yes
update_cache=yes
- name: edxlocal | stop mongo service - name: edxlocal | stop mongo service
service: name=mongodb state=stopped service: name=mongodb state=stopped
......
...@@ -76,75 +76,22 @@ xqueue_post_requirements_file: "{{ xqueue_code_dir }}/requirements.txt" ...@@ -76,75 +76,22 @@ xqueue_post_requirements_file: "{{ xqueue_code_dir }}/requirements.txt"
# copied from the LMS role for now since there is a lot # copied from the LMS role for now since there is a lot
# of overlap # of overlap
xqueue_debian_pkgs: xqueue_debian_pkgs:
- apparmor-utils # for compiling the virtualenv
- aspell # (only needed if wheel files aren't available)
- build-essential - build-essential
- curl - s3cmd
- dvipng - pkg-config
- fabric
- g++
- gcc
- gfortran
- ghostscript
- git
- github-cli
- graphviz
- graphviz-dev - graphviz-dev
- gunicorn - graphviz
- inoticoming
- ipython
- libcrypt-ssleay-perl
- libcurl4-openssl-dev
- libdigest-sha-perl
- libfreetype6-dev
- libgeos-dev
- libgraphviz-dev
- libjpeg8-dev
- liblapack-dev
- liblwp-protocol-https-perl
- libmysqlclient-dev - libmysqlclient-dev
- libnet-amazon-ec2-perl # apparmor
- libpng12-dev - apparmor-utils
- libreadline-dev # misc
- libreadline6-dev - curl
- libssl-dev - ipython
- libswitch-perl
- libwww-perl
- libxml++2.6-dev
- libxml2-dev
- libxml2-utils
- libxslt1-dev
- maven2
- mongodb-clients
- mysql-client
- npm - npm
- ntp - ntp
- openjdk-7-jdk # for shapely
- openjdk-7-jre - libgeos-dev
- pep8
- perl
- pkg-config
- postfix
- pylint
- python-boto
- python-coverage-test-runner
- python-django-nose
- python-jenkins
- python-nose
- python-nosexcover
- python-numpy
- python-pip
- python-scipy
- python-mysqldb
- rake
- reprepro
- rsyslog
- rubygems
- sqlite3
- super
- vagrant
- yui-compressor
- zip
- zlib1g-dev
# Needed to be able to create the xqueue mysqldb. # Needed to be able to create the xqueue mysqldb.
- python-mysqldb - python-mysqldb
...@@ -20,6 +20,16 @@ ...@@ -20,6 +20,16 @@
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
function ascii_convert {
echo $1 | iconv -f utf8 -t ascii//TRANSLIT//IGNORE
}
# remove non-ascii chars from build user vars
BUILD_USER_LAST_NAME=$(ascii_convert $BUILD_USER_LAST_NAME)
BUILD_USER_FIRST_NAME=$(ascii_convert $BUILD_USER_FIRST_NAME)
BUILD_USER_ID=$(ascii_convert $BUILD_USER_ID)
BUILD_USER=$(ascii_convert $BUILD_USER)
if [[ -z $github_username ]]; then if [[ -z $github_username ]]; then
github_username=$BUILD_USER_ID github_username=$BUILD_USER_ID
fi fi
......
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