At the moment I see 2 reasons why people modify there modules.conf
1. to enable or disable a module
2. during the postinst script of debian packages that require a modification of the modules.conf
The problem with these procedures is that it prevents upgrades from completing without manual intervention from the administrator.
I would like to implement a way to modify the modules.conf by adding a new file and removing on uninstall. The same way all other configurations are modified in wazo.
Some constraint to keep in mind
The `#exec` directive does not work in modules.conf and asterisk.conf
Including `modules.d` would not work because we cannot `load` a modules that has been previously `unload`ed