Comments (4)
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.
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.
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.
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)
- You could use #inspect instead of quoting/parsing symbols HOT 3
- Deprecated config.adapter - New HipChat 2.0.0 plugin requires config.adapters HOT 2
- Lita v4 deprecates struct style access of config.redis
- Test Kitchen fails due to "missing 'VERSION' file" HOT 2
- Include the rest of the lita configuration options HOT 1
- Install to Non-Default Dir HOT 2
- lita, LANG, and US-ASCII HOT 6
- Ubuntu 12.04 ruby path HOT 1
- Documentation HOT 1
- Adding auth groups HOT 1
- Rack 2.0.1 breaks `bundle install` HOT 2
- Embrace the Hack: Use Ruby to Write Ruby HOT 1
- Switch to runit HOT 2
- Background lita with the init process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-lita.