Skip to content

Commit

Permalink
only download if the file doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
nate st. germain committed Oct 22, 2019
1 parent 4209b15 commit 600f6c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/sysmon.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

file { 'C:\Windows\Temp\sysmonconfig-export.xml':
ensure => present,
source => 'https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml'
source => 'https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml',
replace => 'no'
}

exec { 'Install sysmon':
Expand Down

0 comments on commit 600f6c1

Please sign in to comment.