Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

elasticsearch_cluster (3) Versions 3.0.4

Elasticsearch: a distributed full-text search database based on Lucene. You know, for search

Policyfile
Berkshelf
Knife
cookbook 'elasticsearch_cluster', '~> 3.0.4', :supermarket
cookbook 'elasticsearch_cluster', '~> 3.0.4'
knife supermarket install elasticsearch_cluster
knife supermarket download elasticsearch_cluster
README
Dependencies
Quality 17%

elasticsearch chef cookbook

Elasticsearch: a distributed full-text search database based on Lucene. You know, for search

Overview

= THIS IS THE INFOCHIMPS VERSION

= DESCRIPTION:

Installs and configures ElasticSearch.

= REQUIREMENTS:

== Platform:

Tested on Ubuntu 9.10 on EC2 only. YMMV on other platforms.

==Cookbooks:

Requires Opscode's runit and java cookbooks.

= ATTRIBUTES:

It's a good idea to change the cluster_name attribute to something
meaningful, like "production".

Production deployments should also increase the java_heap_size_max and fd_ulimit
attributes.

To use the s3 gateway, set the s3_gateway_bucket attribute to the name of an
existing bucket. You'll also need to add aws credentials to the aws databag
(see below)

= USAGE:

This cookbook makes a few assumptions about where files live:

/etc/elasticsearch: configuration files
/var/lib/elasticsearch: elasticsearch runtime files
/var/log/elasticsearch: elasticsearch log directory

Use elasticsearch::autoconf to automatically discover nodes in the cluster. Use
elasticsearch::default for a more static deployment.

Both options will configure ElasticSearch and start the ElasticSearch runit
service.

To use the s3 gateway, add your s3 credentials to a databag item with id "main"
in the "aws" databag. The schema of this item is:
{
"aws_access_key_id":
"aws_secret_access_key":
"aws_account_id":
"ec2_cert":
"ec2_private_key":
}

= LICENSE and AUTHOR:

Author:: Grant Rodgers (grant@gotime.com)

Copyright:: 2010, GoTime Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Recipes

  • client - Client
  • config - Finalizes the config, writes out the config files
  • default - Base configuration for elasticsearch
  • install_from_git - Install From Git
  • install_from_release - Install From Release
  • install_plugins - Install Plugins
  • load_balancer - Load Balancer
  • server - Server

Integration

Supports platforms: debian and ubuntu

Cookbook dependencies:
* java
* runit
* aws
* volumes
* tuning
* metachef
* install_from

Attributes

  • [:elasticsearch][:version] - (default: "0.18.5")
  • [:elasticsearch][:cluster_name] - (default: "default")
  • [:elasticsearch][:data_root] - (default: "/mnt/elasticsearch")
  • [:elasticsearch][:java_home] - (default: "/usr/lib/jvm/java-6-sun/jre")
  • [:elasticsearch][:git_repo] - (default: "https://github.com/elasticsearch/elasticsearch.git")
  • [:elasticsearch][:java_heap_size_max] - (default: "1000")
  • [:elasticsearch][:ulimit_mlock] -
  • [:elasticsearch][:default_replicas] - (default: "1")
  • [:elasticsearch][:default_shards] - (default: "6")
  • [:elasticsearch][:flush_threshold] - (default: "5000")
  • [:elasticsearch][:index_buffer_size] - (default: "10%")
  • [:elasticsearch][:merge_factor] - (default: "10")
  • [:elasticsearch][:max_thread_count] - (default: "4")
  • [:elasticsearch][:term_index_interval] - (default: "128")
  • [:elasticsearch][:refresh_interval] - (default: "1s")
  • [:elasticsearch][:snapshot_interval] - (default: "-1")
  • [:elasticsearch][:snapshot_on_close] - (default: "false")
  • [:elasticsearch][:seeds] -
  • [:elasticsearch][:recovery_after_nodes] - (default: "2")
  • [:elasticsearch][:recovery_after_time] - (default: "5m")
  • [:elasticsearch][:expected_nodes] - (default: "2")
  • [:elasticsearch][:fd_ping_interval] - (default: "2s")
  • [:elasticsearch][:fd_ping_timeout] - (default: "60s")
  • [:elasticsearch][:fd_ping_retries] - (default: "6")
  • [:elasticsearch][:jmx_dash_port] - (default: "9400-9500")
  • [:elasticsearch][:release_url_checksum] -
  • [:elasticsearch][:home_dir] - (default: "/usr/local/share/elasticsearch")
  • [:elasticsearch][:conf_dir] - (default: "/etc/elasticsearch")
  • [:elasticsearch][:log_dir] - (default: "/var/log/elasticsearch")
  • [:elasticsearch][:lib_dir] - (default: "/var/lib/elasticsearch")
  • [:elasticsearch][:pid_dir] - (default: "/var/run/elasticsearch")
  • [:elasticsearch][:user] - (default: "elasticsearch")
  • [:elasticsearch][:release_url] - (default: "https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-:version:.tar.gz")
  • [:elasticsearch][:plugins] -
  • [:elasticsearch][:http_ports] - (default: "9200-9300")
  • [:elasticsearch][:api_port] - (default: "9300")
  • [:elasticsearch][:proxy_port] - (default: "8200")
  • [:elasticsearch][:proxy_hostname] - (default: "elasticsearch.yourdomain.com")
  • [:elasticsearch][:log_level][:default] - (default: "DEBUG")
    • most of the log lines are manageable at level 'DEBUG' the voluminous ones are broken out separately
  • [:elasticsearch][:log_level][:index_store] - (default: "INFO")
  • [:elasticsearch][:log_level][:action_shard] - (default: "INFO")
  • [:elasticsearch][:log_level][:cluster_service] - (default: "INFO")
  • [:elasticsearch][:raid][:devices] -
  • [:elasticsearch][:raid][:use_raid] - (default: "true")
  • [:elasticsearch][:server][:run_state] - (default: "stop")
  • [:users][:elasticsearch][:uid] - (default: "61021")
  • [:groups][:elasticsearch][:gid] - (default: "61021")
  • [:tuning][:ulimit][:@elasticsearch] -

License and Author

Author:: GoTime, modifications by Infochimps (ops@gotime.com)
Copyright:: 2011, GoTime, modifications by Infochimps

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

readme generated by cluster_chef's cookbook_munger

Dependent cookbooks

java >= 0.0.0
runit >= 0.0.0
aws >= 0.0.0
volumes >= 0.0.0
tuning >= 0.0.0
metachef >= 0.0.0
install_from >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

3.0.4 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

3.0.4 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
            

3.0.4 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: elasticsearch_cluster/recipes/client.rb:30
FC007: Ensure recipe dependencies are reflected in cookbook metadata: elasticsearch_cluster/recipes/server.rb:65
FC047: Attribute assignment does not specify precedence: elasticsearch_cluster/recipes/config.rb:33
FC047: Attribute assignment does not specify precedence: elasticsearch_cluster/recipes/server.rb:63
FC064: Ensure issues_url is set in metadata: elasticsearch_cluster/metadata.rb:1
FC065: Ensure source_url is set in metadata: elasticsearch_cluster/metadata.rb:1
FC066: Ensure chef_version is set in metadata: elasticsearch_cluster/metadata.rb:1
FC069: Ensure standardized license defined in metadata: elasticsearch_cluster/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: elasticsearch_cluster/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

3.0.4 passed this metric

Testing File Metric
            

3.0.4 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
            

3.0.4 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