Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
a72cae48
Commit
a72cae48
authored
Sep 06, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update boinc stack
parent
233a6c84
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
24 deletions
+21
-24
stack/boinc/buildout.cfg
stack/boinc/buildout.cfg
+2
-16
stack/boinc/instance-boinc.cfg
stack/boinc/instance-boinc.cfg
+18
-7
stack/boinc/instance-mariadb.cfg
stack/boinc/instance-mariadb.cfg
+1
-1
No files found.
stack/boinc/buildout.cfg
View file @
a72cae48
...
...
@@ -6,8 +6,6 @@ parts =
apache-php
template-mariadb
template-boinc
template
boinc-configuration
extends =
../../component/boinc/buildout.cfg
...
...
@@ -28,13 +26,6 @@ recipe = zc.recipe.egg
eggs =
${mysql-python:egg}
slapos.toolbox
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 4a286795a6822ee6d53743191d5374a6
#Because Boinc deamon and Boinc sheduler(with apache) work side by side, we deploy
#Boinc and apache-php in the same partition.
...
...
@@ -42,7 +33,7 @@ md5sum = 4a286795a6822ee6d53743191d5374a6
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
md5sum =
f026a82512ac5f9b486e617e5bf392be
md5sum =
5cbc5fbc1d56a829b64613aaa6ebc27f
mode = 0644
#Template for deploying MySQL Database Server
...
...
@@ -50,10 +41,5 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-mariadb.cfg
output = ${buildout:directory}/template-mariadb.cfg
md5sum =
4d9907f27910533959e8e56c8438b84a
md5sum =
f355b0b29901a0e8b5e173e0cfa24326
mode = 0644
#default Configuration for boinc project
[boinc-configuration]
dbname = boinctest
project = boinc_test
\ No newline at end of file
stack/boinc/instance-boinc.cfg
View file @
a72cae48
...
...
@@ -9,6 +9,7 @@ parts =
logrotate-entry-stunnel
cron
cron-entry-logrotate
cron-entry-boinc
promise
slapmonitor
slapreport
...
...
@@ -38,6 +39,7 @@ run = $${rootdirectory:var}/run/
backup = $${rootdirectory:srv}/backup/
promises = $${rootdirectory:etc}/promise/
application = $${rootdirectory:tmp}/application
boinc = $${rootdirectory:tmp}/boinc
[directory]
recipe = slapos.cookbook:mkdirectory
...
...
@@ -154,11 +156,13 @@ bytes = 4
[boinc-server]
recipe = slapos.cookbook:boinc
home = $${buildout:directory}
project = ${boinc-configuration:project}
project = $${slap-parameter:project}
fullname = $${slap-parameter:full-name}
copyright = $${slap-parameter:copyright-holder}
project-config = $${:home}/.$${:project}.conf
boinc-httpd-conf = $${rootdirectory:etc}/apache_boinc.conf
boinc = ${boinc:location}
installroot = $${rootdirectory:project}/$
{boinc-configuration
:project}
installroot = $${rootdirectory:project}/$
${slap-parameter
:project}
wrapper-dir = $${basedirectory:services}
source = ${boinc:source}
passwd = $${boinc-passwd:storage-path}
...
...
@@ -189,9 +193,6 @@ mysql-database = $${mariadb-urlparse:path}
mysql-host = $${stunnel:local-host}
mysql-port = $${stunnel:local-port}
#This value is return by boinc recipe. use it to configure cron
#cronjob =
# Deploy logrotate, cron, configure it
[logrotate]
recipe = slapos.cookbook:logrotate
...
...
@@ -249,6 +250,13 @@ name = logrotate
frequency = 0 0 * * *
command = $${logrotate:wrapper}
[cron-entry-boinc]
<= cron
recipe = slapos.cookbook:cron.d
name = cronjob
frequency = 0,5,10,15,20,25,30,35,40,45,50,55 * * * *
command = $${boinc-server:installroot}$${boinc-server:project}/bin/start --cron
# Request frontend
[request-frontend]
...
...
@@ -314,8 +322,11 @@ curl_path = ${curl:location}/bin/curl
[slap-parameter]
#Default value for instance deployment type. If user want to 'erase' previous project instance or to 'update'(install)
request-mode = update
#Default config value for boinc
dbname = boinctest
project = boinc_test
full-name = Boinc Project SAMPLE
copyright-holder = REPLACE WITH COPYRIGHT HOLDER
# Default value if no domain is specified
domain =
# Default value if no ssh parameter is specified
...
...
stack/boinc/instance-mariadb.cfg
View file @
a72cae48
...
...
@@ -58,7 +58,7 @@ recovering = false
user = user
port = 3306
ip = $${slap-network-information:local-ipv4}
database =
${boinc-configuration:dbname}
database =
boincdb
# Paths
wrapper = $${basedirectory:services}/mariadb
...
...
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