Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

coordination helpers for distributed celluloid for use with systems automation frameworks e.g. Chef

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 cookbooks
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Guardfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 NOTICE
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Vagrantfile
Octocat-spinner-32 pylon.gemspec


A library designed to allow you to perform simple master election while knowing little about your peers, for use with Chef.


  • JRuby 1.6 or 1.7, (1.9 mode only)
  • ZeroMQ 2.1
  • Zookeeper ~3.3.3

Command Line Usage

There is a command line 'pylon' script included for starting test instances of the library.

Give it a shot!

This will give you two pylon nodes running across eth1, on the tcp ip/port specified, with multicast and multicast loopback enabled. Should see a master election happen! Enjoy.

# apt-get isntall libzmq-dev
# apt-get install zookeeperd
$ bundle install
$ bundle exec bin/pylon -l debug --dcell-addr tcp:// --dcell-id haxstation1
$ bundle exec bin/pylon -l debug --dcell-addr tcp:// --dcell-id haxstation2
Something went wrong with that request. Please try again.