Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sous-chefs/elasticsearch

Development repository for the elasticsearch cookbook
https://github.com/sous-chefs/elasticsearch

Dynamically choose user to run plugin commands

Instead of always using the 'elasticsearch' user or the user supplied by the `elasticsearch_user...

5e07995af32efe00eef9bdaf4fc6e5d805356ced authored almost 9 years ago by Martin Smith <[email protected]>
Clean up plugin proxy code a bit more

- Use empty string more liberally for the proxy

082566afc3c72c8a1fcbed6c31efb5eb728499ad authored almost 9 years ago by Martin Smith <[email protected]>
Plugin removal functionality restored

* reorganizes code for DRYness
* install / remove actions both delegate to a manage_plugin metho...

77b62f142ab634945094c771a2ef2f799b0958bc authored almost 9 years ago by Dan Baggott <[email protected]>
Fix logic bug in Chef proxy tests

Ensure we set the chef proxy settings to nil, not empty string, as apparently chef internally wi...

a2be567be98456cb9a0e7247ef3edb42caa7bf4a authored almost 9 years ago by Martin Smith <[email protected]>
Fix some Rubocop warnings

a38bc5b2f5048394ab24c92e726e199496023898 authored almost 9 years ago by Martin Smith <[email protected]>
Adds support for chef proxy settings for bin/plugin

Adds sniffing out proxy settings to pass to `bin/plugin` when installing ES plugins via Chef res...

09cdd78fa95a361e526db40c6339eee19c16a9b0 authored about 9 years ago by Martin Smith <[email protected]>
Clarify intent of SemVer compatibility and ES compatibility

2c475b646ff5883cdea62c1a3ae76667c398102c authored about 9 years ago by Martin Smith <[email protected]>
corrects elasticsearch_configure example

- Replaces `dir` with `path_home`.
- Uses a (hopefully) more realistic directory structure

Fixe...

1c68c4456d3cdf9ac3f113c9f22768a69f2ffed2 authored about 9 years ago by Dan Baggott <[email protected]>
Update to ES 2.1.1

Bump default version to 2.1.1 and add sha256 hashes for rpm/deb/tar of 2.1.1

Fixes #411

2d4046613ec6b6e09bbf76e2624942bca6223611 authored about 9 years ago by Dan Baggott <[email protected]>
Release v2.1.0

fea8d5a49191580b2941ccfa35146ef3d91d13a7 authored about 9 years ago by Martin Smith <[email protected]>
Update to ES 2.1.0

- Remove unused example init script from templates dir
- Add ES_STARTUP_SLEEP_TIME to CentOS/Ama...

a21fd17b0702af40054231c778fb8564d68c52c7 authored about 9 years ago by Martin Smith <[email protected]>
Release v2.0.1

a499b40533611b48f56d42a405b556f7d6856a75 authored about 9 years ago by Martin Smith <[email protected]>
Default logging.yml from upstream

Update to the latest logging.yml from upstream.

Fixes #398.

f5270629a01e68094a2648728bfe408eb9a67113 authored about 9 years ago by Martin Smith <[email protected]>
Ensure gateway.expected_nodes default is 0

Make gateway.expected_nodes default to 0, just like it does in the upstream shipped elasticsearc...

7eefdc533c62ddd23b9b3944754cc0b1575adc39 authored about 9 years ago by Martin Smith <[email protected]>
Update CHANGELOG.md

dafe9b7addac9d4178cd1c5c7406a67ca8040a9b authored about 9 years ago by Martin Smith <[email protected]>
Fix bug introduced from removing deprecated

- Still need to lookup url strings after removing deprecated params.

b618bb49408f79b0522980a07317779db1741b8b authored about 9 years ago by Martin Smith <[email protected]>
Reformat first paragraph a bit.

d39f2a61c468b54a10ad3ae929230d9c972d2fba authored about 9 years ago by Martin Smith <[email protected]>
Clarify resource naming a bit more

- Add one more clarification of resource names

731f27af4e44f56cc9a3efba3bcb894d3b78780f authored about 9 years ago by Martin Smith <[email protected]>
Update README.md on service (re)starts

Make it clear that starting and restarting is an exercise left up to the user.

d63c9b8ca4847c6b9adf79c503a4465f7f5cd251 authored about 9 years ago by Martin Smith <[email protected]>
Remove deprecated attributes

Remove package and tarball specific attributes that we had already deprecated.

abc64dcee45287caec2491fa1b245c9fce1bf46f authored about 9 years ago by Martin Smith <[email protected]>
Additional documentation cleanup

- Cleanup additional examples of elasticsearch_plugin
- Add more elasticsearch_configure example...

af8b22aaaa9ca1cff06a722ca6bbb49d328a0aca authored about 9 years ago by Martin Smith <[email protected]>
Makes code examples have color

By prefixing code snippets with the type of code, github formats with pretty colors.

30db3e10410226cf265db4db5b11e74c5dbb3e29 authored about 9 years ago by Spencer Owen <[email protected]>
Add rake style checks, rubocop/foodcritic

- Add `rake style` to .travis.yml's testing step
- Cleanup existing rubocop and foodcritic compl...

9cd368821e644837685200504047ece5ac4edb7b authored about 9 years ago by Martin Smith <[email protected]>
Add additional plugin test

Add test to be sure ES has restarted and plugin is present, when installing plugin.

56885ae48a1864ba12d2114978716a7d065083e7 authored about 9 years ago by Martin Smith <[email protected]>
Rename unit test's recipe, to match rename earlier

Ensure unit tests have correct recipe name, are passing.

b179e1886d15ad090e4125d5054d41682af61913 authored about 9 years ago by Martin Smith <[email protected]>
Move package installs first

Move order around so package installs are listed first.

bbb1ba47a45a6c70cfffeae9b0ffa914ef50138f authored about 9 years ago by Martin Smith <[email protected]>
Remove errant `e.g.` from documentation

18e461d5c4b8f44b8e5d0d083fa2f0f85ddaec7d authored about 9 years ago by Martin Smith <[email protected]>
Moves package install example up in readme

Since package installations are preferred and are the default, moves the package example to be t...

f421f0195fefd2ca5c19a10e71bb143e56f87b60 authored about 9 years ago by Spencer Owen <[email protected]>
Updates docs to show package are now default install

According to this comment, packages are now the default install

https://github.com/elastic/co...

77eecb20f073350fa10206a9215c8cee0378ba16 authored about 9 years ago by Spencer Owen <[email protected]>
Additional docs, :package default

- Ensure :package is the default installation method everywhere, update docs to reflect. Fixes #...

24f769a0ba44b4f7f5aaed71ee59154ca3c64ae3 authored about 9 years ago by Martin Smith <[email protected]>
Update README URLs based on HTTP redirects

99ae369833ea06fb563a34a59827625d23a46f14 authored about 9 years ago by ReadmeCritic <[email protected]>
Add Amazon Linux init script

Add support for 'amazon' platform for init script template.

Fixes #387.

503d6252de5a1f41880fb72236c8037201ee9ec6 authored about 9 years ago by Martin Smith <[email protected]>
Remove curl dependency

- Add curl as a dependency in testing, but we really don't need it anymore otherwise

57dac3e78fdec0588a135ac3a54eda945b0e0ae6 authored about 9 years ago by Martin Smith <[email protected]>
Better init scripts for ES 2.0

- Pull latest init scripts for ES 2.0
- Ensure curl is installed, use a curl command to test at ...

a8fb4815b9b6a797b85be932df8ca8d80a34e705 authored about 9 years ago by Martin Smith <[email protected]>
Bump to 2.0.0 release of ES

Add new checksums and default to v2.0.0 of Elasticsearch. RE: #384.

0122233d73cc5526e1b1d42d194e3c5ec6bec777 authored about 9 years ago by Martin Smith <[email protected]>
Allow override of cookbook on templates in _config

- Add additional parameters to `elasticsearch_configure` to support using templates from other c...

94e4f222739a19486f836606696999215ca46052 authored about 9 years ago by Martin Smith <[email protected]>
Move default ES version to 2.0.0 RC1

- Ensure the version on `elasticsearch_install` is eventually populated, even if it's left nil a...

c34e81cd67df0d59034545635bf67d78d2560513 authored about 9 years ago by Martin Smith <[email protected]>
Add note about requiring java

Add note about java requirement. Fixes #385.

99fcfc16bd63e9e45a85d84c8c7206dea1584e0a authored about 9 years ago by Martin Smith <[email protected]>
Switch to using package-similar init scripts

- elasticsearch_user
- Remove homedir parameter, we are going to let the system do a default, ...

9cca4d5957d9b15c7f9c12361925886b15128087 authored about 9 years ago by Martin Smith <[email protected]>
Initial commit of 2.0.0_wip version

- Remove attributes that were repeated across different resources all working on the same Elasti...

dc77bc5991ea3c0135894055ad6692fad3e3be92 authored about 9 years ago by Martin Smith <[email protected]>
Bump to 2.0.0 for development

dc13aeb04b1cccb978d1d9da9aa1ede63d236eb7 authored about 9 years ago by Martin Smith <[email protected]>
Fix tests, release 1.2.0

- Fix tests looking for older ES version
- Release 1.2.0

474e9c740555c1df81cd7486d49e9d2a73a287fc authored about 9 years ago by Martin Smith <[email protected]>
Add remove action for plugin

Per https://github.com/elastic/cookbook-elasticsearch/issues/264, add remove action. We still ha...

b854711b0feb6ff9b2b4dd9309a5937ebb6b38f8 authored about 9 years ago by Martin Smith <[email protected]>
Update chef/ES versions, 1.7.3 checksums

- Bump to chef 12.5.1, add a 12.4.3 test suite for backcompat
- Bump to ES v1.7.3 as default
- A...

51386a04318f7557fecb108b7480fe23a4eeeac4 authored about 9 years ago by Martin Smith <[email protected]>
Update the README to remove a typo

f4794e82e0b8634bf3c6b780bb7c428d1d32b63b authored over 9 years ago by Jeffrey Warren <[email protected]>
Correct the full changelog links

3919c7c3e400c82666b075d88e5da61a7a42cf82 authored over 9 years ago by Eric Heydrick <[email protected]>
Release v1.0.3

56f7027ea1d0c0be104aa142b5888d8ffaf00978 authored over 9 years ago by Martin Smith <[email protected]>
Fix extra path in pidfile setting

Don't use var/run twice in the pidfile.

Fixes #374.

ad97a166219399faf6b0cd314aaa888c4151dd86 authored over 9 years ago by Martin Smith <[email protected]>
Release v1.0.2

ea07871fbdeb5d71d2f59e5f9a478134b24905e7 authored over 9 years ago by Martin Smith <[email protected]>
Fix all remaining rubocop & foodcritic errors

Fix all remaining rubocop & foodcritic errors, fixes #365.

5014ec8f314b88fdfad3353ac3c63b60048faad0 authored over 9 years ago by Martin Smith <[email protected]>
Default value handling improved, better testing

- Allow path.data, path.conf, path.logs to come from configuration hash for YML file or from res...

749a56bdbb2a5f1ff09525ca7155bc5993f4be0b authored over 9 years ago by Martin Smith <[email protected]>
Test against many chef 12.x versions, include DSL

Make sure the recipe DSL is available for the install provider, which needs to `include_recipe` ...

35e791ec2b379862e7a98f9483e8968e7d7607a4 authored over 9 years ago by Martin Smith <[email protected]>
add missing matchers

d43dfc99136923e0a46231fa6e95efc8f4836983 authored over 9 years ago by Thomas Dziedzic <[email protected]>
Allow custom init scripts

Allow override of init script cookbook and filename.

RE: #321.
Closes #354.
Fixes #353.

2e8ec3e1a8707931a2756c423405b76c22b6ef78 authored over 9 years ago by Martin Smith <[email protected]>
Allow the user to override the service actions

Allows the user to specify their own array of service actions, e.g.

```ruby
elasticsearch_servi...

