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

Refactor LWRPs into Custom Resources #175

Closed jeffbyrnes closed 8 years ago

jeffbyrnes commented 8 years ago

This closes the circle on making this cookbook a true library cookbook.

The recipes have been preserved for backwards compatibility, but attributes have otherwise been dropped in favor of default values on the resources.

The encouragement is to use these resources directly in your wrapper/application/environment cookbook(s), instead of the recipes and attributes.

Fixes #86 Fixes #157 Fixes #158

jeffbyrnes commented 8 years ago

This is feature complete! I’ve tested the default-ubuntu-14.04 suite on my machine, and will let Travis handle the rest.

I fully expect the sysv-centos-65 suite to continue to fail, as it has historically (due to a race condition in how fast the zookeeper service starts), but otherwise this should all be passing!

jeffbyrnes commented 8 years ago

Refactor zookeeper cookbook to be custom resources

jeffbyrnes commented 8 years ago

Green lights! Woohoo!