I think it would be possible for the chef provisioner to determine which linux variant it is dealing with based on the  contents of the /var/lib directory of the mounted volume. It could call the appropriate deactivate/activate. This would require changes to the apt and yum modules, moving the logic in the private class methods to module level functions.

Does this make sense?