792f340334a9efa9f4873cbedb855a056642d696 authored over 9 years ago by Martin Smith <[email protected]>
Release v1.0.1

15598a50eaa9e5efc83ca390e386e7746aa333ff authored over 9 years ago by Martin Smith <[email protected]>
Remove poise magic from this cookbook

While very helpful, poise has been trouble for folks who are managing multiple cookbooks and don...

86ebab0ac8cbbdf9aaa5f288f905864347208803 authored over 9 years ago by Martin Smith <[email protected]>
Reduce 'magic' attributes

Remove many of the magic, lazy, or otherwise surprisingly difficult to understand attributes. Th...

d3418348e9f6d8a9b6b1187fbd208a7d5844c763 authored over 9 years ago by Martin Smith <[email protected]>
Expose def. version, url, and checksum as attr

RE: #350 - expose attributes for version, download url, and checksum. Providers will default to ...

646452faaf74e3498a73bfb846e5618dbf1aebcc authored over 9 years ago by Martin Smith <[email protected]>
Add additional comment on install resource

Add additional comment on install resource to help users find the default values for URL and che...

573a7ad4cccd756ec5360dfb40259c55d765172e authored over 9 years ago by Martin Smith <[email protected]>
Add default checksums and urls for many versions

In order to address #350, I've made some backwards-compatible, but significant changes:
- added ...

