slaprunner: add configurable cpu-ratio parameter
[slapos.git] / software / cloudooo / 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-parameters]
10 recipe = slapos.cookbook:slapconfiguration
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-parameters:configuration
25     ${:extra-context}
26
27 [dynamic-template-cloudooo-parameters]
28 cups = {{ cups_location }}
29 dbus = {{ dbus_location }}
30 dbus-glib = {{ dbus_glib_location }}
31 file = {{ file_location }}
32 fontconfig = {{ fontconfig_location }}
33 freetype = {{ freetype_location }}
34 glib = {{ glib_location }}
35 haproxy = {{ haproxy_location }}
36 libffi = {{ libffi_location }}
37 libICE = {{ libICE_location }}
38 libpng12 = {{ libpng12_location }}
39 libSM = {{ libSM_location }}
40 libX11 = {{ libX11_location }}
41 libXau = {{ libXau_location }}
42 libXdmcp = {{ libXdmcp_location }}
43 libXext = {{ libXext_location }}
44 libxcb = {{ libxcb_location }}
45 libXrender = {{ libXrender_location }}
46 zlib = {{ zlib_location }}
47 libreoffice-bin = {{ libreoffice_bin_location }}
48 fonts = {{ fonts_location }}
49 coreutils = {{ coreutils_location }}
50 imagemagick = {{ imagemagick_location }}
51 poppler = {{ poppler_location }}
52 buildout-bin-directory = {{ buildout_bin_directory }}
53
54 [dynamic-template-cloudooo]
55 < = jinja2-template-base
56 template = {{ template_cloudooo }}
57 filename = instance-cloudoo.cfg
58 extensions = jinja2.ext.do
59 extra-context =
60     section parameter_dict dynamic-template-cloudooo-parameters
61     key ipv4_set slap-parameters:ipv4
62
63 [switch-softwaretype]
64 recipe = slapos.cookbook:softwaretype
65 default = ${dynamic-template-cloudooo:rendered}
66
67 [slap-connection]
68 # part to migrate to new - separated words
69 computer-id = ${slap_connection:computer_id}
70 partition-id = ${slap_connection:partition_id}
71 server-url = ${slap_connection:server_url}
72 software-release-url = ${slap_connection:software_release_url}
73 key-file = ${slap_connection:key_file}
74 cert-file = ${slap_connection:cert_file}