Hi all! After a brief discussion on puppet-users list I've completed the feature #5936 modification. The patch is below, feature ticket is opened and there in the comments there is also github pull url (can't edit it):
https://github.com/bostjan/puppet/tree/feature/master/5936 -------------------- [ PATCH ]---------------------------------------------- --- puppet/node/environment.rb.orig 2011-01-20 01:29:41.000000000 +0100 +++ puppet/node/environment.rb 2011-01-20 02:08:10.000000000 +0100 @@ -96,8 +96,13 @@ # Cache the modulepath, so that we aren't searching through # all known directories all the time. cached_attr(:modulepath, :ttl => Puppet[:filetimeout]) do - dirs = self[:modulepath].split(File::PATH_SEPARATOR) - dirs = ENV["PUPPETLIB"].split(File::PATH_SEPARATOR) + dirs if ENV["PUPPETLIB"] + globs = self[:modulepath].split(File::PATH_SEPARATOR) + globs = ENV["PUPPETLIB"].split(File::PATH_SEPARATOR) + globs if ENV["PUPPETLIB"] + dirs = [] + globs.each do |glob| + globDirs = Dir.glob(glob) + dirs = dirs + globDirs + end validate_dirs(dirs) end ----------------------------------------------------------------------- Please tell me what do you think about this and if this will be included in next release. b. -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
