common.cfg 4.76 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 = cd5a385c44d56b4d13392eba4e938969
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 = 1fe76dde85c488e94baf8510775ebcaf
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 = 6c72015a9af4f1edab63712f5c6aec99
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 = 0c4393db80670daf18b432b7f07383e9
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 = ed1b680e31e30596bf051682ec0270b4
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
md5sum = 5463dd67f1b1bea0bee57a421e371dd0
137 138
mode = 640

139 140 141 142 143 144
[template-log-access]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/templates/template-log-access.conf.in
md5sum = f85005b430978f3bd24ee7ce11b0e304
mode = 640

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

[template-wrapper]
152
recipe = slapos.recipe.template
153
url = ${:_profile_base_location_}/templates/wrapper.in
154 155
output = ${buildout:directory}/template-wrapper.cfg
mode = 0644
156
md5sum = 8cde04bfd0c0e9bd56744b988275cfd8
157 158 159 160

[template-trafficserver-records-config]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/trafficserver/${:filename}
161
md5sum = a892d3e71988a8293e44382cbf10810f
162 163 164 165
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = records.config.jinja2
download-only = true
mode = 0644
166 167 168 169 170 171 172 173 174

[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