Giter VIP home page Giter VIP logo

Comments (3)

jonathanq avatar jonathanq commented on May 31, 2024

Ok - I think I have figured out the issue. There appears to be an old bug in Chef that has not yet been fixed: http://tickets.opscode.com/browse/CHEF-672

Looking at the code in github - I can see it is not loading the "libraries" directory recursively like the others: https://github.com/opscode/chef/blob/master/lib/chef/cookbook/cookbook_version_loader.rb

So on Chef Server - the client node doesn't ever see the extensions/ directory within the libraries dir. It is just not synced to the client node's local copy of the cookbook.

I am sure this works fine on chef-solo as it would have a full local copy of the cookbook.

I'll fix my local copy by just including the 2 extension methods back into extensions.rb.

from elasticsearch.

katta avatar katta commented on May 31, 2024

I have fixed this issue by moving the library files to the root directory and changing extension loading accordingly. The corresponding pull request goes here.

https://github.com/karmi/cookbook-elasticsearch/pull/45

from elasticsearch.

karmi avatar karmi commented on May 31, 2024

Hi, the current cookbook version should work with both Chef Solo and Chef Server thanks to karmi/cookbook-elasticsearch/#45. Thanks for the report!, this has been a tough bug.

from elasticsearch.

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.