[buildout] parts = switch-softwaretype eggs-directory = {{ eggs_directory }} develop-eggs-directory = {{ develop_eggs_directory }} offline = true [slap-parameters] recipe = slapos.cookbook:slapparameters 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} [jinja2-template-base] recipe = slapos.recipe.template:jinja2 rendered = ${buildout:parts-directory}/${:_buildout_section_name_}/${:filename} extra-context = context = key eggs_directory buildout:eggs-directory key develop_eggs_directory buildout:develop-eggs-directory jsonkey slapparameter_dict slap-parameters:json ${:extra-context} [dynamic-template-tidstorage-parameters] products = {{ product_list }} apache = {{ apache_location }} haproxy = {{ haproxy_location }} dcron = {{ dcron_location }} logrotate = {{ logrotate_location }} gzip = {{ gzip_location }} openssl = {{ openssl_location }} coreutils = {{ coreutils_location }} git = {{ git_location }} graphviz = {{ graphviz_location }} grep = {{ grep_location }} imagemagick = {{ imagemagick_location }} librsvg = {{ librsvg_location }} mariadb = {{ mariadb_location }} pdftk = {{ pdftk_location }} sed = {{ sed_location }} tesseract = {{ tesseract_location }} w3m = {{ w3m_location }} aspell = {{ aspell_location }} poppler = {{ poppler_location }} dmtx-utils = {{ dmtx_utils_location }} buildout-bin-directory = {{ buildout_bin_directory }} [dynamic-template-tidstorage] < = jinja2-template-base template = {{ template_tidstorage }} filename = instance-tidstorage.cfg extensions = jinja2.ext.do extra-context = section parameter_dict dynamic-template-tidstorage-parameters import json_module json raw zope_port_base 12000 raw zeo_port_base 15000 raw haproxy_port_base 11000 raw apache_port_base 10000 # Must match the key id in [switch-softwaretype] which uses this section. raw software_type tidstorage [dynamic-template-cloudooo-parameters] file = {{ file_location }} fontconfig = {{ fontconfig_location }} freetype = {{ freetype_location }} libICE = {{ libICE_location }} libpng12 = {{ libpng12_location }} libSM = {{ libSM_location }} libX11 = {{ libX11_location }} libXau = {{ libXau_location }} libXdmcp = {{ libXdmcp_location }} libXext = {{ libXext_location }} libxcb = {{ libxcb_location }} libXrender = {{ libXrender_location }} zlib = {{ zlib_location }} libreoffice-bin = {{ libreoffice_bin_location }} fonts = {{ fonts_location }} buildout-bin-directory = {{ buildout_bin_directory }} [dynamic-template-cloudooo] < = jinja2-template-base template = {{ template_cloudooo }} filename = instance-cloudoo.cfg extra-context = section parameter_dict dynamic-template-cloudooo-parameters import json_module json # Must match the key id in [switch-softwaretype] which uses this section. raw software_type cloudooo [dynamic-template-varnish-parameters] dash = {{ dash_location }} dcron = {{ dcron_location }} gzip = {{ gzip_location }} logrotate = {{ logrotate_location }} varnish = {{ varnish_location }} wget = {{ wget_location }} buildout-bin-directory = {{ buildout_bin_directory }} [dynamic-template-varnish] < = jinja2-template-base template = {{ template_varnish }} filename = instance-varnish.cfg extra-context = section parameter_dict dynamic-template-varnish-parameters # Must match the key id in [switch-softwaretype] which uses this section. raw software_type varnish [switch-softwaretype] recipe = slapos.cookbook:softwaretype default = {{ template_erp5_development }} production = {{ template_erp5_production }} kumofs = {{ template_kumofs }} memcached = {{ template_memcached }} cloudooo = ${dynamic-template-cloudooo:rendered} zope = {{ template_zope }} mariadb = {{ template_mariadb }} sphinx = {{ template_sphinx }} tidstorage = ${dynamic-template-tidstorage:rendered} varnish = ${dynamic-template-varnish:rendered} [slap-connection] # part to migrate to new - separated words computer-id = ${slap_connection:computer_id} partition-id = ${slap_connection:partition_id} server-url = ${slap_connection:server_url} software-release-url = ${slap_connection:software_release_url} key-file = ${slap_connection:key_file} cert-file = ${slap_connection:cert_file}