Giter Site home page Giter Site logo

Comments (4)

harlanbarnes avatar harlanbarnes commented on July 20, 2024

Right. Conditional dependencies. I think everybody has been wanting that from Chef from the beginning of time. :-) Personally, I don't care that much about having extra cookbooks on my server though, but I see your point.

I think this:

https://github.com/onehealth-cookbooks/apache2/blob/master/recipes/logrotate.rb

is the kind of "loose coupling" you are looking for ... plus a case statement type thing for the different ruby type (i.e. auto or none at the moment). Basically if you use the apache2::logrotate is called and you didn't otherwise have the logrotate loaded, it'll blow up.

Sure, I can do that. 👍

from chef-lita.

harlanbarnes avatar harlanbarnes commented on July 20, 2024

I've thought a lot about this and in the short-ish term, I'm just going to leave this as is. I want the default to "just work" for newcomers to Lita. Making them loosely coupled would cause extra steps by those folks. And my first priority needs to be those who want to use Lita and may or may not know all that much about Chef and how to upload cookbooks that are needed but not uploaded via Berkshelf.

That said, I'll look into a way to make the default / auto methods to install Ruby and Redis on their own and not use the external cookbooks. This will probably be mostly a copy/paste job from those cookbooks to get the basic setup going.

from chef-lita.

harlanbarnes avatar harlanbarnes commented on July 20, 2024

One more thing, if you don't have any unused cookbooks in your Chef server you have some trick I don't know about. I've got the windows cookbook required by some of the core community cookbooks and zero windows machines in my whole environment. 😄

from chef-lita.

harlanbarnes avatar harlanbarnes commented on July 20, 2024

I've decided to leave this as-is long term. I was going to take on maintaining "mini-versions" of the rubyng and redis recipes in the for those that wanted a turnkey solution. But that seems like a bad idea the more I think about it. I could be persuaded, but for now, I'm closing this.

from chef-lita.

Related Issues (15)

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.