-
-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove attributes that were repeated across different resources all working on the same Elasticsearch instance. Add methods in Helpers that do these lookups. We default to 'elasticsearch' and 'default', fail if there's more than one match, but also allow the user to override with `instance_name`. - All providers and resources: - move class names outside of Chef namespace - add `provides :...` to all resources and providers - all resources that depend on another resource now look up that resource for values, e.g. `elasticsearch_plugin` will run commands with the user specificed in `elasticsearch_user`, fixes #373 - add `instance_name` to point every provider to the related resources - elasticsearch_install: - deprecate String for type parameter, and only use symbols - drop :tar in favor of :tarball. We don't need to say tarball two ways. - ensure the default recipe uses the attribute for install type - elasticsearch_configure: - add additional paths `path_pid, path_plugins, path_bin` - change all path parameters to use a hash with two keys -- :package and :tarball - elasticsearch_plugin: - ensure plugins directory exists and has correct ownership, to address differences in ES 1.x and 2.0.0, fixes #382 - change `-install` on plugin command to `install`, fixes #383 - warn if the user is set to 'root' and ES version < 2.0.0 - elasticsearch_service: - drop `node_name` parameter, and look it up from elasticsearch_configure - drop pid file parameter, use a sanitized node name for that now too - Update Berkshelf in Gemfile to Berkshelf ~> 4.0.0. - Testing changes: - drop testing and support for Chef 11.x - add Chef 12.5.1 testing and support - split the 'override' testing into separate package and tarball recipes - chefspec tests now try to identify which type of install happens, and test for those specifically
- Loading branch information
Showing
27 changed files
with
843 additions
and
619 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
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
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
Oops, something went wrong.