[buildout] extends = ../../component/git/buildout.cfg ../../stack/lapp/buildout.cfg develop = ${:parts-directory}/slapos.cookbook-repository ${:parts-directory}/slapos.recipe.maarch-repository # += since we need rdiff-backup and friends parts += slapos-cookbook apache-php-postgres pear-modules eggs instance instance-apache-php slapos.cookbook-repository slapos.recipe.maarch-repository check-recipe [versions] slapos.cookbook = slapos.recipe.maarch = [slapos.recipe.maarch-repository] recipe = slapos.recipe.build:gitclone repository = http://git.erp5.org/repos/slapos.recipe.maarch.git branch = master git-executable = ${git:location}/bin/git [slapos.cookbook-repository] recipe = slapos.recipe.build:gitclone repository = http://git.erp5.org/repos/slapos.git branch = lapp-resilient3 git-executable = ${git:location}/bin/git [check-recipe] recipe = plone.recipe.command stop-on-error = true update-command = ${:command} command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link && grep parts ${buildout:develop-eggs-directory}/slapos.recipe.maarch.egg-link #---------------- #-- #-- Main application part #-- XXX provide a better URL [application] url = http://downloads.sourceforge.net/project/maarch/Maarch%20Entreprise/MaarchEntreprise-1.3.zip md5sum = 5c2c859dee9d0dde3ba959474fd5fc86 #---------------- #-- #-- Define parts that will be executed later, in the instance. #-- [custom-application-deployment] path = ${custom-application-deployment-template:output} part-list = maarch-configuration [custom-application-deployment-template] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance-custom.cfg.in output = ${buildout:directory}/instance-custom.cfg md5sum = 22d8e4d8bb1a5b1c42c6cfb42ee490a0 mode = 0644 #---------------- #-- #-- Install PHP channels and modules (only if they are not already installed). #-- [pear-modules] recipe = cp.recipe.cmd pear = ${apache-php-postgres:location}/bin/pear install_cmd = ${:pear} channel-info pear.maarch.org >/dev/null || ${:pear} channel-discover pear.maarch.org ${:pear} info maarch/CLITools-0.3.1 >/dev/null || ${:pear} install maarch/CLITools-0.3.1 ${:pear} info MIME_Type >/dev/null || ${:pear} install MIME_Type #----------------