Skip to content

Commit 3a95104

Browse files
author
Jamie van Brunschot
committed
remove unnecessary restart using Exec
1 parent 6866645 commit 3a95104

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

manifests/windows/agent6.pp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
install_options => ['/quiet', {'APIKEY' => $api_key, 'HOSTNAME' => $hostname, 'TAGS' => $tags}]
3939
}
4040

41-
exec { 'DatadogRestart':
42-
command => "& 'C:/Program Files/Datadog/Datadog Agent/embedded/agent.exe' restart-service",
43-
provider => powershell
44-
}
45-
4641
service { $service_name:
4742
ensure => $service_ensure,
4843
enable => $service_enable,

0 commit comments

Comments
 (0)