-
Notifications
You must be signed in to change notification settings - Fork 143
Conversation
Hi @davidski -- I'd love to see the test fixture cookbook install a plugin and then have a serverspec test to verify that the plugin was successfully installed. We probably also want to add the implementation method for the :remove action, even if we don't implement it (emit a log saying so?). Thank you for the first pass!! |
Thanks for this PR. We're testing it our on one of our nodes and seeing a failure on a rerun:
|
Hello @martinb3, do you have any ideea when this commit will be merget into master? Thank you. |
Sorry, @catalinvr. The delay has been on my end as I've been pulled away on other projects. :( @msaffitz - The failure on repeated runs is due to lack of a good mechanism to query what plugins are installed for a proper guard. The Logstash cookbook, where this pattern was lifted, hacks around it in a rather awkward way. I'm a bit stumped on how to robustly fix this with the current state of the kibana plugin command. @martinb3 - I've updated this PR with a simple warn action for removals (removals of plugins take a different format than installs, which is why full removal support doesn't exist). The test fixture cookbook now installs the timelion plugin. I'm not sure of the best way to test this as there isn't a nice url you can hit directly to confirm install. I support I could hack in support to look for the files getting dropped, but seems...well...hackish. :) Any advice on how to proceed? Oh, I also updated the |
@@ -2,6 +2,12 @@ | |||
include_recipe 'elasticsearch::default' | |||
include_recipe 'kibana_lwrp::install' | |||
|
|||
# sample plugin installation | |||
kibana_plugin 'kibana/timelion' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should just be 'timelion' since that is the plugin name and directory name, right?
kibana_plugin 'timelion' do
url 'kibana/timelion'
action :install
end
If we had a resource with the actual plugin name, we might be able to better finagle an uninstall action using that name and looking for a directory by the same name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @davidski -- any thoughts on having the resource name be the plugin name?
Hello guys, |
@catalinvr I'd still like to review #115 (comment) more thoroughly. I think the resource name should be the plugin name, vs. 'repo/name'. |
That's a good idea. In this case will be like in the elasticsearch cookbook. Also, a good probability is that when you install Kibana, to install Elasticsearch. |
Just wanted to +1, I'd love to use this for standing up a monitoring cluster for ES 2.x |
Any word on the status? |
@martinb3 any chance this can get merged soon? |
Hi @davidski -- any thoughts about my comment here? Also, what do you think about not doing the 'tarball' style? I feel like someone can just use the |
is this project dead? |
@eedwardsdisco No, there's only a single PR outstanding and there's questions waiting to be answered on it. |
just a +1 here on needing this feature. |
I haven't heard anything follow ups from @davidski so I'll go ahead and finish this up myself when I get a chance. If anyone else is interested in contributing commits, don't let me stop you :) 👍 |
@martinb3 appreciate the follow up and the work, thanks! |
any progress on this would be monumental, thanks @martinb3 |
Egads. This PR totally dropped off my radar. I'm not using this cookbook at the moment, but if this is still a valid feature, I'd be happy to take a stab and addressing @martinb3 comments and requests. A 👍 or 👎 on whether this is still needed would be appreciated. |
@davidski I'm in the same boat. Let's see if we get any 👍 or 👎 . |
Definitely a +1 from me!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marking this as "request changes" so we remember that it needs more work before merging. I still haven't had a real good chance to tackle this :/
👍 |
Add kibana_plugin provider, adapted from lusis/chef-logstash. Addresses #110