Skip to content

Commit 4a7898e

Browse files
iadjivonlevan-m
andauthored
Chef doc changes to add in-app section under installation section (#958)
* Chef doc changes to add in-app section under installation section * Update README.md Co-authored-by: Ida Adjivon <[email protected]> --------- Co-authored-by: levan-m <[email protected]>
1 parent f228758 commit 4a7898e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,40 +50,38 @@ The following Opscode cookbooks are dependencies:
5050

5151
### Installation
5252

53-
1. Add the cookbook to your Chef server with [Berkshelf][5] or [Knife][6]:
54-
```text
53+
To install the Datadog Agent with Chef, follow the [in-app flow in Fleet Automation][18] setup guide for Berkshelf or Knife. This setup guide allows you to select observability features, and generates the necessary attributes and commands for your environment.
54+
55+
These setup steps are also listed below:
56+
57+
```text
5558
# Berksfile
5659
cookbook 'datadog', '~> 4.0'
5760
```
58-
5961
```shell
6062
# Knife
6163
knife cookbook site install datadog
6264
```
63-
6465
2. Set the [Datadog-specific attributes](#datadog-attributes) in a role, environment, or another recipe:
6566
```text
6667
node.default['datadog']['api_key'] = "<YOUR_DD_API_KEY>"
67-
6868
node.default['datadog']['application_key'] = "<YOUR_DD_APP_KEY>"
6969
```
70-
7170
3. Upload the updated cookbook to your Chef server:
7271
```shell
7372
berks upload
7473
# or
7574
knife cookbook upload datadog
7675
```
77-
7876
4. After uploading, add the cookbook to your node's `run_list` or `role`:
7977
```text
8078
"run_list": [
8179
"recipe[datadog::dd-agent]"
8280
]
8381
```
84-
8582
5. Wait for the next scheduled `chef-client` run or trigger it manually.
8683
84+
8785
### Datadog attributes
8886
8987
The following methods are available for adding your [Datadog API and application keys][4]:
@@ -445,3 +443,4 @@ KITCHEN_LOCAL_YAML=kitchen.docker.yml bundle exec rake circle
445443
[15]: https://github.com/DataDog/chef-datadog/blob/master/recipes/ddtrace-ruby.rb
446444
[16]: https://github.com/DataDog/integrations-core
447445
[17]: https://github.com/DataDog/chef-datadog/blob/master/recipes/system-probe.rb
446+
[18]: https://app.datadoghq.com/fleet/install-agent/latest?platform=chef

0 commit comments

Comments
 (0)