software.cfg 1.14 KB
[buildout]
extends =
  ../../stack/slapos.cfg
  ../../stack/monitor/buildout.cfg
  ../../component/openssh/buildout.cfg
  ../../component/proftpd/buildout.cfg
  buildout.hash.cfg

versions = versions
parts =
  slapos-cookbook
  proftpd-config-file
  instance-profile


[download-file-base]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
download-only = true
mode = 0644

[proftpd-config-file]
<= download-file-base

[instance-default]
<= download-file-base

[instance-profile]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:filename}
rendered = ${buildout:directory}/instance.cfg
mode = 0644
extensions = jinja2.ext.do
context =
  section buildout buildout
  key instance_default instance-default:target
  key proftpd_bin proftpd-output:proftpd
  key ftpasswd_bin proftpd-output:ftpasswd
  key ftpdctl_bin proftpd-output:ftpdctl
  key ssh_keygen_bin openssh-output:keygen
  key perl_bin proftpd-output:perl
  raw template_monitor ${monitor2-template:rendered}

[versions]
collective.recipe.environment = 1.1.0
collective.recipe.grp = 1.1.0
slapos.recipe.template = 4.3
plone.recipe.command = 1.1