You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update README.md
wasn't able to figure out how to set nested attributes using the `extra_configs` field, so I added an example
* Re-order README examples.
This example will set the field `logs_config`in the configuration file `datadog.yaml`.
297
+
284
298
### Agent v5
285
299
286
300
Since`3.0.0`, the cookbook defaults installing Agent v6. You can still setup the Agent v5 by setting `node['datadog']['agent6']` to false.
287
301
288
-
```
302
+
```ruby
289
303
default_attributes(
290
304
'datadog' => {
291
305
'agent6' => false
@@ -315,7 +329,7 @@ Note that there are Agent v6 counterparts to several well known Agent v5 attribu
315
329
316
330
You will need to indicate that you want to setup an Agent v5 instead of v6, pin the Agent v5 version that you want to install and allow downgrade:
317
331
318
-
```
332
+
```ruby
319
333
default_attributes(
320
334
'datadog' => {
321
335
'agent6' => false,
@@ -342,7 +356,7 @@ You will need to indicate that you want to setup an Agent v5 instead of v6, pin
342
356
4. Enable Agent integrations by including their recipes and configuration details in your role’s run-list and attributes.
343
357
Note that you can also create additional integrations recipes by using the `datadog_monitor` resource.
344
358
5. Associate the recipes with the desired `roles`, i.e. "role:chef-client" should contain "datadog::dd-handler" and a "role:base" should start the agent with "datadog::dd-agent". Here's an example role with both recipes plus the MongoDB integration enabled.
0 commit comments