common.cfg 4.81 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 10
  ../../component/binutils/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/apache/buildout.cfg
11
  ../../component/gzip/buildout.cfg
12 13 14 15
  ../../component/stunnel/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/rdiff-backup/buildout.cfg
16 17
  ../../component/trafficserver/buildout.cfg

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

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

  stunnel

  dcron
  logrotate
  rdiff-backup

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

scripts =
  killpidfromfile
  onetimedownload

48 49 50 51 52
[eggs]
recipe = zc.recipe.egg
eggs =
  plone.recipe.command

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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