software.cfg 1.23 KB
Newer Older
iv's avatar
iv committed
1 2 3 4 5 6 7 8 9 10
[buildout]
extends =
# basic needs
  ../../stack/slapos.cfg

parts +=
# use stack/slapos.cfg
  slapos-cookbook
  template-instance

11
# 2017-06-28: XXX is this really necessary? Remove after successful build
iv's avatar
iv committed
12
#add eggs needed by the instance
13 14 15
#find-links += 
#  https://pypi.python.org/packages/source/s/slapos.recipe.build/slapos.recipe.build-0.21.tar.gz
#  https://pypi.python.org/packages/source/p/plone.recipe.command/plone.recipe.command-1.1.zip
iv's avatar
iv committed
16 17 18 19

versions = versions

[versions]
20
slapos.recipe.template = 2.9
iv's avatar
iv committed
21 22 23 24 25 26 27

[template-instance]
# create the instance.cfg file in the buildout directory
# (use jinja for templating)
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
28
md5sum = 0d26dd9f3f30504409142c6f701a9221
iv's avatar
iv committed
29
mode = 0644
30
scripts_dir = ${:_profile_base_location_}/scripts
31
logo_dir = ${:_profile_base_location_}/logo
32 33
curl_path = ${curl:location}/bin
git_path = ${git:location}/bin
iv's avatar
iv committed
34
context =
35 36 37 38 39 40
  key scripts_dir             :scripts_dir
  key logo_dir                :logo_dir
  key curl_path               :curl_path
  key git_path                :git_path
  key eggs_directory          buildout:eggs-directory
  key develop_eggs_directory  buildout:develop-eggs-directory