bbaugher / apache_zookeeper

Chef cookbook for Apache Zookeeper
MIT License
9 stars 22 forks source link

`default` recipe fails compile with `TypeError`: no implicit conversion of String into Integer #31

Closed cog-piisang closed 8 years ago

cog-piisang commented 9 years ago

Cookbook Trace:


/var/chef/cache/cookbooks/apache_zookeeper/recipes/default.rb:6:in `[]'
/var/chef/cache/cookbooks/apache_zookeeper/recipes/default.rb:6:in `from_file'

Relevant File Content:


/var/chef/cache/cookbooks/apache_zookeeper/recipes/default.rb:

1:  #
2:  # Cookbook Name:: apache_zookeeper
3:  # Recipe:: default
4:  #
5:  
6>> include_recipe['install']
7:  include_recipe['configure']
8:  include_recipe['service']
9:  

Workaround

Include recipes one by one

include_recipe 'apache_zookeeper::install' 
include_recipe 'apache_zookeeper::configure'
include_recipe 'apache_zookeeper::service' 
bbaugher commented 8 years ago

Fixed by, https://github.com/bbaugher/apache_zookeeper/commit/160042acce435b272bc860c57e0b182620dd5ccd