An alternative (and more generic) approach would be doing this by intercepting .conf file reads (via FUSE?). After thinking a little about this and googling, I've found something that might be a good start: https://code.google.com/p/scriptfs/
@dkived: Maybe you can try this for your scenario and post how it works. I haven't tried it but looks like it can do the trick.
Definitely +1 to this!
An alternative (and more generic) approach would be doing this by intercepting .conf file reads (via FUSE?). After thinking a little about this and googling, I've found something that might be a good start: /code.google. com/p/scriptfs/
https:/
@dkived: Maybe you can try this for your scenario and post how it works. I haven't tried it but looks like it can do the trick.