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
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
Dmitry Blinov
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
Hide 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 =
...
@@ -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
...
...
stack/erp5/instance-cloudoo.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
stack/erp5/instance-kumofs.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
stack/erp5/instance-memcached.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
stack/erp5/instance-tidstorage.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
stack/erp5/instance-varnish.cfg.in
View file @
3c6ab6f5
...
@@ -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
...
...
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