[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:31:22 UTC 2010


The following commit has been merged in the upstream branch:
commit a18b05d846dd8d8787cb0935160a5ee9a64095c2
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Thu Apr 8 01:16:05 2010 -0700

    Actually invoke the allow_changes? method in ResourceHarness

diff --git a/lib/puppet/transaction/resource_harness.rb b/lib/puppet/transaction/resource_harness.rb
index 2a475a0..76148e6 100644
--- a/lib/puppet/transaction/resource_harness.rb
+++ b/lib/puppet/transaction/resource_harness.rb
@@ -28,6 +28,8 @@ class Puppet::Transaction::ResourceHarness
 
         resource.cache :checked, Time.now
 
+        return [] if ! allow_changes?(resource)
+
         if param = resource.parameter(:ensure)
             return [] if absent_and_not_being_created?(current, param)
             return [Puppet::Transaction::Change.new(param, current[:ensure])] unless ensure_is_insync?(current, param)

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list