summaryrefslogtreecommitdiffstats
path: root/sbin/puppetqd
diff options
context:
space:
mode:
authorLuke Kanies <luke@puppetlabs.com>2010-07-07 23:34:10 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-09 12:31:45 -0700
commit3c0059195fb2b1255f368d98021f4a99ecd121a6 (patch)
treeee22c31b02f14d267a24acce875f3f185fb16617 /sbin/puppetqd
parentcea2e5b3fe03de8ef56a97af25ef8b6dd7eb3d7d (diff)
downloadpuppet-3c0059195fb2b1255f368d98021f4a99ecd121a6.tar.gz
puppet-3c0059195fb2b1255f368d98021f4a99ecd121a6.tar.xz
puppet-3c0059195fb2b1255f368d98021f4a99ecd121a6.zip
Fix for #4178 - generalize autoloading to include .rb
This mostly modifies autoloading to look for files ending in either 'pp' or 'rb' using Dir globing with {,.pp,.rb} or .{pp,rb} as appropriate. It could easily be extended to add support for other formats (e.g. xml) by adding them to the globs (though, if this were to be done often, having a centralized list of supported extensions would be a good (and easy) refactor). Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Diffstat (limited to 'sbin/puppetqd')
0 files changed, 0 insertions, 0 deletions