common.cfg 4.15 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
  template
21 22
  template-apache-frontend
  template-apache-replicate
23 24 25 26 27 28 29 30 31
  binutils
  apache-2.2
  apache-antiloris-apache-2.2

  stunnel

  dcron
  logrotate
  rdiff-backup
32
  squid
33

34 35 36 37 38 39 40 41 42 43 44 45 46 47
# 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
48
branch = master
49 50
git-executable = ${git:location}/bin/git

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

scripts =
  killpidfromfile
  onetimedownload

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

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

76 77 78 79 80 81 82 83 84 85 86 87 88
[template-apache-frontend]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-frontend.cfg
#md5sum = 81ab3daac0b6d404744596a2d4f8d8f0
output = ${buildout:directory}/template-apache-frontend.cfg
mode = 0644

[template-apache-replicate]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-apache-replicate.cfg.in
#md5sum = 81ab3daac0b6d404744596a2d4f8d8f0
mode = 0644

89 90
[template-slave-list]
recipe = slapos.recipe.build:download
91
url = ${:_profile_base_location_}/templates/apache-custom-slave-list.cfg.in
92
#md5sum = e0ea94cbd15284464e4f73bac699b996
93 94 95 96
mode = 640

[template-slave-configuration]
recipe = slapos.recipe.build:download
97
url = ${:_profile_base_location_}/templates/slave-virtualhost.conf.in
98
md5sum = a7ad2e83b7f919fc45a7ef1e64344dcb
99 100
mode = 640

101 102 103 104 105
[template-replicate-publish-slave-information]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/replicate-publish-slave-information.cfg.in
mode = 640

106 107
[template-apache-frontend-configuration]
recipe = slapos.recipe.build:download
108
url = ${:_profile_base_location_}/templates/apache.conf.in
109
md5sum = c141b9e78c7e80d75bb40493910294e5
110 111 112 113
mode = 640

[template-apache-cached-configuration]
recipe = slapos.recipe.build:download
114
url = ${:_profile_base_location_}/templates/apache_cached.conf.in
115
md5sum = 0c4393db80670daf18b432b7f07383e9
116 117 118 119
mode = 640

[template-rewrite-cached]
recipe = slapos.recipe.build:download
120
url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in
121
md5sum = 2f30af4f9da340c2b0618599da03ed4b
122
mode = 640
123

124 125
[template-custom-slave-list]
recipe = slapos.recipe.build:download
126
url = ${:_profile_base_location_}/templates/apache-default-slave-list.cfg.in
127
#md5sum = 62b327008e08940f6f7eda8466976d13
128 129
mode = 640

130 131
[template-not-found-html]
recipe = slapos.recipe.build:download
132
url = ${:_profile_base_location_}/templates/notfound.html
133
filename = notfound.html
134
md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
135 136 137 138
mode = 640

[template-default-virtualhost]
recipe = slapos.recipe.build:download
139
url = ${:_profile_base_location_}/templates/000.conf.in
140
md5sum = c2bbf029e6adc432de0884fb5cf5d2ab
141 142
mode = 640

143 144
[template-default-slave-virtualhost]
recipe = slapos.recipe.build:download
145
url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in
146
md5sum = ac845c0fa3835832307a0e7323cb339d
147 148
mode = 640

149 150
[template-empty]
recipe = slapos.recipe.build:download
151
url = ${:_profile_base_location_}/templates/empty.in
152
md5sum = c2314c3a9c3412a38d14b312d3df83c1
153
mode = 640