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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aurel
slapos
Commits
ec4df2af
Commit
ec4df2af
authored
Jun 05, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'master' into erp5-component
parents
9fecbb51
f4e4d55a
Changes
23
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
511 additions
and
486 deletions
+511
-486
CHANGES.txt
CHANGES.txt
+19
-0
component/boinc-client/buildout.cfg
component/boinc-client/buildout.cfg
+7
-5
component/boinc/buildout.cfg
component/boinc/buildout.cfg
+16
-8
component/condor/buildout.cfg
component/condor/buildout.cfg
+31
-12
setup.py
setup.py
+1
-1
slapos/recipe/boinc/__init__.py
slapos/recipe/boinc/__init__.py
+1
-0
slapos/recipe/boinc/configure.py
slapos/recipe/boinc/configure.py
+1
-0
slapos/recipe/redis/template/redis.conf.in
slapos/recipe/redis/template/redis.conf.in
+1
-1
slapos/recipe/trac.py
slapos/recipe/trac.py
+3
-3
software/ajaxplorer/instance-apachephp.cfg
software/ajaxplorer/instance-apachephp.cfg
+5
-5
software/ajaxplorer/software.cfg
software/ajaxplorer/software.cfg
+25
-26
software/ajaxplorer/templates/index.html.in
software/ajaxplorer/templates/index.html.in
+9
-0
software/boinc-client/software.cfg
software/boinc-client/software.cfg
+168
-22
software/boinc/README.txt
software/boinc/README.txt
+85
-0
software/boinc/software.cfg
software/boinc/software.cfg
+0
-23
software/condor/software.cfg
software/condor/software.cfg
+17
-38
software/hexaglobe-watermarking/README.rst
software/hexaglobe-watermarking/README.rst
+14
-0
software/redis-server/software.cfg
software/redis-server/software.cfg
+28
-52
software/trac-svn/software.cfg
software/trac-svn/software.cfg
+23
-7
stack/boinc/buildout.cfg
stack/boinc/buildout.cfg
+44
-64
stack/boinc/instance-boinc.cfg
stack/boinc/instance-boinc.cfg
+2
-1
stack/boinc/instance-mariadb.cfg
stack/boinc/instance-mariadb.cfg
+0
-218
stack/boinc/template/apache.in
stack/boinc/template/apache.in
+11
-0
No files found.
CHANGES.txt
View file @
ec4df2af
Changes
Changes
=======
=======
0.78.1 (2013-05-31)
-------------------
* Fix slapos.cookbook:request: Add backward compatiblity about getInstanceGuid(). [Cedric de Saint Martin]
* slapos.cookbook:check_* promises: Add timeout to curl that is not otherwise killed by slapos promise subsystem. [Cedric de Saint Martin]
* Add boinc recipe: Allow to deploy an empty BOINC project. [Alain Takoudjou]
* Add boinc.app recipe: Allow to deploy and update a BOINC application into existing BOINC server instance . [Alain Takoudjou]
* Add boinc.client recipe: Allow to deploy a BOINC Client instance on SlapOS. [Alain Takoudjou]
* Add condor recipe: Allow to deploy Condor Manager or Condor worker instance on SlapOS. [Alain Takoudjou]
* Add condor.submit recipe: Allow to deploy or update application into existing Condor Manager instance. [Alain Takoudjou]
* Add redis.server recipe: Allow to deploy Redis server. [Alain Takoudjou]
* Add trac recipe: for deploying Trac and manage project with support of SVN and GIT. [Alain Takoudjou]
* Add bonjourgrid recipe: for deploying BonjourGrid Master and submit BOINC or Condor project. [Alain Takoudjou]
* Add bonjourgrid.client recipe: for deploying BonjourGrid Worker instance and execute BOINC or Condor Jobs. [Alain Takoudjou]
* Cloudooo: Allow any environment variables. [Yusei Tahara]
* ERP5: disable MariaDB query cache completely by 'query_cache_type = 0' for ERP5. [Kazuhiko Shiozaki]
* ERP5: enable haproxy admin socket and install haproxyctl script. [Kazuhiko Shiozaki]
* ERP5: increase the maximum number of open file descriptors before starting mysqld. [Kazuhiko Shiozaki]
0.78.0 (2013-04-28)
0.78.0 (2013-04-28)
-------------------
-------------------
...
...
component/boinc-client/buildout.cfg
View file @
ec4df2af
...
@@ -47,15 +47,17 @@ filename = boinc-abs-path.patch
...
@@ -47,15 +47,17 @@ filename = boinc-abs-path.patch
[boinc-package]
[boinc-package]
recipe = plone.recipe.command
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
tarball = ${buildout:parts-directory}/boinc.tar.gz
svnversion = ${subversion:location}/bin/svnversion
svnversion = ${subversion:location}/bin/svnversion
command = ${subversion:location}/bin/svn co http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
command = ${subversion:location}/bin/svn co --revision 26162 http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project && \
cd ${:location} && rm -f ${:tarball} && tar -cvzf ${:tarball} .
update-command =
# Compile now boinc client
# Compile now boinc client
[boinc]
[boinc]
recipe = hexagonit.recipe.cmmi
recipe = slapos.recipe.cmmi
url = ${boinc-package:location}
url = ${boinc-package:tarball}
source = ${buildout:parts-directory}/${:_buildout_section_name_}__compile__
configure-command =
configure-command =
echo 'AC_PROG_OBJCXX' >> configure.ac
echo 'AC_PROG_OBJCXX' >> configure.ac
aclocal -I${pkgconfig:location}/share/aclocal -I${libtool:location}/share/aclocal
aclocal -I${pkgconfig:location}/share/aclocal -I${libtool:location}/share/aclocal
...
...
component/boinc/buildout.cfg
View file @
ec4df2af
...
@@ -26,16 +26,24 @@ keep-compile-dir = false
...
@@ -26,16 +26,24 @@ keep-compile-dir = false
[boinc-package]
[boinc-package]
recipe = plone.recipe.command
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
tarball = ${buildout:parts-directory}/boinc.tar.gz
svnversion = ${subversion:location}/bin/svnversion
svnversion = ${subversion:location}/bin/svnversion
command = ${subversion:location}/bin/svn co http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
command = ${subversion:location}/bin/svn co --revision 26162 http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project && \
sed -i "20i\#include <unistd.h>" ${:location}/tools/process_input_template.cpp && \
sed -i "25i\#include <unistd.h>" ${:location}/sched/single_job_assimilator.cpp && \
sed -i "27i\#include <unistd.h>" ${:location}/tools/create_work.cpp && \
sed -i 's#--prefix=$(prefix)#--prefix=/$(prefix)#' ${:location}/py/Makefile.am && \
sed -i 's#parent::base_escape_string#@parent::base_escape_string#' ${:location}/html/inc/boinc_db.inc
cd ${:location} && rm -f ${:tarball} && tar -cvzf ${:tarball} .
update-command =
# Compile now boinc
# Compile now boinc
# When installing boinc python module, path /srv/slapgrid/... is strip to srv/slapgrid... It is why
# When installing boinc python module, path /srv/slapgrid/... is strip to srv/slapgrid... It is why
# we need to set --prefix="/${buildout:parts-directory}/${:_buildout_section_name_}"
# we need to set --prefix="/${buildout:parts-directory}/${:_buildout_section_name_}"
[boinc]
[boinc]
recipe =
hexagonit
.recipe.cmmi
recipe =
slapos
.recipe.cmmi
url = ${boinc-package:
location
}
url = ${boinc-package:
tarball
}
keep-compile-dir = true
keep-compile-dir = true
source = ${buildout:parts-directory}/${:_buildout_section_name_}__compile__
source = ${buildout:parts-directory}/${:_buildout_section_name_}__compile__
configure-command =
configure-command =
...
@@ -44,11 +52,10 @@ configure-command =
...
@@ -44,11 +52,10 @@ configure-command =
./_autosetup
./_autosetup
./configure
./configure
configure-options =
configure-options =
--prefix="
/
${buildout:parts-directory}/${:_buildout_section_name_}"
--prefix="${buildout:parts-directory}/${:_buildout_section_name_}"
--disable-fcgi
--disable-fcgi
--disable-shared
--disable-shared
--enable-static
--enable-static
--with-pic
--disable-manager
--disable-manager
--disable-client
--disable-client
--with-pkg-config
--with-pkg-config
...
@@ -59,13 +66,14 @@ configure-options =
...
@@ -59,13 +66,14 @@ configure-options =
--with-libcurl=${curl:location}/lib
--with-libcurl=${curl:location}/lib
--with-x=no
--with-x=no
environment =
environment =
PATH=${pkgconfig:location}/bin:${automake:location}/bin:${autoconf:location}/bin:${libtool:location}/bin:${subversion:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${automake:location}/bin:${autoconf:location}/bin:${libtool:location}/bin:${subversion:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
M4=${m4:location}/bin/m4
M4=${m4:location}/bin/m4
CFLAGS=-fPIC
CPPFLAGS=-I${openssl:location}/include -I${mariadb:location}/include
CPPFLAGS=-I${openssl:location}/include -I${mariadb:location}/include
LDFLAGS = -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${mariadb:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS = -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${mariadb:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
MYSQL_CONFIG=${mariadb:location}/bin/mysql_config
MYSQL_CONFIG=${mariadb:location}/bin/mysql_config
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
\ No newline at end of file
component/condor/buildout.cfg
View file @
ec4df2af
...
@@ -2,13 +2,6 @@
...
@@ -2,13 +2,6 @@
parts =
parts =
condor
condor
libexpat
kerberos
perl
openldap
java
dash
zlib
extends =
extends =
../libexpat/buildout.cfg
../libexpat/buildout.cfg
...
@@ -21,7 +14,33 @@ extends =
...
@@ -21,7 +14,33 @@ extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
[condor]
[condor]
recipe = hexagonit.recipe.download
recipe = slapos.recipe.build
url = https://doc-0c-60-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/5sp63u5v03ie9nu49dfodreb2dcomstb/1369231200000/01656987990562299665/*/0B9HYL8A0vSryTTIxX29rM0N6N28?e=download
slapos_promise =
md5sum = e7d96746fc9102ca4583f8cd5eb472e0
directory:bin
strip-top-level-dir = true
directory:etc
directory:examples
directory:include
directory:lib
directory:libexec
directory:man
directory:src
directory:sbin
depends =
${libexpat:location}
${kerberos:location}
${perl:location}
${openldap:location}
${java:location}
${dash:location}
${zlib:location}
x86 = http://parrot.cs.wisc.edu//symlink/20130530031504/7/7.9/7.9.5/28b36a94ad1a405bac689a76b6c353a7/condor-7.9.5-x86_Debian6-unstripped.tar.gz 227059bb9bebc9033665bb246d90a7bb
x86-64 = http://parrot.cs.wisc.edu//symlink/20130530031504/7/7.9/7.9.5/7000a12f9a22765b457e2958762871d5/condor-7.9.5-x86_64_Debian6-stripped.tar.gz 30fa4cebabb8ff4971c769f4ef74ba68
script =
if not self.options.get('path'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
workdir = guessworkdir(extract_dir)
self.copyTree(workdir, "%(location)s")
\ No newline at end of file
setup.py
View file @
ec4df2af
...
@@ -28,7 +28,7 @@ from setuptools import setup, find_packages
...
@@ -28,7 +28,7 @@ from setuptools import setup, find_packages
import
glob
import
glob
import
os
import
os
version
=
'0.78.
1
.dev'
version
=
'0.78.
2
.dev'
name
=
'slapos.cookbook'
name
=
'slapos.cookbook'
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
long_description
=
open
(
"README.txt"
).
read
()
+
"
\
n
"
+
\
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
open
(
"CHANGES.txt"
).
read
()
+
"
\
n
"
...
...
slapos/recipe/boinc/__init__.py
View file @
ec4df2af
...
@@ -44,6 +44,7 @@ class Recipe(GenericBaseRecipe):
...
@@ -44,6 +44,7 @@ class Recipe(GenericBaseRecipe):
root
=
options
[
'installroot'
].
strip
()
root
=
options
[
'installroot'
].
strip
()
options
[
'home_page'
]
=
url_base
+
"/"
+
project
options
[
'home_page'
]
=
url_base
+
"/"
+
project
options
[
'admin_page'
]
=
url_base
+
"/"
+
project
+
"_ops/"
options
[
'admin_page'
]
=
url_base
+
"/"
+
project
+
"_ops/"
options
[
'result_page'
]
=
url_base
+
"/"
+
project
+
"_result/"
options
[
'cronjob'
]
=
os
.
path
.
join
(
root
,
project
+
'.cronjob'
)
options
[
'cronjob'
]
=
os
.
path
.
join
(
root
,
project
+
'.cronjob'
)
return
GenericBaseRecipe
.
__init__
(
self
,
buildout
,
name
,
options
)
return
GenericBaseRecipe
.
__init__
(
self
,
buildout
,
name
,
options
)
...
...
slapos/recipe/boinc/configure.py
View file @
ec4df2af
...
@@ -172,6 +172,7 @@ def services(args):
...
@@ -172,6 +172,7 @@ def services(args):
languages
,
compiled
,
user_profile
)
languages
,
compiled
,
user_profile
)
os
.
system
(
"chmod g+w -R "
+
args
[
'installroot'
])
os
.
system
(
"chmod g+w -R "
+
args
[
'installroot'
])
os
.
system
(
cmd
)
os
.
system
(
cmd
)
os
.
system
(
"chmod 700 %s"
%
os
.
path
.
join
(
args
[
'installroot'
],
'keys'
))
os
.
system
(
"chmod o+x "
+
inc
)
os
.
system
(
"chmod o+x "
+
inc
)
os
.
system
(
"chmod -R o+r "
+
inc
)
os
.
system
(
"chmod -R o+r "
+
inc
)
os
.
system
(
"chmod o+x "
+
languages
)
os
.
system
(
"chmod o+x "
+
languages
)
...
...
slapos/recipe/redis/template/redis.conf.in
View file @
ec4df2af
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
daemonize
yes
daemonize
no
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by
# When running daemonized, Redis writes a pid file in /var/run/redis.pid by
# default. You can specify a custom pid file location here.
# default. You can specify a custom pid file location here.
...
...
slapos/recipe/trac.py
View file @
ec4df2af
...
@@ -96,12 +96,12 @@ class Recipe(GenericBaseRecipe):
...
@@ -96,12 +96,12 @@ class Recipe(GenericBaseRecipe):
else
:
else
:
self
.
logger
.
info
(
"The directory %s already exist, skip project installation"
self
.
logger
.
info
(
"The directory %s already exist, skip project installation"
%
project_dir
)
%
project_dir
)
trac_args
=
[
trac_admin
,
project_dir
,
'
upgrade
'
]
trac_args
=
[
trac_admin
,
project_dir
,
'
repository'
,
'list
'
]
process_upgrade
=
subprocess
.
Popen
(
trac_args
,
stdout
=
subprocess
.
PIPE
,
process_upgrade
=
subprocess
.
Popen
(
trac_args
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
STDOUT
,
env
=
env
)
stderr
=
subprocess
.
STDOUT
)
result
=
process_upgrade
.
communicate
()[
0
]
result
=
process_upgrade
.
communicate
()[
0
]
if
process_upgrade
.
returncode
is
None
or
process_upgrade
.
returncode
!=
0
:
if
process_upgrade
.
returncode
is
None
or
process_upgrade
.
returncode
!=
0
:
self
.
logger
.
error
(
"Failed to
upgrade
Trac.
\
n
The error was: %s"
%
result
)
self
.
logger
.
error
(
"Failed to
run
Trac.
\
n
The error was: %s"
%
result
)
return
[]
return
[]
#Add All grant to admin user
#Add All grant to admin user
...
...
software/ajaxplorer/instance-apachephp.cfg
View file @
ec4df2af
...
@@ -13,7 +13,7 @@ parts =
...
@@ -13,7 +13,7 @@ parts =
frontend-ajaxupload-promise
frontend-ajaxupload-promise
frontend-website2-promise
frontend-website2-promise
frontend-website-promise
frontend-website-promise
content-promise
#
content-promise
publish-connection-informations
publish-connection-informations
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
...
@@ -339,21 +339,21 @@ port = $${apache-php:port}
...
@@ -339,21 +339,21 @@ port = $${apache-php:port}
[frontend-website-promise]
[frontend-website-promise]
recipe = slapos.cookbook:check_url_available
recipe = slapos.cookbook:check_url_available
path = $${basedirectory:promises}/frontend
path = $${basedirectory:promises}/frontend
-website
url = $${request-frontend:connection-site_url}
url = $${request-frontend:connection-site_url}
dash_path = ${dash:location}/bin/dash
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl
curl_path = ${curl:location}/bin/curl
[frontend-website2-promise]
[frontend-website2-promise]
recipe = slapos.cookbook:check_url_available
recipe = slapos.cookbook:check_url_available
path = $${basedirectory:promises}/frontend
path = $${basedirectory:promises}/frontend
-website2
url = $${request-frontend2:connection-site_url}
url = $${request-frontend2:connection-site_url}
dash_path = ${dash:location}/bin/dash
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl
curl_path = ${curl:location}/bin/curl
[frontend-ajaxupload-promise]
[frontend-ajaxupload-promise]
recipe = slapos.cookbook:check_url_available
recipe = slapos.cookbook:check_url_available
path = $${basedirectory:promises}/frontend
path = $${basedirectory:promises}/frontend
-ajaxupload
url = $${request-frontend-ajaxupload:connection-site_url}
url = $${request-frontend-ajaxupload:connection-site_url}
dash_path = ${dash:location}/bin/dash
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl
curl_path = ${curl:location}/bin/curl
...
@@ -362,7 +362,7 @@ curl_path = ${curl:location}/bin/curl
...
@@ -362,7 +362,7 @@ curl_path = ${curl:location}/bin/curl
recipe = slapos.cookbook:check_page_content
recipe = slapos.cookbook:check_page_content
path = $${basedirectory:promises}/content
path = $${basedirectory:promises}/content
url = $${request-frontend-ajaxupload:connection-site_url}
url = $${request-frontend-ajaxupload:connection-site_url}
pattern
= AjaXplorer
match
= AjaXplorer
dash_path = ${dash:location}/bin/dash
dash_path = ${dash:location}/bin/dash
curl_path = ${curl:location}/bin/curl
curl_path = ${curl:location}/bin/curl
...
...
software/ajaxplorer/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
develop =
${:parts-directory}/slapos.cookbook-repository
parts =
parts =
slapos-cookbook
slapos-cookbook
subversion
subversion
...
@@ -12,9 +9,8 @@ parts =
...
@@ -12,9 +9,8 @@ parts =
instance-mariadb
instance-mariadb
template-httpd-conf
template-httpd-conf
application
application
website
website1-template
slapos.cookbook-repository
website2-template
check-recipe
extends =
extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
...
@@ -27,7 +23,6 @@ extends =
...
@@ -27,7 +23,6 @@ extends =
../../component/dash/buildout.cfg
../../component/dash/buildout.cfg
../../component/stunnel/buildout.cfg
../../component/stunnel/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/lxml-python/buildout.cfg
../../component/git/buildout.cfg
[instance]
[instance]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
...
@@ -40,7 +35,7 @@ md5sum = 4c7936accb3658871b635158198b7905
...
@@ -40,7 +35,7 @@ md5sum = 4c7936accb3658871b635158198b7905
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apachephp.cfg
url = ${:_profile_base_location_}/instance-apachephp.cfg
output = ${buildout:directory}/template-apachephp.cfg
output = ${buildout:directory}/template-apachephp.cfg
md5sum = e
89aed0fe9697e18bd210a82b82f3b27
md5sum = e
f5c61127a21c016014021477d1791e3
mode = 0644
mode = 0644
[instance-mariadb]
[instance-mariadb]
...
@@ -51,15 +46,31 @@ mode = 0644
...
@@ -51,15 +46,31 @@ mode = 0644
[application]
[application]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://
netcologne.dl.sourceforge.net/project/ajaxplorer/ajaxplorer/dev-channel/4.3.3/ajaxplorer-core-4.3.3
.tar.gz
url = http://
garr.dl.sourceforge.net/project/ajaxplorer/ajaxplorer/dev-channel/4.3.4/ajaxplorer-core-4.3.4
.tar.gz
md5sum =
b6b1e767dd3b966a74782a03190130b0
md5sum =
2f2ff8bda7bbe841ef0e870c724eb74f
strip-top-level-dir = true
strip-top-level-dir = true
[website]
[website]
recipe = z3c.recipe.mkdir
recipe = z3c.recipe.mkdir
path1 = ${application:location}/data/files/website
path2 = ${application:location}/data/files/website2
paths =
paths =
${application:location}/data/files/website
${:path1}
${application:location}/data/files/website2
${:path2}
[website1-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/index.html.in
output = ${website:path1}/index.html
md5sum = c5695762361b801c284ee23a150cd1f1
mode = 0644
[website2-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/templates/index.html.in
output = ${website:path2}/index.html
md5sum = c5695762361b801c284ee23a150cd1f1
mode = 0644
[template-httpd-conf]
[template-httpd-conf]
recipe = slapos.recipe.download
recipe = slapos.recipe.download
...
@@ -69,19 +80,6 @@ filename = apache.conf.in
...
@@ -69,19 +80,6 @@ filename = apache.conf.in
md5sum = 6788381fadd8ca96f892d33df3163da0
md5sum = 6788381fadd8ca96f892d33df3163da0
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
# Local development
[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git
branch = grid-computing
git-executable = ${git:location}/bin/git
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[networkcache]
[networkcache]
# signature certificates of the following uploaders.
# signature certificates of the following uploaders.
# Romain Courteaud
# Romain Courteaud
...
@@ -205,6 +203,7 @@ lxml = 3.1.1
...
@@ -205,6 +203,7 @@ lxml = 3.1.1
numpy = 1.6.2
numpy = 1.6.2
# websockify 0.4.1 doesn't install well
# websockify 0.4.1 doesn't install well
websockify = 0.3.0
websockify = 0.3.0
slapos.cookbook=0.78.1
setuptools = 0.6c12dev-r88846
setuptools = 0.6c12dev-r88846
...
@@ -230,7 +229,7 @@ z3c.recipe.mkdir = 0.5
...
@@ -230,7 +229,7 @@ z3c.recipe.mkdir = 0.5
Flask = 0.9
Flask = 0.9
# Required by:
# Required by:
# slapos.cookbook==0.78.1
.dev
# slapos.cookbook==0.78.1
lock-file = 2.0
lock-file = 2.0
# Required by:
# Required by:
...
...
software/ajaxplorer/templates/index.html.in
0 → 100644
View file @
ec4df2af
<html>
<head>
<title>
New Document - Created By AjaXplorer
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=iso-8859-1"
>
</head>
<body
bgcolor=
"#FFFFFF"
text=
"#000000"
>
<h2>
Hi, this website folder is still empty. Please go to your File Manager administration and replace this folder by your new website files.
</h2>
</body>
</html>
software/boinc-client/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
# Local development - to be remove
develop =
${:parts-directory}/slapos.cookbook-repository
parts=
parts=
slapos-cookbook
slapos-cookbook
boinc
boinc
template
template
template-boinc
template-boinc
slapos.cookbook-repository
check-recipe
extends =
extends =
../../component/boinc-client/buildout.cfg
../../component/boinc-client/buildout.cfg
../../component/git/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
[template]
[template]
...
@@ -32,21 +26,173 @@ md5sum = 4a50c02252792d11b99d88206bc49e12
...
@@ -32,21 +26,173 @@ md5sum = 4a50c02252792d11b99d88206bc49e12
output = ${buildout:directory}/template-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
mode = 0644
mode = 0644
# Local development
[networkcache]
[slapos.cookbook-repository]
# signature certificates of the following uploaders.
recipe = plone.recipe.command
# Romain Courteaud
stop-on-error = true
# Sebastien Robin
branch = grid-computing
# Kazuhiko Shiozaki
revision =
# Cedric de Saint Martin
location = ${buildout:parts-directory}/${:_buildout_section_name_}
# Yingjie Xu
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
# Gabriel Monnerat
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
# Åukasz Nowak
# Test Agent (Automatic update from tests)
[check-recipe]
signature-certificate-list =
recipe = plone.recipe.command
-----BEGIN CERTIFICATE-----
stop-on-error = true
MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
update-command = ${:command}
CBMQRGVmYXVsdCBQcm92aW5jZTEPMA0GA1UEChMGTmV4ZWRpMB4XDTExMDkxNTA5
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
MDAwMloXDTEyMDkxNTA5MDAwMlowOTELMAkGA1UEBhMCRlIxGTAXBgNVBAgTEERl
ZmF1bHQgUHJvdmluY2UxDzANBgNVBAoTBk5leGVkaTCBnzANBgkqhkiG9w0BAQEF
AAOBjQAwgYkCgYEApYZv6OstoqNzxG1KI6iE5U4Ts2Xx9lgLeUGAMyfJLyMmRLhw
boKOyJ9Xke4dncoBAyNPokUR6iWOcnPHtMvNOsBFZ2f7VA28em3+E1JRYdeNUEtX
Z0s3HjcouaNAnPfjFTXHYj4um1wOw2cURSPuU5dpzKBbV+/QCb5DLheynisCAwEA
ATANBgkqhkiG9w0BAQsFAAOBgQBCZLbTVdrw3RZlVVMFezSHrhBYKAukTwZrNmJX
mHqi2tN8tNo6FX+wmxUUAf3e8R2Ymbdbn2bfbPpcKQ2fG7PuKGvhwMG3BlF9paEC
q7jdfWO18Zp/BG7tagz0jmmC4y/8akzHsVlruo2+2du2freE8dK746uoMlXlP93g
QUUGLQ==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB8jCCAVugAwIBAgIJAPu2zchZ2BxoMA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV
BAMMB3RzeGRldjMwHhcNMTExMDE0MTIxNjIzWhcNMTIxMDEzMTIxN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MxETAPBgNV
BAMMCENPTVAtNzcyMCAXDTEyMDgxMDE1NDI1MVoYDzIxMTIwNzE3MTU0MjUxWjAT
MREwDwYDVQQDDAhDT01QLTc3MjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
o7aipd6MbnuGDeR1UJUjuMLQUariAyQ2l2ZDS6TfOwjHiPw/mhzkielgk73kqN7A
sUREx41eTcYCXzTq3WP3xCLE4LxLg1eIhd4nwNHj8H18xR9aP0AGjo4UFl5BOMa1
mwoyBt3VtfGtUmb8whpeJgHhqrPPxLoON+i6fIbXDaUCAwEAAaNQME4wHQYDVR0O
BBYEFEfjy3OopT2lOksKmKBNHTJE2hFlMB8GA1UdIwQYMBaAFEfjy3OopT2lOksK
mKBNHTJE2hFlMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAaNRx6YN2
M/p3R8/xS6zvH1EqJ3FFD7XeAQ52WuQnKSREzuw0dsw12ClxjcHiQEFioyTiTtjs
5pW18Ry5Ie7iFK4cQMerZwWPxBodEbAteYlRsI6kePV7Gf735Y1RpuN8qZ2sYL6e
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
-----END CERTIFICATE-----
[versions]
[versions]
lxml = 2.3.6
Jinja2 = 2.7
\ No newline at end of file
MarkupSafe = 0.18
Werkzeug = 0.8.3
buildout-versions = 1.7
inotifyx = 0.2.0-1
lxml = 3.2.1
meld3 = 0.6.10
netaddr = 0.7.10
plone.recipe.command = 1.1
pytz = 2013b
slapos.core = 0.35.1
slapos.recipe.cmmi = 0.1.1
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.4.2
xml-marshaller = 0.9.7
slapos.cookbook=0.78.1
# Required by:
# slapos.core==0.35.1
Flask = 0.9
# Required by:
# slapos.cookbook==0.78.1
lock-file = 2.0
# Required by:
# slapos.core==0.35.1
netifaces = 0.8-1
# Required by:
# slapos.core==0.35.1
pyflakes = 0.7.2
# Required by:
# hexagonit.recipe.download==1.6nxd002
# slapos.cookbook==0.78.1
# slapos.core==0.35.1
# supervisor==3.0b1
# zc.buildout==1.6.0-dev-SlapOS-010
# zope.interface==4.0.5
setuptools = 0.6c12dev-r88846
# Required by:
# slapos.core==0.35.1
supervisor = 3.0b1
# Required by:
# slapos.core==0.35.1
unittest2 = 0.5.1
# Required by:
# slapos.core==0.35.1
zope.interface = 4.0.5
software/boinc/README.txt
0 → 100644
View file @
ec4df2af
BOINC Server
============
Introduction
------------
The Berkeley Open Infrastructure for Network Computing (BOINC) is an open
source middleware system for volunteer and grid computing.
http://boinc.berkeley.edu/trac/wiki/ProjectMain
This Software Release is used to deploy an instance of BOINC server on SlapOS
How it work?
------------
The following example show how to request an instance of BOINC server.
BOINC Server Parameters :
- project: The name of your project. Default is project=boinc_test
- full-name: Full name of your project. Default is full-name=Boinc Project SAMPLE
- domain: Use this parameter if you want to define by hand the url of your project.
Ex: domain = http://myboinc.host-dommain.com
- copyright-holder: The name of your compagny. It will be displayed at the footer of
your BOINC project website.
Job Submission Parameters:
- default-template-result (Default is ${boinc-default:template-result}): Set the
default Output Template to use when creating a BOINC work unit.
- default-template-wu (Default is ${boinc-default:template-wu}): Set the
default Input Template to use when creating a BOINC work unit.
- default-extension (Default is ${boinc-default:extension}): For example in windows if
job executable is an .exe, set default-extension=exe
- default-platform (Default is ${boinc-default:platform}): Set the default platform
for job submission. http://boinc.berkeley.edu/trac/wiki/BoincPlatforms
- boinc-app-list: Use this json parameter to submit your job list to BOINC Server.
For exemple:
boinc-app-list = {"APP_NAME":
{"APP_VERSION":
{"use_default":true, "binary":"PATH/URL_OF_BINARY",
"wu-number":NUM, "input-file":"PATH/URL_OF_INPUT_FILE"},
"APP_VERSION2":
{"use_default":false, "binary":"PATH/URL_OF_BINARY",
"wu-number":NUM, "input-file":"PATH/URL_OF_INPUT_FILE",
"extension":"", "platform":"x86_64-pc-linux-gnu",
"template-result":"PATH/URL_OF_OUTPUT_TEMPLATE",
"template-wu":"PATH/URL_OF_INPUT_TEMPLATE"}
}, ...}
APP_NAME example: upper_case (without space)
APP_VERSION examples: 1.00, 2.10, 1.10
Request your instance:
This is a minimal parameter to use:
<?xml version="1.0" encoding="utf-8"?>
<instance>
<parameter id="project">Sample</parameter>
<parameter id="full-name">My BOINC project Sample</parameter>
<parameter id="copyright-holder">my.compagny.com</parameter>
<parameter id="boinc-app-list">JSON-JOB-LIST</parameter>
</instance>
Note: - You can update boinc-app-list anytime, this would allow you to update the
nomber of work unit, or to modify files. For any job modification, APP_NAME and
APP_VERSION is required.
- To create another BOINC project, please request another instance on SlapOS.
Warning: Once your project has been started (and BOINC client is connected on current
server), don't change the project name, otherwise this would cause the lost of current project.
Connect to your instance
------------------------
When your instance is ready, SlapOS must provide 3 URL:
boinc_home_page URL_BASE/PROJECT/ (public web page, BOINC Client will use this URL
to connect to your server)
boinc_admin_page URL_BASE/PROJECT_ops/ (administrative web page)
boinc_result_url URL_BASE/PROJECT_result/ (result web page, this page will allow
you to show job result)
software/boinc/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
# Local development
develop =
${:parts-directory}/slapos.cookbook-repository
parts =
parts =
template
template
application
application
...
@@ -12,11 +8,8 @@ parts =
...
@@ -12,11 +8,8 @@ parts =
template_input
template_input
slapos-cookbook
slapos-cookbook
instance-egg
instance-egg
slapos.cookbook-repository
check-recipe
extends =
extends =
../../component/git/buildout.cfg
../../stack/boinc/buildout.cfg
../../stack/boinc/buildout.cfg
#Generate All instances templates
#Generate All instances templates
...
@@ -72,19 +65,3 @@ template-result = ${template_result:location}/${template_result:filename}
...
@@ -72,19 +65,3 @@ template-result = ${template_result:location}/${template_result:filename}
template-wu = ${template_wu:location}/${template_wu:filename}
template-wu = ${template_wu:location}/${template_wu:filename}
platform = x86_64-pc-linux-gnu
platform = x86_64-pc-linux-gnu
extension =
extension =
# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = grid-computing
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
software/condor/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
# Local development - to be remove
develop =
${:parts-directory}/slapos.cookbook-repository
parts =
parts =
condor
condor
slapos-cookbook
slapos-cookbook
...
@@ -11,12 +7,9 @@ parts =
...
@@ -11,12 +7,9 @@ parts =
template-condor
template-condor
description-file
description-file
executable
executable
slapos.cookbook-repository
check-recipe
extends =
extends =
../../component/condor/buildout.cfg
../../component/condor/buildout.cfg
../../component/git/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
[template]
[template]
...
@@ -52,24 +45,9 @@ md5sum = c512f495cdd112bceb04feab7c909a10
...
@@ -52,24 +45,9 @@ md5sum = c512f495cdd112bceb04feab7c909a10
[condor-application]
[condor-application]
list = {"condor_test":{"description-file":"${description-file:location}/${description-file:filename}", "executable":"${executable:location}/${executable:filename}", "executable-name":"${executable:filename}", "files":{}}}
list = {"condor_test":{"description-file":"${description-file:location}/${description-file:filename}", "executable":"${executable:location}/${executable:filename}", "executable-name":"${executable:filename}", "files":{}}}
# Local development
[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git
branch = grid-computing
git-executable = ${git:location}/bin/git
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[networkcache]
[networkcache]
# Romain Courteaud + Sebastien Robin + Alain Takoudjou
# signature certificates of the following uploaders.
# + Cedric de Saint Martin signature certificate
# List of signatures of uploaders we trust:
# Romain Courteaud
# Romain Courteaud
# Sebastien Robin
# Sebastien Robin
# Kazuhiko Shiozaki
# Kazuhiko Shiozaki
...
@@ -77,7 +55,7 @@ command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
...
@@ -77,7 +55,7 @@ command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
# Yingjie Xu
# Yingjie Xu
# Gabriel Monnerat
# Gabriel Monnerat
# Åukasz Nowak
# Åukasz Nowak
# Test Agent
Signature
# Test Agent
(Automatic update from tests)
# Alain Takoudjou
# Alain Takoudjou
signature-certificate-list =
signature-certificate-list =
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
@@ -185,17 +163,17 @@ signature-certificate-list =
...
@@ -185,17 +163,17 @@ signature-certificate-list =
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
-----END CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB
9DCCAV2gAwIBAgIJAL392bEdqpFQMA0GCSqGSIb3DQEBBQUAMBMxETAP
BgNV
MIIB
8jCCAVugAwIBAgIJANlTfgX/9cX7MA0GCSqGSIb3DQEBBQUAMBExDzAN
BgNV
BAMM
CENPTVAtMjM0MB4XDTExMTEwOTE1MzA0M1oXDTEyMTEwODE1MzA0M1owEzER
BAMM
BkNPTVAtMDAgFw0xMzA1MzAxMTUyMDhaGA8yMTEzMDUwNjExNTIwOFowETEP
MA
8GA1UEAwwIQ09NUC0yMzQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMRR
MA
0GA1UEAwwGQ09NUC0wMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSGtkh
T0cacZKztie/DaRRjq3mgcqfPKoGXu6zXmeRQI+6Y4bnzjf8h/jAuPzR552P0xK5
UPOcYMRiL2czmdfeHNB34nXEr5fMpglbA9RO9Cakf6YhK0jU5Y7kzAb6ZlyEzcC+
psxhavXA8hOGRLFDtvDMQLepVHWfwqtFtcp5vNf2+KWqOYy0OxHfVIlnatvCqTZN
YkYWQZ9WCLwGuUvThg5iYlnBxmksv5Ot+5DKyTL4hdMEPCQ0RaLcXSkbxk56q3Rn
NG1vRsSOAQ+v7QNFHh6NBbiSrjBBfg4vkfzqnsUvAgMBAAGjUDBOMB0GA1UdDgQW
EQdYL+IJXS1KGMRWbl4Ql3NhShM9q7vBgyoMuwIDAQABo1AwTjAdBgNVHQ4EFgQU
BBTGGw+ASoDi9kqPElDkC0Q5RtAfRjAfBgNVHSMEGDAWgBTGGw+ASoDi9kqPElDk
EpO2oyW/sFAS9eojDbYo3hEOOIIwHwYDVR0jBBgwFoAUEpO2oyW/sFAS9eojDbYo
C0Q5RtAfRjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIOuR1OqXLke
3hEOOIIwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBP02wmekqmeD23
LLzH0kRnlIOe60dYJvRya53wDx5x2g4/qkXZPLx2RcbaUrX/SCbL70vfr+apUPs
s
90NmwDwyEznDPEJDJybREtP+T++EJ1Q/rcnxIQ5a1iOEWY4RdH87H/+2O/7nDzG
s
dOSJ86sf/PQHW3/1fhTTE+Vck1MiiAq0aIx6WnKnz4+ZcQctB7b0DCsTcQnmbpi2
L0KzeG3WDdmnxLMQ5zpG9Qd5twC0GoMl1zf+8f9/t4QE7Dn4IosP3H3dkcRDQRch
n9MuhWaT21VOYhIGzJFPw5XW47/RrwhR
SKYaJZHMckKx40/hhRsyFDR1Gj215g==
-----END CERTIFICATE-----
-----END CERTIFICATE-----
[versions]
[versions]
...
@@ -216,13 +194,14 @@ slapos.recipe.cmmi = 0.1.1
...
@@ -216,13 +194,14 @@ slapos.recipe.cmmi = 0.1.1
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.4.2
slapos.recipe.template = 2.4.2
xml-marshaller = 0.9.7
xml-marshaller = 0.9.7
slapos.cookbook=0.78.1
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
Flask = 0.9
Flask = 0.9
# Required by:
# Required by:
# slapos.cookbook==0.78.1
.dev
# slapos.cookbook==0.78.1
lock-file = 2.0
lock-file = 2.0
# Required by:
# Required by:
...
@@ -235,12 +214,12 @@ pyflakes = 0.7.2
...
@@ -235,12 +214,12 @@ pyflakes = 0.7.2
# Required by:
# Required by:
# hexagonit.recipe.download==1.6nxd002
# hexagonit.recipe.download==1.6nxd002
# slapos.cookbook==0.78.1
.dev
# slapos.cookbook==0.78.1
# slapos.core==0.35.1
# slapos.core==0.35.1
# supervisor==3.0b1
# supervisor==3.0b1
# zc.buildout==1.6.0-dev-SlapOS-010
# zc.buildout==1.6.0-dev-SlapOS-010
# zope.interface==4.0.5
# zope.interface==4.0.5
setuptools = 0.6c12dev-r88
997
setuptools = 0.6c12dev-r88
846
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
...
...
software/hexaglobe-watermarking/README.rst
0 → 100644
View file @
ec4df2af
Watermarking Software Release
=============================
This Software Release is used by Hexaglobe to deploy their video "watermarking"
system.
This is basically just an nginx daemon compiled with a few custom modules and with
a custom configuration, and an "administration" nginx daemon.
This Software Release also supports some early version of the "edge" support
(i.e you request an instance of hexaglobe-watermarking, with "edge" software-type,
and this instance will itself request many instances of watermakring over the world, in a
"computing CDN" style).
software/redis-server/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
# Local development
develop =
${:parts-directory}/slapos.cookbook-repository
parts =
parts =
slapos-cookbook
slapos-cookbook
redis
redis
template
template
template-redis
template-redis
slapos.cookbook-repository
check-recipe
extends =
extends =
../../component/redis/buildout.cfg
../../component/redis/buildout.cfg
...
@@ -31,34 +25,16 @@ output = ${buildout:directory}/template-redis.cfg
...
@@ -31,34 +25,16 @@ output = ${buildout:directory}/template-redis.cfg
mode = 0644
mode = 0644
md5sum = f7b01ca7698c1b771f0653d64dc945a7
md5sum = f7b01ca7698c1b771f0653d64dc945a7
# Local development
[slapos.cookbook-repository]
recipe = plone.recipe.command
stop-on-error = true
branch = grid-computing
revision =
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
[networkcache]
[networkcache]
# Romain Courteaud + Sebastien Robin + Alain Takoudjou
# signature certificates of the following uploaders.
# + Cedric de Saint Martin signature certificate
# List of signatures of uploaders we trust:
# Romain Courteaud
# Romain Courteaud
# Sebastien Robin
# Sebastien Robin
# Kazuhiko Shiozaki
# Kazuhiko Shiozaki
# Cedric de Saint Martin
# Cedric de Saint Martin
# Yingjie Xu
# Yingjie Xu
# Gabriel Monnerat
# Gabriel Monnerat
#
Å
ukasz Nowak
#
Ã…Â
ukasz Nowak
# Test Agent
Signature
# Test Agent
(Automatic update from tests)
# Alain Takoudjou
# Alain Takoudjou
signature-certificate-list =
signature-certificate-list =
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
...
@@ -166,31 +142,34 @@ signature-certificate-list =
...
@@ -166,31 +142,34 @@ signature-certificate-list =
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
-----END CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN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BAQUFAAOBgQBP02wmekqmeD23
LLzH0kRnlIOe60dYJvRya53wDx5x2g4/qkXZPLx2RcbaUrX/SCbL70vfr+apUPs
s
90NmwDwyEznDPEJDJybREtP+T++EJ1Q/rcnxIQ5a1iOEWY4RdH87H/+2O/7nDzG
s
dOSJ86sf/PQHW3/1fhTTE+Vck1MiiAq0aIx6WnKnz4+ZcQctB7b0DCsTcQnmbpi2
L0KzeG3WDdmnxLMQ5zpG9Qd5twC0GoMl1zf+8f9/t4QE7Dn4IosP3H3dkcRDQRch
n9MuhWaT21VOYhIGzJFPw5XW47/RrwhR
SKYaJZHMckKx40/hhRsyFDR1Gj215g==
-----END CERTIFICATE-----
-----END CERTIFICATE-----
[versions]
[versions]
Jinja2 = 2.6
slapos.cookbook=0.78.1
Jinja2 = 2.7
MarkupSafe = 0.18
Werkzeug = 0.8.3
Werkzeug = 0.8.3
buildout-versions = 1.7
buildout-versions = 1.7
hexagonit.recipe.cmmi =
1.6
hexagonit.recipe.cmmi =
2.0
inotifyx = 0.2.0
inotifyx = 0.2.0
-1
lxml = 3.
1.0
lxml = 3.
2.1
meld3 = 0.6.10
meld3 = 0.6.10
netaddr = 0.7.10
netaddr = 0.7.10
plone.recipe.command = 1.1
plone.recipe.command = 1.1
pytz = 2013b
pytz = 2013b
slapos.core = 0.35.1
slapos.core = 0.35.1
slapos.recipe.cmmi = 0.1.1
slapos.recipe.template = 2.4.2
slapos.recipe.template = 2.4.2
xml-marshaller = 0.9.7
xml-marshaller = 0.9.7
...
@@ -199,32 +178,29 @@ xml-marshaller = 0.9.7
...
@@ -199,32 +178,29 @@ xml-marshaller = 0.9.7
Flask = 0.9
Flask = 0.9
# Required by:
# Required by:
# hexagonit.recipe.cmmi==1.6
# slapos.cookbook==0.78.1
hexagonit.recipe.download = 1.6
# Required by:
# slapos.cookbook==0.72.0
lock-file = 2.0
lock-file = 2.0
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
netifaces = 0.8
netifaces = 0.8
-1
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
pyflakes = 0.
6.1
pyflakes = 0.
7.2
# Required by:
# Required by:
# slapos.cookbook==0.72.0
# hexagonit.recipe.download==1.6nxd002
# slapos.cookbook==0.78.1
# slapos.core==0.35.1
# slapos.core==0.35.1
# supervisor==3.0b
1
# supervisor==3.0b
2
# zc.buildout==1.6.0-dev-SlapOS-010
# zc.buildout==1.6.0-dev-SlapOS-010
# zope.interface==4.0.5
# zope.interface==4.0.5
setuptools = 0.6c12dev-r88846
setuptools = 0.6c12dev-r88846
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
supervisor = 3.0b
1
supervisor = 3.0b
2
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
...
...
software/trac-svn/software.cfg
View file @
ec4df2af
[buildout]
[buildout]
develop =
#
develop =
${:parts-directory}/slapos.cookbook-repository
#
${:parts-directory}/slapos.cookbook-repository
# ${trac-plugins-egg:location}/accountmanager
# ${trac-plugins-egg:location}/accountmanager
parts =
parts =
...
@@ -24,8 +24,8 @@ parts =
...
@@ -24,8 +24,8 @@ parts =
template-git-http-backend-cgi
template-git-http-backend-cgi
# trac-plugins-egg
# trac-plugins-egg
# check-egg
# check-egg
slapos.cookbook-repository
#
slapos.cookbook-repository
check-recipe
#
check-recipe
extends =
extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
...
@@ -179,8 +179,9 @@ command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
...
@@ -179,8 +179,9 @@ command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
# Cedric de Saint Martin
# Cedric de Saint Martin
# Yingjie Xu
# Yingjie Xu
# Gabriel Monnerat
# Gabriel Monnerat
#
Å
ukasz Nowak
#
Ã…Â
ukasz Nowak
# Test Agent (Automatic update from tests)
# Test Agent (Automatic update from tests)
# Alain Takoudjou
signature-certificate-list =
signature-certificate-list =
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
MIIB4DCCAUkCADANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJGUjEZMBcGA1UE
...
@@ -286,11 +287,24 @@ signature-certificate-list =
...
@@ -286,11 +287,24 @@ signature-certificate-list =
5pW18Ry5Ie7iFK4cQMerZwWPxBodEbAteYlRsI6kePV7Gf735Y1RpuN8qZ2sYL6e
5pW18Ry5Ie7iFK4cQMerZwWPxBodEbAteYlRsI6kePV7Gf735Y1RpuN8qZ2sYL6e
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
-----END CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIB8jCCAVugAwIBAgIJANlTfgX/9cX7MA0GCSqGSIb3DQEBBQUAMBExDzANBgNV
BAMMBkNPTVAtMDAgFw0xMzA1MzAxMTUyMDhaGA8yMTEzMDUwNjExNTIwOFowETEP
MA0GA1UEAwwGQ09NUC0wMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSGtkh
UPOcYMRiL2czmdfeHNB34nXEr5fMpglbA9RO9Cakf6YhK0jU5Y7kzAb6ZlyEzcC+
YkYWQZ9WCLwGuUvThg5iYlnBxmksv5Ot+5DKyTL4hdMEPCQ0RaLcXSkbxk56q3Rn
EQdYL+IJXS1KGMRWbl4Ql3NhShM9q7vBgyoMuwIDAQABo1AwTjAdBgNVHQ4EFgQU
EpO2oyW/sFAS9eojDbYo3hEOOIIwHwYDVR0jBBgwFoAUEpO2oyW/sFAS9eojDbYo
3hEOOIIwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQBP02wmekqmeD23
90NmwDwyEznDPEJDJybREtP+T++EJ1Q/rcnxIQ5a1iOEWY4RdH87H/+2O/7nDzGs
L0KzeG3WDdmnxLMQ5zpG9Qd5twC0GoMl1zf+8f9/t4QE7Dn4IosP3H3dkcRDQRch
SKYaJZHMckKx40/hhRsyFDR1Gj215g==
-----END CERTIFICATE-----
[versions]
[versions]
#Error: Couldn't install: lxml 3.1.2
#Error: Couldn't install: lxml 3.1.2
lxml = 3.1.1
lxml = 3.1.1
lock-file = 2.0
Genshi = 0.7
Genshi = 0.7
Jinja2 = 2.6
Jinja2 = 2.6
MySQL-python = 1.2.4
MySQL-python = 1.2.4
...
@@ -304,6 +318,7 @@ collective.recipe.cmd = 0.6
...
@@ -304,6 +318,7 @@ collective.recipe.cmd = 0.6
docutils = 0.10
docutils = 0.10
gitdb = 0.5.4
gitdb = 0.5.4
hexagonit.recipe.cmmi = 2.0
hexagonit.recipe.cmmi = 2.0
slapos.recipe.cmmi = 0.1.1
inotifyx = 0.2.0
inotifyx = 0.2.0
meld3 = 0.6.10
meld3 = 0.6.10
netaddr = 0.7.10
netaddr = 0.7.10
...
@@ -315,6 +330,7 @@ slapos.recipe.template = 2.4.2
...
@@ -315,6 +330,7 @@ slapos.recipe.template = 2.4.2
slapos.toolbox = 0.34.0
slapos.toolbox = 0.34.0
smmap = 0.8.2
smmap = 0.8.2
z3c.recipe.scripts = 1.0.1
z3c.recipe.scripts = 1.0.1
slapos.cookbook = 0.78.1
# Required by:
# Required by:
# slapos.core==0.35.1
# slapos.core==0.35.1
...
@@ -351,7 +367,7 @@ pyflakes = 0.7.1
...
@@ -351,7 +367,7 @@ pyflakes = 0.7.1
# Required by:
# Required by:
# hexagonit.recipe.download==1.6nxd002
# hexagonit.recipe.download==1.6nxd002
# slapos.cookbook==0.7
6.1.dev
# slapos.cookbook==0.7
8.1
# slapos.core==0.35.1
# slapos.core==0.35.1
# supervisor==3.0b1
# supervisor==3.0b1
# zc.buildout==1.6.0-dev-SlapOS-010
# zc.buildout==1.6.0-dev-SlapOS-010
...
...
stack/boinc/buildout.cfg
View file @
ec4df2af
...
@@ -34,15 +34,15 @@ eggs =
...
@@ -34,15 +34,15 @@ eggs =
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
url = ${:_profile_base_location_}/instance-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
md5sum =
ead728e74a7fe58ef9b39397f2354f77
md5sum =
6642942dde15ab5195d8d8533690ef29
mode = 0644
mode = 0644
#Template for deploying MySQL Database Server
#Template for deploying MySQL Database Server
[template-mariadb]
[template-mariadb]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/
instance-mariadb.cfg
url = ${:_profile_base_location_}/
../lamp/mariadb/instance-mariadb.cfg.in
output = ${buildout:directory}/template-mariadb.cfg
output = ${buildout:directory}/template-mariadb.cfg
md5sum = 8142244a3087a23e002a08225579528a
#
md5sum = 8142244a3087a23e002a08225579528a
mode = 0644
mode = 0644
[template-httpd-conf]
[template-httpd-conf]
...
@@ -50,7 +50,7 @@ recipe = slapos.recipe.download
...
@@ -50,7 +50,7 @@ recipe = slapos.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
url = ${:_profile_base_location_}/template/${:filename}
mode = 0644
mode = 0644
filename = apache.in
filename = apache.in
md5sum =
030892494ce87357e6e09dcd89187bf4
md5sum =
5d5f49331debc4e3d2a02d8525064f8e
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[boinc-default]
[boinc-default]
...
@@ -179,103 +179,83 @@ signature-certificate-list =
...
@@ -179,103 +179,83 @@ signature-certificate-list =
-----END CERTIFICATE-----
-----END CERTIFICATE-----
[versions]
[versions]
MySQL-python = 1.2.3
pycrypto = 2.6
Jinja2 = 2.6
lxml = 3.2.1
setuptools = 0.6c12dev-r88846
Jinja2 = 2.7
MarkupSafe = 0.18
MySQL-python = 1.2.4
Werkzeug = 0.8.3
Werkzeug = 0.8.3
apache-libcloud = 0.1
1.3
apache-libcloud = 0.1
2.4
async = 0.6.1
async = 0.6.1
buildout-versions = 1.7
buildout-versions = 1.7
gitdb = 0.5.4
gitdb = 0.5.4
hexagonit.recipe.cmmi = 1.6
inotifyx = 0.2.0-1
meld3 = 0.6.9
meld3 = 0.6.10
netaddr = 0.7.10
plone.recipe.command = 1.1
plone.recipe.command = 1.1
pycrypto = 2.6
pytz = 2013b
slapos.recipe.cmmi = 0.1.1
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.4.2
slapos.recipe.template = 2.4.2
slapos.toolbox = 0.3
1.1
slapos.toolbox = 0.3
4.0
smmap = 0.8.2
smmap = 0.8.2
slapos.cookbook=0.78.1
# Required by:
# Required by:
# slapos.core==0.3
1.2
# slapos.core==0.3
5.1
# slapos.toolbox==0.3
1.1
# slapos.toolbox==0.3
4.0
Flask = 0.9
Flask = 0.9
# Required by:
# Required by:
# slapos.toolbox==0.3
1.1
# slapos.toolbox==0.3
4.0
GitPython = 0.3.2.RC1
GitPython = 0.3.2.RC1
# Required by:
# Required by:
# slapos.cookbook==0.68.2-dev
# slapos.toolbox==0.34.0
PyXML = 0.8.4
# Required by:
# slapos.toolbox==0.31.1
atomize = 0.1.1
atomize = 0.1.1
# Required by:
# Required by:
# slapos.toolbox==0.3
1.1
# slapos.toolbox==0.3
4.0
feedparser = 5.1.
2
feedparser = 5.1.
3
# Required by:
# Required by:
#
hexagonit.recipe.cmmi==1.6
#
slapos.cookbook==0.78.1
hexagonit.recipe.download = 1.5.1
lock-file = 2.0
# Required by:
# Required by:
# slapos.co
okbook==0.68.2-dev
# slapos.co
re==0.35.1
inotifyx = 0.2.0
netifaces = 0.8-1
# Required by:
# Required by:
# slapos.core==0.31.2
# slapos.toolbox==0.34.0
# slapos.toolbox==0.31.1
paramiko = 1.10.1
# xml-marshaller==0.9.7
lxml = 2.3.6
# Required by:
# slapos.cookbook==0.68.2-dev
netaddr = 0.7.10
# Required by:
# Required by:
# slapos.
core==0.31.2
# slapos.
toolbox==0.34.0
netifaces = 0.8
psutil = 0.7.1
# Required by:
# Required by:
# slapos.
toolbox==0.31
.1
# slapos.
core==0.35
.1
p
aramiko = 1.8.0
p
yflakes = 0.7.2
# Required by:
# Required by:
# slapos.toolbox==0.3
1.1
# slapos.toolbox==0.3
4.0
psutil = 0.6
.1
slapos.core = 0.35
.1
# Required by:
# Required by:
# slapos.cookbook==0.68.2-dev
# slapos.core==0.35.1
pytz = 2012f
# Required by:
# slapos.cookbook==0.68.2-dev
# slapos.core==0.31.2
# slapos.toolbox==0.31.1
# zc.buildout==1.6.0-dev-SlapOS-010
# zc.recipe.egg==1.3.2
setuptools = 0.6c12dev-r88846
# Required by:
# slapos.cookbook==0.68.2-dev
# slapos.toolbox==0.31.1
slapos.core = 0.31.2
# Required by:
# slapos.core==0.31.2
supervisor = 3.0b1
supervisor = 3.0b1
# Required by:
# Required by:
# slapos.cookbook==0.68.2-dev
# slapos.core==0.35.1
# slapos.toolbox==0.31.1
unittest2 = 0.5.1
xml-marshaller = 0.9.7
# Required by:
# Required by:
# slapos.
cookbook==0.68.2-dev
# slapos.
toolbox==0.34.0
zc.recipe.egg = 1.3.2
xml-marshaller = 0.9.7
# Required by:
# Required by:
# slapos.core==0.3
1.2
# slapos.core==0.3
5.1
zope.interface = 4.0.
1
zope.interface = 4.0.
5
\ No newline at end of file
stack/boinc/instance-boinc.cfg
View file @
ec4df2af
...
@@ -136,6 +136,7 @@ php_ini_dir = $${directory:php-ini-dir}
...
@@ -136,6 +136,7 @@ php_ini_dir = $${directory:php-ini-dir}
niceprojectname = $${slap-parameter:project}@HOME
niceprojectname = $${slap-parameter:project}@HOME
project = $${slap-parameter:project}
project = $${slap-parameter:project}
installroot = $${rootdirectory:project}/$${slap-parameter:project}
installroot = $${rootdirectory:project}/$${slap-parameter:project}
result_dir = $${rootdirectory:project}/$${slap-parameter:project}/sample_results/
[environment]
[environment]
PATH = $${rootdirectory:bin}:${subversion:location}/bin:${perl:location}/bin:%(PATH)s
PATH = $${rootdirectory:bin}:${subversion:location}/bin:${perl:location}/bin:%(PATH)s
...
@@ -321,6 +322,7 @@ path = $${basedirectory:scripts}/slapmonitor
...
@@ -321,6 +322,7 @@ path = $${basedirectory:scripts}/slapmonitor
[publish-connection-informations]
[publish-connection-informations]
recipe = slapos.cookbook:publish
recipe = slapos.cookbook:publish
boinc_admin_page = $${boinc-server:admin_page}
boinc_admin_page = $${boinc-server:admin_page}
boinc_result_url = $${boinc-server:result_page}
boinc_home_page = $${boinc-server:home_page}
boinc_home_page = $${boinc-server:home_page}
boinc_user = $${boinc-server:user}
boinc_user = $${boinc-server:user}
boinc_passwd = $${boinc-passwd:passwd}
boinc_passwd = $${boinc-passwd:passwd}
...
@@ -350,7 +352,6 @@ curl_path = ${curl:location}/bin/curl
...
@@ -350,7 +352,6 @@ curl_path = ${curl:location}/bin/curl
[slap-parameter]
[slap-parameter]
#Default config value for boinc
#Default config value for boinc
dbname = boinctest
project = boinc_test
project = boinc_test
full-name = Boinc Project SAMPLE
full-name = Boinc Project SAMPLE
copyright-holder = REPLACE WITH COPYRIGHT HOLDER
copyright-holder = REPLACE WITH COPYRIGHT HOLDER
...
...
stack/boinc/instance-mariadb.cfg
deleted
100644 → 0
View file @
9fecbb51
[buildout]
parts =
urls
mariadb
stunnel
certificate-authority
ca-stunnel
logrotate
logrotate-entry-mariadb
logrotate-entry-stunnel
logrotate-entry-cron
cron
cron-entry-logrotate
slapmonitor
slapreport
gzip-binary = ${gzip:location}/bin/gzip
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc/
var = $${buildout:directory}/var/
srv = $${buildout:directory}/srv/
bin = $${buildout:directory}/bin/
[basedirectory]
recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log/
scripts = $${rootdirectory:etc}/run/
services = $${rootdirectory:etc}/service/
run = $${rootdirectory:var}/run/
backup = $${rootdirectory:srv}/backup/
promises = $${rootdirectory:etc}/promise/
[directory]
recipe = slapos.cookbook:mkdirectory
cron-entries = $${rootdirectory:etc}/cron.d/
crontabs = $${rootdirectory:etc}/crontabs/
cronstamps = $${rootdirectory:etc}/cronstamps/
ca-dir = $${rootdirectory:srv}/ssl/
mariadb-data = $${rootdirectory:srv}/mariadb/
logrotate-backup = $${basedirectory:backup}/logrotate/
stunnel-conf = $${rootdirectory:etc}/stunnel/
logrotate-entries = $${rootdirectory:etc}/logrotate.d/
[urls]
recipe = slapos.cookbook:publish
url = mysqls://$${mariadb:user}:$${mariadb:password}@[$${stunnel:remote-host}]:$${stunnel:remote-port}/$${mariadb:database}
[mariadb]
recipe = slapos.cookbook:mysql
# Options
recovering = false
user = user
port = 3306
ip = $${slap-network-information:local-ipv4}
database = boincdb
# Paths
wrapper = $${basedirectory:services}/mariadb
update-wrapper = $${basedirectory:scripts}/mariadb_update
logrotate-post = $${rootdirectory:bin}/mariadb_post_logrotate
data-directory = $${directory:mariadb-data}
pid-file = $${basedirectory:run}/mariadb.pid
socket = $${basedirectory:run}/mariadb.sock
error-log = $${basedirectory:log}/mariadb_error.log
conf-file = $${rootdirectory:etc}/mariadb.cnf
promise = $${basedirectory:promises}/mysql
# Binary information
mysql-base-directory = ${mariadb:location}
mysql-binary = ${mariadb:location}/bin/mysql
mysql-install-binary = ${mariadb:location}/scripts/mysql_install_db
mysql-upgrade-binary = ${mariadb:location}/bin/mysql_upgrade
mysqld-binary = ${mariadb:location}/bin/mysqld
[slapmonitor]
recipe = slapos.cookbook:slapmonitor
pid-file = $${basedirectory:run}/mariadb.pid
database-path = $${basedirectory:log}/slapmonitor.db
shell-path = ${dash:location}/bin/dash
slapmonitor-path = ${buildout:bin-directory}/slapmonitor
path = $${basedirectory:scripts}/slapmonitor
[slapreport]
recipe = slapos.cookbook:slapreport
pid-file = $${basedirectory:run}/mariadb.pid
consumption-log-path = $${basedirectory:log}/instance_consumption.log
database-path = $${basedirectory:log}/slapmonitor.db
logbox-ip = 87.98.152.12
logbox-port = 5122
logbox-user = admin
logbox-passwd = passer
shell-path = ${dash:location}/bin/dash
slapreport-path = ${buildout:bin-directory}/slapreport
path = $${basedirectory:scripts}/slapreport
[certificate-authority]
recipe = slapos.cookbook:certificate_authority
openssl-binary = ${openssl:location}/bin/openssl
ca-dir = $${directory:ca-dir}
requests-directory = $${cadirectory:requests}
wrapper = $${basedirectory:services}/ca
ca-private = $${cadirectory:private}
ca-certs = $${cadirectory:certs}
ca-newcerts = $${cadirectory:newcerts}
ca-crl = $${cadirectory:crl}
[cadirectory]
recipe = slapos.cookbook:mkdirectory
requests = $${directory:ca-dir}/requests/
private = $${directory:ca-dir}/private/
certs = $${directory:ca-dir}/certs/
newcerts = $${directory:ca-dir}/newcerts/
crl = $${directory:ca-dir}/crl/
[ca-stunnel]
<= certificate-authority
recipe = slapos.cookbook:certificate_authority.request
executable = $${stunnel:wrapper}
wrapper = $${basedirectory:services}/stunnel
key-file = $${stunnel:key-file}
cert-file = $${stunnel:cert-file}
[stunnel]
recipe = slapos.cookbook:stunnel
stunnel-binary = ${stunnel:location}/bin/stunnel
wrapper = $${rootdirectory:bin}/stunnel
log-file = $${basedirectory:log}/stunnel.log
config-file = $${directory:stunnel-conf}/stunnel.conf
key-file = $${directory:stunnel-conf}/stunnel.key
cert-file = $${directory:stunnel-conf}/stunnel.crt
pid-file = $${basedirectory:run}/stunnel.pid
local-host = $${mariadb:ip}
local-port = $${mariadb:port}
remote-host = $${slap-network-information:global-ipv6}
remote-port = 6446
client = false
post-rotate-script = $${rootdirectory:bin}/stunnel_post_rotate
[logrotate]
recipe = slapos.cookbook:logrotate
# Binaries
logrotate-binary = ${logrotate:location}/usr/sbin/logrotate
gzip-binary = $${buildout:gzip-binary}
gunzip-binary = ${gzip:location}/bin/gunzip
# Directories
wrapper = $${rootdirectory:bin}/logrotate
conf = $${rootdirectory:etc}/logrotate.conf
logrotate-entries = $${directory:logrotate-entries}
backup = $${directory:logrotate-backup}
state-file = $${rootdirectory:srv}/logrotate.status
[logrotate-entry-mariadb]
<= logrotate
recipe = slapos.cookbook:logrotate.d
name = mariadb
log = $${mariadb:error-log}
frequency = daily
rotate-num = 30
post = $${mariadb:logrotate-post}
sharedscripts = true
notifempty = true
create = true
[logrotate-entry-stunnel]
<= logrotate
recipe = slapos.cookbook:logrotate.d
name = stunnel
log = $${stunnel:log-file}
frequency = daily
rotate-num = 30
notifempty = true
create = true
post = $${stunnel:post-rotate-script}
[logrotate-entry-cron]
<= logrotate
recipe =slapos.cookbook:logrotate.d
name = crond
log = $${cron-simplelogger:log}
frequency = daily
rotate-num = 30
notifempty = true
create = true
[cron]
recipe = slapos.cookbook:cron
dcrond-binary = ${dcron:location}/sbin/crond
cron-entries = $${directory:cron-entries}
crontabs = $${directory:crontabs}
cronstamps = $${directory:cronstamps}
catcher = $${cron-simplelogger:wrapper}
binary = $${basedirectory:services}/crond
[cron-simplelogger]
recipe = slapos.cookbook:simplelogger
wrapper = $${rootdirectory:bin}/cron_simplelogger
log = $${basedirectory:log}/crond.log
[cron-entry-logrotate]
<= cron
recipe = slapos.cookbook:cron.d
name = logrotate
frequency = 0 0 * * *
command = $${logrotate:wrapper}
[slap-parameter]
#Default value if no ssh parameters specified
logbox-ip =
logbox-port =
logbox-user =
logbox-passwd =
stack/boinc/template/apache.in
View file @
ec4df2af
...
@@ -59,11 +59,13 @@ LoadModule authz_user_module modules/mod_authz_user.so
...
@@ -59,11 +59,13 @@ LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule cgid_module modules/mod_cgid.so
LoadModule autoindex_module modules/mod_autoindex.so
## Settings for BOINC project ${:niceprojectname}
## Settings for BOINC project ${:niceprojectname}
Alias /${:project} ${:installroot}/html/user
Alias /${:project} ${:installroot}/html/user
Alias /${:project}_ops ${:installroot}/html/ops
Alias /${:project}_ops ${:installroot}/html/ops
Alias /${:project}_result/ ${:installroot}/sample_results/
ScriptAlias /${:project}_cgi ${:installroot}/cgi-bin
ScriptAlias /${:project}_cgi ${:installroot}/cgi-bin
# Note: projects/*/keys/ should NOT be readable!
# Note: projects/*/keys/ should NOT be readable!
...
@@ -79,3 +81,12 @@ ScriptAlias /${:project}_cgi ${:installroot}/cgi-bin
...
@@ -79,3 +81,12 @@ ScriptAlias /${:project}_cgi ${:installroot}/cgi-bin
AllowOverride AuthConfig
AllowOverride AuthConfig
Require all granted
Require all granted
</Directory>
</Directory>
Alias /${:project}_result/ ${:result_dir}
<Directory "${:result_dir}">
Options +Indexes
AuthName "${:project}"
AuthType Basic
AuthUserFile ${:installroot}/html/ops/.htpasswd
require valid-user
</Directory>
\ No newline at end of file
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