I wanna implement like the following:
1. I can create task by myself (like : create content -> xxx_task);
2. the task which I create is to use drush to enable modules of a site or all sites in a same platform.

I am working on this but I searched internet and could not find any api about the hook in module hosting, so I do not know how to do this. I wonder if someone could tell me where could I find some documents as to the hook function of module hosting or how could I do this work.

Thanks a lot.

Comments

anarcat’s picture

Project: Hostmaster (Aegir) » Provision
Category: task » support
Status: Active » Fixed

This looks more like something you would do in the backend, in provision. Take a look at the examples directory in provision and the drush API.

TYJ1983’s picture

Thanks a lot

TYJ1983’s picture

Status: Fixed » Needs work
TYJ1983’s picture

Title: API of hosting hook function » enable or disable modules
Anonymous’s picture

Title: enable or disable modules » API of hosting hook function
Status: Needs work » Fixed

...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.