amithkanand/kafka-cookbook — pull request #1 by cbaenziger (2014-06-12 22:29:34+00:00)
Title: A possible Zookeeper R-Spec Test

Runs through with `bundle exec rspec` producing:
````
kafka::zookeeper
when node[:kafka][:install_method] equals :source
behaves like a valid install method
includes kafka::_setup
includes kafka::install_method recipe
behaves like a valid zookeeper setup
creates a configuration file for Zookeeper
creates a directory for Zookeeper logs
creates a configuration file for Zookeeper log4j
creates a sysconfig file
creates an init.d script for Zookeeper
enables a 'zookeeper' service
starts a 'zookeeper' service
when node[:kafka][:install_method] equals :binary
behaves like a valid install method
includes kafka::_setup
includes kafka::install_method recipe
behaves like a valid zookeeper setup
creates a configuration file for Zookeeper
creates a directory for Zookeeper logs
creates a configuration file for Zookeeper log4j
creates a sysconfig file
creates an init.d script for Zookeeper
enables a 'zookeeper' service
starts a 'zookeeper' service

````