Issue #4371 has been updated by Matt Robinson. Assignee deleted (Matt Robinson) Affected Puppet version deleted (2.6.1rc1)
This still happens. At the time I remember that I had tried to get a consensus that Puppet shouldn't include the current working directory in the load path for puppet agent or master. I'd have to rehash that discussion though at this point since it's been so long and I can't remember if we agreed that it SHOULD put the cwd in the load path for puppet apply. ---------------------------------------- Bug #4371: Testing failures when test.pp in the puppet root has a node default https://projects.puppetlabs.com/issues/4371 Author: Matt Robinson Status: Accepted Priority: Normal Assignee: Category: testing Target version: Affected Puppet version: Keywords: test leakage Branch: 1) Puppet::ParseError in 'Puppet::Resource::Catalog when compiling when converting to a RAL catalog should not lose track of resources whose names vary' Node 'default' is already defined at /Users/matthewrobinson/work/puppet/test.pp:3; cannot redefine at /Users/matthewrobinson/work/puppet/test.pp:7 grammar.ra:711:in `_reduce_183' ./spec/unit/resource/catalog_spec.rb:310: /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' 2) Puppet::ParseError in 'Puppet::Type::RelationshipMetaparam should fail if any specified resource is not found in the catalog' Node 'default' is already defined at /Users/matthewrobinson/work/puppet/test.pp:3; cannot redefine at /Users/matthewrobinson/work/puppet/test.pp:7 grammar.ra:711:in `_reduce_183' ./spec/unit/type_spec.rb:512:in `new' ./spec/unit/type_spec.rb:512: /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' /Users/matthewrobinson/work/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' Only saw this when running the full test suite, not just the individual test files, so the leakage may be complex. -- 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://projects.puppetlabs.com/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.
