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

  ../../stack/slapos.cfg
7
  ../../component/dash/buildout.cfg
8 9
  ../../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 16
  ../../component/trafficserver/buildout.cfg

17 18
# Monitoring stack
  ../../stack/monitor/buildout.cfg
19

20
parts +=
21
  slapos-cookbook
22
  slapos-toolbox
23
  eggs
24
  template
25 26
  template-apache-frontend
  template-apache-replicate
27 28 29 30 31 32 33 34 35
  apache-2.2
  apache-antiloris-apache-2.2

  stunnel

  dcron
  logrotate
  rdiff-backup

36 37 38 39 40 41 42 43 44 45
[slapos-toolbox]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
  slapos.toolbox

scripts =
  killpidfromfile
  onetimedownload

46 47 48 49 50
[eggs]
recipe = zc.recipe.egg
eggs =
  plone.recipe.command

51 52 53 54 55 56 57
[check-recipe]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command =
  grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link &&

58 59 60
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
61
md5sum = 5c22b1e0fe601255ebf19adf6093489f
62
output = ${buildout:directory}/template.cfg
63 64
mode = 0644

65 66 67
[template-apache-frontend]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-frontend.cfg
68
md5sum = f65456f704a32c43822b1efefc7ae4b7
69 70 71 72 73 74
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
75
md5sum = aafa98333cd51025938b33c2516f0b8d
76 77
mode = 0644

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

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

90 91 92
[template-replicate-publish-slave-information]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/replicate-publish-slave-information.cfg.in
93
md5sum = 665e83d660c9b779249b2179d7ce4b4e
94 95
mode = 640

96 97
[template-apache-frontend-configuration]
recipe = slapos.recipe.build:download
98
url = ${:_profile_base_location_}/templates/apache.conf.in
99
md5sum = 09ffa9a94cc7506d32c2c422853106b6
100 101 102 103
mode = 640

[template-apache-cached-configuration]
recipe = slapos.recipe.build:download
104
url = ${:_profile_base_location_}/templates/apache_cached.conf.in
105
md5sum = a1c744e48b465a63c2d6f0f384466013
106 107 108 109
mode = 640

[template-rewrite-cached]
recipe = slapos.recipe.build:download
110
url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in
111
md5sum = 2f30af4f9da340c2b0618599da03ed4b
112
mode = 640
113

114 115
[template-custom-slave-list]
recipe = slapos.recipe.build:download
116
url = ${:_profile_base_location_}/templates/apache-default-slave-list.cfg.in
117
md5sum = 9362384cd80727987b34c7746a6de196
118 119
mode = 640

120 121
[template-not-found-html]
recipe = slapos.recipe.build:download
122
url = ${:_profile_base_location_}/templates/notfound.html
123
filename = notfound.html
124
md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
125 126 127 128
mode = 640

[template-default-virtualhost]
recipe = slapos.recipe.build:download
129
url = ${:_profile_base_location_}/templates/000.conf.in
130
md5sum = d98a01182f38868612948c87d5231428
131 132
mode = 640

133 134
[template-default-slave-virtualhost]
recipe = slapos.recipe.build:download
135
url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in
136 137 138 139 140 141 142
md5sum = aed0077ee82aaa7fbd2b7e84ce5fbd69
mode = 640

[template-cached-slave-virtualhost]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/cached-virtualhost.conf.in
md5sum = b1fd5f2b94f026ccca5ff47167015f23
143 144
mode = 640

145 146 147 148 149 150
[template-log-access]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/template-log-access.conf.in
md5sum = f85005b430978f3bd24ee7ce11b0e304
mode = 640

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

[template-wrapper]
158
recipe = slapos.recipe.template
159
url = ${:_profile_base_location_}/templates/wrapper.in
160 161
output = ${buildout:directory}/template-wrapper.cfg
mode = 0644
162
md5sum = 8cde04bfd0c0e9bd56744b988275cfd8
163 164 165 166

[template-trafficserver-records-config]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/trafficserver/${:filename}
167
md5sum = a892d3e71988a8293e44382cbf10810f
168 169 170 171
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = records.config.jinja2
download-only = true
mode = 0644
172 173 174 175 176 177 178 179 180

[template-trafficserver-storage-config]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/trafficserver/${:filename}
md5sum = 23c83efaf2fb0f9f0b3096bbfdda05c1
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = storage.config.jinja2
download-only = true
mode = 0644