User story #10276
closedI Can not migrate from old "package technique" to new one automatically
Description
Rudder 4.0 introduced a much better and saner package technique which abstract upon the underlying package manager correctly and allows basic requirement like "ensure present" (not install [or exclusive] update).
So anybody using Rudder 4.0 should use these new techniques. But there is no automatic way to migrate existing directive from an old "package management for debian" (for ex) to the new "package management".
The problem was for example reported in http://www.rudder-project.org/redmine/issues/9859
The current solution is to migrate by hand, one by one, each directive to the new technique. It is not a good solution.
Dmitry Svyatogorov created a python script which use Rudder API to do most of the grunt work for you. One can find it here: https://github.com/ds-voix/VX-PBX/blob/master/RUDDER/api.py
This is a better solution, and something alike, able to correctly process 90% of the cases, should be included in some fashion into Rudder.