Comments (6)
I am discovering the missing plugins one by one and cursing you all the way... :P
from cookbook-elk-stack.
Also, berkshelf fails spectacularly on my OS X installation with convoluted git related errors, which is a big bummer.
from cookbook-elk-stack.
Could this be partly solved with the following snippet?
Required Vagrant plugins for this script. (Not sure if comma separation is correct)
required_plugins = %w( vagrant-omnibus, vagrant-berkshelf )
Install required Vagrant plugins.
required_plugins.each do |plugin|
system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin
end
from cookbook-elk-stack.
Probably :)
from cookbook-elk-stack.
@SvenBayer there is a whole thread on this issue where Vagrant is missing something like a Gemfile to automatically install missing plugins, with all kinds of more or less sophisticated workarounds ;-)
hashicorp/vagrant#1874
It's really sad that this mechanism is still not in yet :-(
@damphyr haha, rememeber our vagrant-plugin-bundler nightly hack session from 2 years ago at the camp?! :-)))
On the plugin dependencies: I wanted to save on the additional code for installing missing plugins and intended to "document" the plugin requirements here in the Vagrantfile. Also I wouldn't want a vagrant up
to install new plugins as a side effect, because plugins are global and would possibly break my other vagrant projects.
My way of dealing with that in projects is to distribute a "DevPack" like bills-kitchen for windows users, or a VM like linus-kitchen for linux users. Then I only refer to "needs (bills|linus)-kitchen version X.Y.Z)" in the README (which is clearly missing here -- sorry for that...). Also, there is no steves-kitchen yet Vassilis ;-)
from cookbook-elk-stack.
Finally, I was already tempted to remove the Vagrantfile
for exactly the problems you are having now. You don't even need it as you can do the very same things using test-kitchen too, it's just a slighly different syntax:
- https://github.com/CatCalZone/catcalzone-infrastructure/wiki#test-kitchen
- https://github.com/tknerr/zdays2015-demo-repo/tree/master/chef-tdd-test-kitchen
It still uses the vagrant driver, but does not need any additional plugins (test-kitchen handles the installation of the omnibus chef client and also runs berkshelf on its own)
Last but not least: in the context of the new Policyfiles feature berkshelf will eventually get replaced by a pure ruby based dependency solver (= no need to compile libgecode on bundle install
which takes forever), but not sure when this is going to happen.
It would be super interesting for us (topic team) to take a look at the Policyfiles, but right now it seems not mainstream enough to me yet to replace berkshelf (e.g. there is no vagrant-policyfiles plugin yet, not sure if it works in a chef-serverless workflow, etc...)
from cookbook-elk-stack.
Related Issues (13)
- Permissions for provisioning script not correct HOT 4
- elasticsearch not accessible HOT 7
- Add Contributing and License section to README HOT 1
- Fix CircleCI build / make it run in Docker
- Add Instructions how to use it from an "foreign" Vagrantfile HOT 1
- Make it public :-) HOT 2
- Berkshelf crashes on OS X HOT 3
- Provisioner error in Vagrantfile HOT 1
- Update to latest Kibana Version
- Use lmenezes/elasticsearch-kopf instead of mobz/elasticsearch-head
- Kibana should log to file, not stdout HOT 1
- '/var/run/elk-stack.firstrun' 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 cookbook-elk-stack.