Commit 9329f9a6 authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Rafael Monnerat

slapos.proxy: add multimaster configuration in example configuration file.

parent dc844e82
......@@ -4,12 +4,17 @@
instance_root = /srv/slapgrid
software_root = /opt/slapgrid
computer_id = local_computer
[slapproxy]
host = 127.0.0.1
port = 5000
database_uri = /opt/slapos/slapproxy.db
###############################
# Optional, advanced parameters
###############################
# Below is the list of software maintained by slapos.org and contributors
# It is used to simulate a proper configuration of a real slapos master.
software_product_list =
......@@ -23,3 +28,22 @@ software_product_list =
slaposwebrunner http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.160:/software/slaprunner/software.cfg
wordpress http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.163:/software/wordpress/software.cfg
zabbixagent http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.162:/software/zabbix-agent/software.cfg
# Here goes the list of slapos masters that slapos.proxy is authorized to contact to forward an instance request.
# Each section beginning by "multimaster/" is a different SlapOS Master, represented by its URL.
# For each section, you need to specify the URL of the SlapOS Master in the section name itself.
# For each section, you can specify if needed the location of key/certificate used to authenticate to this slapOS Master.
# For each section, you can specify if needed a list of Software Releases, separated by carrier return. Any instance request matching one of those Software Releases will be automatically forwarded to this SlapOS Master and will not be allocated locally.
# When doing an instance request, you can specify in filter (a.k.a SLA) a "master_url" that will be used by the slapproxy to forward the request.
[multimaster/https://slap.vifib.com]
key = key file path coming from your slapos master account
cert = certificate file path coming from your slapos master account
software_release_list =
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
[multimaster/http://imaginary-slapos-master.com]
# No certificate here: it is http.
software_release_list =
http://mywebsite.me/my_software_release.cfg
/some/arbitrary/local/unix/path
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment