[buildout] extends = ../../stack/slapos.cfg ../../component/git/buildout.cfg ../../component/dash/buildout.cfg ../../component/lxml-python/buildout.cfg ../../component/apache/buildout.cfg ../../component/gzip/buildout.cfg ../../component/stunnel/buildout.cfg ../../component/dcron/buildout.cfg ../../component/logrotate/buildout.cfg ../../component/pycurl/buildout.cfg ../../component/python-cryptography/buildout.cfg ../../component/rdiff-backup/buildout.cfg ../../component/trafficserver/buildout.cfg ../../component/pycurl/buildout.cfg ../../component/nginx/buildout.cfg ../../stack/nodejs.cfg # Monitoring stack (keep on bottom) ../../stack/monitor/buildout.cfg parts += template template-apache-frontend template-apache-replicate apache-2.2 apache-antiloris-apache-2.2 stunnel dcron logrotate rdiff-backup nginx-push-stream-output npm-modules proxy-by-url http-proxy # Extent extra-eggs. [extra-eggs] eggs += websockify erp5.util [template] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg md5sum = f686f765e55d1dce2e55a400f0714b3e output = ${buildout:directory}/template.cfg mode = 0644 [template-apache-frontend] recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance-apache-frontend.cfg md5sum = 3e52cdd1fba381cdb98b438589d1c4ab 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 md5sum = 9b17c835bcd927269cf510bf612f5985 mode = 0644 [template-slave-list] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/apache-custom-slave-list.cfg.in md5sum = 8fd6f0277883d893e01e71238091e81e mode = 640 [template-slave-configuration] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/custom-virtualhost.conf.in md5sum = a7ad2e83b7f919fc45a7ef1e64344dcb mode = 640 [template-replicate-publish-slave-information] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/replicate-publish-slave-information.cfg.in md5sum = 665e83d660c9b779249b2179d7ce4b4e mode = 640 [template-apache-frontend-configuration] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/apache.conf.in md5sum = 8ff17b2a0d0495ec935e378f3976de71 mode = 640 [template-apache-cached-configuration] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/apache_cached.conf.in md5sum = 86dcbdc0874d3c1b8971b76b70c4df65 mode = 640 [template-rewrite-cached] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/apache_cached_rewrite.txt.in md5sum = 2f30af4f9da340c2b0618599da03ed4b mode = 640 [template-custom-slave-list] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/apache-default-slave-list.cfg.in md5sum = 9362384cd80727987b34c7746a6de196 mode = 640 [template-not-found-html] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/notfound.html filename = notfound.html md5sum = f20d6c3d2d94fb685f8d26dfca1e822b mode = 640 [template-default-virtualhost] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/000.conf.in md5sum = d98a01182f38868612948c87d5231428 mode = 640 [template-default-slave-virtualhost] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/default-virtualhost.conf.in md5sum = e5ed71c5e22ab91e33a71bd09879e23c mode = 640 [template-cached-slave-virtualhost] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/cached-virtualhost.conf.in md5sum = 432e55df3b42243a98b564cca57e2396 mode = 640 [template-log-access] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/template-log-access.conf.in md5sum = f85005b430978f3bd24ee7ce11b0e304 mode = 640 [template-empty] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/templates/empty.in md5sum = c2314c3a9c3412a38d14b312d3df83c1 mode = 640 [template-wrapper] recipe = slapos.recipe.template url = ${:_profile_base_location_}/templates/wrapper.in output = ${buildout:directory}/template-wrapper.cfg mode = 0644 md5sum = 8cde04bfd0c0e9bd56744b988275cfd8 [template-trafficserver-records-config] recipe = hexagonit.recipe.download ignore-existing = true url = ${:_profile_base_location_}/templates/trafficserver/${:filename} md5sum = 59287d2de3d948b135619edd211a5e84 location = ${buildout:parts-directory}/${:_buildout_section_name_} filename = records.config.jinja2 download-only = true mode = 0644 [template-trafficserver-storage-config] recipe = hexagonit.recipe.download ignore-existing = true 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 # Migrated from KVM recipe [http-proxy] # https://github.com/nodejitsu/node-http-proxy recipe = slapos.recipe.build:download-unpacked # use upstream when merged url = https://lab.nexedi.com/nexedi/node-http-proxy/repository/archive.zip?ref=a5d3aff428ee8d840068b439f6ce121077f1144f md5sum = 65602466066444c718215de41f546585 [proxy-by-url] # https://github.com/dominictarr/proxy-by-url recipe = slapos.recipe.build:download-unpacked # use upstream when merged url = https://lab.nexedi.com/nexedi/proxy-by-url/repository/archive.zip?ref=59fcb11a3e00c45b4b0362e76f29653abb313072 md5sum = c383e0c5ff31b56f7987466e8304c941 [npm-modules] recipe = plone.recipe.command destination = ${buildout:parts-directory}/${:_buildout_section_name_} location = ${buildout:parts-directory}/${:_buildout_section_name_} command = export HOME=${:location}; rm -fr ${:destination} && mkdir -p ${:destination} && cd ${:destination} && ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install colors@0.6.0-1 && ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io@0.8.7 && ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install socket.io-client@0.8.7 && ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install optimist@0.3.1 && ${nodejs:location}/bin/node ${nodejs:location}/bin/npm install pkginfo@0.2.3