cookbook 'solr-lts', '~> 0.7.1'
solr-lts (2) Versions 0.7.1 Follow0
Installs the solr search engine.
cookbook 'solr-lts', '~> 0.7.1', :supermarket
knife supermarket install solr-lts
knife supermarket download solr-lts
solr-lts
Installs solr and starts the service.
About
This is a fork of David Radcliffe's original chef-solr cookbook, updated (to some extent) for working with solr in 2019.
Versioning starts at 0.7.0 as David Radcliffe's left off at 0.6.0
There are some pretty big changes:
1. Use install script for solr - this makes sure the correct system initialization
is used, either init.d or systemd via LSB
2. Setting default solr version to 7.7.2 (LTS as of August 2019)
3. Eliminating the checksum due to ark not supporting sha512 (128bit) checksums
4. Migrated to InSpec for testing
Support
This cookbook supports Amazon Linux 2, Debian Stretch, Ubuntu Xenial Xerus
Red Hat Linux 7 and the community rebuilds (CentOS, Scientific) and theoretically
later versions of these distributions, however testing is only done on Jessie,
Xenial, and CentOS.
If you encounter an issue, please submit it
Testing
Testing is done with chef client 14.12.9 to ensure 14.x compatibility
Recipes
-
default
- This will install java, download solr and setup the service
Attributes
-
node['solr']['version']
- Version of solr to install. -
node['solr']['url']
- Url of solr source to download. -
node['solr']['data_dir']
- Location for solr data and config. -
node['solr']['dir']
- Location of the solr sorce files. -
node['solr']['port']
- The port the solr service is bound to. -
node['solr']['install_java']
- Installs Java via the community cookbook. Defaulttrue
.
License and Author
License: MIT
Author: Stephen Sadowski
Original Author: David Radcliffe
Inspiration for the start script from https://github.com/jbusby/solr-initd
Dependent cookbooks
tar >= 0.0.0 |
java >= 0.0.0 |
systemd >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.7.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.7.1 passed this metric
No Binaries Metric
0.7.1 passed this metric
Testing File Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.7.1 failed this metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.7.1 passed this metric
No Binaries Metric
0.7.1 passed this metric
Testing File Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.7.1 passed this metric
0.7.1 passed this metric
Testing File Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.7.1 failed this metric
0.7.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number