Skip to content

Commit b7738bc

Browse files
davidsandilandsody
authored andcommitted
logic is wrong way round in the test
1 parent 6a1cc11 commit b7738bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tasks/agent_install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# agent_install.ps1
22

3-
if (!(Test-Path "C:\Program Files\Puppet Labs\Puppet\puppet\bin\puppet")){
3+
if (Test-Path "C:\Program Files\Puppet Labs\Puppet\puppet\bin\puppet"){
44
Write-Host "ERROR: Puppet agent is already installed. Re-install, re-configuration, or upgrade not supported. Please uninstall the agent before running this task."
55
Exit 1
66
}

0 commit comments

Comments
 (0)