Download and start a datomic transactor. Creates a runit service for datomic.
List the supported platforms from the metadata.rb file -
- Centos 6.4
This cookbook includes 'java::default' and 'java_service::default'
See attributes/default.rb
for default values
node[:datomic][:version]
= Version of datomic to installnode[:datomic][:free]
= Boolean of whether to use the free or pro versionnode[:datomic][:url]
= URL for datomic download servernode[:datomic][:checksum]
= checksum for datomic zip filenode[:datomic][:user]
= user to install datomic undernode[:datomic][:memory]
= Memory to allocate to the transactornode[:datomic][:protocol]
= Transactor protocol to usenode[:datomic][:ojdbc_jar_url]
= URL to download oracle jdbc jarnode[:datomic][:ojdbc_jar_checksum]
= checksum for ojdbc jarnode[:datomic][:extra_jars]
= Extra jars to install to the datomic/libnode[:datomic][:metrics_callback]
= Metrics function to set in transactor.propertiesnode[:datomic][:sql_user]
= user to connect to sql database withnode[:datomic][:sql_password]
= password to connect to sql database withnode[:datomic][:sql_url]
= sql database connection stringnode[:datomic][:datomic_license_key]
= datomic license keynode[:datomic][:java_opts]
= additional options to specify to java processnode[:datomic][:concurrency][:write]
= Write concurrency. Number of threads. See datomic documentation.node[:datomic][:concurrency][:read]
= Read concurrency. Number of threads. Suggest 2x write-concurrency. See datomic documentation.node[:datomic][:memcached_hosts]
= List of memcached hosts. Format: host:port(,host:port)*node[:datomic][:service_install]
= Should the datomic app be installed as a service? Default is true
###default
- creates a datomic user
- Downloads and extracts the datomic zip
- creates a symlink for datomic
- create a runit service for datomic (datomic-service)
Copyright (C) 2013 Rally Software Development Corp
Distributed under the MIT License.