cookbook 'solr', '= 0.4.0'
solr (10) Versions 0.4.0 Follow16
Installs the solr search engine.
cookbook 'solr', '= 0.4.0', :supermarket
knife supermarket install solr
knife supermarket download solr
chef-solr
Installs solr and starts the service.
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']['pid_file']
- The location for the pid file. -
node['solr']['log_file']
- The location for the log file. -
node['solr']['user']
- The user to use. -
node['solr']['group']
- The group to use. -
node['solr']['install_java']
- Installs Java via the community cookbook. Defaulttrue
. -
node['solr']['java_options']
- Java options, such as memory, to pass along. Default is-Xms128M -Xmx512M
.
License and Author
License: MIT
Author: David Radcliffe
Inspiration for the start script from https://github.com/jbusby/solr-initd
Foodcritic Metric
0.4.0 passed this metric
0.4.0 passed this metric