Hi All, I've got a couple of issues running rspec-puppet tests under Ruby 2 that I was hoping someone could shed some light on.
First, under Ruby 2, any validation functions in the code appear to be getting parsed *after* the inline templates. I like to stick my validation at the bottom of the file to prevent users from wading through a sea of garbage to get to the meat of the code so this isn't thrilling. Second, even though I have code properly stashed under Puppetx::Me in various lib directories, I don't seem to be able to access them across modules in Ruby 2. Under 1.8.7 both of these work just fine. Note: I have *not* seen any issues in production relating to this at this time. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprietary information -- -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoXBGgij%2BWcnMcR-BTz7EjRRCOoLuFp162nwFh7YAeREJA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.