Merge remote-tracking branch 'origin/gitweb'
[slapos.git] / software / nginx-push-stream / instance.cfg.in
1 [buildout]
2 parts =
3   switch-softwaretype
4
5 eggs-directory = ${buildout:eggs-directory}
6 develop-eggs-directory = ${buildout:develop-eggs-directory}
7 offline = true
8
9 [switch-softwaretype]
10 recipe = slapos.cookbook:softwaretype
11 default = $${:nginx}
12 nginx = $${dynamic-template-nginx:rendered}
13
14 [dynamic-template-nginx]
15 recipe = slapos.recipe.template:jinja2
16 template = ${template-nginx:output}
17 rendered = $${buildout:parts-directory}/$${:_buildout_section_name_}/$${:filename}
18 filename = instance-nginx.cfg
19
20 [slap-connection]
21 computer-id = $${slap_connection:computer_id}
22 partition-id = $${slap_connection:partition_id}
23 server-url = $${slap_connection:server_url}
24 software-release-url = $${slap_connection:software_release_url}
25 key-file = $${slap_connection:key_file}
26 cert-file = $${slap_connection:cert_file}
27
28 [instance-parameter]
29 # Fetches parameters defined in SlapOS Master for this instance.
30 # Always the same.
31 recipe = slapos.cookbook:slapconfiguration.serialised
32 computer = $${slap_connection:computer_id}
33 partition = $${slap_connection:partition_id}
34 url = $${slap_connection:server_url}
35 key = $${slap_connection:key_file}
36 cert = $${slap_connection:cert_file}