diff --git a/manifests/integrations/ntp.pp b/manifests/integrations/ntp.pp index 14251377..776e3c03 100644 --- a/manifests/integrations/ntp.pp +++ b/manifests/integrations/ntp.pp @@ -61,4 +61,10 @@ require => Package[$datadog_agent::params::package_name], notify => Service[$datadog_agent::params::service_name] } + + # Remove potential remaining default config file + exec { 'remove_default_file': + command => "rm ${$dst}.default", + onlyif => "test -e ${$dst}.default", + } }