From: Dan Bode <[email protected]>

- 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 <[email protected]>
Reviewed-By: Nigel Kersten <[email protected]>
---
 lib/puppet/type.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/puppet/type.rb b/lib/puppet/type.rb
index 1dbf124..586bb46 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
-- 
1.7.5.2

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to