Chef cookbook for Neo4J Server (Community Edition)
Switch branches/tags
Nothing to show
Pull request Compare This branch is 83 commits behind michaelklishin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Neo4J Server Chef Cookbook

This is an OpsCode Chef cookbook for Neo4J Server Community Edition.

It uses officially released tarballs to install Neo4J under /usr/local/neo4j-server, provides Upstart service script and allows you to tweak many parameters using Chef node attributes.

Neo4J Server Version

This cookbook currently provides Neo4J Server 1.7 (Community Edition) but can be used to install other versions by overriding data bag attributes.


Main recipe is neo4j-server::tarball.


All the attributes below are namespaced under node[:neo4j][:server], so :version is accessible via node[:neo4j][:server][:version] or node.neo4j.server.version and so on.

  • :version: Neo4J Server version to install (default: 1.7)
  • :installation_dir: installation location (default: /usr/local/neo4j-server)
  • :user: OS user Neo4J Server will be using (default: neo4j)
  • :lib_dir: Neo4J libraries location (default: /var/lib/neo4j-server/)
  • :data_dir: graph database location (default: /var/lib/neo4j-server/data/graph.db)
  • :conf_dir: configuration directory location (default: /usr/local/neo4j-server/conf)
  • :lock_path: .lock file location (default: /var/run/neo4j-server.lock)
  • :pid_path: .pid file location (default: /var/run/
  • [:jvm][:xmx]: maximum allowed JVM heap size, in MB (-Xmx JVM flag value) (default: 512)
  • [:http][:host]: what HTTP host should HTTP transport listen on (default:
  • [:http][:port]: what HTTP host should HTTP transport listen on (default: 7474)
  • [:https][:enabled]: whether HTTPS transport is enabled (default: true)


Either JDK 7 (OpenJDK 7 or Oracle JDK 7) or JDK 6 (OpenJDK 6 or Sun JDK 6)

Copyright & License

Michael S. Klishin, Alex Petrov, 2012.

Released under the MIT license.