summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Bode <bodepd@gmail.com>2011-05-22 21:54:58 -0400
committerDaniel Pittman <daniel@puppetlabs.com>2011-06-03 10:40:17 -0700
commitc5448b79e690d72536f4d98b636f450d37de627a (patch)
tree743ac08685de1bf8fdc83360398c8ecca8cbca4b /lib
parentc295ae699ff78f3d7e4922d00dcf5d9e92c790b8 (diff)
downloadpuppet-c5448b79e690d72536f4d98b636f450d37de627a.tar.gz
puppet-c5448b79e690d72536f4d98b636f450d37de627a.tar.xz
puppet-c5448b79e690d72536f4d98b636f450d37de627a.zip
(#7624) Auditing should not be enabled by default for purged resources.
- Auditing creates logging messages as of 2.6.5 so it should not be enabled by default. - This patch removes the :audit => :all settting from resources created via self.instances (which is used for purging). Please note that we believe this change to be safe, and *should* not result in user-visible behavioural differences when you use the `instances` method on a type, but we can't give you a perfect assurance of that. If you do have code that depends on the current behaviour, and it misbehaves after this patch, please let us know so we can weep ^W find another solution that works for everyone. Reviewed-By: Daniel Pittman <daniel@puppetlabs.com> Reviewed-By: Nigel Kersten <nigel@puppetlabs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 1dbf12451..586bb46f6 100644
--- a/lib/puppet/type.rb
+++ b/lib/puppet/type.rb
@@ -886,7 +886,7 @@ class Type
end
provider_instances[instance.name] = instance
- new(:name => instance.name, :provider => instance, :audit => :all)
+ new(:name => instance.name, :provider => instance)
end
end.flatten.compact
end