be5633acb07d0477361e52f67fa2ac7ca87232a6 authored over 9 years ago by Martin Smith <[email protected]>
Add newer checksums and docs, bump to ES 1.7.2

Add a comment for `# sha256` near checksums, to help users. Fixes #351.
Bump to latest Elasticse...

68b0c4f20e2796611a9378e891a7c52d219a2c0e authored over 9 years ago by Martin Smith <[email protected]>
Fix plugin commands to run as correct user

- Fix plugin install commands to run as the correct user, fixes #363.
- Add a testing workaround...

5f570432a03dac26118f110d1b8d33daa695142e authored over 9 years ago by Martin Smith <[email protected]>
Don't remove elasticsearch homedir

Don't remove the elasticsearch user's homedir. Cleanup is nice, but what if the caller has somet...

dfad9f50dfee743397b30c805ad5a88c82ca1943 authored over 9 years ago by Martin Smith <[email protected]>
remove metadata locking

6778dda771da87f6a02151588819bfb0979c0be0 authored over 9 years ago by Anthony Scalisi <[email protected]>
Adds integration test for plugins in default environment

33cafa8b8f3a15b47b77c310f13578906537fe8c authored over 9 years ago by Ben Voss <[email protected]>
Clarify when overriding plugin_dir is necessary

