Commit 2cdcf3b8 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5: exclude signatures of logrotated logs from mariadb and zope instance too

parent 7b6b2eb3
......@@ -26,7 +26,7 @@ md5sum = 1af531c51f575a1d1362f2ca2d61620d
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = 6aac38ecaae4e31410c3a514773eabc7
md5sum = 021dd2366b05fdab02302c59b51838d6
[template-kumofs]
filename = instance-kumofs.cfg.in
......@@ -82,7 +82,7 @@ md5sum = a4f461fb843b2e5fc318ec9a2331d0b0
[template-zope]
filename = instance-zope.cfg.in
md5sum = 93e05a68ee9c97dc23294c334c7670f9
md5sum = 9ddbba307b4df8ca316de940ba3b44f6
[template-balancer]
filename = instance-balancer.cfg.in
......
......@@ -276,6 +276,15 @@ slowquery = ${monitor-directory:private}/slowquery_digest
template = {{ 'inline:{{ "${directory:mariadb-data}/**\\n${directory:log}\\n" }}' }}
rendered = ${directory:srv}/exporter.exclude
[{{ section("resiliency-identity-signature-script")}}]
# Generate identity script used by webrunner to check data integrity
# It excludes repozo files as they already include a hash function
# used to check backups when rebuilding the datafs
recipe = slapos.cookbook:wrapper
command-line = {{ bin_directory }}/backup-identity-script-excluding-path --exclude-path "srv/backup/logrotate"
wrapper-path = ${directory:srv}/.backup_identity_script
mode = 770
[dash]
dash = {{ dumps(dash) }}
......
......@@ -118,6 +118,15 @@ mode = 644
template = {{ 'inline:{{ "${directory:log}\\n" }}' }}
rendered = ${directory:srv}/exporter.exclude
[{{ section("resiliency-identity-signature-script")}}]
# Generate identity script used by webrunner to check data integrity
# It excludes repozo files as they already include a hash function
# used to check backups when rebuilding the datafs
recipe = slapos.cookbook:wrapper
command-line = {{ bin_directory }}/backup-identity-script-excluding-path --exclude-path "srv/backup/logrotate"
wrapper-path = ${directory:srv}/.backup_identity_script
mode = 770
[binary-link]
recipe = slapos.cookbook:symbolic.link
target-directory = ${directory:bin}
......
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