Issue #14073 has been updated by Jeff McCune.
On Tuesday, April 24, 2012, wrote: > Issue #14073 has been updated by Patrick Carlisle. > > > This has never worked on any platform. > OK that just means the bug isn't a regression, right? > 4248¶ <#136e5bc49e374d74_4248> 3947¶ <#136e5bc49e374d74_3947> > > I don’t think we intend to support it any time soon. > I certainly intend to support it. You agree it's a bug, right? We say we support modules with puppet apply... Puppet apply should work just as well as puppet agent and if it doesn't we should fix it. Right? Or are we just using different semantics around the word "support?" -Jeff > ---------------------------------------- Bug #14073: puppet apply cannot find types in modules on Windows https://projects.puppetlabs.com/issues/14073#change-61460 Author: Jeff McCune Status: Investigating Priority: Normal Assignee: Patrick Carlisle Category: modules Target version: 2.7.x Affected Puppet version: 2.7.4 Keywords: autoloader windows module load_path LOAD_PATH RUBYLIB autoload require Branch: # Overview # With Puppet 2.7.x (3a4ac604c85952511fd45c2f0699ce956eda3773) and master (b02aa930a03a282588e81f65e14f47a138a4b9f0) Puppet is not able to find custom types and providers located in a module. This appears to be a regression. # Actual Behaivor # With the [mount_providers](http://forge.puppetlabs.com/puppetlabs/mount_providers) module installed in the module path, there is an error because the type uses a require statement and the $LOAD_PATH is not correct: <pre> Z:\vagrant\modules>puppet describe --modulepath=Z:/vagrant/modules mounttab Could not run: Could not autoload \ Z:/vagrant/modules/mount_providers/lib/puppet/type/mountpoint.rb: Could not autoload Z:/vagrant/modules/mount_providers/lib/puppet/provider/mountpoint/linux.rb: \ no such file to load -- puppet/type/mountpoint </pre> # Expected Behavior # The custom type in the mount providers module should be able to require additional files with the $LOAD_PATH modified to include the lib directory of the module from the module path. # Steps to reproduce # Install Puppet 2.7.13 from our MSI. Modify environment.bat to use PUPPET_DIR and FACTER_DIR pointing at your Git working copies. Install the mount_providers module somewhere. Use puppet describe --modulepath=Z:/path/to/modules mountpoint See the exception raised. This happens on both 2.7.x and master. -- 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.
