Issue #2686 has been updated by Darrell Fuhriman.
I don't have the exact line anymore, but it's just a puts of the the arguments to Puppet::Resource::Reference#initialize (argtype,argtitle=nil) plus a couple variables used at the top of the method (class = argtype.class and is_a? = argtype.is_a?(Puppet::Type)). Here's a stack trace: <pre> /usr/lib/ruby/site_ruby/1.8/puppet/resource/reference.rb:25:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1279:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1279:in `munge' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1275:in `collect' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1275:in `munge' /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:512:in `value=' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:16:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:16:in `set_options' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:13:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/util/methodhelper.rb:13:in `set_options' /usr/lib/ruby/site_ruby/1.8/puppet/parameter.rb:406:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:525:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:525:in `newattr' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:455:in `[]=' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1935:in `set_parameters' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1929:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1929:in `set_parameters' /usr/lib/ruby/site_ruby/1.8/puppet/type.rb:1909:in `initialize' /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:176:in `new' /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:176:in `to_ral' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:568:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:568:in `to_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:546:in `each' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:546:in `to_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb:466:in `to_ral' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:125:in `convert_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:120:in `retrieve_catalog' /usr/lib/ruby/site_ruby/1.8/puppet/configurer.rb:140:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent/locker.rb:21:in `lock' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/1.8/sync.rb:229:in `synchronize' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:53:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:130:in `with_client' /usr/lib/ruby/site_ruby/1.8/puppet/agent.rb:51:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application/puppetd.rb:103:in `onetime' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `send' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' /usr/sbin/puppetd:159 </pre> ---------------------------------------- Bug #2686: metaparameters cause failures with ActiveRecord >= 2.3.3 http://projects.reductivelabs.com/issues/2686 Author: Darrell Fuhriman Status: Accepted Priority: Normal Assigned to: Markus Roberts Category: plumbing Target version: 0.25.1 Affected version: 0.25.1rc1 Keywords: Branch: In testing for the update to 0.25.x, I ran across a problem where the following error was generated on metaparameters: @err: Could not run Puppet configuration client: Parameter notify failed: No title provided and title '{"title"=>"smb", "type"=>"Service", "builtin_type"=>nil}' is not a valid resource reference@ (see posting from me on puppet-users). i stuck some debugging code in Puppet::Resource::Reference#initialize When it works, it gives: @argtype: "Service[smb]", argtitle: , class: String, is_a? false@ On AR >=2.3.3, I get something like: @argtype: {"title"=>"/home/projectdx/projectdx-pdxrails", "type"=>"File", "builtin_type"=>nil}, argtitle: , class: Hash, is_a? false@ This seems to be the case regardless of whether or not storedconfig is set to true. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
