Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
2cdcf3b8
Commit
2cdcf3b8
authored
Nov 14, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: exclude signatures of logrotated logs from mariadb and zope instance too
parent
7b6b2eb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+2
-2
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+9
-0
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+9
-0
No files found.
stack/erp5/buildout.hash.cfg
View file @
2cdcf3b8
...
...
@@ -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 = 9
3e05a68ee9c97dc23294c334c7670f9
md5sum = 9
ddbba307b4df8ca316de940ba3b44f6
[template-balancer]
filename = instance-balancer.cfg.in
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
2cdcf3b8
...
...
@@ -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) }}
...
...
stack/erp5/instance-zope.cfg.in
View file @
2cdcf3b8
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment