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
Thomas Gambier
slapos
Commits
7206f2e7
Commit
7206f2e7
authored
Nov 02, 2011
by
Mayoro Diagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding script section to run it for configuration
parent
5bd41f85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
software/fluxbb/instance.cfg
software/fluxbb/instance.cfg
+5
-0
software/fluxbb/software.cfg
software/fluxbb/software.cfg
+20
-15
No files found.
software/fluxbb/instance.cfg
View file @
7206f2e7
...
@@ -9,9 +9,14 @@ recipe = ${instance-recipe:egg}:${instance-recipe:module}
...
@@ -9,9 +9,14 @@ recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
source = ${application:location}
template = ${application-template:location}/${application-template:filename}
template = ${application-template:location}/${application-template:filename}
configuration = ${application-configuration:location}
configuration = ${application-configuration:location}
lampconfigure_directory = ${buildout:bin-directory}/lampconfigure
httpd_binary = ${apache:location}/bin/httpd
httpd_binary = ${apache:location}/bin/httpd
mysql_binary = ${mariadb:location}/bin/mysql
mysql_binary = ${mariadb:location}/bin/mysql
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_install_binary = ${mariadb:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade
mysqld_binary = ${mariadb:location}/libexec/mysqld
mysqld_binary = ${mariadb:location}/libexec/mysqld
table_name = users
constraint = `id`>1
script = ${configure-script:location}/${configure-script:filename}
software/fluxbb/software.cfg
View file @
7206f2e7
...
@@ -8,23 +8,29 @@ parts =
...
@@ -8,23 +8,29 @@ parts =
eggs
eggs
instance-recipe-egg
instance-recipe-egg
downloadcache-workaround
downloadcache-workaround
configure-script
extends =
extends =
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/shacache-client.cfg
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/stack/shacache-client.cfg
allow-hosts += alastairs-place.net
[application]
[application]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://fluxbb.org/download/releases/1.4.7/fluxbb-1.4.7.tar.bz2
url = http://fluxbb.org/download/releases/1.4.7/fluxbb-1.4.7.tar.bz2
#md5sum = Student may put here md5sum of this file, this is good idea
md5sum = bc2168205d404421729cc3b040d6fe15
#If provided tarball does not contain top directory, option shall be changed to false
#If provided tarball does not contain top directory, option shall be changed to false
#strip-top-level-dir = true
strip-top-level-dir = true
[configure-script]
recipe = hexagonit.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/configure-fluxbb.py
filename = configure-fluxbb.py
download-only = True
[application-template]
[application-template]
recipe = slapos.recipe.download
recipe = slapos.recipe.download
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/template/config.php.in
url = https://gitorious.org/~mayoro/slapos/yoro-slapos/blobs/raw/master/software/fluxbb/template/config.
inc.
php.in
#md5sum = Student may put here md5sum of this file, this is good idea
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
download-only = True
filename = template.in
filename = template.in
...
@@ -32,8 +38,8 @@ mode = 0644
...
@@ -32,8 +38,8 @@ mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
[application-configuration]
location = config.php
location = config.
inc.
php
[instance-recipe]
[instance-recipe]
egg = slapos.cookbook
egg = slapos.cookbook
module = lamp.simple
module = lamp.simple
...
@@ -49,15 +55,14 @@ mode = 0644
...
@@ -49,15 +55,14 @@ mode = 0644
[instance-recipe-egg]
[instance-recipe-egg]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
python = python2.7
python = python2.7
eggs =
${instance-recipe:egg}
eggs =
${mysql-python:egg}
[lxml-python]
${instance-recipe:egg}
find-links += http://pypi.python.org/pypi/lxml/2.3.1
slapos.toolbox[lampconfigure]
[versions]
[versions]
# Use SlapOS patched zc.buildout
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-010
zc.buildout = 1.5.3-dev-SlapOS-010
slapos.cookbook = 0.20
[downloadcache-workaround]
[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
...
@@ -69,4 +74,4 @@ recipe = plone.recipe.command
...
@@ -69,4 +74,4 @@ recipe = plone.recipe.command
download-cache = ${buildout:directory}/downloads
download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
update-command = ${:command}
stop-on-error = True
stop-on-error = True
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