Skip to content

Commit

Permalink
Merge pull request #625 from DataDog/remeh/update-3.0.0
Browse files Browse the repository at this point in the history
Starts the CHANGELOG + version to 3.0.0 in metadata.rb.
  • Loading branch information
remeh authored Jun 12, 2019
2 parents 31c0df0 + 890f9dc commit 0f22712
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
Changes
=======

# 3.0.0 / Unreleased

## Breaking changes

* **This cookbook only supports Chef 12.7+.** It means that if you want to continue
to use this cookbook with a version of Chef `< 12.7`, you will have to use the datadog
cookbook in a version `< 3.0`. However, we recommend to switch to the `3.x` version
because there is no plan to update the `2.x` branch with new features for now.
* **Agent v6 is now installed by default.** You can set `node['datadog']['agent6'] => false` to continue to use Agent v5. Please see the README for more details.
* The `datadog_monitor` resource doesn't automatically restart the Agent anymore.
See `recipes/mongo.rb` for an example on how to restart the Agent after `datadog_monitor` has been executed. See the README for more details on the resource.
* A new attribute `node['datadog']['site']` will let you send the data to either
the US or the EU site (this applies to the Datadog handler as well). Also, `default['datadog']['url']` is now set to `nil`.
If not overriden in your cookbook, the Agent will pick which site to send data to based on these two attributes.
* Drop support for chef-handler-datadog < 0.10.0, please use a more recent version.
* Add the `datadog_integration` resource to easily control installed integration, more info in the README.
* Drop Agent v4 compatibility code.

## Details

* [FEATURE] Ensure compatibility with Chef 14 & 15 (drop compatibility with Chef < 12.7). See [#450][] [#597][] [@martinisoft][] [@remeh][]
* [FEATURE] Agent 6 is now installed by default. See [#594][] [@remeh][]
* [FEATURE] Support `jmx_custom_jars` option in Agent v5. See [#595][] [@wolf31o2][]
* [FEATURE] Add `datadog_integration` resource to install integrations. See [#600][] [@remeh][]
* [FEATURE] Add support for `site` option. See [#582][] [@remeh][]
* [FEATURE] Add support of `max_detailed_exchanges` option for RabbitMQ. See [#562][] [@asherf][]
* [OPTIMIZE] `datadog_monitor` doesn't automatically restart the Agent. See [#596][] [@someara][] [@remeh][]
* [OPTIMIZE] Remove deprecated attributes. See [#613][] [@remeh][]
* [MISC] Remove recipes using `easy_install`. See [#591][] [@stefanwb][] [@remeh][]
* [MISC] Drops Agent v4 compatibility code. See [#599][] [@remeh][]

# 2.19.0 / 2019-05-21

* [FEATURE] Provide custom credentials for the Windows Datadog Agent service. [#618][] [@remeh][]
Expand Down Expand Up @@ -648,6 +679,7 @@ A fix has gone in to `apt` 2.1.0 that relaxes this condition, and plays well wit
[#445]: https://github.com/DataDog/chef-datadog/issues/445
[#446]: https://github.com/DataDog/chef-datadog/issues/446
[#448]: https://github.com/DataDog/chef-datadog/issues/448
[#450]: https://github.com/DataDog/chef-datadog/issues/450
[#454]: https://github.com/DataDog/chef-datadog/issues/454
[#458]: https://github.com/DataDog/chef-datadog/issues/458
[#460]: https://github.com/DataDog/chef-datadog/issues/460
Expand Down Expand Up @@ -695,14 +727,24 @@ A fix has gone in to `apt` 2.1.0 that relaxes this condition, and plays well wit
[#555]: https://github.com/DataDog/chef-datadog/issues/555
[#557]: https://github.com/DataDog/chef-datadog/issues/557
[#561]: https://github.com/DataDog/chef-datadog/issues/561
[#562]: https://github.com/DataDog/chef-datadog/issues/562
[#563]: https://github.com/DataDog/chef-datadog/issues/563
[#564]: https://github.com/DataDog/chef-datadog/issues/564
[#565]: https://github.com/DataDog/chef-datadog/issues/565
[#568]: https://github.com/DataDog/chef-datadog/issues/568
[#582]: https://github.com/DataDog/chef-datadog/issues/582
[#583]: https://github.com/DataDog/chef-datadog/issues/583
[#585]: https://github.com/DataDog/chef-datadog/issues/585
[#586]: https://github.com/DataDog/chef-datadog/issues/586
[#588]: https://github.com/DataDog/chef-datadog/issues/588
[#591]: https://github.com/DataDog/chef-datadog/issues/591
[#594]: https://github.com/DataDog/chef-datadog/issues/594
[#595]: https://github.com/DataDog/chef-datadog/issues/595
[#596]: https://github.com/DataDog/chef-datadog/issues/596
[#597]: https://github.com/DataDog/chef-datadog/issues/597
[#599]: https://github.com/DataDog/chef-datadog/issues/599
[#600]: https://github.com/DataDog/chef-datadog/issues/600
[#613]: https://github.com/DataDog/chef-datadog/issues/613
[#618]: https://github.com/DataDog/chef-datadog/issues/618
[@ABrehm264]: https://github.com/ABrehm264
[@AlexBevan]: https://github.com/AlexBevan
Expand All @@ -722,6 +764,7 @@ A fix has gone in to `apt` 2.1.0 that relaxes this condition, and plays well wit
[@alq]: https://github.com/alq
[@antonio-osorio]: https://github.com/antonio-osorio
[@arthurnn]: https://github.com/arthurnn
[@asherf]: https://github.com/asherf
[@aymen-chetoui]: https://github.com/aymen-chetoui
[@azuretek]: https://github.com/azuretek
[@babbottscott]: https://github.com/babbottscott
Expand Down Expand Up @@ -817,6 +860,7 @@ A fix has gone in to `apt` 2.1.0 that relaxes this condition, and plays well wit
[@schisamo]: https://github.com/schisamo
[@sethrosenblum]: https://github.com/sethrosenblum
[@skarlupka]: https://github.com/skarlupka
[@someara]: https://github.com/someara
[@spencermpeterson]: https://github.com/spencermpeterson
[@stefanwb]: https://github.com/stefanwb
[@stensonb]: https://github.com/stensonb
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Since `3.0.0`, the cookbook defaults installing Agent v6. You can still setup th

#### Upgrade from Agent v5 to Agent v6

To upgrade from an already installed Agent v5 to Agent v6, you'll have to set the `agent6_package_action` to `upgrade` and we recommend to pin to a specific version:
To upgrade from an already installed Agent v5 to Agent v6, you'll have to set the `agent6_package_action` to `install` and we recommend to pin to a specific version:

```ruby
default_attributes(
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'Apache-2.0'
description 'Installs/Configures datadog components'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.18.0'
version '3.0.0'
chef_version '>= 12.7'
source_url 'https://github.com/DataDog/chef-datadog'
issues_url 'https://github.com/DataDog/chef-datadog/issues'
Expand Down

0 comments on commit 0f22712

Please sign in to comment.