You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: lib/puppet/provider/exec.rb
+1-1
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,6 @@ def extractexe(command)
102
102
defvalidatecmd(command)
103
103
exe=extractexe(command)
104
104
# if we're not fully qualified, require a path
105
-
self.fail_("'%{exe}' is not qualified and no path was specified. Please qualify the command or specify a path.") % {exe: exe}if !absolute_path?(exe)andresource[:path].nil?
105
+
self.fail_("'%{exe}' is not qualified and no path was specified. Please qualify the command or specify a path.") % {exe: exe}if !absolute_path?(exe)&& (resource[:path].nil? || resource[:path].empty?)
0 commit comments