From b4593f24871b8e6525293f7dc6607bb5ba9ba6fe Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 9 Jul 2010 01:52:46 +1000 Subject: Update RDoc parser to reflect change of custom plugin and fact locations --- lib/puppet/util/rdoc/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/util/rdoc/parser.rb') diff --git a/lib/puppet/util/rdoc/parser.rb b/lib/puppet/util/rdoc/parser.rb index 0693c44a5..9c86ec360 100644 --- a/lib/puppet/util/rdoc/parser.rb +++ b/lib/puppet/util/rdoc/parser.rb @@ -82,7 +82,7 @@ class Parser # find a module fullpath = File.expand_path(path) Puppet.debug "rdoc: testing %s" % fullpath - if fullpath =~ /(.*)\/([^\/]+)\/(?:manifests|plugins)\/.+\.(pp|rb)$/ + if fullpath =~ /(.*)\/([^\/]+)\/(?:manifests|plugins|lib)\/.+\.(pp|rb)$/ modpath = $1 name = $2 Puppet.debug "rdoc: module %s into %s ?" % [name, modpath] -- cgit