We're updating the issue view to help you get more done. 

add a way to modify modules.conf

Description

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

https://github.com/sboily/wazo-confgend-driver-followme/blob/master/wazo/rules#L20

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

Environment

None

Activity

Show:
Pascal Cadotte
November 22, 2019, 8:05 PM
Edited

I’ve created a document for those who would like to share their thoughts on this

https://zuul.wazo.community/etherpad/p/modulesconf

Assignee

Pascal Cadotte

Reporter

Pascal Cadotte

Labels

Approvers

None

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure