fixup! slapos-testing: remove jio and officejs tests.
[slapos.git] / software / varnish / instance.cfg.in
1 [buildout]
2 parts =
3   switch-softwaretype
4
5 eggs-directory = {{ eggs_directory }}
6 develop-eggs-directory = {{ develop_eggs_directory }}
7 offline = true
8
9 [slap-configuration]
10 recipe = slapos.cookbook:slapconfiguration.serialised
11 computer = ${slap-connection:computer-id}
12 partition = ${slap-connection:partition-id}
13 url = ${slap-connection:server-url}
14 key = ${slap-connection:key-file}
15 cert = ${slap-connection:cert-file}
16
17 [jinja2-template-base]
18 recipe = slapos.recipe.template:jinja2
19 rendered = ${buildout:parts-directory}/${:_buildout_section_name_}/${:filename}
20 extra-context =
21 context =
22     key eggs_directory buildout:eggs-directory
23     key develop_eggs_directory buildout:develop-eggs-directory
24     key slapparameter_dict slap-configuration:configuration
25     key ipv4_set slap-configuration:ipv4
26     ${:extra-context}
27
28 [dynamic-template-varnish-parameters]
29 dash = {{ dash_location }}
30 dcron = {{ dcron_location }}
31 gcc =  {{ gcc_location }}
32 gzip =  {{ gzip_location }}
33 logrotate = {{ logrotate_location }}
34 stunnel = {{ stunnel_location }}
35 varnish = {{ varnish_location }}
36 wget = {{ wget_location }}
37 buildout-bin-directory = {{ buildout_bin_directory }}
38
39 [dynamic-template-varnish]
40 < = jinja2-template-base
41 template = {{ template_varnish }}
42 filename = instance-varnish.cfg
43 extra-context =
44     section parameter_dict dynamic-template-varnish-parameters
45
46 [switch-softwaretype]
47 recipe = slapos.cookbook:softwaretype
48 default = ${dynamic-template-varnish:rendered}
49
50 [slap-connection]
51 # part to migrate to new - separated words
52 computer-id = ${slap_connection:computer_id}
53 partition-id = ${slap_connection:partition_id}
54 server-url = ${slap_connection:server_url}
55 software-release-url = ${slap_connection:software_release_url}
56 key-file = ${slap_connection:key_file}
57 cert-file = ${slap_connection:cert_file}