How to Add Contrib Modules to Distribution

I have a platform that begins with the Commerce Kickstart distribution and then has added to it contrib modules that are not included with CK. Each time a new release of the CK distribution comes out:

  • I create a new platform directory by untarring the new distribution into the platforms directory
  • I add the platform through the Aegir UI
  • I use drush to add the contrib modules to the platform
  • I verify the platform again
  • I migrate my sites

What I'd like to figure out is how to have Aegir automatically build the new platform by downloading and untarring the CK distribution and then automatically adding the contrib modules. I've tried to figure out how to use kplatforms.sh to do this, but I've not gotten it to work.

I will appreciate any guidance.

#1

You should be able to use a distribution as core in your makefile, then list any other modules, themes, etc. Along the lines of:

projects[commerce_kickstart][type] = "core"
projects[commerce_kickstart][version] = "2.14"
projects[token] = "1.5"