puppetlabs/puppetlabs-stdlib — pull request #25 by bodepd (2011-11-14 06:45:13+00:00)
Title: (#10802) add new function get_module_path

This commit adds a new function called get_module_path.

get_module_path returns the absolute path of a specified module. The
code and functionality is very similar to how templates and files
are detected inside of modules.

the function has been tested against puppet 2.6.10 and 2.7.x