Skip to content

Commit

Permalink
ssh_check.d instead of ssh.d (DataDog#502)
Browse files Browse the repository at this point in the history
* ssh_check.d instead of ssh.d

* conf_file should be set to ssh_check.d
  • Loading branch information
Scott Cabrinha authored and truthbk committed Mar 14, 2019
1 parent a5d331c commit 5eafb2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/integrations/ssh.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/datadog_agent_integrations_ssh_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5eafb2f

Please sign in to comment.