theforeman/smart-proxy — pull request #98 by Danie (2013-06-26 08:27:54+00:00)
Title: Change handling of dynamic and static modulepaths

Previously the foreman-proxy could only handle one dynamic modulepath. This restriction was changed.

Example puppet.conf:
```
modulepath = /etc/puppet/environments/$environment/path_1:/etc/puppet/environments/$environment/path_2
```
The previously foreman-proxy will only handle /etc/puppet/environments/$environment/path_1. All modules in /etc/puppet/environments/$environment/path_1 are not observed.

The refactored code will now seperate static and dynamic modulepaths, creates all dynamic environments with all there modulepaths (modulepath_1:modulepath_n).