common.cfg 3.55 KB
Newer Older
1 2
[buildout]
extends =
3 4 5 6
# dev Stuff
  ../../component/git/buildout.cfg

  ../../stack/slapos.cfg
7 8 9
  ../../component/binutils/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/apache/buildout.cfg
10
  ../../component/gzip/buildout.cfg
11 12 13 14
  ../../component/stunnel/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/rdiff-backup/buildout.cfg
15
  ../../component/squid/buildout.cfg
16 17

parts =
18
  slapos-cookbook
19
  slapos-toolbox
20 21 22 23 24 25 26 27 28 29
  template
  binutils
  apache-2.2
  apache-antiloris-apache-2.2

  stunnel

  dcron
  logrotate
  rdiff-backup
30
  squid
31

32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
# Development profile of apache-frontend.
# Exactly the same as software.cfg, but fetch the slapos.cookbook
# from git repository instead of fetching stable version,
# allowing to play with bleeding edge environment.

# You'll need to run buildout twice for this profile.
  slapos.cookbook-repository

develop =
	 ${:parts-directory}/slapos.cookbook-repository

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

49 50 51 52 53 54 55 56 57 58 59
[slapos-toolbox]
recipe = zc.recipe.egg
#python = ${eggs:python}
eggs =
  ${lxml-python:egg}
  slapos.toolbox

scripts =
  killpidfromfile
  onetimedownload

60 61 62 63 64 65 66
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link &&

67 68 69 70
[template]
# Default template for apache instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
71
md5sum = 81ab3daac0b6d404744596a2d4f8d8f0
72
output = ${buildout:directory}/template.cfg
73 74 75 76
mode = 0644

[template-slave-list]
recipe = slapos.recipe.build:download
77
url = ${:_profile_base_location_}/templates/apache-custom-slave-list.cfg.in
78
md5sum = e0ea94cbd15284464e4f73bac699b996
79 80 81 82
mode = 640

[template-slave-configuration]
recipe = slapos.recipe.build:download
83
url = ${:_profile_base_location_}/templates/slave-virtualhost.conf.in
84
md5sum = a7ad2e83b7f919fc45a7ef1e64344dcb
85 86 87 88
mode = 640

[template-apache-frontend-configuration]
recipe = slapos.recipe.build:download
89
url = ${:_profile_base_location_}/templates/apache.conf.in
90
md5sum = c141b9e78c7e80d75bb40493910294e5
91 92 93 94
mode = 640

[template-apache-cached-configuration]
recipe = slapos.recipe.build:download
95
url = ${:_profile_base_location_}/templates/apache_cached.conf.in
96
md5sum = 0c4393db80670daf18b432b7f07383e9
97 98 99 100
mode = 640

[template-rewrite-cached]
recipe = slapos.recipe.build:download
101
url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in
102
md5sum = 2f30af4f9da340c2b0618599da03ed4b
103
mode = 640
104

105 106
[template-custom-slave-list]
recipe = slapos.recipe.build:download
107
url = ${:_profile_base_location_}/templates/apache-default-slave-list.cfg.in
108
md5sum = 62b327008e08940f6f7eda8466976d13
109 110
mode = 640

111 112
[template-not-found-html]
recipe = slapos.recipe.build:download
113
url = ${:_profile_base_location_}/templates/notfound.html
114
filename = notfound.html
115
md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
116 117 118 119
mode = 640

[template-default-virtualhost]
recipe = slapos.recipe.build:download
120
url = ${:_profile_base_location_}/templates/000.conf.in
121
md5sum = c2bbf029e6adc432de0884fb5cf5d2ab
122 123
mode = 640

124 125
[template-default-slave-virtualhost]
recipe = slapos.recipe.build:download
126
url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in
127
md5sum = ac845c0fa3835832307a0e7323cb339d
128 129
mode = 640

130 131
[template-empty]
recipe = slapos.recipe.build:download
132
url = ${:_profile_base_location_}/templates/empty.in
133
md5sum = c2314c3a9c3412a38d14b312d3df83c1
134
mode = 640