Issue #13595 has been updated by Chris Price.
p.s., in order to prevent the current code from shipping with the next puppet release, we will need to make a decision on this in the next week or so. ---------------------------------------- Bug #13595: initialize_everything_for_tests couples modules to specific Puppet versions https://projects.puppetlabs.com/issues/13595#change-59574 Author: Eric Shamow Status: Accepted Priority: Urgent Assignee: Chris Price Category: testing Target version: 2.7.x Affected Puppet version: Keywords: Branch: Ran into this while attempting to run spec tests on the puppetlabs-ntp module from Git: Failure/Error: Unable to find matching line from backtrace NoMethodError: undefined method `initialize_everything_for_tests' for #<Puppet::Util::Settings:0xb71fb30c> It turns out that :initialize_everything_for_tests was recently added to Puppet itself: https://github.com/puppetlabs/puppet/commit/56c55d54474d97958f0f21e715237cf3f2117668 There are two problems here: 1) We have no current documentation or method of knowing which version of Puppet is required for a particular module. We tie to specific module versions but not to Puppet itself - anyone trying to test the latest puppetlabs-ntp against the most recently cut version of Puppet or PE will fail. 2) We should be iterating on modules much more quickly than we are on core, but this means that modules need to be slightly more backward-compatible - we can't rely on the "latest and greatest" stuff in master or 2.7.x if modules are going to be updated frequently. It might make more sense to move this type of function out to stdlib. Commenting out the lines calling this function in the spec_helper.rb make the problem go away, but I suspect we're going to run into a lot more of these if we don't figure out an approach to it. -- 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.
