phpmyadmin : correct usage of slapos.recipe.download

parent 57c9ab03
......@@ -7,7 +7,7 @@ parts = instance
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
source = ${application:location}
template = ${application-template:destination}
template = ${application-template:location}/${application-template:filename}
configuration = ${application-configuration:location}
httpd_binary = ${apache:location}/bin/httpd
......
......@@ -24,7 +24,7 @@ parts =
mariadb
eggs
instance-recipe-egg
extends =
../../component/mariadb/buildout.cfg
../../component/apache/buildout.cfg
......@@ -63,10 +63,9 @@ recipe = slapos.recipe.download
url = ${:_profile_base_location_}/phpmyadmin-configuration-template.php.ini
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
#filename = template.in
filename = template.in
mode = 0644
destination = ${buildout:parts-directory}/${:_buildout_section_name_}/template.in
location = ${:destination}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[application-configuration]
location = config.inc.php
......
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