Skip to content

Commit

Permalink
Custom agent repository documentation (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu authored Mar 28, 2024
1 parent 98ed63a commit 299f67b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,22 @@ 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 custom repository, you 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 also be set `[signed-by=custom-repo-keyring-path] custom-repo`.
The example below uses the staging repository:
```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].
Expand Down

0 comments on commit 299f67b

Please sign in to comment.