Slide 15
Slide 15 text
exec { 'Delete thing':
command => 'Remove-Item C:\first.txt',
onlyif => 'Test-Path C:\first.txt',
provider => powershell,
}
exec { 'Create thing':
command => 'New-Item C:\2nd.txt',
unless => 'Test-Path C:\2nd.txt',
provider => powershell,
} @glennsarti