Skip to content

Commit

Permalink
Add test for $apm_enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rothgar committed Feb 1, 2018
1 parent 97d1303 commit 253c932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
$apm_footer_order = '06'
}

if $apm_env != '' {
if ($apm_enabled == true) and ($apm_env != '') {
concat::fragment{ 'datadog apm footer':
target => '/etc/dd-agent/datadog.conf',
content => template('datadog_agent/datadog_apm_footer.conf.erb'),
Expand Down

0 comments on commit 253c932

Please sign in to comment.