Skip to content

Commit

Permalink
feat(chef): custom repository doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythyu committed Mar 25, 2024
1 parent 98ed63a commit 94be46a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit 94be46a

Please sign in to comment.