diff options
Diffstat (limited to 'lib/puppet/type/exec.rb')
-rwxr-xr-x | lib/puppet/type/exec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb index 0cb345af1..065f1b65d 100755 --- a/lib/puppet/type/exec.rb +++ b/lib/puppet/type/exec.rb @@ -575,7 +575,7 @@ module Puppet exe = path end end - elsif Puppet.features.win32? and !File.exists?(exe) + elsif Puppet.features.microsoft_windows? and !File.exists?(exe) self[:path].each do |path| [".exe", ".ps1", ".bat", ".com", ""].each do |extension| file = File.join(path, exe+extension) |