-
-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test simple plugin install as part of default
- Test default simple plugin install as part of default test suite. - Add example using the test to the documentation. Add more simple examples to the README.md, demonstrating the defaults. RE: #345
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
test/fixtures/cookbooks/elasticsearch_test/recipes/default_with_plugins.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Encoding: utf-8 | ||
# | ||
# Cookbook Name:: elasticsearch_test | ||
# Recipe:: default_with_plugins | ||
# | ||
# This cookbook is designed to be just elasticsearch::default plus installing | ||
# some plugins. We want to test the default plugin resource without any | ||
# interesting overrides, but don't want to ship that as a recipe in the main | ||
# cookbook (unlike install, configure, and service, which we do ship in the | ||
# default cookbook). | ||
|
||
# see README.md and test/fixtures/cookbooks for more examples! | ||
include_recipe 'elasticsearch::default' | ||
|
||
# by default, no plugins | ||
elasticsearch_plugin 'mobz/elasticsearch-head' |