Aegir::Platform is a resource definition, which cannot inherit from a class. It tries to inherit Aegir::Defaults in order to set a few key defaults for the Drush::Run resource within the platform building context, but that doesn't work. This results in provision-save and hosting-import being run as root (the Drush default user).

Comments

m.stenta’s picture

Status: Active » Needs review

Solution is to include the resource defaults inside the Aegir::Platform definition.

See tracking branch: dev/2065357

m.stenta’s picture

Title: Aegir::Platform does not inherit from Aegir::Defaults. » Aegir platforms not building
Status: Needs review » Needs work

Platforms are still not building... making this issue more general...