# File lib/puppet/module.rb, line 125 125: def match_manifests(rest) 126: pat = File.join(path, MANIFESTS, rest || 'init') 127: [manifest("init.pp"),manifest("init.rb")].compact + Dir. 128: glob(pat + (File.extname(pat).empty? ? '.{pp,rb}' : '')). 129: reject { |f| FileTest.directory?(f) } 130: end