Name Last Update
..
6tunnel Loading commit data...
accords Loading commit data...
addresiliency Loading commit data...
apacheperl Loading commit data...
apachephp Loading commit data...
apachephpconfigure Loading commit data...
apacheproxy Loading commit data...
boinc Loading commit data...
bonjourgrid Loading commit data...
certificate_authority Loading commit data...
check_page_content Loading commit data...
check_parameter Loading commit data...
check_url_available Loading commit data...
cloud9 Loading commit data...
condor Loading commit data...
davstorage Loading commit data...
erp5_promise Loading commit data...
erp5_test Loading commit data...
erp5scalabilitytestbed Loading commit data...
erp5testnode Loading commit data...
fontconfig Loading commit data...
generic_cloudooo Loading commit data...
generic_kumofs Loading commit data...
generic_memcached Loading commit data...
generic_mysql Loading commit data...
generic_varnish Loading commit data...
haproxy Loading commit data...
kvm_frontend Loading commit data...
lamp Loading commit data...
lampgeneric Loading commit data...
libcloud Loading commit data...
librecipe Loading commit data...
mioga Loading commit data...
mysql Loading commit data...
nbdserver Loading commit data...
nosqltestbed Loading commit data...
novnc Loading commit data...
onetimeupload Loading commit data...
postgres Loading commit data...
proactive Loading commit data...
re6stnet Loading commit data...
redis Loading commit data...
reverse_proxy_nginx Loading commit data...
sheepdogtestbed Loading commit data...
simplehttpserver Loading commit data...
siptester Loading commit data...
sphinx Loading commit data...
squid Loading commit data...
stunnel Loading commit data...
tidstorage Loading commit data...
web_checker Loading commit data...
xwiki Loading commit data...
zabbixagent Loading commit data...
zeo Loading commit data...
zimbra_kvm Loading commit data...
README.generic_cloudooo.rst Loading commit data...
README.generic_varnish.rst Loading commit data...
README.kvm.rst Loading commit data...
README.kvm_frontend.rst Loading commit data...
README.lamp.rst Loading commit data...
README.libcloud.rst Loading commit data...
README.librecipe.rst Loading commit data...
README.mkdirectory.rst Loading commit data...
README.zero_knowledge.rst Loading commit data...
__init__.py Loading commit data...
_urlparse.py Loading commit data...
_uuid.py Loading commit data...
check_port_listening.py Loading commit data...
container.py Loading commit data...
copyfilelist.py Loading commit data...
dcron.py Loading commit data...
dropbear.py Loading commit data...
duplicity.py Loading commit data...
equeue.py Loading commit data...
free_port.py Loading commit data...
gitinit.py Loading commit data...
jsondump.py Loading commit data...
libcloudrequest.py Loading commit data...
logrotate.py Loading commit data...
mkdirectory.py Loading commit data...
mydumper.py Loading commit data...
neoppod.py Loading commit data...
notifier.py Loading commit data...
pbs.py Loading commit data...
promise_plugin.py Loading commit data...
publish.py Loading commit data...
publish_early.py Loading commit data...
publishurl.py Loading commit data...
random.py Loading commit data...
readline.py Loading commit data...
request.py Loading commit data...
shell.py Loading commit data...
signal_wrapper.py Loading commit data...
simplelogger.py Loading commit data...
slapconfiguration.py Loading commit data...
softwaretype.py Loading commit data...
sshkeys_authority.py Loading commit data...
switch_softwaretype.py Loading commit data...
symbolic_link.py Loading commit data...
trac.py Loading commit data...
userinfo.py Loading commit data...
wrapper.py Loading commit data...
zero_knowledge.py Loading commit data...

generic_cloudooo

The generic_cloudooo recipe helps you to deploy cloudooo services with their configuration files.

How to use generic_cloudooo?

Here is an example of a section to add in your software.cfg :

[cloudooo-configuration]
recipe = slapos.cookbook:generic_cloudooo
configuration-file = ${directory:etc}/cloudooo.cfg
wrapper = ${directory:services}/cloudooo
data-directory = ${directory:srv}/cloudooo
ip = 0.0.0.0
port = 1234
ooo-paster = ${directory:bin}/cloudooo_paster
mimetype_entry_addition =
  text/html application/pdf wkhtmltopdf
openoffice-port = 1235
ooo-binary-path = ${directory:libreoffice-bin}/program
environment =
  FONTCONFIG_FILE = ${fontconfig-instance:conf-path}
  PATH = ${binary-link:target-directory}
ooo-uno-path = ${directory:libreoffice-bin}/basis-link/program

Where :

  • configuration-file is the path where the put the configuration file;

  • wrapper is the path where the put the final executable file;

  • data-directory is the folder where cloudooo would put it's temporary files;

  • ip and port is where cloudooo will listen to;

  • ooo-paster is the path of the program that will load cloudooo configuration and start the application;

  • mimetype_entry_addition is additional entries to give to the default mimetype registry. (see section below.) The mimetype entry list is sorted in order to make the global mimetype at the bottom of the list. (i.e. * * ooo > text/* * ooo)

    mimetype_entry_addition =
      <input_format> <output_format> <handler>
    
  • openoffice-port is the port where the internal OpenOffice.org service will listen to;

  • ooo-binary-path is the path of the openoffice service executable file;

  • environment are environment vars to use with the openoffice binary;

  • ooo-uno-path is the path where UNO library is installed.

Default mimetype registry

application/vnd.oasis.opendocument* * ooo
application/vnd.sun.xml* * ooo
application/pdf text/* pdf
application/pdf * ooo
video/* * ffmpeg
audio/* * ffmpeg
application/x-shockwave-flash * ffmpeg
application/ogg * ffmpeg
application/ogv * ffmpeg
image/png image/jpeg imagemagick
image/png * ooo
image/* image/* imagemagick
text/* * ooo
application/zip * ooo
application/msword * ooo
application/vnd* * ooo
application/x-vnd* * ooo
application/postscript * ooo
application/wmf * ooo
application/csv * ooo
application/x-openoffice-gdimetafile * ooo
application/x-emf * ooo
application/emf * ooo
application/octet* * ooo
* application/vnd.oasis.opendocument* ooo