function hostmaster_install

7.x-3.x hostmaster.install hostmaster_install()

Implement hook_install().

Perform actions to set up the site for this profile.

File

./hostmaster.install, line 8

Code

function hostmaster_install() {

  variable_set('install_profile', 'hostmaster');

  // add support for nginx
  if (d()->platform->server->http_service_type === 'nginx') {
    module_enable(array('hosting_nginx'));
  }

  // Bootstrap and create all the initial nodes
  hostmaster_bootstrap();

  // Finalize and setup themes, optional modules etc
  hostmaster_task_finalize();

}