Commit d42d36e6 authored by Jérome Perrin's avatar Jérome Perrin

testnode: software link proof of concept

parent bbfe5611
...@@ -18,6 +18,7 @@ httpd_port = %(httpd_port)s ...@@ -18,6 +18,7 @@ httpd_port = %(httpd_port)s
httpd_software_access_port = %(httpd_software_access_port)s httpd_software_access_port = %(httpd_software_access_port)s
computer_id = %(computer_id)s computer_id = %(computer_id)s
server_url = %(server_url)s server_url = %(server_url)s
software_link = %(software_link)s
# Binaries # Binaries
git_binary = %(git_binary)s git_binary = %(git_binary)s
......
...@@ -55,6 +55,7 @@ httpd-log-directory = $${basedirectory:log} ...@@ -55,6 +55,7 @@ httpd-log-directory = $${basedirectory:log}
httpd-software-directory = $${directory:software} httpd-software-directory = $${directory:software}
httpd-cert-file = $${rootdirectory:etc}/httpd-public.crt httpd-cert-file = $${rootdirectory:etc}/httpd-public.crt
httpd-key-file = $${rootdirectory:etc}/httpd-private.key httpd-key-file = $${rootdirectory:etc}/httpd-private.key
software-link = ${software_link:output}
configuration-file = $${rootdirectory:etc}/erp5testnode.cfg configuration-file = $${rootdirectory:etc}/erp5testnode.cfg
log-file = $${basedirectory:log}/erp5testnode.log log-file = $${basedirectory:log}/erp5testnode.log
......
...@@ -8,6 +8,8 @@ extends = ...@@ -8,6 +8,8 @@ extends =
../../component/shellinabox/buildout.cfg ../../component/shellinabox/buildout.cfg
../../component/pwgen/buildout.cfg ../../component/pwgen/buildout.cfg
../../component/apache/buildout.cfg ../../component/apache/buildout.cfg
../../component/mariadb/buildout.cfg
../../component/gcc/buildout.cfg
parts = parts =
slapos-cookbook-develop slapos-cookbook-develop
...@@ -20,6 +22,32 @@ parts = ...@@ -20,6 +22,32 @@ parts =
zip zip
git git
apache apache
software_link
[software_link]
recipe = collective.recipe.template
output = ${buildout:parts-directory}/software_link/software_link.cfg
input = inline:
[perl]
recipe =
location = ${perl:location}
[python2.7]
recipe =
location = ${python2.7:location}
[apache]
recipe =
location = ${apache:location}
[mariadb]
recipe =
location = ${mariadb:location}
[gcc]
recipe =
location = ${gcc:location}
[gcc-fortran]
recipe =
location = ${gcc-fortran:location}
[erp5-util-repository.git] [erp5-util-repository.git]
recipe = slapos.recipe.build:gitclone recipe = slapos.recipe.build:gitclone
...@@ -83,7 +111,7 @@ recipe = slapos.recipe.template ...@@ -83,7 +111,7 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-default.cfg url = ${:_profile_base_location_}/instance-default.cfg
output = ${buildout:directory}/template-default.cfg output = ${buildout:directory}/template-default.cfg
mode = 0644 mode = 0644
md5sum = 22ffc8e212dcf2db8ad94cf0e5ac4772 md5sum = 1b45db053e3c7a65e5e802e4aadc42da
[versions] [versions]
erp5.util = erp5.util =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment