[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. 90c4a6028cf6ebd530af736ce08f1b413698b162
Micah Anderson
micah at riseup.net
Sat May 31 17:15:34 UTC 2008
The following commit has been merged in the master branch:
commit 8c49586cff19f3dfbca606a8e78242b467d6bb07
Author: James Turnbull <james at lovedthanlost.net>
Date: Thu May 22 16:12:16 2008 +1000
Pushed patch fixing #1235
diff --git a/lib/puppet/type/file/target.rb b/lib/puppet/type/file/target.rb
index a0e5dc4..8949c2a 100644
--- a/lib/puppet/type/file/target.rb
+++ b/lib/puppet/type/file/target.rb
@@ -54,6 +54,8 @@ module Puppet
def insync?(currentvalue)
if [:nochange, :notlink].include?(self.should) or @resource.recurse?
return true
+ elsif ! @resource.replace? and File.exists?(@resource[:path])
+ return true
else
return super(currentvalue)
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list