software.cfg 2.67 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

[template-jinja2-base]
recipe = slapos.recipe.template:jinja2
24
mode = 640
25 26 27 28 29 30 31 32 33 34
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}
35 36

[template]
37 38 39 40
< = template-jinja2-base
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
41
md5sum = 2ad39c607cfa80bf87dd6258c29754c3
42 43
extra-context =
    key buildout_bin_directory buildout:bin-directory
44
    key coreutils_location coreutils:location
45 46
    key cups_location cups:location
    key dbus_glib_location dbus-glib:location
47
    key dbus_location dbus:location
48 49 50 51 52 53
    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
54
    key glib_location glib:location
55
    key glu_location glu:location
56
    key haproxy_location haproxy:location
57 58 59 60 61 62 63 64
    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
65
    key libexpat_location libexpat:location
66
    key libffi_location libffi:location
67 68 69
    key libpng12_location libpng12:location
    key libreoffice_bin_location libreoffice-bin:location
    key libxcb_location libxcb:location
70
    key mesa_location mesa:location
71 72 73
    key openssl_location openssl:location
    key poppler_location poppler:location
    key template_cloudooo template-cloudooo:target
74 75
    key xdamage_location xdamage:location
    key xfixes_location xfixes:location
76 77 78 79 80
    key zlib_location zlib:location

[template-cloudooo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
81
md5sum = 4bede3be20dbc2ecfdb5d49b3184742e
82
mode = 640