apache-frontend: check configuration file before reloading apache
[slapos.git] / software / apache-frontend / common.cfg
1 [buildout]
2 extends =
3 # dev Stuff
4   ../../component/git/buildout.cfg
5
6   ../../stack/slapos.cfg
7   ../../component/binutils/buildout.cfg
8   ../../component/lxml-python/buildout.cfg
9   ../../component/apache/buildout.cfg
10   ../../component/gzip/buildout.cfg
11   ../../component/stunnel/buildout.cfg
12   ../../component/dcron/buildout.cfg
13   ../../component/logrotate/buildout.cfg
14   ../../component/rdiff-backup/buildout.cfg
15   ../../component/squid/buildout.cfg
16
17 parts +=
18   slapos-cookbook
19   slapos-toolbox
20   template
21   template-apache-frontend
22   template-apache-replicate
23   binutils
24   apache-2.2
25   apache-antiloris-apache-2.2
26
27   stunnel
28
29   dcron
30   logrotate
31   rdiff-backup
32   squid
33
34 [slapos-toolbox]
35 recipe = zc.recipe.egg
36 eggs =
37   ${lxml-python:egg}
38   slapos.toolbox
39   plone.recipe.command
40
41 scripts =
42   killpidfromfile
43   onetimedownload
44
45 [check-recipe]
46 recipe = plone.recipe.command
47 stop-on-error = true
48 update-command = ${:command}
49 command =
50   grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link &&
51
52 [template]
53 recipe = slapos.recipe.template
54 url = ${:_profile_base_location_}/instance.cfg
55 md5sum = 5c22b1e0fe601255ebf19adf6093489f
56 output = ${buildout:directory}/template.cfg
57 mode = 0644
58
59 [template-apache-frontend]
60 recipe = slapos.recipe.template
61 url = ${:_profile_base_location_}/instance-apache-frontend.cfg
62 #md5sum = f0a507fed2b1dcab5530c892adce8327
63 output = ${buildout:directory}/template-apache-frontend.cfg
64 mode = 0644
65
66 [template-apache-replicate]
67 recipe = slapos.recipe.build:download
68 url = ${:_profile_base_location_}/instance-apache-replicate.cfg.in
69 md5sum = 02658d39fa429fef7faba9658e4f1474
70 mode = 0644
71
72 [template-slave-list]
73 recipe = slapos.recipe.build:download
74 url = ${:_profile_base_location_}/templates/apache-custom-slave-list.cfg.in
75 #md5sum = f002a8fc8fc5d18adbd8ac1ee054e852
76 mode = 640
77
78 [template-slave-configuration]
79 recipe = slapos.recipe.build:download
80 url = ${:_profile_base_location_}/templates/slave-virtualhost.conf.in
81 md5sum = a7ad2e83b7f919fc45a7ef1e64344dcb
82 mode = 640
83
84 [template-replicate-publish-slave-information]
85 recipe = slapos.recipe.build:download
86 url = ${:_profile_base_location_}/templates/replicate-publish-slave-information.cfg.in
87 md5sum = a2cf00b24877bf747e2408d444f16f05
88 mode = 640
89
90 [template-apache-frontend-configuration]
91 recipe = slapos.recipe.build:download
92 url = ${:_profile_base_location_}/templates/apache.conf.in
93 md5sum = bae89ebc6c5e75b12535fbd6c37f647d
94 mode = 640
95
96 [template-apache-cached-configuration]
97 recipe = slapos.recipe.build:download
98 url = ${:_profile_base_location_}/templates/apache_cached.conf.in
99 md5sum = 0c4393db80670daf18b432b7f07383e9
100 mode = 640
101
102 [template-rewrite-cached]
103 recipe = slapos.recipe.build:download
104 url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in
105 md5sum = 2f30af4f9da340c2b0618599da03ed4b
106 mode = 640
107
108 [template-custom-slave-list]
109 recipe = slapos.recipe.build:download
110 url = ${:_profile_base_location_}/templates/apache-default-slave-list.cfg.in
111 md5sum = 9362384cd80727987b34c7746a6de196
112 mode = 640
113
114 [template-not-found-html]
115 recipe = slapos.recipe.build:download
116 url = ${:_profile_base_location_}/templates/notfound.html
117 filename = notfound.html
118 md5sum = f20d6c3d2d94fb685f8d26dfca1e822b
119 mode = 640
120
121 [template-default-virtualhost]
122 recipe = slapos.recipe.build:download
123 url = ${:_profile_base_location_}/templates/000.conf.in
124 md5sum = c2bbf029e6adc432de0884fb5cf5d2ab
125 mode = 640
126
127 [template-default-slave-virtualhost]
128 recipe = slapos.recipe.build:download
129 url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in
130 md5sum = ac845c0fa3835832307a0e7323cb339d
131 mode = 640
132
133 [template-log-access]
134 recipe = slapos.recipe.build:download
135 url = ${:_profile_base_location_}/templates/template-log-access.conf.in
136 md5sum = f85005b430978f3bd24ee7ce11b0e304
137 mode = 640
138
139 [template-squid-configuration]
140 recipe = slapos.recipe.build:download
141 url = ${:_profile_base_location_}/templates/squid.conf.jinja2
142 #md5sum = 484fee19b2ca102f2baf3bd04893dd2c
143 mode = 640
144
145 [template-empty]
146 recipe = slapos.recipe.build:download
147 url = ${:_profile_base_location_}/templates/empty.in
148 md5sum = c2314c3a9c3412a38d14b312d3df83c1
149 mode = 640
150
151 [template-wrapper]
152 recipe = slapos.recipe.build:download
153 url = ${:_profile_base_location_}/templates/wrapper.in
154 #md5sum = c2314c3a9c3412a38d14b312d3df83c1
155 mode = 640