theforeman/foreman — pull request #1596 by ehelms (2014-07-17 16:19:49+00:00)
Title: Fixes #6672: Allow plugins to more easily take advantage of resource loo...

I have not added tests yet as I am looking for some direction and opinions before I proceed further. An example of how this changes can be taken advantage of can be seen here -