diff --git a/software/mariadb/instance.cfg b/software/mariadb/instance.cfg new file mode 100644 index 0000000000000000000000000000000000000000..0a4c5f367962d643e58ce1b94a5f7bfc6d52251d --- /dev/null +++ b/software/mariadb/instance.cfg @@ -0,0 +1,15 @@ +[buildout] +parts = + instance + +eggs-directory = ${buildout:eggs-directory} +develop-eggs-directory = ${buildout:develop-eggs-directory} + +[instance] +recipe = ${instance-recipe:egg}:${instance-recipe:module} +dcrond_binary = ${dcron:location}/sbin/crond +logrotate_binary = ${logrotate:location}/usr/sbin/logrotate +mysql_binary = ${mariadb:location}/bin/mysql +mysql_install_binary = ${mariadb:location}/bin/mysql_install_db +mysql_upgrade_binary = ${mariadb:location}/bin/mysql_upgrade +mysqld_binary = ${mariadb:location}/libexec/mysqld \ No newline at end of file diff --git a/software/mariadb/software.cfg b/software/mariadb/software.cfg new file mode 100644 index 0000000000000000000000000000000000000000..0910e04c11481155e60a13e2dc127202699044d1 --- /dev/null +++ b/software/mariadb/software.cfg @@ -0,0 +1,79 @@ +[buildout] +slaposcookbook_location = ${:parts-directory}/slaposcookbook + +develop = ${:slaposcookbook_location} + +extensions = + slapos.tool.networkcache + slapos.zcbworkarounds +#slapos.rebootstrap + +find-links = + http://www.nexedi.org/static/packages/source/slapos.buildout/ + +extends = + ../../component/git/buildout.cfg + ../../component/mariadb/buildout.cfg + ../../component/dcron/buildout.cfg + ../../component/logrotate/buildout.cfg + +#mysql-tritonn-5.0 +#mariadb +versions = versions + +parts += +# Create instance template + template + instance-recipe-egg + +# XXX: Workaround of SlapOS limitation +# Unzippig of eggs is required, as SlapOS do not yet provide nicely working +# development / fast switching environment for whole software +unzip = true + +#[rebootstrap] +# Default first version of rebootstrapped python +#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 + +[instance-recipe] +egg = slapos.cookbook +module = mysql + +[instance-recipe-egg] +# Just so buildout executes [slaposcookbook] before [eggs], as +# - [eggs] references [slaposcookbook] +# - [instance-recipe] needs [slaposcookbook] to be finished +# - we cannot rely on anything else being executed before [instance-recipe] +slaposcookbook_dummy = ${slaposcookbook:location} +recipe = zc.recipe.egg +#python = python2.6 +eggs = ${instance-recipe:egg} + +[template] +# Default template for the instance. +recipe = slapos.recipe.template +url = ${:_profile_base_location_}/instance.cfg +#md5sum = 1b29b27aedcc7fa5f30f1053e8eab13f +output = ${buildout:directory}/template.cfg +mode = 0644 + +[versions] +# Required by: +# slapos.cookbook==0.1 +collective.recipe.template = 1.8 +slapos.slap = 1.2.dev-r4679 +netaddr = 0.7.5 +xml-marshaller = 0.9.7 + +zc.buildout=1.5.3-dev-SlapOS-002 +setuptools = 0.6c12dev-r88795 \ No newline at end of file diff --git a/software/mysql-tritonn-5.0/instance.cfg b/software/mysql-tritonn-5.0/instance.cfg new file mode 100644 index 0000000000000000000000000000000000000000..a926ca6e8f99f3932bc7f2dc2eee8eeae60be446 --- /dev/null +++ b/software/mysql-tritonn-5.0/instance.cfg @@ -0,0 +1,15 @@ +[buildout] +parts = + instance + +eggs-directory = ${buildout:eggs-directory} +develop-eggs-directory = ${buildout:develop-eggs-directory} + +[instance] +recipe = ${instance-recipe:egg}:${instance-recipe:module} +dcrond_binary = ${dcron:location}/sbin/crond +logrotate_binary = ${logrotate:location}/usr/sbin/logrotate +mysql_binary = ${mysql-tritonn-5.0:location}/bin/mysql +mysql_install_binary = ${mysql-tritonn-5.0:location}/bin/mysql_install_db +mysql_upgrade_binary = ${mysql-tritonn-5.0:location}/bin/mysql_upgrade +mysqld_binary = ${mysql-tritonn-5.0:location}/libexec/mysqld \ No newline at end of file diff --git a/software/mysql-tritonn-5.0/software.cfg b/software/mysql-tritonn-5.0/software.cfg new file mode 100644 index 0000000000000000000000000000000000000000..4f771184c7e8c13393c612ea94571e8472ef8ec8 --- /dev/null +++ b/software/mysql-tritonn-5.0/software.cfg @@ -0,0 +1,79 @@ +[buildout] +slaposcookbook_location = ${:parts-directory}/slaposcookbook + +develop = ${:slaposcookbook_location} + +extensions = + slapos.tool.networkcache + slapos.zcbworkarounds +#slapos.rebootstrap + +find-links = + http://www.nexedi.org/static/packages/source/slapos.buildout/ + +extends = + ../../component/git/buildout.cfg + ../../component/mysql-tritonn-5.0/buildout.cfg + ../../component/dcron/buildout.cfg + ../../component/logrotate/buildout.cfg + +#mysql-tritonn-5.0 +#mariadb +versions = versions + +parts += +# Create instance template + template + instance-recipe-egg + +# XXX: Workaround of SlapOS limitation +# Unzippig of eggs is required, as SlapOS do not yet provide nicely working +# development / fast switching environment for whole software +unzip = true + +#[rebootstrap] +# Default first version of rebootstrapped python +#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 + +[instance-recipe] +egg = slapos.cookbook +module = mysql + +[instance-recipe-egg] +# Just so buildout executes [slaposcookbook] before [eggs], as +# - [eggs] references [slaposcookbook] +# - [instance-recipe] needs [slaposcookbook] to be finished +# - we cannot rely on anything else being executed before [instance-recipe] +slaposcookbook_dummy = ${slaposcookbook:location} +recipe = zc.recipe.egg +#python = python2.6 +eggs = ${instance-recipe:egg} + +[template] +# Default template for the instance. +recipe = slapos.recipe.template +url = ${:_profile_base_location_}/instance.cfg +#md5sum = 1b29b27aedcc7fa5f30f1053e8eab13f +output = ${buildout:directory}/template.cfg +mode = 0644 + +[versions] +# Required by: +# slapos.cookbook==0.1 +collective.recipe.template = 1.8 +slapos.slap = 1.2.dev-r4679 +netaddr = 0.7.5 +xml-marshaller = 0.9.7 + +zc.buildout=1.5.3-dev-SlapOS-002 +setuptools = 0.6c12dev-r88795 \ No newline at end of file