common.cfg 5.14 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
  ../../component/stunnel/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/logrotate/buildout.cfg
14
  ../../component/pycurl/buildout.cfg
15
  ../../component/python-cryptography/buildout.cfg
16
  ../../component/rdiff-backup/buildout.cfg
17 18
  ../../component/trafficserver/buildout.cfg

19 20
# Monitoring stack
  ../../stack/monitor/buildout.cfg
21

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

  stunnel

  dcron
  logrotate
  rdiff-backup

38 39 40 41
[slapos-toolbox]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
42
  ${python-cryptography:egg}
43
  ${pycurl:egg}
44 45 46 47 48 49
  slapos.toolbox

scripts =
  killpidfromfile
  onetimedownload

50 51 52 53 54
[eggs]
recipe = zc.recipe.egg
eggs =
  plone.recipe.command

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

62 63 64
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
65
md5sum = f686f765e55d1dce2e55a400f0714b3e 
66
output = ${buildout:directory}/template.cfg
67 68
mode = 0644

69 70 71
[template-apache-frontend]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-frontend.cfg
72
md5sum = cc64151e4fe953f15f7ea8cf20718d84 
73 74 75 76 77 78
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
79
md5sum = 9b17c835bcd927269cf510bf612f5985
80 81
mode = 0644

82 83
[template-slave-list]
recipe = slapos.recipe.build:download
84
url = ${:_profile_base_location_}/templates/apache-custom-slave-list.cfg.in
85
md5sum = 8b278b34a4fb063ba94e10186f725fcb
86 87 88 89
mode = 640

[template-slave-configuration]
recipe = slapos.recipe.build:download
90
url = ${:_profile_base_location_}/templates/slave-virtualhost.conf.in
91
md5sum = a7ad2e83b7f919fc45a7ef1e64344dcb
92 93
mode = 640

94 95 96
[template-replicate-publish-slave-information]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/replicate-publish-slave-information.cfg.in
97
md5sum = 665e83d660c9b779249b2179d7ce4b4e
98 99
mode = 640

100 101
[template-apache-frontend-configuration]
recipe = slapos.recipe.build:download
102
url = ${:_profile_base_location_}/templates/apache.conf.in
103
md5sum = 8ff17b2a0d0495ec935e378f3976de71
104 105 106 107
mode = 640

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

[template-rewrite-cached]
recipe = slapos.recipe.build:download
114
url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in
115
md5sum = 2f30af4f9da340c2b0618599da03ed4b
116
mode = 640
117

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

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

[template-default-virtualhost]
recipe = slapos.recipe.build:download
133
url = ${:_profile_base_location_}/templates/000.conf.in
134
md5sum = d98a01182f38868612948c87d5231428
135 136
mode = 640

137 138
[template-default-slave-virtualhost]
recipe = slapos.recipe.build:download
139
url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in
140
md5sum = c22de91b25d0597fecc7082a153b87bc
141 142 143 144 145 146
mode = 640

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

149 150 151 152 153 154
[template-log-access]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/template-log-access.conf.in
md5sum = f85005b430978f3bd24ee7ce11b0e304
mode = 640

155 156
[template-empty]
recipe = slapos.recipe.build:download
157
url = ${:_profile_base_location_}/templates/empty.in
158
md5sum = c2314c3a9c3412a38d14b312d3df83c1
159 160 161
mode = 640

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

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

[template-trafficserver-storage-config]
recipe = hexagonit.recipe.download
180
ignore-existing = true
181 182 183 184 185 186
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