Giter Club home page Giter Club logo

Comments (10)

yourabi avatar yourabi commented on June 30, 2024

Closing - my bad.

Referenced incorrect cookbook name in metadata.rb

from zookeeper-cookbook.

jakedavis avatar jakedavis commented on June 30, 2024

Glad you figured it out! Let us know if we can help in any way; we're using this internally but there could easily be bugs all over. Thanks!

from zookeeper-cookbook.

crax avatar crax commented on June 30, 2024

I have met the same error: undefined method `new' for Zookeeper:Module, when using it in chef solo json file: "run_list": ["recipe[zookeeper]"].

Could you tell where i am wrong? Thank you.

from zookeeper-cookbook.

urog avatar urog commented on June 30, 2024

@crax I had this problem using chef 12. Use version 11.8.2 (like in the .kitchem.yml file in the cookbook) and you should be fine.

from zookeeper-cookbook.

eherot avatar eherot commented on June 30, 2024

I too ran into this error. "Fixed" by using Chef < 12. 11.16.4 seemed to work fine.

from zookeeper-cookbook.

jakedavis avatar jakedavis commented on June 30, 2024

Oh weird. Let's reopen and dig. I am going to devote some time today to running through a bunch of PRs so hopefully can figure this one out ... thanks for reporting, all.

from zookeeper-cookbook.

eherot avatar eherot commented on June 30, 2024

I'm not sure these are related. I ran into this problem when doing something that should have required no entries in metadata.rb (I had added it to a test kitchen run list).

from zookeeper-cookbook.

chkelly avatar chkelly commented on June 30, 2024

So if it helps, this is most likely because you are using chef 12. In my case, I was running the latest chef 11 in our environments and locally, but i was missing a line in our .kitchen.yml file that ensures that when kitchen.ci provisions the instance, it will use the appropriate chef version.

For example:

provisioner:
name: chef_zero
require_chef_omnibus: 11.16.4-1

Will ensure that any provisioned vagrant VMs use chef 11.16.4-1 and not chef 12 (the latest).

This does mean that this cookbook is incompatible with chef 12, something that should be looked into though.

from zookeeper-cookbook.

eherot avatar eherot commented on June 30, 2024

@chkelly I assume this doesn't mean that you're saying it's a bug in Chef 12, right?

from zookeeper-cookbook.

mikesplain avatar mikesplain commented on June 30, 2024

@eherot @chkelly This looks like a chef-client error. Others are seeing it too: chef/chef#2575

from zookeeper-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.