Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing Marvel #237

Closed
julien51 opened this issue Sep 9, 2014 · 4 comments
Closed

Installing Marvel #237

julien51 opened this issue Sep 9, 2014 · 4 comments

Comments

@julien51
Copy link

julien51 commented Sep 9, 2014

Is there a recipe (that I couldn't find!) to install Marvel with chef as well?

@karmi
Copy link
Contributor

karmi commented Sep 9, 2014

Marvel is a regular plugin, so it should be straightforward to install it, just like any other plugin -- set the node attributes, data bag, etc. See e.g. the test Vagrantfile.

@spuder
Copy link
Contributor

spuder commented Mar 10, 2015

I am also looking for an example of how to install a plugin using a wrapper chef cookbook. Did you ever figure this out?

@spuder
Copy link
Contributor

spuder commented Mar 10, 2015

I figured it out

In your wrapper cookbook recipes/default.rb, include the plugins recipe

include_recipe 'java'
include_recipe 'elasticsearch::default'
include_recipe 'elasticsearch::proxy'
include_recipe 'elasticsearch::plugins'

In the customize.rb

normal[:java][:jdk_version] = '7'

normal[:elasticsearch][:version] = '1.4.4'
normal[:elasticsearch][:enabled] = true
normal[:elasticsearch][:cluster][:name] = 'example'

normal[:elasticsearch][:plugins] = {
  'karmi/elasticsearch-paramedic' => { 
    :url => 'https://github.com/karmi/elasticsearch-paramedic/archive/master.zip'
  }
}

@martinb3
Copy link
Contributor

martinb3 commented Jul 7, 2015

Hi there -- it sounds like you have resolved your issue, so I'm going to go ahead and close this. We've re-written the cookbook using libraries that expose resources and providers, so it should also be much easier to install plugins. Hope this helps!

@martinb3 martinb3 closed this as completed Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants