File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 }
3535
3636 if $::datadog_agent::agent6_enable {
37- $legacy_conf = " ${datadog_agent::conf6_dir} /docker .yaml"
37+ $legacy_conf = " ${datadog_agent::conf6_dir} /docker_daemon .yaml"
3838 } else {
3939 $legacy_conf = " ${datadog_agent::conf_dir} /docker.yaml"
4040 }
4444 }
4545
4646 if $::datadog_agent::agent6_enable {
47- $dst = " ${datadog_agent::conf6_dir} /docker_daemon .yaml"
47+ $dst = " ${datadog_agent::conf6_dir} /docker .yaml"
4848 } else {
4949 $dst = " ${datadog_agent::conf_dir} /docker_daemon.yaml"
5050 }
Original file line number Diff line number Diff line change 1717 let ( :dd_group ) { 'root' }
1818 let ( :dd_package ) { 'datadog-agent' }
1919 let ( :dd_service ) { 'datadog-agent' }
20- let ( :conf_file ) { "#{ conf_dir } /docker_daemon.yaml" }
20+ if !enabled
21+ let ( :conf_file ) { "#{ conf_dir } /docker_daemon.yaml" }
22+ else
23+ let ( :conf_file ) { "#{ conf_dir } /docker.yaml" }
24+ end
2125
2226 it { should compile . with_all_deps }
2327 it { should contain_file ( conf_file ) . with (
You can’t perform that action at this time.
0 commit comments