[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:21:44 UTC 2009


The following commit has been merged in the master branch:
commit a839fe277bcf0e5d71da9987e2608e73f6cca59b
Author: Luke Kanies <luke at madstop.com>
Date:   Tue Nov 25 13:21:54 2008 -0600

    Partially fixing #1772 - fixing tidy code I broke.
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb
index a3d9941..e37da5e 100755
--- a/lib/puppet/type/tidy.rb
+++ b/lib/puppet/type/tidy.rb
@@ -44,7 +44,7 @@ module Puppet
             end
 
             def insync?(is)
-                if File.lstat(file).ftype == "directory" and ! @resource[:rmdirs]
+                if File.lstat(resource[:path]).ftype == "directory" and ! @resource[:rmdirs]
                     self.debug "Not tidying directories"
                     return true
                 end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list