summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/parser.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-07-09 01:52:46 +1000
committerMarkus Roberts <Markus@reality.com>2010-07-09 09:31:56 -0700
commitb4593f24871b8e6525293f7dc6607bb5ba9ba6fe (patch)
tree95238ee6f8a1a60c76f5cfc7423a1b8c0dcfdf4b /lib/puppet/util/rdoc/parser.rb
parentdda165af210c598715c2cf50ba29f8466a589687 (diff)
downloadpuppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.tar.gz
puppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.tar.xz
puppet-b4593f24871b8e6525293f7dc6607bb5ba9ba6fe.zip
Update RDoc parser to reflect change of custom plugin and fact locations
Diffstat (limited to 'lib/puppet/util/rdoc/parser.rb')
-rw-r--r--lib/puppet/util/rdoc/parser.rb2
1 files changed, 1 insertions, 1 deletions
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]