software.cfg 2 KB
Newer Older
1 2 3 4
[buildout]

extends =
  ../../stack/lamp/buildout.cfg
5
  ../../component/git/buildout.cfg
6 7

parts +=
Marco Mariani's avatar
Marco Mariani committed
8
  openpublic
9
  pear-modules
10
  slapos.cookbook-repository
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
11
  slapos-cookbook
12
  check-recipe
13
  instance
14

15 16 17 18 19 20 21 22
develop =
  ${:parts-directory}/slapos.cookbook-repository

[slapos.cookbook-repository]
recipe = slapos.recipe.build:gitclone
repository = http://git.erp5.org/repos/slapos.git
branch = drupal
git-executable = ${git:location}/bin/git
23 24 25

[application]
recipe = slapos.recipe.build:download-unpacked
Marco Mariani's avatar
Marco Mariani committed
26 27
url = http://ftp.drupal.org/files/projects/drupal-7.22.tar.gz
md5sum = 068d7a77958fce6bb002659aa7ccaeb7
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

[application-template]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/settings.php.in
md5sum = 393813c5660590dfde74f835afa3389a
download-only = True
filename = template.in
mode = 0644
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[application-configuration]
location = sites/default/settings.php

[custom-application-deployment]
path = ${custom-application-deployment-template:output}
part-list = drupal-init publish-drupal-admin-password



[custom-application-deployment-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-custom.cfg.in
output = ${buildout:directory}/instance-custom.cfg
51
md5sum = c7525d7136348ad4dbd6d6868099846d
52 53 54
mode = 0644


Marco Mariani's avatar
Marco Mariani committed
55 56 57
[openpublic]
recipe = slapos.recipe.build:download-unpacked
url = http://ftp.drupal.org/files/projects/openpublic-7.x-1.0-beta16-core.tar.gz
Marco Mariani's avatar
Marco Mariani committed
58
md5sum = fae69644c4183c40a66fc8f1d9a7f8f0
Marco Mariani's avatar
Marco Mariani committed
59 60


61 62 63 64 65 66 67 68
[pear-modules]
recipe = cp.recipe.cmd
pear = ${apache-php:location}/bin/pear
install_cmd =
    ${:pear} channel-info pear.drush.org >/dev/null || ${:pear} channel-discover pear.drush.org
    ${:pear} info drush/drush >/dev/null || ${:pear} install drush/drush
    ${:pear} info Console_Table >/dev/null || ${:pear} install Console_Table

69 70 71 72 73 74 75 76 77
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link

[versions]
slapos.cookbook =