This patch adds an interface to module_exists() for the system services module. You pass it the name of a module, and if the module is enabled on the remote system, the service returns the module's version. Otherwise it returns an empty string. This is useful for doing dependency checks between two servers, two verify that modules and versions match. I wrote this as part of my deployment project.

Let me know if you need anything!

CommentFileSizeAuthor
system_service_module_exists.patch1.5 KBgdd

Comments

marcingy’s picture

Assigned: gdd » marcingy

assigned for review

marcingy’s picture

Status: Needs review » Fixed

committed to d5 and d6

marcingy’s picture

Status: Fixed » Closed (fixed)