Skip to content

Commit

Permalink
Bump minimum Chef versions
Browse files Browse the repository at this point in the history
- Leave 12.4 as metadata.rb minimum
- Start testing against latest three versions
- Update docs to indicate what we test

RE: #503
RE: #505
  • Loading branch information
martinb3 committed Oct 27, 2016
1 parent 497b245 commit 36f4efb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 46 deletions.
41 changes: 7 additions & 34 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ suites:
install_type: package

- name: tarball # install by tarball
require_chef_omnibus: 12.6.0
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]
Expand All @@ -55,57 +55,30 @@ suites:

- name: override_package # the override-everything use case
driver_config:
require_chef_omnibus: 12.6.0
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::package]

- name: override_tarball # the override-everything use case
driver_config:
require_chef_omnibus: 12.6.0
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::tarball]

- name: chef-12.5.1
driver_config:
require_chef_omnibus: 12.5.1
includes:
- ubuntu-14.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]

- name: chef-12.4.3
driver_config:
require_chef_omnibus: 12.4.3
includes:
- ubuntu-14.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]

- name: chef-12.3.0
driver_config:
require_chef_omnibus: 12.3.0
includes:
- ubuntu-14.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]

- name: chef-12.2.1
- name: chef-12.14.89
driver_config:
require_chef_omnibus: 12.2.1
require_chef_omnibus: 12.14.89
includes:
- ubuntu-14.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]

- name: chef-12.1.2
- name: chef-12.13.37
driver_config:
require_chef_omnibus: 12.1.2
require_chef_omnibus: 12.13.37
includes:
- ubuntu-14.04
run_list:
Expand Down
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@

[![Build Status](https://travis-ci.org/elastic/cookbook-elasticsearch.svg?branch=master)](https://travis-ci.org/elastic/cookbook-elasticsearch) [![Cookbook Version](https://img.shields.io/cookbook/v/elasticsearch.svg)](https://supermarket.chef.io/cookbooks/elasticsearch)[![Build Status](https://jenkins-01.eastus.cloudapp.azure.com/job/elasticsearch-cookbook/badge/icon)](https://jenkins-01.eastus.cloudapp.azure.com/job/elasticsearch-cookbook/)

This cookbook has been converted into a library cookbook as of version 1.0.0,
and supports Chef 12.5.1, 12.4.3, 12.3.0, 12.2.1, 12.1.2, and higher. It
implements support for CI as well as more modern testing with chefspec and
test-kitchen. It no longer supports some of the more extraneous features such as
discovery (use [chef search](https://docs.chef.io/chef_search.html) in your wrapper cookbook)
or EBS device creation (use [the aws cookbook](https://github.com/chef-cookbooks/aws)).
**Previous versions** of this cookbook may be found using the git tags on this
repository.
## Pre-requisites & Supported Versions

## Pre-requisites
[Java Runtime](https://www.java.com/en/) - This cookbook requires java, but does not provide it. Please install Java before using any recipe in this cookbook. Please also note that Elasticsearch itself has specific minimum Java version requirements. We recommend [this cookbook](https://github.com/agileorbit-cookbooks/java) to install Java.

[Java Runtime](https://www.java.com/en/) - This cookbook requires java, but does not provide it. Please install
Java before using any recipe in this cookbook. Please also note that Elasticsearch itself has specific minimum Java version requirements. We recommend [this cookbook](https://github.com/agileorbit-cookbooks/java) to install Java.
[Elasticsearch](https://www.elastic.co/products/elasticsearch) - This cookbook is being written and tested to support Elasticsearch 2.x and greater. If you must have a cookbook that works with older versions of Elasticsearch, please test and then pin to a specific, older `major.minor` version of this cookbook and only leave the patch release to float.

[Elasticsearch](https://www.elastic.co/products/elasticsearch) - This cookbook is being written and tested to support Elasticsearch 2.x and greater. While this cookbook presently, by sheer luck, still works with ES 1.7.x at the time of this writing, we are not testing against versions < 2.0.0. Should Elasticsearch 2.x somehow break 1.7.x compatibility in a minor release of 2.x, this cookbook could potentially stop working with ES 1.7.x. If you must have a cookbook that works with older versions of Elasticsearch, please test and then pin to a specific `major.minor` version and only leave the patch release to float.
[Chef](https://www.chef.io/) - The latest release of this cookbook is intended to support the three most recent releases of Chef, and tests against those. Earlier versions may also be supported, though we suggest that you use Chef 12.x at a minimum. It implements support for CI as well as more modern testing with chefspec and test-kitchen. It no longer supports some of the more extraneous features such as discovery (use [chef search](https://docs.chef.io/chef_search.html) in your wrapper cookbook) or EBS device creation (use [the aws cookbook](https://github.com/chef-cookbooks/aws)).

**Previous versions** of this cookbook may be found using the git tags on this repository.

## Attributes

Expand Down

0 comments on commit 36f4efb

Please sign in to comment.