Issue #15529 has been updated by Josh Cooper. Target version set to 3.1.0 Affected Puppet version set to 3.0.0
---------------------------------------- Bug #15529: puppetlabs_spec_helper: autoload files from installed modules https://projects.puppetlabs.com/issues/15529#change-78640 Author: Dominic Cleal Status: Accepted Priority: Normal Assignee: Category: Target version: 3.1.0 Affected Puppet version: 3.0.0 Keywords: puppetlabs_spec_helper autoload modules Branch: I'm trying to create a module (domcleal/augeasproviders) containing a provider for a type supplied by a second module (puppetlabs/mount_providers). When the mount_providers module is installed locally via `puppet module`, this isn't added into RUBYLIB while running specs. This causes references to Puppet::Type.type(:mounttab) from within the spec to return nil. It appears that the branch in the autoloader checking `Puppet.settings.app_defaults_initialized?` (line 136 in master) is returning false and so perhaps some further initialisation of Puppet is required? -- 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.
