software.cfg 2.46 KB
Newer Older
1 2
[buildout]
extends =
3
  ../../stack/cloudooo.cfg
4 5

parts +=
6
# Local development
7 8
  cloudooo-develop
  slapos-cookbook-develop
9
  slapos-cookbook
10

11 12
# Create instance template
  template
13

14 15 16 17 18 19 20
[slap-parameters]
recipe = slapos.cookbook:slapconfiguration
computer = ${slap-connection:computer-id}
partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
21 22 23 24 25 26 27 28 29 30 31 32 33

[template-jinja2-base]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}.in
rendered = ${buildout:directory}/${:filename}
# XXX: extra-context is needed because we cannot append to a key of an extended
# section.
extra-context =
context =
    key bin_directory buildout:bin-directory
    key develop_eggs_directory buildout:develop-eggs-directory
    key eggs_directory buildout:eggs-directory
    ${:extra-context}
34 35

[template]
36 37 38 39
< = template-jinja2-base
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
40
md5sum = 1c5dab821393845b118644686154710f
41 42
extra-context =
    key buildout_bin_directory buildout:bin-directory
43 44 45
    key cups_location cups:location
    key dbus_location dbus:location
    key dbus_glib_location dbus-glib:location
46 47 48 49 50 51
    key dcron_location dcron:location
    key file_location file:location
    key fontconfig_location fontconfig:location
    key fonts_location fonts:location
    key freetype_location freetype:location
    key git_location git:location
52
    key glib_location glib:location
53
    key haproxy_location haproxy:location
54 55 56 57 58 59 60 61
    key imagemagick_location imagemagick:location
    key libICE_location libICE:location
    key libSM_location libSM:location
    key libX11_location libX11:location
    key libXau_location libXau:location
    key libXdmcp_location libXdmcp:location
    key libXext_location libXext:location
    key libXrender_location libXrender:location
62
    key libffi_location libffi:location
63 64 65 66 67 68 69 70 71 72 73 74
    key libpng12_location libpng12:location
    key libreoffice_bin_location libreoffice-bin:location
    key libxcb_location libxcb:location
    key openssl_location openssl:location
    key poppler_location poppler:location
    key template_cloudooo template-cloudooo:target
    key zlib_location zlib:location
    key coreutils_location coreutils:location

[template-cloudooo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
75
md5sum = 740a313b0d9d98800b099af8bf7cd0a7
76
mode = 640