cookbook 'solr_app', '~> 0.0.3'
solr_app (2) Versions 0.0.3 Follow3
Install solr
cookbook 'solr_app', '~> 0.0.3', :supermarket
knife supermarket install solr_app
knife supermarket download solr_app
Description
Install solr and manage its configuration by LWRP
Requirements
Tested on Ubuntu.
Must work on Debian.
Need test/hack on other platforms.
Attributes
-
node["solr_app"]["download_site"]
- solr directory on an http server. -
node["solr_app"]["version"]
- solr version -
node["solr_app"]["url"]
- Final URL to solr .tgz - default: compute with "download_site" and "version" -
node["solr_app"]["archive_war_path"]
- Path to the war in tgz - default: compute with "version" -
node["solr_app"]["path"]
- Path to install solr - default: "/opt/solr" -
node["solr_app"]["solr_home"]
- Path to solr_home - default: compute with "path"
Usage
include_recipe "solr_app"
Resources/Providers
solr_app
Actions
- **:create : create a solr collection
Attribute Parameters
- **name: name of the collection - default: name attribute
- **directory: directory in "files" of the collection configuration (with solrconfig.xml, schema.xml...) - default: name
- **cookbook: cookbook to find "directory" - default: current cookbook
Example
solr_app "products"
solr_app "users" do
name "users"
directory "solr-users-conf"
cookbook "my_cookbook_conf"
end
Dependent cookbooks
application >= 0.0.0 |
application_java >= 1.1.0 |
tomcat >= 0.0.0 |
ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.0.3 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.3 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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: solr_app/metadata.rb:1
FC065: Ensure source_url is set in metadata: solr_app/metadata.rb:1
FC066: Ensure chef_version is set in metadata: solr_app/metadata.rb:1
FC069: Ensure standardized license defined in metadata: solr_app/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: solr_app/providers/default.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: solr_app/metadata.rb:1
FC065: Ensure source_url is set in metadata: solr_app/metadata.rb:1
FC066: Ensure chef_version is set in metadata: solr_app/metadata.rb:1
FC069: Ensure standardized license defined in metadata: solr_app/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: solr_app/providers/default.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
FC065: Ensure source_url is set in metadata: solr_app/metadata.rb:1
FC066: Ensure chef_version is set in metadata: solr_app/metadata.rb:1
FC069: Ensure standardized license defined in metadata: solr_app/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: solr_app/providers/default.rb:13
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.3 passed this metric
Testing File Metric
0.0.3 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.0.3 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.0.3 failed this metric
0.0.3 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