Commit 468a3f47 authored by Łukasz Nowak's avatar Łukasz Nowak

- add templates to create instances of various types


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33813 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4ad8cf5
...@@ -55,3 +55,13 @@ command = ...@@ -55,3 +55,13 @@ command =
[ -f ${configuration:mysql_datadir}/ibdata1 ] || ${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir} [ -f ${configuration:mysql_datadir}/ibdata1 ] || ${software_definition:mysql_software}/bin/mysql_install_db --datadir=${configuration:mysql_datadir}
update-command = ${:command} update-command = ${:command}
[mysql-server-template]
<= mysql-instance
[mysql-database-template]
recipe = plone.recipe.command
command =
echo 'CREATE DATABASE ${:mysql_database_name} DEFAULT CHARACTER SET "utf8"' var/bin/mysql -u root
echo 'GRANT ALL PRIVILEGES ON ${:mysql_database_name}.* TO ${:mysql_user}@"%" IDENTIFIED BY "${:mysql_password}"'
update-command = ${:command}
...@@ -35,5 +35,8 @@ recipe = collective.recipe.template ...@@ -35,5 +35,8 @@ recipe = collective.recipe.template
input = ${buildout:directory}/templates/oood-runserw.in input = ${buildout:directory}/templates/oood-runserw.in
output = ${buildout:data-bin-directory}/oood-runserw output = ${buildout:data-bin-directory}/oood-runserw
[conversion-server-template]
<= oood-instance
[requirements] [requirements]
binary = Xvfb binary = Xvfb
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