Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos
Commits
3c6ab6f5
Commit
3c6ab6f5
authored
Dec 03, 2014
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: add resiliency exclude files.
parent
bc5cb1e6
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
6 deletions
+53
-6
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+7
-6
stack/erp5/instance-cloudoo.cfg.in
stack/erp5/instance-cloudoo.cfg.in
+7
-0
stack/erp5/instance-kumofs.cfg.in
stack/erp5/instance-kumofs.cfg.in
+7
-0
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+8
-0
stack/erp5/instance-memcached.cfg.in
stack/erp5/instance-memcached.cfg.in
+7
-0
stack/erp5/instance-tidstorage.cfg.in
stack/erp5/instance-tidstorage.cfg.in
+10
-0
stack/erp5/instance-varnish.cfg.in
stack/erp5/instance-varnish.cfg.in
+7
-0
No files found.
stack/erp5/buildout.cfg
View file @
3c6ab6f5
...
...
@@ -150,7 +150,7 @@ context =
[template-mariadb]
< = template-jinja2-base
filename = instance-mariadb.cfg
md5sum =
94b4b4e30ce70077c5601f16d3f96f74
md5sum =
7fda20a3f39c425c52631b97eeb4e471
extra-context =
key coreutils_location coreutils:location
key dcron_location dcron:location
...
...
@@ -174,7 +174,7 @@ mode = 640
[template-kumofs]
< = template-jinja2-base
filename = instance-kumofs.cfg
md5sum =
40817014a41497bceb696e512436e670
md5sum =
627369560a030b006dbdd8f10ff6694a
extra-context =
key dash_location dash:location
key dcron_location dcron:location
...
...
@@ -185,13 +185,13 @@ extra-context =
[template-tidstorage]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
md5sum =
2bc13fc6cd52c7b8e2b4ddb99a69974b
md5sum =
453cbef56fc2cb0ecab813ecace2d7dd
mode = 640
[template-cloudooo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
md5sum =
c93c881267beadf840dc0b339a3a466a
md5sum =
79eb68a9c5073535e8a98897385828a8
mode = 640
[template-zope-conf]
...
...
@@ -274,7 +274,7 @@ extra-context =
[template-memcached]
< = template-jinja2-base
filename = instance-memcached.cfg
md5sum =
346c864c1f119360eddb5e163f16d4f3
md5sum =
de63a79e6812854c44e961f5ac3b465d
extra-context =
key dash_location dash:location
key dcron_location dcron:location
...
...
@@ -297,7 +297,7 @@ mode = 640
[template-varnish]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in
md5sum =
ae0465591c22c0cb316c1706965c6b18
md5sum =
98158d0b349e3579a20ab520dfa9ebb7
mode = 640
[bt5-repository]
...
...
@@ -402,6 +402,7 @@ eggs =
Pympler
SOAPpy
chardet
collective.recipe.template
coverage
elementtree
erp5diff
...
...
stack/erp5/instance-cloudoo.cfg.in
View file @
3c6ab6f5
...
...
@@ -5,6 +5,7 @@
parts =
publish-cloudooo-connection-information
cloudooo-instance
resiliency-exclude-file
promise
promise-openoffice
eggs-directory = {{ eggs_directory }}
...
...
@@ -49,6 +50,12 @@ url-list = {{ json.get('font_url_list', []) | join(' ') }}
service-folder = ${directory:service}
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]
recipe = slapos.cookbook:check_port_listening
path = ${directory:promise}/cloudooo
...
...
stack/erp5/instance-kumofs.cfg.in
View file @
3c6ab6f5
...
...
@@ -6,6 +6,7 @@ parts =
logrotate-entry-kumofs
cron
cron-entry-logrotate
resiliency-exclude-file
promise-kumofs-server
promise-kumofs-server-listen
promise-kumofs-gateway
...
...
@@ -115,6 +116,12 @@ name = logrotate
frequency = 0 0 * * *
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
[promise-template]
recipe = slapos.cookbook:check_port_listening
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
3c6ab6f5
...
...
@@ -9,6 +9,7 @@ parts =
cron-entry-mariadb-backup
cron-entry-mariadb-backup-expire
binary-link
resiliency-exclude-file
promise
eggs-directory = {{ eggs_directory }}
...
...
@@ -189,6 +190,13 @@ link-binary =
{{ sed_location }}/bin/sed
{{ 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]
recipe = slapos.cookbook:mkdirectory
etc = ${buildout:directory}/etc
...
...
stack/erp5/instance-memcached.cfg.in
View file @
3c6ab6f5
...
...
@@ -9,6 +9,7 @@ parts =
logrotate-entry-kumofs
cron
cron-entry-logrotate
resiliency-exclude-file
promise-kumofs-server
promise-kumofs-server-listen
promise-kumofs-gateway
...
...
@@ -120,6 +121,12 @@ name = logrotate
frequency = 0 0 * * *
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
[promise-template]
recipe = slapos.cookbook:check_port_listening
...
...
stack/erp5/instance-tidstorage.cfg.in
View file @
3c6ab6f5
...
...
@@ -145,6 +145,15 @@ link-binary =
{{ parameter_dict['poppler'] }}/bin/pdfunite
{{ 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
#############################
...
...
@@ -524,6 +533,7 @@ parts =
cron-entry-logrotate
certificate-authority
erp5-certificate-authority
resiliency-exclude-file
tidstorage
cron-entry-tidstorage-backup
logrotate-entry-tidstorage
...
...
stack/erp5/instance-varnish.cfg.in
View file @
3c6ab6f5
...
...
@@ -6,6 +6,7 @@ parts =
varnish-instance
cron
cron-entry-logrotate
resiliency-exclude-file
{# When web_checker related parameter is given, web_checker will be enabled.#}
{% if web_checker_parameter is defined %}
web-checker
...
...
@@ -111,6 +112,12 @@ sharedscripts = true
notifempty = 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]
recipe = slapos.cookbook:mkdirectory
services = ${rootdirectory:etc}/run
...
...
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