b37ce9f44e136cc712fedb9e0d927717033551df authored over 9 years ago by Michael Klishin <[email protected]>
Test simple plugin install as part of default

- Test default simple plugin install as part of default test suite.
- Add example using the test...

78cabea3e343af8a402eb2527c0de760a4dc59e2 authored over 9 years ago by Martin Smith <[email protected]>
Remove duplicate node.max_local_storage_nodes setting from the config template

c8bd30e63302b58760ef8859a842918ebf72fb16 authored over 9 years ago by Eric Heydrick <[email protected]>
Update changelog for release

ea74370cb9b4444594d09ba5ca4f18be7f628f58 authored over 9 years ago by Martin Smith <[email protected]>
Add release instructions to contributing

Start documenting how we do releases.

1a9775a092ef2dfb79bad9aeabfdac2ee5ad0ef1 authored over 9 years ago by Martin Smith <[email protected]>
Add lots of additional documentation

- Add note about chef 12 and standards
- Document configure, service, and plugin resources

Fixe...

a2cd33f08003f298280623babb7abf46d1bfa9b4 authored over 9 years ago by Martin Smith <[email protected]>
Add contribution guidelines

Add contribution guidelines discussed in email and documented in #270. Fixes #270.

8f4849686d9e6812893e2e57672cb310178a00bc authored over 9 years ago by Martin Smith <[email protected]>
Rename provider source to tarball

Before release, rename source provider to tarball, to better match the purpose.

Closes #332.

487452cc413ed80872e61486205939c0f1f2a08e authored over 9 years ago by Martin Smith <[email protected]>
Upgrade TravisCI and cache bundler

Travis kept saying:

> This job is running on our legacy infrastructure. Please read our docs on...

c6a8103e203569613295843a76a5a00ff68b5b5b authored over 9 years ago by Martin Smith <[email protected]>
Run CI on master branch again, after rename

Run TravisCI on master branch again, since we renamed next branch to master a bit ago.

Fixes #337.

75f6e7e542bd03e43be41cb5ff0bde007a27aa8f authored over 9 years ago by Martin Smith <[email protected]>
Use package options on both providers

- Fixes #335, pass package_options to both providers (package and dpkg_package)

d4adfe964072815d54d9f23920c5fc0036be8422 authored over 9 years ago by Martin Smith <[email protected]>
allow options passing to package provider

0d62ed31b066c466a14c87b0038097a150a9a302 authored over 9 years ago by Anthony Scalisi <[email protected]>
Change the default allocated memory to be half of node.memory.total and put a 31GB limit on memory

Related: #258

Closes #317

d6ce0fcc5aa9bfbe33cbbaf917412f630c012b7d authored over 9 years ago by Karel Minarik <[email protected]>
Add additional README documentation

