diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-04-08 01:16:05 -0700 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | a18b05d846dd8d8787cb0935160a5ee9a64095c2 (patch) | |
| tree | 4730e79a589e326a4e7848f98c4d6867e990d643 /lib | |
| parent | bf2f08869ced5a0cac8e399f6bc35ea2c4ddc44c (diff) | |
| download | puppet-a18b05d846dd8d8787cb0935160a5ee9a64095c2.tar.gz puppet-a18b05d846dd8d8787cb0935160a5ee9a64095c2.tar.xz puppet-a18b05d846dd8d8787cb0935160a5ee9a64095c2.zip | |
Actually invoke the allow_changes? method in ResourceHarness
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/transaction/resource_harness.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/transaction/resource_harness.rb b/lib/puppet/transaction/resource_harness.rb index 2a475a070..76148e69f 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) |
