diff --git a/manifests/integrations/ssh.pp b/manifests/integrations/ssh.pp index 57857b7a..c696ea9d 100644 --- a/manifests/integrations/ssh.pp +++ b/manifests/integrations/ssh.pp @@ -39,7 +39,7 @@ $legacy_dst = "${datadog_agent::conf_dir}/ssh.yaml" if !$::datadog_agent::agent5_enable { - $dst = "${datadog_agent::conf6_dir}/ssh.d/conf.yaml" + $dst = "${datadog_agent::conf6_dir}/ssh_check.d/conf.yaml" file { $legacy_dst: ensure => 'absent' } diff --git a/spec/classes/datadog_agent_integrations_ssh_spec.rb b/spec/classes/datadog_agent_integrations_ssh_spec.rb index 269ddbdf..a0cedc91 100644 --- a/spec/classes/datadog_agent_integrations_ssh_spec.rb +++ b/spec/classes/datadog_agent_integrations_ssh_spec.rb @@ -20,7 +20,7 @@ if enabled let(:conf_file) { "#{conf_dir}/ssh.yaml" } else - let(:conf_file) { "#{conf_dir}/ssh.d/conf.yaml" } + let(:conf_file) { "#{conf_dir}/ssh_check.d/conf.yaml" } end context 'with default parameters' do