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