evertrue / zookeeper-cookbook

Chef cookbook for installing and managing Zookeeper.
https://supermarket.chef.io/cookbooks/zookeeper
Apache License 2.0
81 stars 119 forks source link

Add zookeeper_config resource #89

Closed jakedavis closed 10 years ago

jakedavis commented 10 years ago

Adds a new resource zookeeper_config which is capable of rendering the expected config for Zookeeper. Needs defaults, I'll add in next commit. Will post-merge bump to 2.1.0 since it's a new feature but backwards-compatible.

87

jakedavis commented 10 years ago

@whilp said he "would +1 but wants a test" :) should be just a few minutes on that.

https://github.com/SimpleFinance/chef-zookeeper/issues/85

whilp commented 10 years ago

+1 w/ tests.

jakedavis commented 10 years ago

@whilp 4 u

jake@mbp zookeeper (config): ruby test/unit/config_spec.rb
Run options: --seed 19463

# Running:

..

Fabulous run in 0.001185s, 1687.7637 runs/s, 1687.7637 assertions/s.

2 runs, 2 assertions, 0 failures, 0 errors, 0 skips
whilp commented 10 years ago

Fabulous run in 0.001185s, 1687.7637 runs/s, 1687.7637 assertions/s.

whilp commented 10 years ago

Fabulous

whilp commented 10 years ago

+1!