Sha256: 2003ee55c32c080cc6406e39c5ccdea765df707ded1e41079393ba802c3cbe04
Contents?: true
Size: 917 Bytes
Versions: 1
Compression:
Stored size: 917 Bytes
Contents
# Populus [WIP][Will breaking change] Consul event handlers definition DSL ## Installation Add this line to your application's Gemfile: ```ruby gem 'populus' ``` And then execute: $ bundle Or install it yourself as: $ gem install populus ## Usage ### Usages below are just a draft ```ruby Populus.watch 'node' do on_receive do |nodes| if nodes.count < 10 logger.warn "nodes are too short!" end end end ``` ```bash consul watch -type node "bundle exec populus accept sample.popl" ``` ### TODOs * Deployment switching by node name * Condition phrase against JSON * Local/remote execution by specinfra ## Contributing 1. Fork it ( https://github.com/udzura/populus/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
populus-0.0.1 | README.md |