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
Guillaume Hervier
slapos
Commits
94cb3ffa
Commit
94cb3ffa
authored
Jun 03, 2011
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kumofs : update recipe and profile, copying from mysql
parent
f2074d06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
28 deletions
+19
-28
slapos/recipe/kumofs/__init__.py
slapos/recipe/kumofs/__init__.py
+1
-2
software/kumofs/software.cfg
software/kumofs/software.cfg
+18
-26
No files found.
slapos/recipe/kumofs/__init__.py
View file @
94cb3ffa
...
@@ -37,9 +37,8 @@ class Recipe(BaseSlapRecipe):
...
@@ -37,9 +37,8 @@ class Recipe(BaseSlapRecipe):
def
_install
(
self
):
def
_install
(
self
):
self
.
path_list
=
[]
self
.
path_list
=
[]
self
.
requirements
,
self
.
ws
=
self
.
egg
.
working_set
([
__name__
])
# XXX-Cedric : add logrotate?
# XXX-Cedric : add logrotate?
kumo_conf
=
self
.
installKumo
(
self
.
get
LocalIPv4
Address
())
kumo_conf
=
self
.
installKumo
(
self
.
get
GlobalIPv6
Address
())
self
.
linkBinary
()
self
.
linkBinary
()
self
.
setConnectionDict
(
dict
(
self
.
setConnectionDict
(
dict
(
address
=
kumo_conf
[
'kumo_address'
],
address
=
kumo_conf
[
'kumo_address'
],
...
...
software/kumofs/software.cfg
View file @
94cb3ffa
[buildout]
[buildout]
slaposcookbook_location = ${:parts-directory}/slaposcookbook
develop = ${:slaposcookbook_location}
sources = sources
auto-checkout = mysql
extensions =
extensions =
slapos.tool.networkcache
slapos.tool.networkcache
slapos.zcbworkarounds
slapos.zcbworkarounds
#slapos.rebootstrap
slapos.rebootstrap
mr.developer
find-links =
find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/
http://www.nexedi.org/static/packages/source/slapos.buildout/
extends =
extends =
../../component/kumo/buildout.cfg
../../component/git/buildout.cfg
../../component/mysql-5.1/buildout.cfg
../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/python-2.7/buildout.cfg
../../component/perl/buildout.cfg
../../component/xtrabackup/buildout.cfg
versions = versions
versions = versions
parts +=
parts +=
# Create instance template
# Create instance template
#TODO : list here all parts.
template
template
instance-recipe-egg
instance-recipe-egg
...
@@ -26,36 +34,20 @@ parts +=
...
@@ -26,36 +34,20 @@ parts +=
# development / fast switching environment for whole software
# development / fast switching environment for whole software
unzip = true
unzip = true
[instance-recipe]
[sources]
# Note: In case if specific instantiation recipe is used this is the place to
# Include information related to official mysql source code.
# put its name
mysql = git http://git.erp5.org/repos/slapos.git branch=mysql
egg = slapos.cookbook
module = kumofs
#
[rebootstrap]
[rebootstrap]
# Default first version of rebootstrapped python
# Default first version of rebootstrapped python
#version = 2
version = 2
#section = python2.7
section = python2.7
[slaposcookbook]
recipe = plone.recipe.command
git_param =--quiet -b mysql
git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1;
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe]
[instance-recipe]
egg = slapos.cookbook
egg = slapos.cookbook
module = kumofs
module = kumofs
[instance-recipe-egg]
[instance-recipe-egg]
# Just so buildout executes [slaposcookbook] before [eggs], as
# - [eggs] references [slaposcookbook]
# - [instance-recipe] needs [slaposcookbook] to be finished
# - we cannot rely on anything else being executed before [instance-recipe]
slaposcookbook_dummy = ${slaposcookbook:location}
recipe = zc.recipe.egg
recipe = zc.recipe.egg
#python = python2.6
#python = python2.6
eggs = ${instance-recipe:egg}
eggs = ${instance-recipe:egg}
...
...
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