[buildout] extends = # "slapos" stack describes basic things needed for 99.9% of SlapOS Software # Releases ../../stack/slapos.cfg # Extend here component profiles, like openssl, apache, mariadb, curl... # Or/and extend a stack (lamp, tomcat) that does most of the work for you # In this example we extend from helloweb component. # ../../component/component1/buildout.cfg # ../../component/component2/buildout.cfg ../../component/helloweb/buildout.cfg parts = # Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed # in 99,9% of Slapos Software Releases) slapos-cookbook # Call creation of instance.cfg file that will be called for deployment of # instance instance-profile # build helloweb programs helloweb-python helloweb-ruby # Download instance.cfg.in (buildout profile used to deployment of instance), # replace all ${foo:bar} parameters by real values, and change $${foo:bar} to # ${foo:bar} [instance-profile] recipe = slapos.recipe.template:jinja2 template = ${:_profile_base_location_}/instance.cfg.in rendered = ${buildout:directory}/instance.cfg # MD5 checksum can be skipped for development (easier to develop), but must be filled for production md5sum = be7f930921376b3c8eb51c975e24721f mode = 0644 extensions = jinja2.ext.do context = section buildout buildout