diff --git a/README.md b/README.md index d128fb4f..0be35d42 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,18 @@ The following example downgrades to Agent v6. The same applies if you are downgr To uninstall the Agent, remove the `dd-agent` recipe and add the `remove-dd-agent` recipe with no attributes. +### Custom Agent Repository + +To use an agent from a different repository than stable, we can set the `aptrepo` option. By default this option is equal to `[signed-by=/usr/share/keyrings/datadog-archive-keyring.gpg] apt.datadoghq.com`, if a custom value is set, another `signed-by` keyring can be set `[signed-by=custom-repo-keyring-path] custom-repo`. +Staging example : +```ruby + default_attributes( + 'datadog' => { + 'aptrepo' => '[signed-by=/usr/share/keyrings/datadog-archive-keyring.gpg] apt.datad0g.com', + } + } +``` + ## Recipes Access the [Datadog Chef recipes on GitHub][7].