Provisionator

Component ID

97586

Component name

Provisionator

Component type

module

Component security advisory coverage

not-covered

Downloads

465

Component created

Component changed

Component body

Provisionator is a utility module for use in managing the deployment (provisioning) of new sites in a shared Drupal hosting environment.

The current version of the module is far from complete, but it does function. Specifically, it does:

  • create database for new site
  • populate database with selected mysqldump template file
  • copy template site directory (with settings.php, files, modules, themes)
  • modify settings.php as needed
  • create symlink to expose Drupal via Apache for the new site (as a subdirectory of a server, currently)
  • add a new record to the database, describing the site
  • list all records in the Provisionator database table

This module is still very much a work in progress. It's also likely quite rough, but it works.

It assumes that you'll be running in a shared Drupal hosting environment, with Drupal itself not installed directly within the Apache wwwroot directory. It assumes new sites will be exposed to Apache by creating symlinks from the Drupal directory to locations within wwwroot.