Skip to content

Commit

Permalink
Merge pull request #591 from DataDog/remeh/remove-easy-install
Browse files Browse the repository at this point in the history
Remove recipes using easy_install + update the README accordingly.
  • Loading branch information
remeh authored Mar 27, 2019
2 parents 55bd85f + 5800f48 commit 284ecdd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 46 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,25 @@ dd-handler
----------
Installs the [chef-handler-datadog](https://rubygems.org/gems/chef-handler-datadog) gem and invokes the handler at the end of a Chef run to report the details back to the newsfeed.

dogstatsd-(python|ruby)
dogstatsd-ruby
-----------------------
Installs the language-specific libraries to interact with `dogstatsd`.

* Note for Chef >= 13 users: the `datadog::dogstatsd-python` recipe is not compatible with Chef >= 13, as it relies on a resource that was removed in Chef 13.0.
To install the `dogstatsd-python` library with Chef, please add a dependency on the `poise-python` cookbook to your custom/wrapper cookbook, and use the following resource:
For ruby, please use the `datadog::dogstatsd-ruby` recipe.

For Python, please add a dependency on the `poise-python` cookbook to your custom/wrapper cookbook, and use the following resource:
```ruby
python_package 'dogstatsd-python' # assumes that python and pip are installed
```
For more advanced usage, please refer to the [`poise-python` cookbook documentation](https://github.com/poise/poise-python)

ddtrace-(python|ruby)
ddtrace-ruby
---------------------
Installs the language-specific libraries for application Traces (APM).

* Note for Chef >= 13 users: the `datadog::ddtrace-python` recipe is not compatible with Chef >= 13, as it relies on a resource that was removed in Chef 13.0.
To install the `ddtrace-python` library with Chef, please add a dependency on the `poise-python` cookbook to your custom/wrapper cookbook, and use the following resource:
For ruby, please use the `datadog::ddtrace-ruby` recipe.

For Python, please add a dependency on the `poise-python` cookbook to your custom/wrapper cookbook, and use the following resource:
```ruby
python_package 'ddtrace' # assumes that python and pip are installed
```
Expand Down
2 changes: 0 additions & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
recipe 'datadog::dd-agent', 'Installs the Datadog Agent'
recipe 'datadog::dd-handler', 'Installs a Chef handler for Datadog'
recipe 'datadog::repository', 'Installs the Datadog package repository'
recipe 'datadog::dogstatsd-python', 'Installs the Python dogstatsd package for custom metrics'
recipe 'datadog::dogstatsd-ruby', 'Installs the Ruby dogstatsd package for custom metrics'
recipe 'datadog::ddtrace-python', 'Installs the Python ddtrace package for APM'
recipe 'datadog::ddtrace-ruby', 'Installs the Ruby ddtrace package for APM'

# integration-specific
Expand Down
13 changes: 0 additions & 13 deletions recipes/ddtrace-python.rb

This file was deleted.

25 changes: 0 additions & 25 deletions recipes/dogstatsd-python.rb

This file was deleted.

0 comments on commit 284ecdd

Please sign in to comment.