evertrue / zookeeper-cookbook

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

pax headers casue failure to compile with test kitchen. #106

Closed willejs closed 10 years ago

willejs commented 10 years ago

I am running the zookeeper 2.4.1 cookbook on os x, and get this error. From other reports its something todo with bsd tar on a mac? I guess berkshelf is untaring the cookbook... https://github.com/lusis/chef-logstash/issues/294

Can you guys publish the latest version to chef supermarket and preferably publish from ubuntu?

Compiling Cookbooks...       
[2014-09-19T16:53:51+00:00] INFO: WindowsPackage lightweight resource already initialized -- overriding!       

================================================================================       
Recipe Compile Error in /tmp/kitchen/cookbooks/zookeeper/providers/PaxHeader/config.rb       
================================================================================       

SyntaxError       
-----------       
/tmp/kitchen/cookbooks/zookeeper/providers/PaxHeader/config.rb:1: syntax error, unexpected tIDENTIFIER, expecting $end       
17 gid=993687553       
      ^       
jakedavis commented 10 years ago

@willejs, I'm not really sure where to begin here. This sounds like a bug in Berkshelf if I'm reading correctly. I actually have not been involved in the releasing of this cookbook, which @solarce graciously picked up recently.

If I can ask, are you trying to actually run and deploy ZK on an OSX box, or is that for testing? I might suggest test-kitchen or similar if it's the latter.

miah commented 10 years ago

https://github.com/berkshelf/berkshelf/issues/1132

willejs commented 10 years ago

Thanks @miah Until there is a fix, i just specified the version in my berksfile :(

cookbook 'zookeeper', github: 'SimpleFinance/chef-zookeeper', tag: '2.4.3'