- Add additional notes about newly re-written cookbook
- Updated year in license in README.md

16bc3e0a21168bc46eaef0d587b1b58d69f4489b authored over 9 years ago by Martin Smith <[email protected]>
fix extra whitespace

34fe1c17e2b88572da9016c469876b969c9c710e authored over 9 years ago by Nathan Williams <[email protected]>
set default resource actions

806e9f2850f03287bce058620813bdfaa00e1098 authored over 9 years ago by Nathan Williams <[email protected]>
Renamed and updated the file with environment variables for Elasticsearch

I haven't yet found a way how to get rid of this file completely, so
I've just renamed it to be ...

ad6f98ae989db2c839a832cc95f2bb80b114c40e authored over 9 years ago by Karel Minarik <[email protected]>
Ignore local Kitchen files like `.kitchen.ec2.yml` in Git

904133b2dccccb85e2c746a74ea6151903a6574e authored over 9 years ago by Karel Minarik <[email protected]>
Pruned and cleaned up the configuration resource and provider

Related: #322

1a33286171a593403007e92a4bf0dc3492034e7c authored over 9 years ago by Karel Minarik <[email protected]>
Updated the logging.yml template

Related #322

090ab8c17040595804e12fd45a38a9dd5f21a1cd authored over 9 years ago by Karel Minarik <[email protected]>
Trimmed down the elasticsearch.yml template

Related: elastic/elasticsearch#5861

Closes #322

e3aa4d9bb9cfbfd6b9d1f56b4d6b8f5200bf2f7c authored over 9 years ago by Karel Minarik <[email protected]>
Dependency and test update

- Pin versions of dependencies so that this builds correctly every time
- Add `require 'poise'` ...

3bacf2d0039464a51ca231e131ac23419a436ab8 authored over 9 years ago by Martin Smith <[email protected]>
Introduce provider and resource for configure

- Introduce provider and resource for configure (elasticsearch.yml and elasticsearch-env.sh).
- ...

afa0b23db30fb1cb334a7f18c0c4cdbcbfec383d authored over 9 years ago by Martin Smith <[email protected]>
First pass at install resource and two providers

- This commit adds an install resource and two providers, one for installing from source and one...

40e2015430416e754373bb551cdae86379cd9052 authored almost 10 years ago by Martin Smith <[email protected]>
Introduce user provider and resource

- Fixes #269, adds an `elasticsearch_user` resource with provider that creates a user, group, an...

1440a9fed71dcf71806ce7eb2dfb2cef1fdf98c5 authored almost 10 years ago by Martin Smith <[email protected]>
Fixed dependency for "chefspec" in the Gemfile

Related #268

d8fcf17c97056d10325f2b9b86b50e656add4043 authored almost 10 years ago by Martin Smith <[email protected]>
Introduce user provider and resource

- Fixes #269, adds an `elasticsearch_user` resource with provider that creates a user, group, an...

3f5f9620a14fce003dbc015c7dda526220e71491 authored almost 10 years ago by Martin Smith <[email protected]>
[CI] Added, that gems for integration tests are not installed on Travis

d417372a841aa9d3d22b010d4aa6accd3a2e8fab authored almost 10 years ago by Karel Minarik <[email protected]>
Added ` --format documentation` to the RSpec options in the `spec` task

11074e93740c60f76104a4858ff43ebc130865a6 authored almost 10 years ago by Karel Minarik <[email protected]>
Added aggresive protection against Rake task failures due to Vagrant, Kitchen not being available

ee2304b2764c3d2f0e0b0bf7968bdc7c9b430c8e authored almost 10 years ago by Karel Minarik <[email protected]>
[CI] Added configuration for Travis

dbd4238a913ae93faefe0b596e87bc9848251ac7 authored almost 10 years ago by Karel Minarik <[email protected]>
Prevent errors when running Rake tasks due to "kitchen" gem not being available

0e2fc188a2ebabc33a88bb778e38574a0afb30ba authored almost 10 years ago by Karel Minarik <[email protected]>
Added missing "chef" and "rspec" gems to the Gemfile

8f01ccb1f5238ab5733adbbd3f42b5e6038db526 authored almost 10 years ago by Karel Minarik <[email protected]>
Changed the maintainer information in metadata.rb files

84f7b2db9b0ba99467a2f29d9f216e73afe5b454 authored about 10 years ago by Karel Minarik <[email protected]>