Cloudooo: simplify develop eggs
[slapos.git] / software / cloudooo / software.cfg
1 [buildout]
2 extends =
3   ../../stack/cloudooo.cfg
4
5 parts +=
6 # Local development
7   cloudooo-develop
8   slapos-cookbook-develop
9   slapos-cookbook
10
11 # Create instance template
12   template
13
14 [slap-parameters]
15 recipe = slapos.cookbook:slapconfiguration
16 computer = ${slap-connection:computer-id}
17 partition = ${slap-connection:partition-id}
18 url = ${slap-connection:server-url}
19 key = ${slap-connection:key-file}
20 cert = ${slap-connection:cert-file}
21
22 [template-jinja2-base]
23 recipe = slapos.recipe.template:jinja2
24 template = ${:_profile_base_location_}/${:filename}.in
25 rendered = ${buildout:directory}/${:filename}
26 # XXX: extra-context is needed because we cannot append to a key of an extended
27 # section.
28 extra-context =
29 context =
30     key bin_directory buildout:bin-directory
31     key develop_eggs_directory buildout:develop-eggs-directory
32     key eggs_directory buildout:eggs-directory
33     ${:extra-context}
34
35 [template]
36 < = template-jinja2-base
37 # XXX: "template.cfg" is hardcoded in instanciation recipe
38 filename = template.cfg
39 template = ${:_profile_base_location_}/instance.cfg.in
40 md5sum = 1c5dab821393845b118644686154710f
41 extra-context =
42     key buildout_bin_directory buildout:bin-directory
43     key cups_location cups:location
44     key dbus_location dbus:location
45     key dbus_glib_location dbus-glib:location
46     key dcron_location dcron:location
47     key file_location file:location
48     key fontconfig_location fontconfig:location
49     key fonts_location fonts:location
50     key freetype_location freetype:location
51     key git_location git:location
52     key glib_location glib:location
53     key haproxy_location haproxy:location
54     key imagemagick_location imagemagick:location
55     key libICE_location libICE:location
56     key libSM_location libSM:location
57     key libX11_location libX11:location
58     key libXau_location libXau:location
59     key libXdmcp_location libXdmcp:location
60     key libXext_location libXext:location
61     key libXrender_location libXrender:location
62     key libffi_location libffi:location
63     key libpng12_location libpng12:location
64     key libreoffice_bin_location libreoffice-bin:location
65     key libxcb_location libxcb:location
66     key openssl_location openssl:location
67     key poppler_location poppler:location
68     key template_cloudooo template-cloudooo:target
69     key zlib_location zlib:location
70     key coreutils_location coreutils:location
71
72 [template-cloudooo]
73 recipe = slapos.recipe.build:download
74 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
75 md5sum = 740a313b0d9d98800b099af8bf7cd0a7
76 mode = 640