Jupyter: --matplotlib=inline is nether supported nor needed
[slapos.git] / stack / lapp / instance-resilient.cfg.jinja2
1 # vim: set ft=cfg:
2
3 {% import 'parts' as parts %}
4 {% import 'replicated' as replicated %}
5
6 [buildout]
7 eggs-directory = {{ eggs_directory }}
8 develop-eggs-directory = {{ develop_eggs_directory }}
9 offline = true
10
11 # += because we need to take up parts (like instance-custom, slapmonitor etc) from the profile we extended
12 parts +=
13   {{ parts.replicate("apache", "3") }}
14   publish-connection-information
15
16 {{ replicated.replicate("apache", "3", "apache-export", "apache-import") }}
17
18 # Bubble up the parameters
19 [request-apache]
20 return = url ssh-public-key ssh-url notification-id ip url backend_url
21 # XXX: hardcoded values
22 config-postgres1-computer-guid = ${slap-parameter:postgres1-computer-guid}
23 config-pbs-postgres1-computer-guid = ${slap-parameter:pbs-postgres1-computer-guid}
24 config-postgres2-computer-guid = ${slap-parameter:postgres2-computer-guid}
25 config-pbs-postgres2-computer-guid = ${slap-parameter:pbs-postgres2-computer-guid}
26 config-postgres3-computer-guid = ${slap-parameter:postgres3-computer-guid}
27 config-pbs-postgres3-computer-guid = ${slap-parameter:pbs-postgres3-computer-guid}
28 config-domain = ${slap-parameter:domain}
29 config-maarch-sql-data-file = ${slap-parameter:maarch-sql-data-file}
30
31 [publish-connection-information]
32 recipe = slapos.cookbook:publish
33 backend_url = ${request-apache:connection-backend_url}
34 url = ${request-apache:connection-url}
35
36 [slap-parameter]
37 # Default parameters for distributed deployment
38 # I.e state "backup1 of postgres should go there, ..."
39 # XXX-Cedric: Hardcoded number of backups. Should be dynamically generated.
40 postgres1-computer-guid =
41 pbs-postgres1-computer-guid =
42 postgres2-computer-guid =
43 pbs-postgres2-computer-guid =
44 postgres3-computer-guid =
45 pbs-postgres3-computer-guid =
46 # XXX-Cedric: Hardcoded parameters. Should be dynamically generated.
47 domain =
48 # the following parameters are specific to maarch
49 maarch-sql-data-file =