erp5: add resiliency exclude files.

parent bc5cb1e6
...@@ -150,7 +150,7 @@ context = ...@@ -150,7 +150,7 @@ context =
[template-mariadb] [template-mariadb]
< = template-jinja2-base < = template-jinja2-base
filename = instance-mariadb.cfg filename = instance-mariadb.cfg
md5sum = 94b4b4e30ce70077c5601f16d3f96f74 md5sum = 7fda20a3f39c425c52631b97eeb4e471
extra-context = extra-context =
key coreutils_location coreutils:location key coreutils_location coreutils:location
key dcron_location dcron:location key dcron_location dcron:location
...@@ -174,7 +174,7 @@ mode = 640 ...@@ -174,7 +174,7 @@ mode = 640
[template-kumofs] [template-kumofs]
< = template-jinja2-base < = template-jinja2-base
filename = instance-kumofs.cfg filename = instance-kumofs.cfg
md5sum = 40817014a41497bceb696e512436e670 md5sum = 627369560a030b006dbdd8f10ff6694a
extra-context = extra-context =
key dash_location dash:location key dash_location dash:location
key dcron_location dcron:location key dcron_location dcron:location
...@@ -185,13 +185,13 @@ extra-context = ...@@ -185,13 +185,13 @@ extra-context =
[template-tidstorage] [template-tidstorage]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-tidstorage.cfg.in url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
md5sum = 2bc13fc6cd52c7b8e2b4ddb99a69974b md5sum = 453cbef56fc2cb0ecab813ecace2d7dd
mode = 640 mode = 640
[template-cloudooo] [template-cloudooo]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
md5sum = c93c881267beadf840dc0b339a3a466a md5sum = 79eb68a9c5073535e8a98897385828a8
mode = 640 mode = 640
[template-zope-conf] [template-zope-conf]
...@@ -274,7 +274,7 @@ extra-context = ...@@ -274,7 +274,7 @@ extra-context =
[template-memcached] [template-memcached]
< = template-jinja2-base < = template-jinja2-base
filename = instance-memcached.cfg filename = instance-memcached.cfg
md5sum = 346c864c1f119360eddb5e163f16d4f3 md5sum = de63a79e6812854c44e961f5ac3b465d
extra-context = extra-context =
key dash_location dash:location key dash_location dash:location
key dcron_location dcron:location key dcron_location dcron:location
...@@ -297,7 +297,7 @@ mode = 640 ...@@ -297,7 +297,7 @@ mode = 640
[template-varnish] [template-varnish]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in url = ${:_profile_base_location_}/instance-varnish.cfg.in
md5sum = ae0465591c22c0cb316c1706965c6b18 md5sum = 98158d0b349e3579a20ab520dfa9ebb7
mode = 640 mode = 640
[bt5-repository] [bt5-repository]
...@@ -402,6 +402,7 @@ eggs = ...@@ -402,6 +402,7 @@ eggs =
Pympler Pympler
SOAPpy SOAPpy
chardet chardet
collective.recipe.template
coverage coverage
elementtree elementtree
erp5diff erp5diff
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
parts = parts =
publish-cloudooo-connection-information publish-cloudooo-connection-information
cloudooo-instance cloudooo-instance
resiliency-exclude-file
promise promise
promise-openoffice promise-openoffice
eggs-directory = {{ eggs_directory }} eggs-directory = {{ eggs_directory }}
...@@ -49,6 +50,12 @@ url-list = {{ json.get('font_url_list', []) | join(' ') }} ...@@ -49,6 +50,12 @@ url-list = {{ json.get('font_url_list', []) | join(' ') }}
service-folder = ${directory:service} service-folder = ${directory:service}
onetimedownload_path = {{ bin_directory }}/onetimedownload onetimedownload_path = {{ bin_directory }}/onetimedownload
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: **
output = ${directory:srv}/exporter.exclude
[promise] [promise]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/cloudooo path = ${directory:promise}/cloudooo
......
...@@ -6,6 +6,7 @@ parts = ...@@ -6,6 +6,7 @@ parts =
logrotate-entry-kumofs logrotate-entry-kumofs
cron cron
cron-entry-logrotate cron-entry-logrotate
resiliency-exclude-file
promise-kumofs-server promise-kumofs-server
promise-kumofs-server-listen promise-kumofs-server-listen
promise-kumofs-gateway promise-kumofs-gateway
...@@ -115,6 +116,12 @@ name = logrotate ...@@ -115,6 +116,12 @@ name = logrotate
frequency = 0 0 * * * frequency = 0 0 * * *
command = ${logrotate:wrapper} command = ${logrotate:wrapper}
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: **
output = ${rootdirectory:srv}/exporter.exclude
# Deploy zope promises scripts # Deploy zope promises scripts
[promise-template] [promise-template]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
......
...@@ -9,6 +9,7 @@ parts = ...@@ -9,6 +9,7 @@ parts =
cron-entry-mariadb-backup cron-entry-mariadb-backup
cron-entry-mariadb-backup-expire cron-entry-mariadb-backup-expire
binary-link binary-link
resiliency-exclude-file
promise promise
eggs-directory = {{ eggs_directory }} eggs-directory = {{ eggs_directory }}
...@@ -189,6 +190,13 @@ link-binary = ...@@ -189,6 +190,13 @@ link-binary =
{{ sed_location }}/bin/sed {{ sed_location }}/bin/sed
{{ mariadb_location }}/bin/mysql {{ mariadb_location }}/bin/mysql
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: srv/mariadb/**
output = ${rootdirectory:srv}/exporter.exclude
[rootdirectory] [rootdirectory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
etc = ${buildout:directory}/etc etc = ${buildout:directory}/etc
......
...@@ -9,6 +9,7 @@ parts = ...@@ -9,6 +9,7 @@ parts =
logrotate-entry-kumofs logrotate-entry-kumofs
cron cron
cron-entry-logrotate cron-entry-logrotate
resiliency-exclude-file
promise-kumofs-server promise-kumofs-server
promise-kumofs-server-listen promise-kumofs-server-listen
promise-kumofs-gateway promise-kumofs-gateway
...@@ -120,6 +121,12 @@ name = logrotate ...@@ -120,6 +121,12 @@ name = logrotate
frequency = 0 0 * * * frequency = 0 0 * * *
command = ${logrotate:wrapper} command = ${logrotate:wrapper}
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: **
output = ${rootdirectory:srv}/exporter.exclude
# Deploy zope promises scripts # Deploy zope promises scripts
[promise-template] [promise-template]
recipe = slapos.cookbook:check_port_listening recipe = slapos.cookbook:check_port_listening
......
...@@ -145,6 +145,15 @@ link-binary = ...@@ -145,6 +145,15 @@ link-binary =
{{ parameter_dict['poppler'] }}/bin/pdfunite {{ parameter_dict['poppler'] }}/bin/pdfunite
{{ parameter_dict['dmtx-utils'] }}/bin/dmtxwrite {{ parameter_dict['dmtx-utils'] }}/bin/dmtxwrite
#############################
# Resiliency
#############################
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: srv/zodb/**
output = ${directory:srv}/exporter.exclude
############################# #############################
# CA # CA
############################# #############################
...@@ -524,6 +533,7 @@ parts = ...@@ -524,6 +533,7 @@ parts =
cron-entry-logrotate cron-entry-logrotate
certificate-authority certificate-authority
erp5-certificate-authority erp5-certificate-authority
resiliency-exclude-file
tidstorage tidstorage
cron-entry-tidstorage-backup cron-entry-tidstorage-backup
logrotate-entry-tidstorage logrotate-entry-tidstorage
......
...@@ -6,6 +6,7 @@ parts = ...@@ -6,6 +6,7 @@ parts =
varnish-instance varnish-instance
cron cron
cron-entry-logrotate cron-entry-logrotate
resiliency-exclude-file
{# When web_checker related parameter is given, web_checker will be enabled.#} {# When web_checker related parameter is given, web_checker will be enabled.#}
{% if web_checker_parameter is defined %} {% if web_checker_parameter is defined %}
web-checker web-checker
...@@ -111,6 +112,12 @@ sharedscripts = true ...@@ -111,6 +112,12 @@ sharedscripts = true
notifempty = true notifempty = true
create = true create = true
[resiliency-exclude-file]
# Generate rdiff exclude file in case of resiliency
recipe = collective.recipe.template
input = inline: **
output = ${rootdirectory:srv}/exporter.exclude
[basedirectory] [basedirectory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
services = ${rootdirectory:etc}/run services = ${rootdirectory:etc}/run
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment