LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File puppet-3.0.1-arg-err.patch of Package puppet (Project systemsmanagement:puppet)

--- lib/puppet/parser/collector.rb.orig	2012-12-07 16:45:49.275052806 +0100
+++ lib/puppet/parser/collector.rb	2012-12-07 16:46:29.316906018 +0100
@@ -32,7 +32,7 @@
     # we have an override for the collected resources
     if @overrides and !objects.empty?
       # force the resource to be always child of any other resource
-      overrides[:source].meta_def(:child_of?) do
+      overrides[:source].meta_def(:child_of?) do |*_|
         true
       end