saltstack/salt — pull request #4479 by hank-at-code42 (2013-04-12 22:16:35+00:00)
Title: modify path

Add the pillar root to `sys.path`.

This would allow one to put python modules in the pillar root and use them from the python renderer.

For an exmaple, I shell out to `dig` to fetch things from DNS, but it'd be great to be able to consolidate that code.