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
Xavier Thompson
slapos
Commits
f619403c
Commit
f619403c
authored
Oct 06, 2021
by
Julien Muchembled
Committed by
Xavier Thompson
Oct 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version up: slapos.cookbook 1.0.213
Adapt all promise sections to changes in plugin promise recipe.
parent
a759248b
Changes
102
Hide whitespace changes
Inline
Side-by-side
Showing
102 changed files
with
237 additions
and
244 deletions
+237
-244
software/backupserver/buildout.hash.cfg
software/backupserver/buildout.hash.cfg
+1
-1
software/backupserver/instance-pullrdiffbackup.cfg.in
software/backupserver/instance-pullrdiffbackup.cfg.in
+2
-4
software/caddy-frontend/buildout.hash.cfg
software/caddy-frontend/buildout.hash.cfg
+4
-4
software/caddy-frontend/instance-apache-frontend.cfg.in
software/caddy-frontend/instance-apache-frontend.cfg.in
+15
-15
software/caddy-frontend/instance-apache-replicate.cfg.in
software/caddy-frontend/instance-apache-replicate.cfg.in
+4
-4
software/caddy-frontend/instance-kedifa.cfg.in
software/caddy-frontend/instance-kedifa.cfg.in
+3
-3
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
.../caddy-frontend/templates/apache-custom-slave-list.cfg.in
+4
-4
software/cloudooo/buildout.hash.cfg
software/cloudooo/buildout.hash.cfg
+1
-1
software/cloudooo/instance-cloudooo.cfg.in
software/cloudooo/instance-cloudooo.cfg.in
+1
-1
software/dream/buildout.hash.cfg
software/dream/buildout.hash.cfg
+1
-1
software/dream/instance.cfg
software/dream/instance.cfg
+1
-1
software/erp5testnode/buildout.hash.cfg
software/erp5testnode/buildout.hash.cfg
+1
-1
software/erp5testnode/instance-default.cfg.jinja.in
software/erp5testnode/instance-default.cfg.jinja.in
+2
-2
software/fluentd/buildout.hash.cfg
software/fluentd/buildout.hash.cfg
+1
-1
software/fluentd/instance-fluentd.cfg
software/fluentd/instance-fluentd.cfg
+1
-1
software/gitlab/buildout.hash.cfg
software/gitlab/buildout.hash.cfg
+1
-1
software/gitlab/instance-gitlab.cfg.in
software/gitlab/instance-gitlab.cfg.in
+4
-4
software/headless-chromium/buildout.hash.cfg
software/headless-chromium/buildout.hash.cfg
+1
-1
software/headless-chromium/instance-headless-chromium.cfg.in
software/headless-chromium/instance-headless-chromium.cfg.in
+2
-2
software/helloworld/buildout.hash.cfg
software/helloworld/buildout.hash.cfg
+1
-1
software/helloworld/instance.cfg.in
software/helloworld/instance.cfg.in
+1
-1
software/html5as/buildout.hash.cfg
software/html5as/buildout.hash.cfg
+1
-1
software/html5as/instance_html5as.cfg.in
software/html5as/instance_html5as.cfg.in
+2
-2
software/htmlvalidatorserver/buildout.hash.cfg
software/htmlvalidatorserver/buildout.hash.cfg
+1
-1
software/htmlvalidatorserver/instance-validator.cfg.in
software/htmlvalidatorserver/instance-validator.cfg.in
+1
-1
software/hugo/buildout.hash.cfg
software/hugo/buildout.hash.cfg
+1
-1
software/hugo/instance.cfg.in
software/hugo/instance.cfg.in
+4
-4
software/jscrawler/buildout.hash.cfg
software/jscrawler/buildout.hash.cfg
+1
-1
software/jscrawler/instance-jscrawler.cfg.jinja2.in
software/jscrawler/instance-jscrawler.cfg.jinja2.in
+2
-2
software/jupyter/buildout.hash.cfg
software/jupyter/buildout.hash.cfg
+1
-1
software/jupyter/instance-jupyter.cfg.in
software/jupyter/instance-jupyter.cfg.in
+2
-2
software/kvm/buildout.hash.cfg
software/kvm/buildout.hash.cfg
+5
-5
software/kvm/instance-kvm-http.cfg.in
software/kvm/instance-kvm-http.cfg.in
+1
-1
software/kvm/instance-kvm-import.cfg.jinja2.in
software/kvm/instance-kvm-import.cfg.jinja2.in
+1
-1
software/kvm/instance-kvm-resilient.cfg.jinja2
software/kvm/instance-kvm-resilient.cfg.jinja2
+2
-2
software/kvm/instance-kvm.cfg.jinja2
software/kvm/instance-kvm.cfg.jinja2
+11
-11
software/kvm/instance-nbd.cfg.jinja2
software/kvm/instance-nbd.cfg.jinja2
+2
-2
software/metabase/buildout.hash.cfg
software/metabase/buildout.hash.cfg
+1
-1
software/metabase/instance.cfg.in
software/metabase/instance.cfg.in
+2
-2
software/monitor/buildout.hash.cfg
software/monitor/buildout.hash.cfg
+3
-3
software/monitor/instance-monitor-edgebot.cfg.jinja2
software/monitor/instance-monitor-edgebot.cfg.jinja2
+2
-2
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
+3
-3
software/monitor/instance-monitor.cfg.jinja2
software/monitor/instance-monitor.cfg.jinja2
+2
-5
software/nayuos/buildout.hash.cfg
software/nayuos/buildout.hash.cfg
+1
-1
software/nayuos/instance.cfg
software/nayuos/instance.cfg
+1
-1
software/neoppod/buildout.hash.cfg
software/neoppod/buildout.hash.cfg
+1
-1
software/neoppod/instance-neo-admin.cfg.in
software/neoppod/instance-neo-admin.cfg.in
+1
-1
software/nextcloud/buildout.hash.cfg
software/nextcloud/buildout.hash.cfg
+1
-1
software/nextcloud/nextcloud-instance.cfg.in
software/nextcloud/nextcloud-instance.cfg.in
+2
-2
software/nginx-push-stream/buildout.hash.cfg
software/nginx-push-stream/buildout.hash.cfg
+1
-1
software/nginx-push-stream/instance.cfg.in
software/nginx-push-stream/instance.cfg.in
+1
-1
software/plantuml/buildout.hash.cfg
software/plantuml/buildout.hash.cfg
+1
-1
software/plantuml/instance.cfg.in
software/plantuml/instance.cfg.in
+1
-1
software/powerdns/buildout.hash.cfg
software/powerdns/buildout.hash.cfg
+2
-2
software/powerdns/instance-powerdns-replicate.cfg.jinja2
software/powerdns/instance-powerdns-replicate.cfg.jinja2
+1
-1
software/powerdns/instance-powerdns.cfg
software/powerdns/instance-powerdns.cfg
+1
-1
software/proftpd/buildout.hash.cfg
software/proftpd/buildout.hash.cfg
+1
-1
software/proftpd/instance-default.cfg.in
software/proftpd/instance-default.cfg.in
+1
-1
software/pureftpd/buildout.hash.cfg
software/pureftpd/buildout.hash.cfg
+1
-1
software/pureftpd/instance.cfg.in
software/pureftpd/instance.cfg.in
+1
-1
software/re6stnet/buildout.hash.cfg
software/re6stnet/buildout.hash.cfg
+1
-1
software/re6stnet/instance-re6stnet.cfg.in
software/re6stnet/instance-re6stnet.cfg.in
+2
-2
software/repman/buildout.hash.cfg
software/repman/buildout.hash.cfg
+2
-2
software/repman/instance-mariadb.cfg.jinja2.in
software/repman/instance-mariadb.cfg.jinja2.in
+2
-2
software/repman/instance-repman.cfg.jinja2.in
software/repman/instance-repman.cfg.jinja2.in
+7
-7
software/seleniumserver/buildout.hash.cfg
software/seleniumserver/buildout.hash.cfg
+1
-1
software/seleniumserver/instance-selenium.cfg.in
software/seleniumserver/instance-selenium.cfg.in
+2
-2
software/slapos-master/buildout.hash.cfg
software/slapos-master/buildout.hash.cfg
+1
-1
software/slapos-master/instance-balancer.cfg.in
software/slapos-master/instance-balancer.cfg.in
+3
-3
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+2
-2
software/slaprunner/instance-runner-import.cfg.in
software/slaprunner/instance-runner-import.cfg.in
+2
-2
software/slaprunner/instance-runner.cfg
software/slaprunner/instance-runner.cfg
+10
-10
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+3
-3
software/theia/instance-export.cfg.jinja.in
software/theia/instance-export.cfg.jinja.in
+1
-1
software/theia/instance-import.cfg.jinja.in
software/theia/instance-import.cfg.jinja.in
+1
-1
software/theia/instance-theia.cfg.jinja.in
software/theia/instance-theia.cfg.jinja.in
+8
-8
software/turnserver/buildout.hash.cfg
software/turnserver/buildout.hash.cfg
+2
-2
software/turnserver/instance-insecure-turnserver.cfg.jinja2.in
...are/turnserver/instance-insecure-turnserver.cfg.jinja2.in
+1
-1
software/turnserver/instance-turnserver.cfg.jinja2.in
software/turnserver/instance-turnserver.cfg.jinja2.in
+2
-2
software/wendelin-scalability/test_scalability_fluentd/PathTemplateItem/portal_skins/custom/ERP5Site_handleRawDataFluentdIngestion.py
...al_skins/custom/ERP5Site_handleRawDataFluentdIngestion.py
+1
-1
stack/caucase/buildout.hash.cfg
stack/caucase/buildout.hash.cfg
+1
-1
stack/caucase/caucase.jinja2.library
stack/caucase/caucase.jinja2.library
+2
-2
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+7
-7
stack/erp5/instance-balancer.cfg.in
stack/erp5/instance-balancer.cfg.in
+4
-4
stack/erp5/instance-kumofs.cfg.in
stack/erp5/instance-kumofs.cfg.in
+2
-2
stack/erp5/instance-mariadb.cfg.in
stack/erp5/instance-mariadb.cfg.in
+3
-3
stack/erp5/instance-postfix.cfg.in
stack/erp5/instance-postfix.cfg.in
+3
-3
stack/erp5/instance-wcfs.cfg.in
stack/erp5/instance-wcfs.cfg.in
+1
-1
stack/erp5/instance-zeo.cfg.in
stack/erp5/instance-zeo.cfg.in
+3
-3
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+5
-5
stack/lamp/buildout.hash.cfg
stack/lamp/buildout.hash.cfg
+2
-2
stack/lamp/instance-apache-php.cfg.in
stack/lamp/instance-apache-php.cfg.in
+1
-1
stack/lamp/instance-lamp.cfg.jinja2.in
stack/lamp/instance-lamp.cfg.jinja2.in
+1
-1
stack/monitor/buildout.hash.cfg
stack/monitor/buildout.hash.cfg
+1
-1
stack/monitor/instance-monitor.cfg.jinja2.in
stack/monitor/instance-monitor.cfg.jinja2.in
+7
-9
stack/resilient/buildout.hash.cfg
stack/resilient/buildout.hash.cfg
+5
-5
stack/resilient/instance-pull-backup.cfg.in
stack/resilient/instance-pull-backup.cfg.in
+2
-2
stack/resilient/pbsready-export.cfg.in
stack/resilient/pbsready-export.cfg.in
+1
-1
stack/resilient/pbsready-import.cfg.in
stack/resilient/pbsready-import.cfg.in
+2
-2
stack/resilient/pbsready.cfg.in
stack/resilient/pbsready.cfg.in
+4
-4
stack/resilient/template-replicated.cfg.in
stack/resilient/template-replicated.cfg.in
+3
-3
stack/slapos.cfg
stack/slapos.cfg
+1
-1
No files found.
software/backupserver/buildout.hash.cfg
View file @
f619403c
...
@@ -46,7 +46,7 @@ md5sum = ae4a0043414336a521b524d9c95f1c68
...
@@ -46,7 +46,7 @@ md5sum = ae4a0043414336a521b524d9c95f1c68
[template-pullrdiffbackup]
[template-pullrdiffbackup]
filename = instance-pullrdiffbackup.cfg.in
filename = instance-pullrdiffbackup.cfg.in
md5sum =
f2e6f30a0e8228cbfb93eaaae10fe884
md5sum =
45a4faa217ea5b83ecf271791e1632dd
[template]
[template]
filename = instance.cfg.in
filename = instance.cfg.in
...
...
software/backupserver/instance-pullrdiffbackup.cfg.in
View file @
f619403c
...
@@ -107,8 +107,7 @@ recipe = slapos.cookbook:promise.plugin
...
@@ -107,8 +107,7 @@ recipe = slapos.cookbook:promise.plugin
eggs =
eggs =
slapos.toolbox
slapos.toolbox
output = $${directory:plugin}/{{ slave_reference }}_check_backup.py
output = $${directory:plugin}/{{ slave_reference }}_check_backup.py
content =
module = slapos.promise.plugin.backupserver_check_backup
from slapos.promise.plugin.backupserver_check_backup import RunPromise
config-status_dirbasename = $${variables:status_dirbasename}
config-status_dirbasename = $${variables:status_dirbasename}
config-status_name = {{ '$${' ~ slave_reference }}-backup-script:status_name}
config-status_name = {{ '$${' ~ slave_reference }}-backup-script:status_name}
config-status_fullpath = {{ '$${' ~ slave_reference }}-backup-script:status_log}
config-status_fullpath = {{ '$${' ~ slave_reference }}-backup-script:status_log}
...
@@ -117,7 +116,6 @@ config-cron_frequency = {{ frequency }}
...
@@ -117,7 +116,6 @@ config-cron_frequency = {{ frequency }}
config-monitor_url = $${monitor-publish:monitor-base-url}
config-monitor_url = $${monitor-publish:monitor-base-url}
config-statistic_dirbasename = $${variables:statistic_dirbasename}
config-statistic_dirbasename = $${variables:statistic_dirbasename}
config-statistic_name = {{ '$${' ~ slave_reference }}-backup-script:statistic_name}
config-statistic_name = {{ '$${' ~ slave_reference }}-backup-script:statistic_name}
mode = 600
{% do part_list.append("%s-promise-check-backup" % slave_reference) -%}
{% do part_list.append("%s-promise-check-backup" % slave_reference) -%}
[{{ slave_reference }}-backup-script]
[{{ slave_reference }}-backup-script]
...
@@ -194,7 +192,7 @@ virtual-depends =
...
@@ -194,7 +192,7 @@ virtual-depends =
[nginx-listen-promise]
[nginx-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = nginx_listen.py
name = nginx_listen.py
config-host = $${nginx-configuration:ip}
config-host = $${nginx-configuration:ip}
config-port = $${nginx-configuration:port}
config-port = $${nginx-configuration:port}
...
...
software/caddy-frontend/buildout.hash.cfg
View file @
f619403c
...
@@ -22,15 +22,15 @@ md5sum = 5784bea3bd608913769ff9a8afcccb68
...
@@ -22,15 +22,15 @@ md5sum = 5784bea3bd608913769ff9a8afcccb68
[profile-caddy-frontend]
[profile-caddy-frontend]
filename = instance-apache-frontend.cfg.in
filename = instance-apache-frontend.cfg.in
md5sum =
385674eb3e79bdd773ef6cec1d1281e
8
md5sum =
0950e09ad1f03f0789308f5f7a7eb1b
8
[profile-caddy-replicate]
[profile-caddy-replicate]
filename = instance-apache-replicate.cfg.in
filename = instance-apache-replicate.cfg.in
md5sum =
99741e618b1c249bd17c9e02778d74ee
md5sum =
7c2e52b76c42bed95702763c344e41dd
[profile-slave-list]
[profile-slave-list]
_update_hash_filename_ = templates/apache-custom-slave-list.cfg.in
_update_hash_filename_ = templates/apache-custom-slave-list.cfg.in
md5sum =
9bb51f663f69d66b5b3708bf892dd3e6
md5sum =
313671d343ceccfca5af1baa642132c5
[profile-replicate-publish-slave-information]
[profile-replicate-publish-slave-information]
_update_hash_filename_ = templates/replicate-publish-slave-information.cfg.in
_update_hash_filename_ = templates/replicate-publish-slave-information.cfg.in
...
@@ -102,7 +102,7 @@ md5sum = 38792c2dceae38ab411592ec36fff6a8
...
@@ -102,7 +102,7 @@ md5sum = 38792c2dceae38ab411592ec36fff6a8
[profile-kedifa]
[profile-kedifa]
filename = instance-kedifa.cfg.in
filename = instance-kedifa.cfg.in
md5sum =
eab5ae579471ca86b40bd2da3b53fefa
md5sum =
dfb4dabd1e4094de1276d171f998ef47
[template-backend-haproxy-rsyslogd-conf]
[template-backend-haproxy-rsyslogd-conf]
_update_hash_filename_ = templates/backend-haproxy-rsyslogd.conf.in
_update_hash_filename_ = templates/backend-haproxy-rsyslogd.conf.in
...
...
software/caddy-frontend/instance-apache-frontend.cfg.in
View file @
f619403c
...
@@ -539,7 +539,7 @@ context =
...
@@ -539,7 +539,7 @@ context =
[trafficserver-promise-listen-port]
[trafficserver-promise-listen-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = trafficserver-port-listening.py
name = trafficserver-port-listening.py
config-host = ${trafficserver-variable:local-ip}
config-host = ${trafficserver-variable:local-ip}
config-port = ${trafficserver-variable:input-port}
config-port = ${trafficserver-variable:input-port}
...
@@ -552,7 +552,7 @@ environment = TS_ROOT=${buildout:directory}
...
@@ -552,7 +552,7 @@ environment = TS_ROOT=${buildout:directory}
[trafficserver-promise-cache-availability]
[trafficserver-promise-cache-availability]
<= monitor-promise-base
<= monitor-promise-base
modul
e = trafficserver_cache_availability
promis
e = trafficserver_cache_availability
name = trafficserver-cache-availability.py
name = trafficserver-cache-availability.py
config-wrapper-path = ${trafficserver-ctl:wrapper-path}
config-wrapper-path = ${trafficserver-ctl:wrapper-path}
...
@@ -653,48 +653,48 @@ context =
...
@@ -653,48 +653,48 @@ context =
[promise-frontend-caddy-configuration]
[promise-frontend-caddy-configuration]
<= monitor-promise-base
<= monitor-promise-base
modul
e = validate_frontend_configuration
promis
e = validate_frontend_configuration
name = frontend-caddy-configuration-promise.py
name = frontend-caddy-configuration-promise.py
config-verification-script = ${promise-helper-last-configuration-state:rendered}
config-verification-script = ${promise-helper-last-configuration-state:rendered}
[promise-caddy-frontend-v4-https]
[promise-caddy-frontend-v4-https]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = caddy_frontend_ipv4_https.py
name = caddy_frontend_ipv4_https.py
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-port = ${configuration:port}
config-port = ${configuration:port}
[promise-caddy-frontend-v4-http]
[promise-caddy-frontend-v4-http]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = caddy_frontend_ipv4_http.py
name = caddy_frontend_ipv4_http.py
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-port = ${configuration:plain_http_port}
config-port = ${configuration:plain_http_port}
[promise-caddy-frontend-v6-https]
[promise-caddy-frontend-v6-https]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = caddy_frontend_ipv6_https.py
name = caddy_frontend_ipv6_https.py
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-port = ${configuration:port}
config-port = ${configuration:port}
[promise-caddy-frontend-v6-http]
[promise-caddy-frontend-v6-http]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = caddy_frontend_ipv6_http.py
name = caddy_frontend_ipv6_http.py
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-port = ${configuration:plain_http_port}
config-port = ${configuration:plain_http_port}
[promise-backend-haproxy-http]
[promise-backend-haproxy-http]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = backend_haproxy_http.py
name = backend_haproxy_http.py
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-port = ${backend-haproxy-configuration:http-port}
config-port = ${backend-haproxy-configuration:http-port}
[promise-backend-haproxy-https]
[promise-backend-haproxy-https]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = backend_haproxy_https.py
name = backend_haproxy_https.py
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-host = {{ instance_parameter_dict['ipv4-random'] }}
config-port = ${backend-haproxy-configuration:https-port}
config-port = ${backend-haproxy-configuration:https-port}
...
@@ -798,7 +798,7 @@ extra-context =
...
@@ -798,7 +798,7 @@ extra-context =
[promise-backend-haproxy-configuration]
[promise-backend-haproxy-configuration]
<= monitor-promise-base
<= monitor-promise-base
modul
e = validate_frontend_configuration
promis
e = validate_frontend_configuration
name = backend-haproxy-configuration.py
name = backend-haproxy-configuration.py
config-verification-script = ${promise-backend-haproxy-configuration-helper:rendered}
config-verification-script = ${promise-backend-haproxy-configuration-helper:rendered}
...
@@ -888,7 +888,7 @@ context =
...
@@ -888,7 +888,7 @@ context =
[monitor-verify-re6st-connectivity]
[monitor-verify-re6st-connectivity]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = re6st-connectivity.py
name = re6st-connectivity.py
config-url = ${configuration:re6st-verification-url}
config-url = ${configuration:re6st-verification-url}
...
@@ -924,7 +924,7 @@ return = domain secure_access
...
@@ -924,7 +924,7 @@ return = domain secure_access
[backend-haproxy-statistic-frontend-promise]
[backend-haproxy-statistic-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = backend-haproxy-statistic-frontend.py
name = backend-haproxy-statistic-frontend.py
config-http-code = 401
config-http-code = 401
config-url =
config-url =
...
@@ -976,7 +976,7 @@ extra-context =
...
@@ -976,7 +976,7 @@ extra-context =
[promise-slave-introspection-configuration]
[promise-slave-introspection-configuration]
<= monitor-promise-base
<= monitor-promise-base
modul
e = validate_frontend_configuration
promis
e = validate_frontend_configuration
name = slave-introspection-configuration.py
name = slave-introspection-configuration.py
config-verification-script = ${promise-slave-introspection-configuration-helper:rendered}
config-verification-script = ${promise-slave-introspection-configuration-helper:rendered}
...
@@ -993,7 +993,7 @@ context =
...
@@ -993,7 +993,7 @@ context =
[promise-slave-introspection-https]
[promise-slave-introspection-https]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = slave_introspection_https.py
name = slave_introspection_https.py
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-host = {{ instance_parameter_dict['ipv6-random'] }}
config-port = ${frontend-configuration:slave-introspection-https-port}
config-port = ${frontend-configuration:slave-introspection-https-port}
...
@@ -1008,7 +1008,7 @@ delaycompress =
...
@@ -1008,7 +1008,7 @@ delaycompress =
[promise-logrotate-setup]
[promise-logrotate-setup]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command =
config-command =
${logrotate:wrapper-path} -d
${logrotate:wrapper-path} -d
...
...
software/caddy-frontend/instance-apache-replicate.cfg.in
View file @
f619403c
...
@@ -382,7 +382,7 @@ kedifa-csr_id-certificate = ${request-kedifa:connection-csr_id-certificate}
...
@@ -382,7 +382,7 @@ kedifa-csr_id-certificate = ${request-kedifa:connection-csr_id-certificate}
{% set section_part = '${request-' + frontend %}
{% set section_part = '${request-' + frontend %}
[{{ part_name }}]
[{{ part_name }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = check-backend-haproxy-statistic-url-{{ frontend }}.py
name = check-backend-haproxy-statistic-url-{{ frontend }}.py
config-url =
config-url =
{{ section_part }}:connection-backend-haproxy-statistic-url}
{{ section_part }}:connection-backend-haproxy-statistic-url}
...
@@ -865,15 +865,15 @@ rendered = ${directory:etc}/nginx-rejected-slave.conf
...
@@ -865,15 +865,15 @@ rendered = ${directory:etc}/nginx-rejected-slave.conf
[promise-rejected-slave-publish-ip-port]
[promise-rejected-slave-publish-ip-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = rejected-slave-publish-ip-port-listening.py
name = rejected-slave-publish-ip-port-listening.py
config-host = ${rejected-slave-publish-configuration:ip}
config-host = ${rejected-slave-publish-configuration:ip}
config-port = ${rejected-slave-publish-configuration:port}
config-port = ${rejected-slave-publish-configuration:port}
[rejected-slave-promise]
[rejected-slave-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
modul
e = check_file_state
promis
e = check_file_state
name = rejected-slave.py
name = rejected-slave.py
config-filename = ${rejected-slave-json:rendered}
config-filename = ${rejected-slave-json:rendered}
config-state = empty
config-state = empty
...
...
software/caddy-frontend/instance-kedifa.cfg.in
View file @
f619403c
...
@@ -193,7 +193,7 @@ template = inline:
...
@@ -193,7 +193,7 @@ template = inline:
[promise-expose-csr_id-ip-port]
[promise-expose-csr_id-ip-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = expose-csr_id-ip-port-listening.py
name = expose-csr_id-ip-port-listening.py
config-host = ${expose-csr_id-configuration:ip}
config-host = ${expose-csr_id-configuration:ip}
config-port = ${expose-csr_id-configuration:port}
config-port = ${expose-csr_id-configuration:port}
...
@@ -250,7 +250,7 @@ extra-context =
...
@@ -250,7 +250,7 @@ extra-context =
[promise-kedifa-http-reply]
[promise-kedifa-http-reply]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = kedifa-http-reply.py
name = kedifa-http-reply.py
# Kedifa replies 400 on /, so use it to be sure that Kedifa replied
# Kedifa replies 400 on /, so use it to be sure that Kedifa replied
config-http-code = 400
config-http-code = 400
...
@@ -331,7 +331,7 @@ monitor-base-url = ${monitor-instance-parameter:monitor-base-url}
...
@@ -331,7 +331,7 @@ monitor-base-url = ${monitor-instance-parameter:monitor-base-url}
[promise-logrotate-setup]
[promise-logrotate-setup]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command =
config-command =
${logrotate:wrapper-path} -d
${logrotate:wrapper-path} -d
...
...
software/caddy-frontend/templates/apache-custom-slave-list.cfg.in
View file @
f619403c
...
@@ -353,7 +353,7 @@ filename = {{ '%s.conf' % slave_reference }}
...
@@ -353,7 +353,7 @@ filename = {{ '%s.conf' % slave_reference }}
{%- do part_list.append(monitor_ipv6_section_title) %}
{%- do part_list.append(monitor_ipv6_section_title) %}
[{{ monitor_ipv6_section_title }}]
[{{ monitor_ipv6_section_title }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_icmp_packet_lost
promis
e = check_icmp_packet_lost
name = {{ monitor_ipv6_section_title }}.py
name = {{ monitor_ipv6_section_title }}.py
config-address = {{ dumps(monitor_ipv6_test) }}
config-address = {{ dumps(monitor_ipv6_test) }}
# promise frequency in minutes (2 times/day)
# promise frequency in minutes (2 times/day)
...
@@ -365,7 +365,7 @@ config-frequency = 720
...
@@ -365,7 +365,7 @@ config-frequency = 720
{%- do part_list.append(monitor_ipv4_section_title) %}
{%- do part_list.append(monitor_ipv4_section_title) %}
[{{ monitor_ipv4_section_title }}]
[{{ monitor_ipv4_section_title }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_icmp_packet_lost
promis
e = check_icmp_packet_lost
name = {{ monitor_ipv4_section_title }}.py
name = {{ monitor_ipv4_section_title }}.py
config-address = {{ dumps(monitor_ipv4_test) }}
config-address = {{ dumps(monitor_ipv4_test) }}
config-ipv4 = true
config-ipv4 = true
...
@@ -632,7 +632,7 @@ template = inline:
...
@@ -632,7 +632,7 @@ template = inline:
[promise-expose-csr_id-ip-port]
[promise-expose-csr_id-ip-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = expose-csr_id-ip-port-listening.py
name = expose-csr_id-ip-port-listening.py
config-host = ${expose-csr_id-configuration:ip}
config-host = ${expose-csr_id-configuration:ip}
config-port = ${expose-csr_id-configuration:port}
config-port = ${expose-csr_id-configuration:port}
...
@@ -655,7 +655,7 @@ commands =
...
@@ -655,7 +655,7 @@ commands =
[promise-logrotate-setup]
[promise-logrotate-setup]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command =
config-command =
${logrotate:wrapper-path} -d
${logrotate:wrapper-path} -d
\ No newline at end of file
software/cloudooo/buildout.hash.cfg
View file @
f619403c
...
@@ -18,4 +18,4 @@ md5sum = e986de01a57161b32425f1cd3ccac924
...
@@ -18,4 +18,4 @@ md5sum = e986de01a57161b32425f1cd3ccac924
[template-cloudooo-instance]
[template-cloudooo-instance]
filename = instance-cloudooo.cfg.in
filename = instance-cloudooo.cfg.in
md5sum =
6e4bdb1df02aed5c96ccf7b9c3c71b89
md5sum =
3e6830c21c206b3ae1140375e5e63b46
software/cloudooo/instance-cloudooo.cfg.in
View file @
f619403c
...
@@ -105,7 +105,7 @@ ssl-session-cache = ${directory:log}/apache-ssl-session-cache
...
@@ -105,7 +105,7 @@ ssl-session-cache = ${directory:log}/apache-ssl-session-cache
[apache-promise]
[apache-promise]
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = apache.py
name = apache.py
config-url = https://{{ ipv4 }}:{{ apache_dict.values()[0][0] }}
config-url = https://{{ ipv4 }}:{{ apache_dict.values()[0][0] }}
# XXX cloudooo replies "400 Bad Request" for GET on / but what we want to check
# XXX cloudooo replies "400 Bad Request" for GET on / but what we want to check
...
...
software/dream/buildout.hash.cfg
View file @
f619403c
[instance]
[instance]
filename = instance.cfg
filename = instance.cfg
md5sum =
646e50cfa93681e8bd85767621c7a39d
md5sum =
ddd17fab15afa5a27cdc0761fbc8f34c
software/dream/instance.cfg
View file @
f619403c
...
@@ -41,7 +41,7 @@ wrapper-path = $${directory:service}/dream_platform
...
@@ -41,7 +41,7 @@ wrapper-path = $${directory:service}/dream_platform
[dream-platform-url-available]
[dream-platform-url-available]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url= $${dream_platform_parameter:url}
config-url= $${dream_platform_parameter:url}
...
...
software/erp5testnode/buildout.hash.cfg
View file @
f619403c
...
@@ -18,4 +18,4 @@ md5sum = 6dcbe21f99aa6675e8e3b74bc9cbb0e6
...
@@ -18,4 +18,4 @@ md5sum = 6dcbe21f99aa6675e8e3b74bc9cbb0e6
[template-default]
[template-default]
filename = instance-default.cfg.jinja.in
filename = instance-default.cfg.jinja.in
md5sum =
ffb6b74b55e7ca01666254353ae1cebe
md5sum =
536a28ff250c691ca374f75aa5f0aa76
software/erp5testnode/instance-default.cfg.jinja.in
View file @
f619403c
...
@@ -261,7 +261,7 @@ instance-promises =
...
@@ -261,7 +261,7 @@ instance-promises =
[shellinabox-frontend-listen-promise]
[shellinabox-frontend-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-host = $${shellinabox-frontend:hostname}
config-host = $${shellinabox-frontend:hostname}
config-port = $${shellinabox-frontend:port}
config-port = $${shellinabox-frontend:port}
...
@@ -278,6 +278,6 @@ config-port = $${shellinabox-frontend:port}
...
@@ -278,6 +278,6 @@ config-port = $${shellinabox-frontend:port}
[testnode-log-frontend-promise]
[testnode-log-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url = $${testnode-log-frontend:connection-secure_access}
config-url = $${testnode-log-frontend:connection-secure_access}
software/fluentd/buildout.hash.cfg
View file @
f619403c
...
@@ -18,4 +18,4 @@ md5sum = c265bf7ec199190ba9f77960cac5da38
...
@@ -18,4 +18,4 @@ md5sum = c265bf7ec199190ba9f77960cac5da38
[template-fluentd]
[template-fluentd]
filename = instance-fluentd.cfg
filename = instance-fluentd.cfg
md5sum =
49c6f3b9edda5225d141220b1519784
5
md5sum =
35f9d95f6a75e28bfeafc3568ca16f0
5
software/fluentd/instance-fluentd.cfg
View file @
f619403c
...
@@ -12,7 +12,7 @@ environment =
...
@@ -12,7 +12,7 @@ environment =
{% do part_list.append(promise_section_title) -%}
{% do part_list.append(promise_section_title) -%}
[{{ promise_section_title }}]
[{{ promise_section_title }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = {{ promise_section_title }}.py
name = {{ promise_section_title }}.py
config-host = $${slap-configuration:ipv6-random}
config-host = $${slap-configuration:ipv6-random}
config-port = {{ port }}
config-port = {{ port }}
...
...
software/gitlab/buildout.hash.cfg
View file @
f619403c
...
@@ -54,7 +54,7 @@ md5sum = 0f1ec4077dab586cc003ae13f689eda2
...
@@ -54,7 +54,7 @@ md5sum = 0f1ec4077dab586cc003ae13f689eda2
[instance-gitlab.cfg.in]
[instance-gitlab.cfg.in]
_update_hash_filename_ = instance-gitlab.cfg.in
_update_hash_filename_ = instance-gitlab.cfg.in
md5sum =
6b34d4b96ae0067977fa509046d7123
1
md5sum =
f099d01baefe41c8f0944c2437b3088
1
[instance-gitlab-export.cfg.in]
[instance-gitlab-export.cfg.in]
_update_hash_filename_ = instance-gitlab-export.cfg.in
_update_hash_filename_ = instance-gitlab-export.cfg.in
...
...
software/gitlab/instance-gitlab.cfg.in
View file @
f619403c
...
@@ -430,7 +430,7 @@ tune-command =
...
@@ -430,7 +430,7 @@ tune-command =
# [promise-<something>] to check <something> by url
# [promise-<something>] to check <something> by url
[promise-byurl]
[promise-byurl]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-http-code = 200
config-http-code = 200
...
@@ -472,7 +472,7 @@ depend =
...
@@ -472,7 +472,7 @@ depend =
[promise-postgresql]
[promise-postgresql]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = promise-postgresql.py
name = promise-postgresql.py
config-command =
config-command =
{{ postgresql_location }}/bin/psql \
{{ postgresql_location }}/bin/psql \
...
@@ -515,7 +515,7 @@ depend =
...
@@ -515,7 +515,7 @@ depend =
[promise-redis]
[promise-redis]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = promise-redis.py
name = promise-redis.py
config-command = ${service-redis:promise_wrapper}
config-command = ${service-redis:promise_wrapper}
...
@@ -769,7 +769,7 @@ depend =
...
@@ -769,7 +769,7 @@ depend =
# XXX this depends on gitlab-workhorse being up
# XXX this depends on gitlab-workhorse being up
# (nginx is configured to proxy all requests to gitlab-workhorse)
# (nginx is configured to proxy all requests to gitlab-workhorse)
config-url = ${backend-info:url}/users/sign_in
config-url = ${backend-info:url}/users/sign_in
modul
e = check_url_available
promis
e = check_url_available
[logrotate-entry-nginx]
[logrotate-entry-nginx]
<= logrotate-entry-base
<= logrotate-entry-base
...
...
software/headless-chromium/buildout.hash.cfg
View file @
f619403c
...
@@ -4,7 +4,7 @@ md5sum = 5dfeeb5eca125dcaa5f9e537f941dd41
...
@@ -4,7 +4,7 @@ md5sum = 5dfeeb5eca125dcaa5f9e537f941dd41
[instance-headless-chromium]
[instance-headless-chromium]
_update_hash_filename_ = instance-headless-chromium.cfg.in
_update_hash_filename_ = instance-headless-chromium.cfg.in
md5sum =
fad685238b26ca20537c12ce7432e7e7
md5sum =
7392d20e48dbc599eb8e9d02e8095bbf
[template-nginx-conf]
[template-nginx-conf]
_update_hash_filename_ = templates/nginx.conf.in
_update_hash_filename_ = templates/nginx.conf.in
...
...
software/headless-chromium/instance-headless-chromium.cfg.in
View file @
f619403c
...
@@ -174,7 +174,7 @@ monitor-httpd-port = {{ parameter_dict['monitor-httpd-port'] }}
...
@@ -174,7 +174,7 @@ monitor-httpd-port = {{ parameter_dict['monitor-httpd-port'] }}
# queried with the correct credentials.
# queried with the correct credentials.
[frontend-ok-promise]
[frontend-ok-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = headless-chromium-frontend-ok.py
name = headless-chromium-frontend-ok.py
url = ${remote-debugging-frontend:connection-secure_access}
url = ${remote-debugging-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
@@ -185,7 +185,7 @@ config-password = ${frontend-instance-password:passwd}
...
@@ -185,7 +185,7 @@ config-password = ${frontend-instance-password:passwd}
# when queried with no credentials.
# when queried with no credentials.
[frontend-secure-promise]
[frontend-secure-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = headless-chromium-frontend-secure.py
name = headless-chromium-frontend-secure.py
url = ${remote-debugging-frontend:connection-secure_access}
url = ${remote-debugging-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
...
software/helloworld/buildout.hash.cfg
View file @
f619403c
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# not need these here).
# not need these here).
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
c771dee1ef9aedad7c6ebf9418afe08e
md5sum =
483b76d8e6bf72d72a38a3f7bf66fe08
software/helloworld/instance.cfg.in
View file @
f619403c
...
@@ -87,7 +87,7 @@ wrapper-path = ${directory:service}/helloweb-${:kind}
...
@@ -87,7 +87,7 @@ wrapper-path = ${directory:service}/helloweb-${:kind}
# promise, that checks that helloweb service is alive
# promise, that checks that helloweb service is alive
[helloweb-promise]
[helloweb-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = helloweb-${:kind}.py
name = helloweb-${:kind}.py
{# macro to instantiate service of `kind` to listen on `port` #}
{# macro to instantiate service of `kind` to listen on `port` #}
...
...
software/html5as/buildout.hash.cfg
View file @
f619403c
...
@@ -21,7 +21,7 @@ md5sum = 9e486efe4ab1aba8cb72b04f6c6da8ad
...
@@ -21,7 +21,7 @@ md5sum = 9e486efe4ab1aba8cb72b04f6c6da8ad
[instance_html5as]
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
_update_hash_filename_ = instance_html5as.cfg.in
md5sum =
283440057c659bde2ae7fcc2c4c5b781
md5sum =
f86b2f37c0acd21ca1f41d90c5477d75
[template_nginx_conf]
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
_update_hash_filename_ = templates/nginx_conf.in
...
...
software/html5as/instance_html5as.cfg.in
View file @
f619403c
...
@@ -185,7 +185,7 @@ context =
...
@@ -185,7 +185,7 @@ context =
# Port Listening checking promise
# Port Listening checking promise
[port-listening-promise]
[port-listening-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = nginx-port-listening.py
name = nginx-port-listening.py
config-host = ${html5as:ip}
config-host = ${html5as:ip}
config-port = ${html5as:port}
config-port = ${html5as:port}
...
@@ -235,7 +235,7 @@ return = domain secure_access
...
@@ -235,7 +235,7 @@ return = domain secure_access
# Add a promise to make sure the cdn is properly configured
# Add a promise to make sure the cdn is properly configured
[html5as-frontend-promise]
[html5as-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = html5as-http-frontend.py
name = html5as-http-frontend.py
url = ${html5as-frontend:connection-secure_access}
url = ${html5as-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
software/htmlvalidatorserver/buildout.hash.cfg
View file @
f619403c
...
@@ -22,7 +22,7 @@ md5sum = 87781e6bcb523bb8434888d5f984f36c
...
@@ -22,7 +22,7 @@ md5sum = 87781e6bcb523bb8434888d5f984f36c
[template-validator]
[template-validator]
filename = instance-validator.cfg.in
filename = instance-validator.cfg.in
md5sum =
9d12472bb2e337d3cc18f2cc6f235425
md5sum =
dc8b8d03b0af9cd32398d1fe86267bb7
[template]
[template]
filename = instance.cfg.in
filename = instance.cfg.in
...
...
software/htmlvalidatorserver/instance-validator.cfg.in
View file @
f619403c
...
@@ -55,7 +55,7 @@ scheme = https
...
@@ -55,7 +55,7 @@ scheme = https
[tomcat-listen-promise]
[tomcat-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = tomcat_listen.py
name = tomcat_listen.py
config-host = $${tomcat-configuration:ip}
config-host = $${tomcat-configuration:ip}
config-port = $${tomcat-configuration:port}
config-port = $${tomcat-configuration:port}
...
...
software/hugo/buildout.hash.cfg
View file @
f619403c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[template-cfg]
[template-cfg]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
9653104b2217dc26b23f9c1b997124ca
md5sum =
2e4bed8c7b78c410b28f8becf81da596
[template_nginx_conf]
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
_update_hash_filename_ = templates/nginx_conf.in
...
...
software/hugo/instance.cfg.in
View file @
f619403c
...
@@ -124,7 +124,7 @@ hash-files =
...
@@ -124,7 +124,7 @@ hash-files =
[hugo-port-listening-promise]
[hugo-port-listening-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = hugo-port-listening.py
name = hugo-port-listening.py
config-host = ${hugo:ip}
config-host = ${hugo:ip}
config-port = ${hugo:hugo-port}
config-port = ${hugo:hugo-port}
...
@@ -144,7 +144,7 @@ return = domain secure_access
...
@@ -144,7 +144,7 @@ return = domain secure_access
[hugo-frontend-promise]
[hugo-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = hugo-http-frontend.py
name = hugo-http-frontend.py
url = ${hugo-frontend:connection-secure_access}
url = ${hugo-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
@@ -212,7 +212,7 @@ template =
...
@@ -212,7 +212,7 @@ template =
[nginx-port-listening-promise]
[nginx-port-listening-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = nginx-port-listening.py
name = nginx-port-listening.py
config-host = ${hugo:ip}
config-host = ${hugo:ip}
config-port = ${hugo:nginx-port}
config-port = ${hugo:nginx-port}
...
@@ -238,7 +238,7 @@ return = domain secure_access
...
@@ -238,7 +238,7 @@ return = domain secure_access
[nginx-frontend-promise]
[nginx-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = nginx-http-frontend.py
name = nginx-http-frontend.py
url = ${nginx-frontend:connection-secure_access}
url = ${nginx-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
...
software/jscrawler/buildout.hash.cfg
View file @
f619403c
...
@@ -19,7 +19,7 @@ md5sum = 6c17361a49cfc47564063b867aab6e8c
...
@@ -19,7 +19,7 @@ md5sum = 6c17361a49cfc47564063b867aab6e8c
[template-jscrawler]
[template-jscrawler]
filename = instance-jscrawler.cfg.jinja2.in
filename = instance-jscrawler.cfg.jinja2.in
md5sum =
f61e0507717447e47c76a2b2712f17f4
md5sum =
33bfddbc23fa794ab97770ef7776b390
[template-jscrawler-builder]
[template-jscrawler-builder]
filename = template-jscrawler.builder.sh.in
filename = template-jscrawler.builder.sh.in
...
...
software/jscrawler/instance-jscrawler.cfg.jinja2.in
View file @
f619403c
...
@@ -47,7 +47,7 @@ return = secure_access domain
...
@@ -47,7 +47,7 @@ return = secure_access domain
[jscrawler-frontend-promise]
[jscrawler-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = jscrawler_frontend.py
name = jscrawler_frontend.py
config-url = ${request-jscrawler-frontend:connection-secure_access}
config-url = ${request-jscrawler-frontend:connection-secure_access}
...
@@ -59,7 +59,7 @@ log = ${httpd-wrapper:log-file}
...
@@ -59,7 +59,7 @@ log = ${httpd-wrapper:log-file}
[httpd-listen-promise]
[httpd-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = httpd-listen.py
name = httpd-listen.py
config-host = ${httpd-wrapper:host}
config-host = ${httpd-wrapper:host}
config-port = ${httpd-wrapper:port}
config-port = ${httpd-wrapper:port}
...
...
software/jupyter/buildout.hash.cfg
View file @
f619403c
...
@@ -19,7 +19,7 @@ md5sum = de37ec3d4adb0be4c67bcc7397f27c91
...
@@ -19,7 +19,7 @@ md5sum = de37ec3d4adb0be4c67bcc7397f27c91
[instance-jupyter]
[instance-jupyter]
filename = instance-jupyter.cfg.in
filename = instance-jupyter.cfg.in
md5sum =
cbc90e517ae3680ab8bef04c6f503af5
md5sum =
95e3da48abdd257fb9d5dbdf14ea87b9
[jupyter-notebook-config]
[jupyter-notebook-config]
filename = jupyter_notebook_config.py.jinja
filename = jupyter_notebook_config.py.jinja
...
...
software/jupyter/instance-jupyter.cfg.in
View file @
f619403c
...
@@ -146,7 +146,7 @@ sla-instance_guid = ${slap-parameter:frontend-instance-guid}
...
@@ -146,7 +146,7 @@ sla-instance_guid = ${slap-parameter:frontend-instance-guid}
[frontend-promise]
[frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = frontend_promise.py
name = frontend_promise.py
config-url = ${publish-connection-parameter:url}
config-url = ${publish-connection-parameter:url}
...
@@ -160,7 +160,7 @@ sla-instance_guid = ${slap-parameter:frontend-additional-instance-guid}
...
@@ -160,7 +160,7 @@ sla-instance_guid = ${slap-parameter:frontend-additional-instance-guid}
[frontend-additional-promise]
[frontend-additional-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = frontend_additional_promise.py
name = frontend_additional_promise.py
config-url = ${publish-connection-parameter:url-additional}
config-url = ${publish-connection-parameter:url-additional}
{% endif %}
{% endif %}
...
...
software/kvm/buildout.hash.cfg
View file @
f619403c
...
@@ -19,7 +19,7 @@ md5sum = b129c9b2a614563d3f7c3f9e906d59f2
...
@@ -19,7 +19,7 @@ md5sum = b129c9b2a614563d3f7c3f9e906d59f2
[template-kvm]
[template-kvm]
filename = instance-kvm.cfg.jinja2
filename = instance-kvm.cfg.jinja2
md5sum =
d0f96be4e80b96e6ac33f6d474767b13
md5sum =
78c3b69a2b18106cd6e289732116881d
[template-kvm-cluster]
[template-kvm-cluster]
filename = instance-kvm-cluster.cfg.jinja2.in
filename = instance-kvm-cluster.cfg.jinja2.in
...
@@ -27,11 +27,11 @@ md5sum = 59b92e1300aad4e9b116c532caf7d042
...
@@ -27,11 +27,11 @@ md5sum = 59b92e1300aad4e9b116c532caf7d042
[template-kvm-resilient]
[template-kvm-resilient]
filename = instance-kvm-resilient.cfg.jinja2
filename = instance-kvm-resilient.cfg.jinja2
md5sum =
7de5756f59ef7d823cd8ed33e6d15230
md5sum =
a0fd4911401cbbda74323e8d1c7b18ad
[template-kvm-import]
[template-kvm-import]
filename = instance-kvm-import.cfg.jinja2.in
filename = instance-kvm-import.cfg.jinja2.in
md5sum =
7b15fdc6f19b1f44ff5a56586102ffe2
md5sum =
0415353c961ece593dd5d6457dab5200
[template-kvm-import-script]
[template-kvm-import-script]
filename = template/kvm-import.sh.jinja2
filename = template/kvm-import.sh.jinja2
...
@@ -47,7 +47,7 @@ md5sum = b617d64de73de1eed518185f310bbc82
...
@@ -47,7 +47,7 @@ md5sum = b617d64de73de1eed518185f310bbc82
[template-nbd]
[template-nbd]
filename = instance-nbd.cfg.jinja2
filename = instance-nbd.cfg.jinja2
md5sum =
259e06f289f68297e0609e4ab1af8e86
md5sum =
4bcb07c1a9223e2d956651aa25d23654
[template-ansible-promise]
[template-ansible-promise]
filename = template/ansible-promise.in
filename = template/ansible-promise.in
...
@@ -75,7 +75,7 @@ md5sum = fb330a796fadb6cd5c85217f80a42af3
...
@@ -75,7 +75,7 @@ md5sum = fb330a796fadb6cd5c85217f80a42af3
[template-httpd]
[template-httpd]
filename = instance-kvm-http.cfg.in
filename = instance-kvm-http.cfg.in
md5sum =
f4bcde62e008c2da9c65617ba7f73f08
md5sum =
d57764bb7135037b4d21543b2f56ce1d
[image-download-controller]
[image-download-controller]
_update_hash_filename_ = template/image-download-controller.py
_update_hash_filename_ = template/image-download-controller.py
...
...
software/kvm/instance-kvm-http.cfg.in
View file @
f619403c
...
@@ -65,7 +65,7 @@ stop-on-error = true
...
@@ -65,7 +65,7 @@ stop-on-error = true
[httpd-promise]
[httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = apache-httpd.py
name = apache-httpd.py
config-host = ${apache-conf:ip}
config-host = ${apache-conf:ip}
config-port = ${apache-conf:port}
config-port = ${apache-conf:port}
software/kvm/instance-kvm-import.cfg.jinja2.in
View file @
f619403c
...
@@ -91,6 +91,6 @@ mode = 700
...
@@ -91,6 +91,6 @@ mode = 700
[kvm-disk-image-corruption-promise]
[kvm-disk-image-corruption-promise]
# Check that disk image is not corrupted
# Check that disk image is not corrupted
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = kvm-disk-image-corruption.py
name = kvm-disk-image-corruption.py
config-command = ${kvm-disk-image-corruption-bin:output}
config-command = ${kvm-disk-image-corruption-bin:output}
software/kvm/instance-kvm-resilient.cfg.jinja2
View file @
f619403c
...
@@ -102,13 +102,13 @@ mode = 700
...
@@ -102,13 +102,13 @@ mode = 700
[kvm-frontend-url-promise]
[kvm-frontend-url-promise]
# Check that url parameter is complete
# Check that url parameter is complete
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = kvm-frontend-url.py
name = kvm-frontend-url.py
config-command = ${kvm-frontend-url-bin:output}
config-command = ${kvm-frontend-url-bin:output}
[kvm-backend-url-promise]
[kvm-backend-url-promise]
# Check that backend url is reachable
# Check that backend url is reachable
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = frontend_promise.py
name = frontend_promise.py
config-url = ${publish-connection-information:url}
config-url = ${publish-connection-information:url}
software/kvm/instance-kvm.cfg.jinja2
View file @
f619403c
...
@@ -91,7 +91,7 @@ bytes = 8
...
@@ -91,7 +91,7 @@ bytes = 8
## boot-image-url-select support BEGIN
## boot-image-url-select support BEGIN
[empty-file-state-base-select-promise]
[empty-file-state-base-select-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_file_state
promis
e = check_file_state
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-state = empty
config-state = empty
# It's very hard to put the username and password correctly, after schema://
# It's very hard to put the username and password correctly, after schema://
...
@@ -190,7 +190,7 @@ config-filename = ${boot-image-url-select-download-wrapper:error-state-file}
...
@@ -190,7 +190,7 @@ config-filename = ${boot-image-url-select-download-wrapper:error-state-file}
## boot-image-url-list support BEGIN
## boot-image-url-list support BEGIN
[empty-file-state-base-list-promise]
[empty-file-state-base-list-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_file_state
promis
e = check_file_state
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-state = empty
config-state = empty
# It's very hard to put the username and password correctly, after schema://
# It's very hard to put the username and password correctly, after schema://
...
@@ -289,7 +289,7 @@ config-filename = ${boot-image-url-list-download-wrapper:error-state-file}
...
@@ -289,7 +289,7 @@ config-filename = ${boot-image-url-list-download-wrapper:error-state-file}
## virtual-hard-drive-url support BEGIN
## virtual-hard-drive-url support BEGIN
[empty-file-state-base-virtual-promise]
[empty-file-state-base-virtual-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_file_state
promis
e = check_file_state
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-state = empty
config-state = empty
# It's very hard to put the username and password correctly, after schema://
# It's very hard to put the username and password correctly, after schema://
...
@@ -586,7 +586,7 @@ command-line = ${kvm-controller:rendered}
...
@@ -586,7 +586,7 @@ command-line = ${kvm-controller:rendered}
[kvm-vnc-promise]
[kvm-vnc-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = vnc_promise.py
name = vnc_promise.py
config-host = ${kvm-parameter-dict:vnc-ip}
config-host = ${kvm-parameter-dict:vnc-ip}
config-port = ${kvm-parameter-dict:vnc-port}
config-port = ${kvm-parameter-dict:vnc-port}
...
@@ -614,7 +614,7 @@ mode = 700
...
@@ -614,7 +614,7 @@ mode = 700
[kvm-disk-image-corruption-promise]
[kvm-disk-image-corruption-promise]
# Check that disk image is not corrupted
# Check that disk image is not corrupted
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = kvm-disk-image-corruption.py
name = kvm-disk-image-corruption.py
config-command = ${kvm-disk-image-corruption-bin:output}
config-command = ${kvm-disk-image-corruption-bin:output}
...
@@ -643,7 +643,7 @@ context =
...
@@ -643,7 +643,7 @@ context =
[kvm-started-promise]
[kvm-started-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = qemu-virtual-machine-is-ready.py
name = qemu-virtual-machine-is-ready.py
config-command = ${kvm-started-bin:rendered}
config-command = ${kvm-started-bin:rendered}
...
@@ -708,7 +708,7 @@ wrapper = ${directory:bin}/websockify
...
@@ -708,7 +708,7 @@ wrapper = ${directory:bin}/websockify
[novnc-promise]
[novnc-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = novnc_promise.py
name = novnc_promise.py
config-host = ${novnc-instance:ip}
config-host = ${novnc-instance:ip}
config-port = ${novnc-instance:port}
config-port = ${novnc-instance:port}
...
@@ -764,7 +764,7 @@ sla-instance_guid = ${slap-parameter:frontend-instance-guid}
...
@@ -764,7 +764,7 @@ sla-instance_guid = ${slap-parameter:frontend-instance-guid}
[frontend-promise]
[frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = frontend_promise.py
name = frontend_promise.py
config-url = ${publish-connection-information:url}
config-url = ${publish-connection-information:url}
...
@@ -778,7 +778,7 @@ sla-instance_guid = ${slap-parameter:frontend-additional-instance-guid}
...
@@ -778,7 +778,7 @@ sla-instance_guid = ${slap-parameter:frontend-additional-instance-guid}
[frontend-additional-promise]
[frontend-additional-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = frontend_additional_promise.py
name = frontend_additional_promise.py
config-url = ${publish-connection-information:url-additional}
config-url = ${publish-connection-information:url-additional}
{% endif %}
{% endif %}
...
@@ -801,7 +801,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
...
@@ -801,7 +801,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
[httpd-promise]
[httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = httpd.py
name = httpd.py
config-host = ${httpd:host}
config-host = ${httpd:host}
config-port = ${httpd:port}
config-port = ${httpd:port}
...
@@ -1029,7 +1029,7 @@ context =
...
@@ -1029,7 +1029,7 @@ context =
[ansible-vm-promise]
[ansible-vm-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ansible_{{ name }}.py
name = ansible_{{ name }}.py
config-command = ${ansible-vm-bin:rendered}
config-command = ${ansible-vm-bin:rendered}
...
...
software/kvm/instance-nbd.cfg.jinja2
View file @
f619403c
...
@@ -43,7 +43,7 @@ rendered = ${rootdirectory:bin}/check-nbd-running.sh
...
@@ -43,7 +43,7 @@ rendered = ${rootdirectory:bin}/check-nbd-running.sh
[nbd-promise]
[nbd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = nbd_promise.py
name = nbd_promise.py
config-command = ${nbd-checker-bin:rendered}
config-command = ${nbd-checker-bin:rendered}
...
@@ -65,7 +65,7 @@ key = ${gen-passwd:passwd}
...
@@ -65,7 +65,7 @@ key = ${gen-passwd:passwd}
[onetimeupload-promise]
[onetimeupload-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = onetimeupload_promise.py
name = onetimeupload_promise.py
config-host = ${onetimeupload-instance:ip}
config-host = ${onetimeupload-instance:ip}
config-port = ${onetimeupload-instance:port}
config-port = ${onetimeupload-instance:port}
...
...
software/metabase/buildout.hash.cfg
View file @
f619403c
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
8e48fa7c66a59b3d5faf0216922a574f
md5sum =
143f46b125389f39905226ec9482ce2a
software/metabase/instance.cfg.in
View file @
f619403c
...
@@ -45,7 +45,7 @@ promises =
...
@@ -45,7 +45,7 @@ promises =
[metabase-promise]
[metabase-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url= $${metabase-instance:url}/api/session/properties
config-url= $${metabase-instance:url}/api/session/properties
...
@@ -91,7 +91,7 @@ command-line =
...
@@ -91,7 +91,7 @@ command-line =
[postgresql-promise]
[postgresql-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = promise-postgresql.py
name = promise-postgresql.py
config-command = $${postgresql-psql:wrapper-path} -c '\q'
config-command = $${postgresql-psql:wrapper-path} -c '\q'
...
...
software/monitor/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = b6c2df0d4a62473d6dae26b10c0a4adc
...
@@ -18,7 +18,7 @@ md5sum = b6c2df0d4a62473d6dae26b10c0a4adc
[template-monitor]
[template-monitor]
_update_hash_filename_ = instance-monitor.cfg.jinja2
_update_hash_filename_ = instance-monitor.cfg.jinja2
md5sum =
165a15672fc85981f68b9af2d6253254
md5sum =
f23c007d6d6aed137cfd54aaa7ba52ab
[json-test-template]
[json-test-template]
_update_hash_filename_ = json-test-template.json.in.jinja2
_update_hash_filename_ = json-test-template.json.in.jinja2
...
@@ -26,7 +26,7 @@ md5sum = 2eb5596544d9c341acf653d4f7ce2680
...
@@ -26,7 +26,7 @@ md5sum = 2eb5596544d9c341acf653d4f7ce2680
[template-monitor-edgetest-basic]
[template-monitor-edgetest-basic]
_update_hash_filename_ = instance-monitor-edgetest-basic.cfg.jinja2
_update_hash_filename_ = instance-monitor-edgetest-basic.cfg.jinja2
md5sum =
61309a48f7b0135cba21b09247a2d8fd
md5sum =
05c00ac393b50cfdef5d3bc5af93fe98
[template-monitor-edgetest]
[template-monitor-edgetest]
_update_hash_filename_ = instance-monitor-edgetest.cfg.jinja2
_update_hash_filename_ = instance-monitor-edgetest.cfg.jinja2
...
@@ -34,7 +34,7 @@ md5sum = 3c8ab4e78f66c974eb95afc595a13514
...
@@ -34,7 +34,7 @@ md5sum = 3c8ab4e78f66c974eb95afc595a13514
[template-monitor-edgebot]
[template-monitor-edgebot]
_update_hash_filename_ = instance-monitor-edgebot.cfg.jinja2
_update_hash_filename_ = instance-monitor-edgebot.cfg.jinja2
md5sum =
2ac74559d6108ca0dbabb872f1071e44
md5sum =
436bb5251c8f1cd1e64bd5d3987d699c
[network-bench-cfg]
[network-bench-cfg]
filename = network_bench.cfg.in
filename = network_bench.cfg.in
...
...
software/monitor/instance-monitor-edgebot.cfg.jinja2
View file @
f619403c
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
{%- set safe_name = part_id.replace('_', '').replace('.', '-').replace(' ', '-') %}
{%- set safe_name = part_id.replace('_', '').replace('.', '-').replace(' ', '-') %}
[{{part_id}}]
[{{part_id}}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_surykatka_json
promis
e = check_surykatka_json
name = {{ safe_name }}.py
name = {{ safe_name }}.py
config-report = http_query
config-report = http_query
config-url = {{ slave['url'] }}
config-url = {{ slave['url'] }}
...
@@ -51,7 +51,7 @@ config-json-file = ${surykatka-config-{{ class }}:json}
...
@@ -51,7 +51,7 @@ config-json-file = ${surykatka-config-{{ class }}:json}
[surykatka-bot-promise-{{ class }}]
[surykatka-bot-promise-{{ class }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_surykatka_json
promis
e = check_surykatka_json
name = surykatka-bot-promise-{{ class }}.py
name = surykatka-bot-promise-{{ class }}.py
config-report = bot_status
config-report = bot_status
config-json-file = ${surykatka-config-{{ class }}:json}
config-json-file = ${surykatka-config-{{ class }}:json}
...
...
software/monitor/instance-monitor-edgetest-basic.cfg.jinja2
View file @
f619403c
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
{%- do PART_LIST.append(part_name) %}
{%- do PART_LIST.append(part_name) %}
[{{part_name}}]
[{{part_name}}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_surykatka_json
promis
e = check_surykatka_json
name = {{ promise_name }}.py
name = {{ promise_name }}.py
config-report = http_query
config-report = http_query
config-url = {{ url }}
config-url = {{ url }}
...
@@ -75,7 +75,7 @@ config-json-file = ${surykatka-config-{{ class }}:json}
...
@@ -75,7 +75,7 @@ config-json-file = ${surykatka-config-{{ class }}:json}
{%- do PART_LIST.append('surykatka-bot-%i-promise' % (class,)) %}
{%- do PART_LIST.append('surykatka-bot-%i-promise' % (class,)) %}
[surykatka-bot-{{ class }}-promise]
[surykatka-bot-{{ class }}-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_surykatka_json
promis
e = check_surykatka_json
name = surykatka-bot-{{ class }}.py
name = surykatka-bot-{{ class }}.py
config-report = bot_status
config-report = bot_status
config-json-file = ${surykatka-config-{{ class }}:json}
config-json-file = ${surykatka-config-{{ class }}:json}
...
@@ -110,7 +110,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
...
@@ -110,7 +110,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
{%- do PART_LIST.append('surykatka-json-%i-promise'% (class,)) %}
{%- do PART_LIST.append('surykatka-json-%i-promise'% (class,)) %}
[surykatka-json-{{ class }}-promise]
[surykatka-json-{{ class }}-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_file_state
promis
e = check_file_state
name = surykatka-json-{{ class }}.py
name = surykatka-json-{{ class }}.py
config-filename = ${surykatka-config-{{ class }}:json}
config-filename = ${surykatka-config-{{ class }}:json}
config-state = not-empty
config-state = not-empty
...
...
software/monitor/instance-monitor.cfg.jinja2
View file @
f619403c
...
@@ -82,7 +82,7 @@ wrapper-path = ${monitor-directory:bin}/monitor-collect-csv-dump
...
@@ -82,7 +82,7 @@ wrapper-path = ${monitor-directory:bin}/monitor-collect-csv-dump
[monitor-check-memory-usage]
[monitor-check-memory-usage]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory-usage.py
name = check-computer-memory-usage.py
config-command = {{ buildout_bin}}/check-computer-memory -db ${monitor-instance-parameter:collector-db} --threshold ${slap-parameter:memory-percent-threshold} --unit percent
config-command = {{ buildout_bin}}/check-computer-memory -db ${monitor-instance-parameter:collector-db} --threshold ${slap-parameter:memory-percent-threshold} --unit percent
...
@@ -90,11 +90,8 @@ config-command = {{ buildout_bin}}/check-computer-memory -db ${monitor-instance-
...
@@ -90,11 +90,8 @@ config-command = {{ buildout_bin}}/check-computer-memory -db ${monitor-instance-
recipe = slapos.cookbook:promise.plugin
recipe = slapos.cookbook:promise.plugin
eggs =
eggs =
slapos.toolbox
slapos.toolbox
file = ${monitor-conf-parameters:promise-output-file}
module = slapos.promise.plugin.check_server_cpu_load
content =
from slapos.promise.plugin.check_server_cpu_load import RunPromise
output = ${directory:plugins}/system-CPU-load-check.py
output = ${directory:plugins}/system-CPU-load-check.py
mode = 600
config-cpu-load-threshold = ${slap-parameter:cpu-load-threshold}
config-cpu-load-threshold = ${slap-parameter:cpu-load-threshold}
[publish-connection-information]
[publish-connection-information]
...
...
software/nayuos/buildout.hash.cfg
View file @
f619403c
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# not need these here).
# not need these here).
[template-instance]
[template-instance]
filename = instance.cfg
filename = instance.cfg
md5sum =
0974248c0b0ad5da45670386a5301e47
md5sum =
14132bba14a1e66e7abb1a7c58b333e5
software/nayuos/instance.cfg
View file @
f619403c
...
@@ -76,7 +76,7 @@ command-line = sudo -V
...
@@ -76,7 +76,7 @@ command-line = sudo -V
[promise-sudo-on-host]
[promise-sudo-on-host]
# assert sudo is installed, as it is required to enter the chroot 'cros_sdk'
# assert sudo is installed, as it is required to enter the chroot 'cros_sdk'
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command = ${promise-sudo-on-host-bin:wrapper-path}
config-command = ${promise-sudo-on-host-bin:wrapper-path}
...
...
software/neoppod/buildout.hash.cfg
View file @
f619403c
...
@@ -22,7 +22,7 @@ md5sum = c13b4f1a5aa526a8d3f8e02bf6baf785
...
@@ -22,7 +22,7 @@ md5sum = c13b4f1a5aa526a8d3f8e02bf6baf785
[instance-neo-admin]
[instance-neo-admin]
filename = instance-neo-admin.cfg.in
filename = instance-neo-admin.cfg.in
md5sum =
dabc1e50475055b3ee9184dcace5e8d2
md5sum =
b6e1ccb1d90160110202e5111eec2afa
[instance-neo-master]
[instance-neo-master]
filename = instance-neo-master.cfg.in
filename = instance-neo-master.cfg.in
...
...
software/neoppod/instance-neo-admin.cfg.in
View file @
f619403c
...
@@ -18,7 +18,7 @@ plugin = ${:etc}/plugin
...
@@ -18,7 +18,7 @@ plugin = ${:etc}/plugin
[monitor-neo-health]
[monitor-neo-health]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_neo_health
promis
e = check_neo_health
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-neoctl = ${neoctl:wrapper-path}
config-neoctl = ${neoctl:wrapper-path}
{%- if bang_on_problem != None %}
{%- if bang_on_problem != None %}
...
...
software/nextcloud/buildout.hash.cfg
View file @
f619403c
...
@@ -26,4 +26,4 @@ md5sum = 6f42f0a8c5e5c0c657541a65c4d9ee57
...
@@ -26,4 +26,4 @@ md5sum = 6f42f0a8c5e5c0c657541a65c4d9ee57
[template-nextcloud-instance]
[template-nextcloud-instance]
filename = nextcloud-instance.cfg.in
filename = nextcloud-instance.cfg.in
md5sum =
86a92f542e516ac92802908b85354073
md5sum =
05f946a6523677e5dcf80e9fad230d1c
software/nextcloud/nextcloud-instance.cfg.in
View file @
f619403c
...
@@ -28,7 +28,7 @@ depend =
...
@@ -28,7 +28,7 @@ depend =
[redis-promise]
[redis-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = redis.py
name = redis.py
config-command = ${service-redis:promise_wrapper}
config-command = ${service-redis:promise_wrapper}
...
@@ -106,7 +106,7 @@ depends =
...
@@ -106,7 +106,7 @@ depends =
[nextcloud-install-promise]
[nextcloud-install-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-nextcloud-install.py
name = check-nextcloud-install.py
config-command = ${nc-install-wrapper:output}
config-command = ${nc-install-wrapper:output}
...
...
software/nginx-push-stream/buildout.hash.cfg
View file @
f619403c
[template]
[template]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
f9b6d01e29f2edddd9d6f99591976c33
md5sum =
56e986c74ef236f261834c57f5861ce0
[template-nginx-configuration]
[template-nginx-configuration]
filename = template-nginx.cfg.in
filename = template-nginx.cfg.in
...
...
software/nginx-push-stream/instance.cfg.in
View file @
f619403c
...
@@ -75,7 +75,7 @@ promises =
...
@@ -75,7 +75,7 @@ promises =
[nginx-available-promise]
[nginx-available-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url = $${nginx-configuration:base-url}/status
config-url = $${nginx-configuration:base-url}/status
...
...
software/plantuml/buildout.hash.cfg
View file @
f619403c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[instance]
[instance]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
c962079a88a6ce97d8ce20fa4e8edfd1
md5sum =
de38ed0348a9d50e01dbf383a661d53e
[tomcat-server-xml]
[tomcat-server-xml]
filename = server.xml.in
filename = server.xml.in
...
...
software/plantuml/instance.cfg.in
View file @
f619403c
...
@@ -87,7 +87,7 @@ instance-promises =
...
@@ -87,7 +87,7 @@ instance-promises =
[tomcat-listen-promise]
[tomcat-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-host = $${tomcat-instance:ip}
config-host = $${tomcat-instance:ip}
config-port = $${tomcat-instance:port}
config-port = $${tomcat-instance:port}
...
...
software/powerdns/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = fddea033e1aa9d6147a1a47bd7cc4b62
...
@@ -18,7 +18,7 @@ md5sum = fddea033e1aa9d6147a1a47bd7cc4b62
[template-powerdns]
[template-powerdns]
filename = instance-powerdns.cfg
filename = instance-powerdns.cfg
md5sum =
c04c3b490e7f9f35af3d204a9df51f35
md5sum =
a6fcfcef942cd9b57c2b0c69e318362c
[template-pdns-configuration]
[template-pdns-configuration]
_update_hash_filename_ = template/pdns.conf.jinja2
_update_hash_filename_ = template/pdns.conf.jinja2
...
@@ -26,7 +26,7 @@ md5sum = 851353e1d4dd562ace58b3345c2da515
...
@@ -26,7 +26,7 @@ md5sum = 851353e1d4dd562ace58b3345c2da515
[template-dns-replicate]
[template-dns-replicate]
_update_hash_filename_ = instance-powerdns-replicate.cfg.jinja2
_update_hash_filename_ = instance-powerdns-replicate.cfg.jinja2
md5sum =
bad5bcf578ad9700281419bbf3c9fe32
md5sum =
5b4b46136c6547c27508c4789ac5d0ee
[iso-list]
[iso-list]
_update_hash_filename_ = template/zz.countries.nexedi.dk.rbldnsd
_update_hash_filename_ = template/zz.countries.nexedi.dk.rbldnsd
...
...
software/powerdns/instance-powerdns-replicate.cfg.jinja2
View file @
f619403c
...
@@ -73,7 +73,7 @@ sla-{{ parameter }} = {{ slapparameter_dict.pop( sla_key + parameter ) }}
...
@@ -73,7 +73,7 @@ sla-{{ parameter }} = {{ slapparameter_dict.pop( sla_key + parameter ) }}
[{{promise_section_title}}]
[{{promise_section_title}}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = {{promise_section_title}}.py
name = {{promise_section_title}}.py
config-host = {{ '${' ~ request_section_title ~ ':connection-powerdns-ipv6}' }}
config-host = {{ '${' ~ request_section_title ~ ':connection-powerdns-ipv6}' }}
config-port = {{ '${' ~ request_section_title ~ ':connection-powerdns-port}' }}
config-port = {{ '${' ~ request_section_title ~ ':connection-powerdns-port}' }}
...
...
software/powerdns/instance-powerdns.cfg
View file @
f619403c
...
@@ -137,7 +137,7 @@ extra-context =
...
@@ -137,7 +137,7 @@ extra-context =
# Promises
# Promises
[pdns-promise-listen-port]
[pdns-promise-listen-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = pdns-port-listening.py
name = pdns-port-listening.py
config-host = $${pdns:ipv4}
config-host = $${pdns:ipv4}
config-port = $${pdns:port}
config-port = $${pdns:port}
...
...
software/proftpd/buildout.hash.cfg
View file @
f619403c
...
@@ -19,7 +19,7 @@ md5sum = efb4238229681447aa7fe73898dffad4
...
@@ -19,7 +19,7 @@ md5sum = efb4238229681447aa7fe73898dffad4
[instance-default]
[instance-default]
filename = instance-default.cfg.in
filename = instance-default.cfg.in
md5sum =
c6dce31a36e4e13de62687e9888aeb77
md5sum =
f6c583d24940a3a6838bd421dbb84a20
[proftpd-config-file]
[proftpd-config-file]
filename = proftpd-config-file.cfg.in
filename = proftpd-config-file.cfg.in
...
...
software/proftpd/instance-default.cfg.in
View file @
f619403c
...
@@ -86,7 +86,7 @@ template = inline:{{ slapparameter_dict['ssh-key'] | indent }}
...
@@ -86,7 +86,7 @@ template = inline:{{ slapparameter_dict['ssh-key'] | indent }}
[proftpd-listen-promise]
[proftpd-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-host = ${proftpd:ipv6}
config-host = ${proftpd:ipv6}
config-port = ${proftpd:sftp-port}
config-port = ${proftpd:sftp-port}
...
...
software/pureftpd/buildout.hash.cfg
View file @
f619403c
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
500b773d1a63a6a895f9b8038a582b05
md5sum =
9c4336f1f5143d3281c6706ff14abdd3
software/pureftpd/instance.cfg.in
View file @
f619403c
...
@@ -33,7 +33,7 @@ pureftpd-dir = ${:srv}/pureftpd/
...
@@ -33,7 +33,7 @@ pureftpd-dir = ${:srv}/pureftpd/
[check-port-listening-promise]
[check-port-listening-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = check_nginx_port.py
name = check_nginx_port.py
[pureftpd-listen-promise]
[pureftpd-listen-promise]
...
...
software/re6stnet/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = 71531ed9c9b79fa769ab367e7ea2d2a5
...
@@ -18,7 +18,7 @@ md5sum = 71531ed9c9b79fa769ab367e7ea2d2a5
[template-re6stnet]
[template-re6stnet]
filename = instance-re6stnet.cfg.in
filename = instance-re6stnet.cfg.in
md5sum =
870c34cf58acaaee21c71182dd3cb0cf
md5sum =
98f86d2a10d909215ae88ba6a602da27
[template-apache-conf]
[template-apache-conf]
filename = apache.conf.in
filename = apache.conf.in
...
...
software/re6stnet/instance-re6stnet.cfg.in
View file @
f619403c
...
@@ -170,14 +170,14 @@ context =
...
@@ -170,14 +170,14 @@ context =
[re6st-registry-promise]
[re6st-registry-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = re6st-registry.py
name = re6st-registry.py
config-host = ${re6st-registry:ipv4}
config-host = ${re6st-registry:ipv4}
config-port = ${re6st-registry:port}
config-port = ${re6st-registry:port}
[apache-registry-promise]
[apache-registry-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = apache-re6st-registry.py
name = apache-re6st-registry.py
config-host = ${apache-conf:ipv6}
config-host = ${apache-conf:ipv6}
config-port = ${apache-conf:port}
config-port = ${apache-conf:port}
...
...
software/repman/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = 8a08be95a04f1a47098c4fdef80bdfed
...
@@ -18,7 +18,7 @@ md5sum = 8a08be95a04f1a47098c4fdef80bdfed
[instance-repman.cfg]
[instance-repman.cfg]
_update_hash_filename_ = instance-repman.cfg.jinja2.in
_update_hash_filename_ = instance-repman.cfg.jinja2.in
md5sum =
839642d7a56447b3f08fa69729faca61
md5sum =
697a1b546c883da45c14dbcd2d73b2b9
[config-toml.in]
[config-toml.in]
_update_hash_filename_ = templates/config.toml.in
_update_hash_filename_ = templates/config.toml.in
...
@@ -34,7 +34,7 @@ md5sum = 0eeb24c6aa0760f0d33c4cc2828ddf30
...
@@ -34,7 +34,7 @@ md5sum = 0eeb24c6aa0760f0d33c4cc2828ddf30
[template-mariadb.cfg]
[template-mariadb.cfg]
_update_hash_filename_ = instance-mariadb.cfg.jinja2.in
_update_hash_filename_ = instance-mariadb.cfg.jinja2.in
md5sum =
21a29a41768b2370d671d3086b3ef2bb
md5sum =
a5c204cac552754520aee0570d379723
[template-my-cnf]
[template-my-cnf]
_update_hash_filename_ = templates/my.cnf.in
_update_hash_filename_ = templates/my.cnf.in
...
...
software/repman/instance-mariadb.cfg.jinja2.in
View file @
f619403c
...
@@ -327,13 +327,13 @@ dash = {{ dumps(dash) }}
...
@@ -327,13 +327,13 @@ dash = {{ dumps(dash) }}
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
[{{ section('promise') }}]
[{{ section('promise') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = mariadb.py
name = mariadb.py
config-command = "{{ parameter_dict['bin-directory'] }}/is-local-tcp-port-opened" "{{ ip }}" "{{ port }}"
config-command = "{{ parameter_dict['bin-directory'] }}/is-local-tcp-port-opened" "{{ ip }}" "{{ port }}"
...
...
software/repman/instance-repman.cfg.jinja2.in
View file @
f619403c
...
@@ -216,21 +216,21 @@ depends =
...
@@ -216,21 +216,21 @@ depends =
[proxysql-{{ name }}-admin-promise]
[proxysql-{{ name }}-admin-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = proxysql-{{ name }}-admin-port-listening.py
name = proxysql-{{ name }}-admin-port-listening.py
config-host = {{ ipv4 }}
config-host = {{ ipv4 }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-admin-port}' }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-admin-port}' }}
[proxysql-{{ name }}-promise]
[proxysql-{{ name }}-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = proxysql-{{ name }}-port-listening.py
name = proxysql-{{ name }}-port-listening.py
config-host = {{ ipv4 }}
config-host = {{ ipv4 }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-port}' }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-port}' }}
[proxysql-{{ name }}-ipv6-promise]
[proxysql-{{ name }}-ipv6-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = proxysql-{{ name }}-ipv6-port-listening.py
name = proxysql-{{ name }}-ipv6-port-listening.py
config-host = {{ ip }}
config-host = {{ ip }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-port}' }}
config-port = {{ '${' ~ name ~ '-cluster-parameter:proxy-port}' }}
...
@@ -403,14 +403,14 @@ context =
...
@@ -403,14 +403,14 @@ context =
[repman-listen-promise]
[repman-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = repman_service_listen.py
name = repman_service_listen.py
config-host = ${repman-parameter:ipv4}
config-host = ${repman-parameter:ipv4}
config-port = ${repman-parameter:port}
config-port = ${repman-parameter:port}
[repman-listen-ssl-promise]
[repman-listen-ssl-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = repman_service_ssl_listen.py
name = repman_service_ssl_listen.py
config-host = ${repman-parameter:ipv4}
config-host = ${repman-parameter:ipv4}
config-port = ${repman-parameter:secure-port}
config-port = ${repman-parameter:secure-port}
...
@@ -508,13 +508,13 @@ return = domain secure_access
...
@@ -508,13 +508,13 @@ return = domain secure_access
[repman-frontend-promise]
[repman-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = check_repman_frontend.py
name = check_repman_frontend.py
config-url = https://${repman-frontend:connection-domain}
config-url = https://${repman-frontend:connection-domain}
[repman-backend-promise]
[repman-backend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = check_repman_backend.py
name = check_repman_backend.py
config-url = ${nginx-parameter:backend-ssl-url}
config-url = ${nginx-parameter:backend-ssl-url}
...
...
software/seleniumserver/buildout.hash.cfg
View file @
f619403c
...
@@ -19,4 +19,4 @@ md5sum = 0084214fae4ee1aad2c878aa393757af
...
@@ -19,4 +19,4 @@ md5sum = 0084214fae4ee1aad2c878aa393757af
[template-selenium]
[template-selenium]
filename = instance-selenium.cfg.in
filename = instance-selenium.cfg.in
md5sum =
884196ea35de35fa9159517912441ce6
md5sum =
35ba19f7cb4fe7fc9469611f2446c94e
software/seleniumserver/instance-selenium.cfg.in
View file @
f619403c
...
@@ -283,7 +283,7 @@ instance-promises =
...
@@ -283,7 +283,7 @@ instance-promises =
[check-port-listening-promise]
[check-port-listening-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
[sshd-listen-promise]
[sshd-listen-promise]
...
@@ -304,7 +304,7 @@ config-port = $${selenium-server-hub-instance:port}
...
@@ -304,7 +304,7 @@ config-port = $${selenium-server-hub-instance:port}
# Promise waiting for all nodes to be registered
# Promise waiting for all nodes to be registered
[selenium-server-hub-nodes-registered-promise]
[selenium-server-hub-nodes-registered-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-command =
config-command =
$${selenium-server-check-nodes-registered:rendered} $${selenium-server-hub-instance:api-url} $${:expected-node-count}
$${selenium-server-check-nodes-registered:rendered} $${selenium-server-hub-instance:api-url} $${:expected-node-count}
...
...
software/slapos-master/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = 84f099cc9852c4f53a075dccbb3880f0
...
@@ -18,7 +18,7 @@ md5sum = 84f099cc9852c4f53a075dccbb3880f0
[template-balancer]
[template-balancer]
filename = instance-balancer.cfg.in
filename = instance-balancer.cfg.in
md5sum =
c7c0bb9abbd0f8cc6c7956d83a61c4b3
md5sum =
f565956476c31881b6e51ae1c27793ad
[template-apache-backend-conf]
[template-apache-backend-conf]
filename = apache-backend.conf.in
filename = apache-backend.conf.in
...
...
software/slapos-master/instance-balancer.cfg.in
View file @
f619403c
...
@@ -203,7 +203,7 @@ input = inline:
...
@@ -203,7 +203,7 @@ input = inline:
[{{ section('apache-promise') }}]
[{{ section('apache-promise') }}]
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = apache.py
name = apache.py
config-host = {{ ipv4 }}
config-host = {{ ipv4 }}
config-port = {{ apache_dict.values()[0][0] }}
config-port = {{ apache_dict.values()[0][0] }}
...
@@ -297,13 +297,13 @@ promise-threshold = {{ slapparameter_dict['apachedex-promise-threshold'] }}
...
@@ -297,13 +297,13 @@ promise-threshold = {{ slapparameter_dict['apachedex-promise-threshold'] }}
[{{ section('monitor-promise-apachedex-result') }}]
[{{ section('monitor-promise-apachedex-result') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-apachedex-result.py
name = check-apachedex-result.py
config-command = "{{ parameter_dict['promise-check-apachedex-result'] }}" --apachedex_path "${directory:apachedex}" --status_file ${monitor-directory:private}/apachedex.report.json --threshold "${apachedex-parameters:promise-threshold}"
config-command = "{{ parameter_dict['promise-check-apachedex-result'] }}" --apachedex_path "${directory:apachedex}" --status_file ${monitor-directory:private}/apachedex.report.json --threshold "${apachedex-parameters:promise-threshold}"
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
software/slaprunner/buildout.hash.cfg
View file @
f619403c
...
@@ -18,7 +18,7 @@ md5sum = 8d6878ff1d2e75010c50a1a2b0c13b24
...
@@ -18,7 +18,7 @@ md5sum = 8d6878ff1d2e75010c50a1a2b0c13b24
[template-runner]
[template-runner]
filename = instance-runner.cfg
filename = instance-runner.cfg
md5sum =
2a09b11c7dbade65d50e66287bf4c7b9
md5sum =
384285ab789396b6e674a8125ce2d030
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
...
@@ -26,7 +26,7 @@ md5sum = f2e2493bc5da90a53f86e5bcf64d2d57
...
@@ -26,7 +26,7 @@ md5sum = f2e2493bc5da90a53f86e5bcf64d2d57
[instance-runner-import]
[instance-runner-import]
filename = instance-runner-import.cfg.in
filename = instance-runner-import.cfg.in
md5sum =
ea7667f9af952bc4bdf43aad4520759f
md5sum =
a4ebf6918a2c68c02898b2142357f490
[instance-runner-export]
[instance-runner-export]
filename = instance-runner-export.cfg.in
filename = instance-runner-export.cfg.in
...
...
software/slaprunner/instance-runner-import.cfg.in
View file @
f619403c
...
@@ -134,7 +134,7 @@ mode = 755
...
@@ -134,7 +134,7 @@ mode = 755
[importer-consistency-promise]
[importer-consistency-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = importer-consistency-promise.py
name = importer-consistency-promise.py
config-command = ${importer-consistency-promise-bin:output}
config-command = ${importer-consistency-promise-bin:output}
...
@@ -158,7 +158,7 @@ mode = 755
...
@@ -158,7 +158,7 @@ mode = 755
[software-release-deployment-promise]
[software-release-deployment-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = software-release-deployment-promise.py
name = software-release-deployment-promise.py
config-command =${software-release-deployment-bin:output}
config-command =${software-release-deployment-bin:output}
...
...
software/slaprunner/instance-runner.cfg
View file @
f619403c
...
@@ -87,7 +87,7 @@ return = site_url domain
...
@@ -87,7 +87,7 @@ return = site_url domain
[custom-frontend-promise]
[custom-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = custom_frontend_promise.py
name = custom_frontend_promise.py
config-url = https://$${request-custom-frontend:connection-domain}
config-url = https://$${request-custom-frontend:connection-domain}
{% if slapparameter_dict.get('custom-frontend-basic-auth') -%}
{% if slapparameter_dict.get('custom-frontend-basic-auth') -%}
...
@@ -111,7 +111,7 @@ template = inline:
...
@@ -111,7 +111,7 @@ template = inline:
[custom-frontend-url-ready-promise]
[custom-frontend-url-ready-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = custom_frontend_ready_promise.py
name = custom_frontend_ready_promise.py
config-command = $${custom-frontend-url-ready-promise-bin:rendered}
config-command = $${custom-frontend-url-ready-promise-bin:rendered}
...
@@ -436,7 +436,7 @@ mode = 700
...
@@ -436,7 +436,7 @@ mode = 700
[apache-httpd-promise]
[apache-httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:filename}.py
name = $${:filename}.py
filename = apache-httpd-listening-on-tcp
filename = apache-httpd-listening-on-tcp
config-url = $${apache-httpd:access-url}
config-url = $${apache-httpd:access-url}
...
@@ -537,7 +537,7 @@ return = site_url domain
...
@@ -537,7 +537,7 @@ return = site_url domain
[slaprunner-frontend-promise]
[slaprunner-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = slaprunner_frontend.py
name = slaprunner_frontend.py
config-url = https://$${request-frontend:connection-domain}/login
config-url = https://$${request-frontend:connection-domain}/login
...
@@ -556,7 +556,7 @@ return = secure_access domain
...
@@ -556,7 +556,7 @@ return = secure_access domain
[httpd-frontend-promise]
[httpd-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = slaprunner-apache-http-frontend.py
name = slaprunner-apache-http-frontend.py
config-url = $${request-httpd-frontend:connection-secure_access}
config-url = $${request-httpd-frontend:connection-secure_access}
...
@@ -619,14 +619,14 @@ monitor-password = $${monitor-publish-parameters:monitor-password}
...
@@ -619,14 +619,14 @@ monitor-password = $${monitor-publish-parameters:monitor-password}
[slaprunner-promise]
[slaprunner-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = slaprunner.py
name = slaprunner.py
config-host = $${slaprunner:ipv6}
config-host = $${slaprunner:ipv6}
config-port = $${slaprunner:runner_port}
config-port = $${slaprunner:runner_port}
[runner-sshd-promise]
[runner-sshd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = runner-sshd.py
name = runner-sshd.py
config-host = $${slap-network-information:global-ipv6}
config-host = $${slap-network-information:global-ipv6}
config-port = $${runner-sshd-port:port}
config-port = $${runner-sshd-port:port}
...
@@ -863,20 +863,20 @@ log = $${runnerdirectory:home}/instance/*/.slapgrid/log/instance.log $${runnerdi
...
@@ -863,20 +863,20 @@ log = $${runnerdirectory:home}/instance/*/.slapgrid/log/instance.log $${runnerdi
[supervisord-promise]
[supervisord-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = supervisord.py
name = supervisord.py
config-host = $${slaprunner:ipv4}
config-host = $${slaprunner:ipv4}
config-port = $${supervisord:port}
config-port = $${supervisord:port}
[slapos-supervisord-promise]
[slapos-supervisord-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = instance_supervisord.py
name = instance_supervisord.py
config-command = ${buildout:bin-directory}/slapos node supervisorctl --cfg=$${slaprunner:slapos.cfg} pid
config-command = ${buildout:bin-directory}/slapos node supervisorctl --cfg=$${slaprunner:slapos.cfg} pid
[slapos-proxy-promise]
[slapos-proxy-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = slaproxy.py
name = slaproxy.py
config-host = $${slaprunner:ipv4}
config-host = $${slaprunner:ipv4}
config-port = $${slaprunner:proxy_port}
config-port = $${slaprunner:proxy_port}
...
...
software/theia/buildout.hash.cfg
View file @
f619403c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
[instance-theia]
[instance-theia]
_update_hash_filename_ = instance-theia.cfg.jinja.in
_update_hash_filename_ = instance-theia.cfg.jinja.in
md5sum =
e39925b69a8bc17d17be54c075ae2f8
8
md5sum =
f396d9a0780f4fb17016dbd32b56d7b
8
[instance]
[instance]
_update_hash_filename_ = instance.cfg.in
_update_hash_filename_ = instance.cfg.in
...
@@ -23,11 +23,11 @@ md5sum = a7d78b4002266c69ece05a476df82791
...
@@ -23,11 +23,11 @@ md5sum = a7d78b4002266c69ece05a476df82791
[instance-import]
[instance-import]
_update_hash_filename_ = instance-import.cfg.jinja.in
_update_hash_filename_ = instance-import.cfg.jinja.in
md5sum =
861ef130f27175c2978a9b946b138dd5
md5sum =
57b707cf0ed83be1959d26a88c131906
[instance-export]
[instance-export]
_update_hash_filename_ = instance-export.cfg.jinja.in
_update_hash_filename_ = instance-export.cfg.jinja.in
md5sum =
b3cedaa1603ca8ed83fdd94ef4b35cc8
md5sum =
190a736471f0e0cffcb2838968e01d84
[instance-resilient]
[instance-resilient]
_update_hash_filename_ = instance-resilient.cfg.jinja
_update_hash_filename_ = instance-resilient.cfg.jinja
...
...
software/theia/instance-export.cfg.jinja.in
View file @
f619403c
...
@@ -69,7 +69,7 @@ export-promises =
...
@@ -69,7 +69,7 @@ export-promises =
[export-promise]
[export-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = resiliency-export-promise.py
name = resiliency-export-promise.py
config-command = $${export-promise-script:rendered}
config-command = $${export-promise-script:rendered}
...
...
software/theia/instance-import.cfg.jinja.in
View file @
f619403c
...
@@ -127,7 +127,7 @@ import-promises =
...
@@ -127,7 +127,7 @@ import-promises =
[import-promise]
[import-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = resiliency-import-promise.py
name = resiliency-import-promise.py
config-command = $${import-promise-script:rendered}
config-command = $${import-promise-script:rendered}
...
...
software/theia/instance-theia.cfg.jinja.in
View file @
f619403c
...
@@ -82,21 +82,21 @@ instance-promises =
...
@@ -82,21 +82,21 @@ instance-promises =
[theia-listen-promise]
[theia-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-host = $${theia-instance:ip}
config-host = $${theia-instance:ip}
config-port = $${theia-instance:port}
config-port = $${theia-instance:port}
[frontend-listen-promise]
[frontend-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-host = $${frontend-instance:ip}
config-host = $${frontend-instance:ip}
config-port = $${frontend-instance:port}
config-port = $${frontend-instance:port}
[frontend-authentification-promise]
[frontend-authentification-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
username = $${frontend-instance-password:username}
username = $${frontend-instance-password:username}
password = $${frontend-instance-password:passwd}
password = $${frontend-instance-password:passwd}
...
@@ -106,7 +106,7 @@ config-url = https://$${:username}:$${:password}@[$${:ip}]:$${:port}
...
@@ -106,7 +106,7 @@ config-url = https://$${:username}:$${:password}@[$${:ip}]:$${:port}
[remote-frontend-url-available-promise]
[remote-frontend-url-available-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url = $${remote-frontend:connection-secure_access}
config-url = $${remote-frontend:connection-secure_access}
config-http-code = 401
config-http-code = 401
...
@@ -114,7 +114,7 @@ config-http-code = 401
...
@@ -114,7 +114,7 @@ config-http-code = 401
{% if additional_frontend %}
{% if additional_frontend %}
[remote-additional-frontend-url-available-promise]
[remote-additional-frontend-url-available-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = $${:_buildout_section_name_}.py
name = $${:_buildout_section_name_}.py
config-url = $${remote-additional-frontend:connection-secure_access}
config-url = $${remote-additional-frontend:connection-secure_access}
config-http-code = 401
config-http-code = 401
...
@@ -122,7 +122,7 @@ config-http-code = 401
...
@@ -122,7 +122,7 @@ config-http-code = 401
[slapos-standalone-listen-promise]
[slapos-standalone-listen-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
# XXX promise plugins can not contain "slapos" in their names
# XXX promise plugins can not contain "slapos" in their names
name = standalone-listen-promise.py
name = standalone-listen-promise.py
config-host = $${slapos-standalone-instance:hostname}
config-host = $${slapos-standalone-instance:hostname}
...
@@ -130,13 +130,13 @@ config-port = $${slapos-standalone-instance:port}
...
@@ -130,13 +130,13 @@ config-port = $${slapos-standalone-instance:port}
[slapos-standalone-ready-promise]
[slapos-standalone-ready-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = standalone-ready-promise.py
name = standalone-ready-promise.py
config-abstract = $${directory:runner}/standalone_ready
config-abstract = $${directory:runner}/standalone_ready
[slapos-autorun-promise]
[slapos-autorun-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_service_state
promis
e = check_service_state
name = autorun-state-promise.py
name = autorun-state-promise.py
config-service = $${slapos-autorun:service-name}
config-service = $${slapos-autorun:service-name}
config-expect = $${slapos-autorun:autorun}
config-expect = $${slapos-autorun:autorun}
...
...
software/turnserver/buildout.hash.cfg
View file @
f619403c
...
@@ -19,8 +19,8 @@ md5sum = b43d5e8d1fc2d0eeb54f91cefe6a5bae
...
@@ -19,8 +19,8 @@ md5sum = b43d5e8d1fc2d0eeb54f91cefe6a5bae
[template-turnserver]
[template-turnserver]
filename = instance-turnserver.cfg.jinja2.in
filename = instance-turnserver.cfg.jinja2.in
md5sum =
7af3318d7249e9afe22436d9fe200159
md5sum =
932c4d82faa8e28b62bfbfc3dfe31c02
[template-insecure-turnserver]
[template-insecure-turnserver]
filename = instance-insecure-turnserver.cfg.jinja2.in
filename = instance-insecure-turnserver.cfg.jinja2.in
md5sum =
3db65c3a16eb76ab438ac3817d1a5fea
md5sum =
504f0f5ead8600b80ba43f828a0f82b6
software/turnserver/instance-insecure-turnserver.cfg.jinja2.in
View file @
f619403c
...
@@ -57,7 +57,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
...
@@ -57,7 +57,7 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
[promise-check-turnserver-port]
[promise-check-turnserver-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = turnserver-port-listening.py
name = turnserver-port-listening.py
config-host = {{ listening_ip }}
config-host = {{ listening_ip }}
config-port = {{ turn_port }}
config-port = {{ turn_port }}
...
...
software/turnserver/instance-turnserver.cfg.jinja2.in
View file @
f619403c
...
@@ -123,14 +123,14 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
...
@@ -123,14 +123,14 @@ hash-existing-files = ${buildout:directory}/software_release/buildout.cfg
[promise-check-turnserver-port]
[promise-check-turnserver-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = turnserver-port-listening.py
name = turnserver-port-listening.py
config-host = {{ listening_ip }}
config-host = {{ listening_ip }}
config-port = {{ turn_port }}
config-port = {{ turn_port }}
[promise-check-turnserver-tls-port]
[promise-check-turnserver-tls-port]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = turnserver-tls-port-listening.py
name = turnserver-tls-port-listening.py
config-host = {{ listening_ip }}
config-host = {{ listening_ip }}
config-port = {{ turn_tls_port }}
config-port = {{ turn_tls_port }}
...
...
software/wendelin-scalability/test_scalability_fluentd/PathTemplateItem/portal_skins/custom/ERP5Site_handleRawDataFluentdIngestion.py
View file @
f619403c
...
@@ -3,7 +3,7 @@ request = portal.REQUEST
...
@@ -3,7 +3,7 @@ request = portal.REQUEST
reference
=
request
[
'reference'
]
reference
=
request
[
'reference'
]
data_chunk
=
request
[
'data_chunk'
]
data_chunk
=
request
[
'data_chunk'
]
modul
e
=
portal
.
data_stream_module
promis
e
=
portal
.
data_stream_module
try
:
try
:
data_stream
=
module
[
reference
]
data_stream
=
module
[
reference
]
except
KeyError
:
except
KeyError
:
...
...
stack/caucase/buildout.hash.cfg
View file @
f619403c
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
[caucase-jinja2-library]
[caucase-jinja2-library]
filename = caucase.jinja2.library
filename = caucase.jinja2.library
md5sum =
a5c7a46c6fb85aa22a371d9d2cd9e57e
md5sum =
1e3607e514320441ddccdb6d1a21f705
stack/caucase/caucase.jinja2.library
View file @
f619403c
...
@@ -37,7 +37,7 @@ command-line = '{{ buildout_bin_directory }}/caucased'
...
@@ -37,7 +37,7 @@ command-line = '{{ buildout_bin_directory }}/caucased'
{% if promise -%}
{% if promise -%}
[{{ prefix }}-promise]
[{{ prefix }}-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = {{ prefix }}.py
name = {{ prefix }}.py
config-command = '{{ buildout_bin_directory }}/caucase-probe' 'http://{{ netloc }}'
config-command = '{{ buildout_bin_directory }}/caucase-probe' 'http://{{ netloc }}'
{%- endif %}
{%- endif %}
...
@@ -119,7 +119,7 @@ command-line = '{{ buildout_bin_directory }}/caucase-updater'
...
@@ -119,7 +119,7 @@ command-line = '{{ buildout_bin_directory }}/caucase-updater'
{% if promise -%}
{% if promise -%}
[{{ prefix }}-promise]
[{{ prefix }}-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_certificate
promis
e = check_certificate
name = {{ prefix }}.py
name = {{ prefix }}.py
config-certificate = {{ crt_path }}
config-certificate = {{ crt_path }}
config-key = {{ key_path }}
config-key = {{ key_path }}
...
...
stack/erp5/buildout.hash.cfg
View file @
f619403c
...
@@ -26,11 +26,11 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
...
@@ -26,11 +26,11 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
[template-mariadb]
filename = instance-mariadb.cfg.in
filename = instance-mariadb.cfg.in
md5sum =
7d064777c1c4e7b275b255db4f4b1da9
md5sum =
c82ea00c4514b72fb97a6fa7ac36ec52
[template-kumofs]
[template-kumofs]
filename = instance-kumofs.cfg.in
filename = instance-kumofs.cfg.in
md5sum =
fed6dd2bdc389b4fc7e7b7ca32c5d4b6
md5sum =
cfe4696a67bf4886a5d8252a5274a941
[template-zope-conf]
[template-zope-conf]
filename = zope.conf.in
filename = zope.conf.in
...
@@ -50,7 +50,7 @@ md5sum = 1102c3e37a5a2e8aa2d8a2607ab633c8
...
@@ -50,7 +50,7 @@ md5sum = 1102c3e37a5a2e8aa2d8a2607ab633c8
[template-postfix]
[template-postfix]
filename = instance-postfix.cfg.in
filename = instance-postfix.cfg.in
md5sum =
2a68a3e7c5c509cbd4cfa9e670ac91c
7
md5sum =
0f666e5e7e52afda433feb9f0245271
7
[template-postfix-master-cf]
[template-postfix-master-cf]
filename = postfix_master.cf.in
filename = postfix_master.cf.in
...
@@ -78,7 +78,7 @@ md5sum = fcc8470824c448a56e2282c43b870cb5
...
@@ -78,7 +78,7 @@ md5sum = fcc8470824c448a56e2282c43b870cb5
[template-zeo]
[template-zeo]
filename = instance-zeo.cfg.in
filename = instance-zeo.cfg.in
md5sum =
79b6b422df512b5a075eba54a6895a01
md5sum =
1f33f3b93da32b34e2fd11471648835d
[template-zodb-base]
[template-zodb-base]
filename = instance-zodb-base.cfg.in
filename = instance-zodb-base.cfg.in
...
@@ -86,11 +86,11 @@ md5sum = bc821f9f9696953b10a03ad7b59a1936
...
@@ -86,11 +86,11 @@ md5sum = bc821f9f9696953b10a03ad7b59a1936
[template-zope]
[template-zope]
filename = instance-zope.cfg.in
filename = instance-zope.cfg.in
md5sum =
58ca95f6e0c067702a03fc3be66d50c1
md5sum =
769e81946c346530cebfce6ad7553165
[template-balancer]
[template-balancer]
filename = instance-balancer.cfg.in
filename = instance-balancer.cfg.in
md5sum =
c6c1b3e4b2f3c6f256153dcfe9fbecad
md5sum =
d6166515fda7b09df754672536b131be
[template-haproxy-cfg]
[template-haproxy-cfg]
filename = haproxy.cfg.in
filename = haproxy.cfg.in
...
@@ -102,4 +102,4 @@ md5sum = 5cf0316fdd17a940031e4083bbededd8
...
@@ -102,4 +102,4 @@ md5sum = 5cf0316fdd17a940031e4083bbededd8
[instance-wcfs.cfg.in]
[instance-wcfs.cfg.in]
filename = instance-wcfs.cfg.in
filename = instance-wcfs.cfg.in
md5sum =
945e8e4552a6bdf228b9609567b09399
md5sum =
eb4be2669a9a56187cc4366272e11d18
stack/erp5/instance-balancer.cfg.in
View file @
f619403c
...
@@ -272,7 +272,7 @@ hash-files = ${rsyslogd-cfg:rendered}
...
@@ -272,7 +272,7 @@ hash-files = ${rsyslogd-cfg:rendered}
[{{ section ('rsyslogd-listen-promise') }}]
[{{ section ('rsyslogd-listen-promise') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = rsyslogd_listen_promise.py
name = rsyslogd_listen_promise.py
config-command = test -S ${rsyslogd-cfg-parameter-dict:log-socket}
config-command = test -S ${rsyslogd-cfg-parameter-dict:log-socket}
...
@@ -303,7 +303,7 @@ certificate-and-key = ${directory:etc}/certificate-and-key-generated.pem
...
@@ -303,7 +303,7 @@ certificate-and-key = ${directory:etc}/certificate-and-key-generated.pem
[{{ section('haproxy-promise') }}]
[{{ section('haproxy-promise') }}]
<= monitor-promise-base
<= monitor-promise-base
# Check any haproxy port in ipv4, expect other ports and ipv6 to behave consistently
# Check any haproxy port in ipv4, expect other ports and ipv6 to behave consistently
modul
e = check_socket_listening
promis
e = check_socket_listening
name = haproxy.py
name = haproxy.py
config-host = {{ ipv4 }}
config-host = {{ ipv4 }}
config-port = {{ haproxy_dict.values()[0][0] }}
config-port = {{ haproxy_dict.values()[0][0] }}
...
@@ -382,13 +382,13 @@ promise-threshold = {{ slapparameter_dict['apachedex-promise-threshold'] }}
...
@@ -382,13 +382,13 @@ promise-threshold = {{ slapparameter_dict['apachedex-promise-threshold'] }}
[{{ section('monitor-promise-apachedex-result') }}]
[{{ section('monitor-promise-apachedex-result') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-apachedex-result.py
name = check-apachedex-result.py
config-command = "{{ parameter_dict['promise-check-apachedex-result'] }}" --apachedex_path "${directory:apachedex}" --status_file ${monitor-directory:private}/apachedex.report.json --threshold "${apachedex-parameters:promise-threshold}"
config-command = "{{ parameter_dict['promise-check-apachedex-result'] }}" --apachedex_path "${directory:apachedex}" --status_file ${monitor-directory:private}/apachedex.report.json --threshold "${apachedex-parameters:promise-threshold}"
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
stack/erp5/instance-kumofs.cfg.in
View file @
f619403c
...
@@ -86,7 +86,7 @@ rendered = ${directory:srv}/exporter.exclude
...
@@ -86,7 +86,7 @@ rendered = ${directory:srv}/exporter.exclude
# Deploy zope promises scripts
# Deploy zope promises scripts
[promise-template]
[promise-template]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
config-host = ${kumofs-instance:ip}
config-host = ${kumofs-instance:ip}
config-port = ${kumofs-instance:server-listen-port}
config-port = ${kumofs-instance:server-listen-port}
...
@@ -112,7 +112,7 @@ config-port = ${kumofs-instance:manager-port}
...
@@ -112,7 +112,7 @@ config-port = ${kumofs-instance:manager-port}
[promise-check-computer-memory]
[promise-check-computer-memory]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
stack/erp5/instance-mariadb.cfg.in
View file @
f619403c
...
@@ -332,7 +332,7 @@ context =
...
@@ -332,7 +332,7 @@ context =
{%if slapparameter_dict.get('max-slowqueries-threshold') and slapparameter_dict.get('slowest-query-threshold') %}
{%if slapparameter_dict.get('max-slowqueries-threshold') and slapparameter_dict.get('slowest-query-threshold') %}
[{{ section('monitor-promise-slowquery-result') }}]
[{{ section('monitor-promise-slowquery-result') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-slow-query-pt-digest-result.py
name = check-slow-query-pt-digest-result.py
config-command = "{{ parameter_dict['promise-check-slow-queries-digest-result'] }}" --ptdigest_path "${directory:slowquery}" --status_file ${monitor-directory:private}/mariadb_slow_query.report.json --max_queries_threshold "${:max_queries_threshold}" --slowest_query_threshold "${:slowest_queries_threshold}"
config-command = "{{ parameter_dict['promise-check-slow-queries-digest-result'] }}" --ptdigest_path "${directory:slowquery}" --status_file ${monitor-directory:private}/mariadb_slow_query.report.json --max_queries_threshold "${:max_queries_threshold}" --slowest_query_threshold "${:slowest_queries_threshold}"
max_queries_threshold = {{ slapparameter_dict['max-slowqueries-threshold'] }}
max_queries_threshold = {{ slapparameter_dict['max-slowqueries-threshold'] }}
...
@@ -341,13 +341,13 @@ slowest_queries_threshold = {{ slapparameter_dict['slowest-query-threshold'] }}
...
@@ -341,13 +341,13 @@ slowest_queries_threshold = {{ slapparameter_dict['slowest-query-threshold'] }}
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
[{{ section('promise') }}]
[{{ section('promise') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = mariadb.py
name = mariadb.py
config-command = "${binary-wrap-mysql:wrapper-path}" --execute ';' {% if database_list and database_list[0].get('user') %} --host="${my-cnf-parameters:ip}" --port="${my-cnf-parameters:port}" --user="{{ database_list[0]['user'] }}" --password="{{ database_list[0]['password'] }}" {% endif %}
config-command = "${binary-wrap-mysql:wrapper-path}" --execute ';' {% if database_list and database_list[0].get('user') %} --host="${my-cnf-parameters:ip}" --port="${my-cnf-parameters:port}" --user="{{ database_list[0]['user'] }}" --password="{{ database_list[0]['password'] }}" {% endif %}
...
...
stack/erp5/instance-postfix.cfg.in
View file @
f619403c
...
@@ -80,7 +80,7 @@ wrapper-path = ${directory:run}/munnel
...
@@ -80,7 +80,7 @@ wrapper-path = ${directory:run}/munnel
[{{ section('munnel-promise') }}]
[{{ section('munnel-promise') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = munnel.py
name = munnel.py
config-host = {{ ip }}
config-host = {{ ip }}
config-port = {{ milter_port }}
config-port = {{ milter_port }}
...
@@ -262,14 +262,14 @@ wrapper-path = ${directory:run}/postfix-master
...
@@ -262,14 +262,14 @@ wrapper-path = ${directory:run}/postfix-master
[{{ section('postfix-promise') }}]
[{{ section('postfix-promise') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = postfix.py
name = postfix.py
config-host = {{ ip }}
config-host = {{ ip }}
config-port = {{ tcpv4_port }}
config-port = {{ tcpv4_port }}
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
stack/erp5/instance-wcfs.cfg.in
View file @
f619403c
...
@@ -52,7 +52,7 @@ wrapper-path = ${directory:service-on-watch}/wcfs
...
@@ -52,7 +52,7 @@ wrapper-path = ${directory:service-on-watch}/wcfs
[wcfs-promise]
[wcfs-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command = {{ bin_directory }}/wcfs status {{ zurl }}
config-command = {{ bin_directory }}/wcfs status {{ zurl }}
...
...
stack/erp5/instance-zeo.cfg.in
View file @
f619403c
...
@@ -55,7 +55,7 @@ post = test ! -s {{ "${" ~ zeo_section_name ~":pid-path}" }} || {{ bin_directory
...
@@ -55,7 +55,7 @@ post = test ! -s {{ "${" ~ zeo_section_name ~":pid-path}" }} || {{ bin_directory
[{{ section(zeo_section_name ~ "-promise") }}]
[{{ section(zeo_section_name ~ "-promise") }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = zeo-{{ family }}.py
name = zeo-{{ family }}.py
config-host = {{ "${" ~ zeo_section_name ~ ":ip}" }}
config-host = {{ "${" ~ zeo_section_name ~ ":ip}" }}
config-port = {{ "${" ~ zeo_section_name ~ ":port}" }}
config-port = {{ "${" ~ zeo_section_name ~ ":port}" }}
...
@@ -89,7 +89,7 @@ tidstorage-wrapper = ${directory:services}/tidstoraged
...
@@ -89,7 +89,7 @@ tidstorage-wrapper = ${directory:services}/tidstoraged
[{{ section("promise-tidstorage") }}]
[{{ section("promise-tidstorage") }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = tidstorage.py
name = tidstorage.py
config-host = ${tidstorage:ip}
config-host = ${tidstorage:ip}
config-port = ${tidstorage:port}
config-port = ${tidstorage:port}
...
@@ -177,7 +177,7 @@ mode = 755
...
@@ -177,7 +177,7 @@ mode = 755
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
stack/erp5/instance-zope.cfg.in
View file @
f619403c
...
@@ -358,7 +358,7 @@ hash-existing-files =
...
@@ -358,7 +358,7 @@ hash-existing-files =
[{{ section("promise-" ~ name) }}]
[{{ section("promise-" ~ name) }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = {{ name }}.py
name = {{ name }}.py
config-host = {{ ipv4 }}
config-host = {{ ipv4 }}
config-port = {{ port }}
config-port = {{ port }}
...
@@ -373,7 +373,7 @@ ipv4-port = {{ port }}
...
@@ -373,7 +373,7 @@ ipv4-port = {{ port }}
[{{ section("promise-tunnel-" ~ name) }}]
[{{ section("promise-tunnel-" ~ name) }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = {{ zope_tunnel_base_name }}.py
name = {{ zope_tunnel_base_name }}.py
config-host = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6}' }}
config-host = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6}' }}
config-port = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6-port}' }}
config-port = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6-port}' }}
...
@@ -384,7 +384,7 @@ config-port = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6-port}' }}
...
@@ -384,7 +384,7 @@ config-port = {{ '${' ~ zope_tunnel_section_name ~ ':ipv6-port}' }}
{% if longrequest_logger_interval > 0 -%}
{% if longrequest_logger_interval > 0 -%}
[{{ section('promise-check-' ~name ~ '-longrequest-error-log') }}]
[{{ section('promise-check-' ~name ~ '-longrequest-error-log') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_error_on_zope_longrequest_log
promis
e = check_error_on_zope_longrequest_log
name = {{'check-' ~ name ~ '-longrequest-error-log.py'}}
name = {{'check-' ~ name ~ '-longrequest-error-log.py'}}
config-log-file = {{ '${' ~ conf_parameter_name ~ ':longrequest-logger-file}' }}
config-log-file = {{ '${' ~ conf_parameter_name ~ ':longrequest-logger-file}' }}
config-error-threshold = {{ slapparameter_dict["zope-longrequest-logger-error-threshold"] }}
config-error-threshold = {{ slapparameter_dict["zope-longrequest-logger-error-threshold"] }}
...
@@ -528,7 +528,7 @@ expected-value =
...
@@ -528,7 +528,7 @@ expected-value =
[{{ section("promise-test-runner-apache-url") }}]
[{{ section("promise-test-runner-apache-url") }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = ${:_buildout_section_name_}.py
name = ${:_buildout_section_name_}.py
config-command = ${promise-test-runner-apache-url-executable:path}
config-command = ${promise-test-runner-apache-url-executable:path}
...
@@ -537,7 +537,7 @@ config-command = ${promise-test-runner-apache-url-executable:path}
...
@@ -537,7 +537,7 @@ config-command = ${promise-test-runner-apache-url-executable:path}
[{{ section('promise-check-computer-memory') }}]
[{{ section('promise-check-computer-memory') }}]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = check-computer-memory.py
name = check-computer-memory.py
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
config-command = "{{ parameter_dict["check-computer-memory-binary"] }}" -db ${monitor-instance-parameter:collector-db} --threshold "{{ slapparameter_dict["computer-memory-percent-threshold"] }}" --unit percent
...
...
stack/lamp/buildout.hash.cfg
View file @
f619403c
...
@@ -18,11 +18,11 @@ md5sum = e4e070f93adaf917f9427ae9f35573d9
...
@@ -18,11 +18,11 @@ md5sum = e4e070f93adaf917f9427ae9f35573d9
[instance-apache-php]
[instance-apache-php]
filename = instance-apache-php.cfg.in
filename = instance-apache-php.cfg.in
md5sum =
4afee4377fa9cbc1e4ff80647b2f279c
md5sum =
e7a14c01e6314e2bffebd7d80cf1c488
[instance-lamp]
[instance-lamp]
filename = instance-lamp.cfg.jinja2.in
filename = instance-lamp.cfg.jinja2.in
md5sum =
79f562260895df2665a85df5cb442193
md5sum =
e0e2e88b6deeb011b998b78e4e468555
[template-apache.conf]
[template-apache.conf]
filename = apache.conf.in
filename = apache.conf.in
...
...
stack/lamp/instance-apache-php.cfg.in
View file @
f619403c
...
@@ -207,7 +207,7 @@ backend-url = ${apache-php-configuration:url}
...
@@ -207,7 +207,7 @@ backend-url = ${apache-php-configuration:url}
[promise]
[promise]
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
# Check any apache port in ipv4, expect other ports and ipv6 to behave consistently
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = apache-httpd-port-listening.py
name = apache-httpd-port-listening.py
config-host = ${apache-php-configuration:ip}
config-host = ${apache-php-configuration:ip}
config-port = ${apache-php-configuration:port}
config-port = ${apache-php-configuration:port}
...
...
stack/lamp/instance-lamp.cfg.jinja2.in
View file @
f619403c
...
@@ -77,7 +77,7 @@ return = domain secure_access
...
@@ -77,7 +77,7 @@ return = domain secure_access
[lamp-frontend-promise]
[lamp-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = lamp-http-frontend.py
name = lamp-http-frontend.py
url = ${request-frontend:connection-secure_access}
url = ${request-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
...
stack/monitor/buildout.hash.cfg
View file @
f619403c
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[monitor2-template]
[monitor2-template]
filename = instance-monitor.cfg.jinja2.in
filename = instance-monitor.cfg.jinja2.in
md5sum =
d4185c191e8b9df20e1f98cd8c556b1d
md5sum =
3cba541a8b0b22c2648848ed1d259174
[monitor-httpd-conf]
[monitor-httpd-conf]
_update_hash_filename_ = templates/monitor-httpd.conf.in
_update_hash_filename_ = templates/monitor-httpd.conf.in
...
...
stack/monitor/instance-monitor.cfg.jinja2.in
View file @
f619403c
...
@@ -302,14 +302,12 @@ pre = {{ monitor_statistic }} --history_folder ${monitor-directory:public}
...
@@ -302,14 +302,12 @@ pre = {{ monitor_statistic }} --history_folder ${monitor-directory:public}
recipe = slapos.cookbook:promise.plugin
recipe = slapos.cookbook:promise.plugin
eggs =
eggs =
slapos.toolbox
slapos.toolbox
content =
module = slapos.promise.plugin.${:promise}
from slapos.promise.plugin.${:module} import RunPromise
mode = 600
output = ${directory:plugins}/${:name}
output = ${directory:plugins}/${:name}
[monitor-httpd-promise]
[monitor-httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = monitor-httpd-listening-on-tcp.py
name = monitor-httpd-listening-on-tcp.py
config-url = ${monitor-httpd-conf-parameter:url}
config-url = ${monitor-httpd-conf-parameter:url}
config-http-code = 401
config-http-code = 401
...
@@ -360,7 +358,7 @@ return = domain secure_access
...
@@ -360,7 +358,7 @@ return = domain secure_access
# credentials.
# credentials.
[check-monitor-password-promise]
[check-monitor-password-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = check-monitor-frontend-password.py
name = check-monitor-frontend-password.py
url = ${monitor-frontend:connection-secure_access}
url = ${monitor-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
@@ -371,7 +369,7 @@ config-password = ${monitor-instance-parameter:password}
...
@@ -371,7 +369,7 @@ config-password = ${monitor-instance-parameter:password}
# supplied.
# supplied.
[monitor-frontend-promise]
[monitor-frontend-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = monitor-http-frontend.py
name = monitor-http-frontend.py
url = ${monitor-frontend:connection-secure_access}
url = ${monitor-frontend:connection-secure_access}
config-url = ${:url}
config-url = ${:url}
...
@@ -379,7 +377,7 @@ config-http-code = 401
...
@@ -379,7 +377,7 @@ config-http-code = 401
[monitor-bootstrap-promise]
[monitor-bootstrap-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = monitor_bootstrap_status
promis
e = monitor_bootstrap_status
name = monitor-bootstrap-status.py
name = monitor-bootstrap-status.py
config-process-pid-file = ${monitor-conf-parameters:pid-file}
config-process-pid-file = ${monitor-conf-parameters:pid-file}
config-process-name = ${start-monitor:name}
config-process-name = ${start-monitor:name}
...
@@ -387,13 +385,13 @@ config-status-file = ${monitor-conf-parameters:promise-output-file}
...
@@ -387,13 +385,13 @@ config-status-file = ${monitor-conf-parameters:promise-output-file}
[promise-check-slapgrid]
[promise-check-slapgrid]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_partition_deployment_state
promis
e = check_partition_deployment_state
name = buildout-${slap-connection:partition-id}-status.py
name = buildout-${slap-connection:partition-id}-status.py
config-monitor-url = ${monitor-instance-parameter:monitor-base-url}
config-monitor-url = ${monitor-instance-parameter:monitor-base-url}
[promise-check-free-disk-space]
[promise-check-free-disk-space]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_free_disk_space
promis
e = check_free_disk_space
name = check-free-disk-space.py
name = check-free-disk-space.py
config-collectordb = ${monitor-instance-parameter:collector-db}
config-collectordb = ${monitor-instance-parameter:collector-db}
config-threshold-file = ${directory:etc}/min-free-disk-size
config-threshold-file = ${directory:etc}/min-free-disk-size
...
...
stack/resilient/buildout.hash.cfg
View file @
f619403c
...
@@ -14,23 +14,23 @@
...
@@ -14,23 +14,23 @@
# not need these here).
# not need these here).
[pbsready]
[pbsready]
filename = pbsready.cfg.in
filename = pbsready.cfg.in
md5sum =
005125621d157b3ae04c428ea6060e37
md5sum =
1d3aba1ba770ad3fcc2ab6c0b9266409
[pbsready-import]
[pbsready-import]
filename = pbsready-import.cfg.in
filename = pbsready-import.cfg.in
md5sum =
dd8f0728e53b49822eed5d613839558f
md5sum =
a8c9821951425bedbdea30a870fb5138
[pbsready-export]
[pbsready-export]
filename = pbsready-export.cfg.in
filename = pbsready-export.cfg.in
md5sum =
2b0c71b085cfe8017f28098c160b1f49
md5sum =
8f15263c4a27ec315eb3a12dbf7a7b34
[template-pull-backup]
[template-pull-backup]
filename = instance-pull-backup.cfg.in
filename = instance-pull-backup.cfg.in
md5sum =
b240dc76a663190304d8bcb9cabcda8f
md5sum =
4425db50d551fb8a974e547308990bac
[template-replicated]
[template-replicated]
filename = template-replicated.cfg.in
filename = template-replicated.cfg.in
md5sum =
41aee09e9f9abbae59b0442e1e76387f
md5sum =
c4012ccc2c473ae5c7cad9dcac61e0f1
[template-parts]
[template-parts]
filename = template-parts.cfg.in
filename = template-parts.cfg.in
...
...
stack/resilient/instance-pull-backup.cfg.in
View file @
f619403c
...
@@ -217,7 +217,7 @@ wrapper-path = $${rootdirectory:bin}/stalled-pull-push
...
@@ -217,7 +217,7 @@ wrapper-path = $${rootdirectory:bin}/stalled-pull-push
[pull-push-stalled-promise]
[pull-push-stalled-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = stalled-pull-push.py
name = stalled-pull-push.py
config-command = $${pull-push-stalled-promise-bin:wrapper-path}
config-command = $${pull-push-stalled-promise-bin:wrapper-path}
...
@@ -233,7 +233,7 @@ context =
...
@@ -233,7 +233,7 @@ context =
[notifier-feed-status-promise]
[notifier-feed-status-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = notifier-feed-check-malformed-or-failure.py
name = notifier-feed-check-malformed-or-failure.py
config-command = $${notifier-feed-status-promise-bin:rendered}
config-command = $${notifier-feed-status-promise-bin:rendered}
...
...
stack/resilient/pbsready-export.cfg.in
View file @
f619403c
...
@@ -60,7 +60,7 @@ rendered = ${rootdirectory:bin}/exporter-status
...
@@ -60,7 +60,7 @@ rendered = ${rootdirectory:bin}/exporter-status
[notifier-exporter-promise]
[notifier-exporter-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = exporter-status.py
name = exporter-status.py
config-command = ${notifier-exporter-promise-bin:rendered}
config-command = ${notifier-exporter-promise-bin:rendered}
...
...
stack/resilient/pbsready-import.cfg.in
View file @
f619403c
...
@@ -81,7 +81,7 @@ mode = 700
...
@@ -81,7 +81,7 @@ mode = 700
[backup-checksum-integrity-promise]
[backup-checksum-integrity-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = backup-checksum-integrity.py
name = backup-checksum-integrity.py
config-command = $${backup-checksum-integrity-promise-bin:rendered}
config-command = $${backup-checksum-integrity-promise-bin:rendered}
...
@@ -159,7 +159,7 @@ wrapper-path = $${basedirectory:services}/resilient-web-takeover-httpd
...
@@ -159,7 +159,7 @@ wrapper-path = $${basedirectory:services}/resilient-web-takeover-httpd
[resilient-web-takeover-httpd-promise]
[resilient-web-takeover-httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_url_available
promis
e = check_url_available
name = resilient-web-takeover-httpd.py
name = resilient-web-takeover-httpd.py
config-url = http://[$${resilient-web-takeover-httpd-configuration-file:listening-ip}]:$${resilient-web-takeover-httpd-configuration-file:listening-port}/
config-url = http://[$${resilient-web-takeover-httpd-configuration-file:listening-ip}]:$${resilient-web-takeover-httpd-configuration-file:listening-port}/
...
...
stack/resilient/pbsready.cfg.in
View file @
f619403c
...
@@ -165,7 +165,7 @@ wrapper-path = $${rootdirectory:bin}/stalled-notifier-callbacks
...
@@ -165,7 +165,7 @@ wrapper-path = $${rootdirectory:bin}/stalled-notifier-callbacks
[notifier-stalled-promise]
[notifier-stalled-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = stalled-notifier-callbacks.py
name = stalled-notifier-callbacks.py
config-command = $${notifier-stalled-promise-bin:wrapper-path}
config-command = $${notifier-stalled-promise-bin:wrapper-path}
...
@@ -217,7 +217,7 @@ wrapper-path = $${basedirectory:scripts}/sshd-graceful
...
@@ -217,7 +217,7 @@ wrapper-path = $${basedirectory:scripts}/sshd-graceful
[sshd-promise]
[sshd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_socket_listening
promis
e = check_socket_listening
name = sshd.py
name = sshd.py
config-host = $${slap-network-information:global-ipv6}
config-host = $${slap-network-information:global-ipv6}
config-port = $${sshd-port:port}
config-port = $${sshd-port:port}
...
@@ -261,7 +261,7 @@ mode = 700
...
@@ -261,7 +261,7 @@ mode = 700
[resilient-sshkeys-sshd-promise]
[resilient-sshkeys-sshd-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = public-key-existence.py
name = public-key-existence.py
config-command = $${resilient-sshkeys-sshd-promise-bin:output}
config-command = $${resilient-sshkeys-sshd-promise-bin:output}
...
@@ -281,7 +281,7 @@ context =
...
@@ -281,7 +281,7 @@ context =
[notifier-feed-status-promise]
[notifier-feed-status-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = notifier-feed-check-malformed-or-failure.py
name = notifier-feed-check-malformed-or-failure.py
config-command = $${notifier-feed-status-promise-bin:rendered}
config-command = $${notifier-feed-status-promise-bin:rendered}
#----------------
#----------------
...
...
stack/resilient/template-replicated.cfg.in
View file @
f619403c
...
@@ -148,7 +148,7 @@ mode = 700
...
@@ -148,7 +148,7 @@ mode = 700
[resilient-request-{{namebase}}-public-key-promise]
[resilient-request-{{namebase}}-public-key-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = resilient-request-{{namebase}}-public-key.py
name = resilient-request-{{namebase}}-public-key.py
config-command = ${resilient-request-{{namebase}}-public-key-promise-bin:output}
config-command = ${resilient-request-{{namebase}}-public-key-promise-bin:output}
...
@@ -170,7 +170,7 @@ mode = 700
...
@@ -170,7 +170,7 @@ mode = 700
[resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key-promise]
[resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key.py
name = resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key.py
config-command = ${resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key-promise-bin:output}
config-command = ${resilient-request-{{namebase}}-pseudo-replicating-{{id}}-public-key-promise-bin:output}
...
@@ -238,7 +238,7 @@ mode = 700
...
@@ -238,7 +238,7 @@ mode = 700
[resilient-request-pbs-{{namebase}}-{{id}}-public-key-promise]
[resilient-request-pbs-{{namebase}}-{{id}}-public-key-promise]
<= monitor-promise-base
<= monitor-promise-base
modul
e = check_command_execute
promis
e = check_command_execute
name = resilient-request-pbs-{{namebase}}-{{id}}-public-key.py
name = resilient-request-pbs-{{namebase}}-{{id}}-public-key.py
config-command = ${resilient-request-pbs-{{namebase}}-{{id}}-public-key-promise-bin:output}
config-command = ${resilient-request-pbs-{{namebase}}-{{id}}-public-key-promise-bin:output}
...
...
stack/slapos.cfg
View file @
f619403c
...
@@ -190,7 +190,7 @@ setproctitle = 1.1.10
...
@@ -190,7 +190,7 @@ setproctitle = 1.1.10
setuptools-dso = 1.7
setuptools-dso = 1.7
rubygemsrecipe = 0.4.3
rubygemsrecipe = 0.4.3
six = 1.12.0
six = 1.12.0
slapos.cookbook = 1.0.21
2
slapos.cookbook = 1.0.21
3
slapos.core = 1.6.19
slapos.core = 1.6.19
slapos.extension.strip = 0.4
slapos.extension.strip = 0.4
slapos.extension.shared = 1.0
slapos.extension.shared = 1.0
...
...
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