@@ -46,15 +46,15 @@ Once the `datadog_agent` module is installed on your `puppetserver`/`puppetmaste
4646
4747 ``` conf
4848 class { 'datadog_agent':
49- api_key => "<YOUR_DD_API_KEY>",
49+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
5050 }
5151 ```
5252
5353 If using a Datadog site other than the default 'datadoghq.com', set it here as well:
5454
5555 ```conf
5656 class { 'datadog_agent':
57- api_key => "<YOUR_DD_API_KEY>",
57+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
5858 datadog_site => "datadoghq.eu",
5959 }
6060 ```
@@ -63,7 +63,7 @@ Once the `datadog_agent` module is installed on your `puppetserver`/`puppetmaste
6363
6464 ```conf
6565 class { 'datadog_agent':
66- api_key => "<YOUR_DD_API_KEY>",
66+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
6767 service_provider => 'upstart'
6868 }
6969 ```
@@ -84,7 +84,7 @@ Once the `datadog_agent` module is installed on your `puppetserver`/`puppetmaste
8484
8585 ```conf
8686 class { 'datadog_agent':
87- api_key => "<YOUR_DD_API_KEY>",
87+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
8888 integrations => {
8989 "ntp" => {
9090 init_config => {},
@@ -128,7 +128,7 @@ To enable reporting of Puppet runs to your Datadog timeline, enable the report p
128128
129129 ``` ruby
130130 class { ' datadog-agent' :
131- api_key => ' <YOUR_DD_API_KEY>' ,
131+ api_key => Sensitive ( ' <YOUR_DD_API_KEY>' ) ,
132132 puppet_run_reports => true
133133 # ...
134134 }
@@ -265,7 +265,7 @@ If you don't see any reports coming in, check your Puppet server logs.
2652652 . Add this to each node' s `site.pp` file:
266266 ```conf
267267 class { "datadog_agent":
268- api_key => "<YOUR_DD_API_KEY>",
268+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
269269 puppet_run_reports => true
270270 }
271271 ```
@@ -288,7 +288,7 @@ To generate tags from custom facts classify your nodes with Puppet facts as an a
288288
289289```conf
290290class { "datadog_agent":
291- api_key => "<YOUR_DD_API_KEY>",
291+ api_key => Sensitive( "<YOUR_DD_API_KEY>") ,
292292 facts_to_tags => ["os.family","networking.domain","my_custom_fact"],
293293}
294294```
0 commit comments