Issue #3947 has been updated by Jeff McCune. Target version changed from 2.7.x to 3.x
---------------------------------------- Bug #3947: puppet executable does not load all ruby files from modulepath/MODULENAME/lib https://projects.puppetlabs.com/issues/3947#change-70840 Author: Dan Bode Status: Accepted Priority: Normal Assignee: Category: plumbing Target version: 3.x Affected Puppet version: 0.25.4 Keywords: Branch: I would like to package utility classes together with provider code. <pre> features/aws.rb provider/ec2/ec2.rb type/ec2.rb util/ec2.rb </pre> where util/ec2.rb is a module that I would like to mix-in to my provider. <pre> require 'puppet/util/ec2' Puppet::Type.type(:ec2).provide(:ec2) do include Puppet::Util::Ec2 ... </pre> util/ec2.rb is not found by puppet. <pre> danbode$ puppet ec2.pp Could not autoload "/Users/danbode/git/modules/ec2/lib/puppet/provider/ec2/ec2.rb": no such file to load -- puppet/util/ec2 </pre> When I specify rubylib, then it works <pre> danbode$ export RUBYLIB=/Users/danbode/git/modules/ec2/lib/ danbode$ puppet ec2.pp </pre> -- 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.
