Add nayuos software recipe.
[slapos.git] / software / nayuos / software.cfg
1 [buildout]
2 extends =
3 # basic needs
4   ../../stack/slapos.cfg
5
6 parts +=
7 # use stack/slapos.cfg
8   slapos-cookbook
9   verify-sudo-exists-on-host
10   template-instance
11   install-eggs-for-the-instance
12
13 #add eggs needed by the instance
14 find-links += 
15   https://pypi.python.org/packages/source/s/slapos.recipe.build/slapos.recipe.build-0.21.tar.gz
16   https://pypi.python.org/packages/source/p/plone.recipe.command/plone.recipe.command-1.1.zip
17
18 versions = versions
19
20 [versions]
21 plone.recipe.command = 1.1
22 slapos.recipe.template = 2.8
23 slapos.recipe.build = 0.21
24
25 [verify-sudo-exists-on-host]
26 recipe = plone.recipe.command
27 stop-on-error = true
28 # run the same command when installing and on updates
29 update-command = ${:command}
30 command = sudo -V
31
32 [template-instance]
33 # create the instance.cfg file in the buildout directory
34 # (use jinja for templating)
35 recipe = slapos.recipe.template:jinja2
36 template = ${:_profile_base_location_}/instance.cfg
37 rendered = ${buildout:directory}/instance.cfg
38 md5sum = d5a12b1ea814b4bb6792dfebaa655f90
39 mode = 0644
40 scripts_dir = ${:_profile_base_location_}/scripts
41 logo_dir = ${:_profile_base_location_}/logo
42 context =
43 # for access to the eggs from the instance
44   key eggs_directory buildout:eggs-directory
45   key develop_eggs_directory buildout:develop-eggs-directory
46   key scripts_dir :scripts_dir
47   key logo_dir :logo_dir
48
49 [install-eggs-for-the-instance]
50 # after installation of the eggs, the recipes
51 # will be available (added to sys.path)
52 recipe = zc.recipe.egg
53 eggs = slapos.recipe.build
54        plone.recipe.command