Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
7df05f8f
Commit
7df05f8f
authored
Oct 30, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the mongo path settings provided by the mongo role.
parent
2bb6f370
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
playbooks/roles/jenkins_worker/defaults/main.yml
+0
-4
playbooks/roles/jenkins_worker/templates/mongodb_upstart.j2
+2
-2
No files found.
playbooks/roles/jenkins_worker/defaults/main.yml
View file @
7df05f8f
...
...
@@ -46,10 +46,6 @@ ruby_version: "1.9.3-p374"
jscover_url
:
"
http://superb-dca2.dl.sourceforge.net/project/jscover/JSCover-1.0.2.zip"
jscover_version
:
"
1.0.2"
# Mongo config
mongo_dir
:
"
{{
COMMON_DATA_DIR
}}/mongodb"
mongo_log_dir
:
"
{{
COMMON_DATA_DIR
}}/logs/mongodb"
# URL of S3 bucket containing pre-compiled Python packages
python_pkg_url
:
"
https://s3.amazonaws.com/jenkins.python_pkgs"
python_download_dir
:
"
{{
COMMON_DATA_DIR
}}/python_pkgs"
...
...
playbooks/roles/jenkins_worker/templates/mongodb_upstart.j2
View file @
7df05f8f
# Ubuntu upstart file at /etc/init/mongodb.conf
pre-start script
mkdir -p {{ mongo_dir }}
mkdir -p {{ mongo_d
ata_d
ir }}
mkdir -p {{ mongo_log_dir }}
touch {{ mongo_log_dir }}/mongodb.log
chown mongodb:nogroup -R {{ mongo_dir }}
chown mongodb:nogroup -R {{ mongo_d
ata_d
ir }}
chown mongodb:nogroup -R {{ mongo_log_dir }}
end script
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment