summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rwxr-xr-xlib/puppet/type/exec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb
index 6fec43520..0f4e42bcd 100755
--- a/lib/puppet/type/exec.rb
+++ b/lib/puppet/type/exec.rb
@@ -454,6 +454,7 @@ module Puppet
status = nil
tmppath = ENV["PATH"]
dir = self[:cwd] || Dir.pwd
+ debug "Executing '#{command}'"
begin
# Do our chdir
Dir.chdir(dir) {