software.cfg 1.66 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
[buildout]

extends =
  ../../component/zabbix/buildout.cfg
  ../../stack/slapos.cfg
  ../../stack/lamp/buildout.cfg

parts +=
  slapos-cookbook
  zabbix-server
  apache-php
  instance-apache-php

[zabbix-instances]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-zabbix.cfg.in
output = ${buildout:directory}/custom-apache-php.cfg
#md5sum = 3e2d71d3684aac3e52d2f55794df96bf
mode = 0644

[custom-application-deployment]
path = ${zabbix-instances:output}
part-list = install-zabbix-db

[application]
recipe = plone.recipe.command
command = echo "I've already downloaded package"
update-command = 
location = ${zabbix-server:compile-directory}/zabbix-${zabbix-server:version}/frontends/php

[download-base]
recipe = slapos.recipe.download
location = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
url = ${:_profile_base_location_}/${:filename}

[application-template]
<= download-base
#md5sum = Student may put here md5sum of this file, this is good idea
filename = zabbix.conf.php.in

[template-zabbix-conf]
<= download-base
#md5sum = Student may put here md5sum of this file, this is good idea
filename = zabbix_server.conf.in

[template-httpd-conf]
<= download-base
#md5sum = Student may put here md5sum of this file, this is good idea
filename = apache.conf.in

[template-zabbix-database]
<= download-base
#md5sum = Student may put here md5sum of this file, this is good idea
filename = database.sh.in

[zabbix-svcdeamon]
<= download-base
#md5sum = Student may put here md5sum of this file, this is good idea
url = ${:_profile_base_location_}/scripts/${:filename}
filename = svcdaemon.py

[application-configuration]
location = conf/zabbix.conf.php