Skip to content

Commit 3ed7976

Browse files
authored
Merge pull request #182 from unixorn/add-client-configuration-info
Add client configuration info
2 parents 5c30829 + 06a6ece commit 3ed7976

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description
88

99
A module to:
1010

11-
1. install the [DataDog](http://www.datadoghq.com) agent
11+
1. install the [DataDog](http://www.datadoghq.com) agent
1212
2. to send reports of puppet runs to the Datadog service [Datadog](http://www.datadoghq.com/).
1313

1414
Requirements
@@ -198,6 +198,33 @@ Masterless puppet
198198

199199
This is a specific setup, you can use https://gist.github.com/LeoCavaille/cd412c7a9ff5caec462f to set it up.
200200

201+
Client Settings
202+
===============
203+
204+
### Tagging client nodes
205+
206+
The datadog agent configuration file will be recreated from the template every puppet run. If you need to tag your nodes, add an array entry in hiera
207+
208+
datadog_agent::local_tags
209+
- 'keyname:value'
210+
- 'anotherkey:%{factname}'
211+
212+
Here are some of the other variables that be set in the datadog_agent class to control settings in the agent:
213+
214+
| variable name | description |
215+
| ------------- | ----------- |
216+
| collect_ec2_tags | Set this to yes to have an instance's custom EC2 tags used as agent tags |
217+
| collect_instance_metadata | Set this to yes to have an instance's EC2 metadata used as agent tags |
218+
| dd_url | datadog intake server URL. You are unlikely to need to change this |
219+
| host | overrides the node's hostname |
220+
| local_tags | an array of key:value strings that will be set as tags for the node |
221+
| non_local_traffic | set this to allow other nodes to relay their traffic through this one |
222+
223+
### Proxy Settings
224+
225+
If you need to connect to the internet through a proxy, you can set `proxy_host`, `proxy_port`, `proxy_user` and `proxy_password`.
226+
227+
201228
Module Development and Testing
202229
==============================
203230

0 commit comments

Comments
 (0)