MySQL : add xtrabackup dependency + comment out some useless parts

parent 8954046d
...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory} ...@@ -8,8 +8,10 @@ develop-eggs-directory = ${buildout:develop-eggs-directory}
[instance] [instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module} recipe = ${instance-recipe:egg}:${instance-recipe:module}
dcrond_binary = ${dcron:location}/sbin/crond dcrond_binary = ${dcron:location}/sbin/crond
innobackupex_binary = ${xtrabackup:location}/bin/innobackupex
logrotate_binary = ${logrotate:location}/usr/sbin/logrotate logrotate_binary = ${logrotate:location}/usr/sbin/logrotate
mysql_binary = ${mysql-5.1:location}/bin/mysql mysql_binary = ${mysql-5.1:location}/bin/mysql
mysql_install_binary = ${mysql-5.1:location}/bin/mysql_install_db mysql_install_binary = ${mysql-5.1:location}/bin/mysql_install_db
mysql_upgrade_binary = ${mysql-5.1:location}/bin/mysql_upgrade mysql_upgrade_binary = ${mysql-5.1:location}/bin/mysql_upgrade
mysqld_binary = ${mysql-5.1:location}/libexec/mysqld mysqld_binary = ${mysql-5.1:location}/libexec/mysqld
\ No newline at end of file perl_binary = ${perl:location}/bin/perl
\ No newline at end of file
[buildout] [buildout]
slaposcookbook_location = ${:parts-directory}/slaposcookbook #slaposcookbook_location = ${:parts-directory}/slaposcookbook
#develop = ${:slaposcookbook_location} #develop = ${:slaposcookbook_location}
...@@ -22,6 +22,7 @@ extends = ...@@ -22,6 +22,7 @@ extends =
../../component/logrotate/buildout.cfg ../../component/logrotate/buildout.cfg
../../component/python-2.7/buildout.cfg ../../component/python-2.7/buildout.cfg
../../component/perl/buildout.cfg ../../component/perl/buildout.cfg
../../component/xtrabackup/buildout.cfg
#mysql-tritonn-5.0 #mysql-tritonn-5.0
#mariadb #mariadb
...@@ -47,14 +48,14 @@ mysql = git http://git.erp5.org/repos/slapos.git branch=mysql ...@@ -47,14 +48,14 @@ mysql = git http://git.erp5.org/repos/slapos.git branch=mysql
version = 2 version = 2
section = python2.7 section = python2.7
[slaposcookbook] #[slaposcookbook]
recipe = plone.recipe.command #recipe = plone.recipe.command
git_param =--quiet -b mysql #git_param =--quiet -b mysql
git = ${git:location}/bin/git #git = ${git:location}/bin/git
location = ${buildout:parts-directory}/${:_buildout_section_name_} #location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true #stop-on-error = true
command = ${:git} clone ${:git_param} http://git.erp5.org/repos/slapos.git ${:location} || exit 1; #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 #update-command = cd ${:location} && ${git:location}/bin/git pull --quiet
[instance-recipe] [instance-recipe]
egg = slapos.cookbook egg = slapos.cookbook
......
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