system-config/modules/drupal/templates/aliases.drushrc.php.erb
Marton Kiss a33ba74399 Groups portal infra code refactor
This patch removes the drush make site building function from
groups-dev instance, and now directly fetch release tarballs from
http://tarballs.openstack.org/groups repository. With an advanced
multi-slot deployment architecture it prevents the typical Drupal
WSOD issues that randomly caused site malfunction when a request
arrived during installation. It also simplifies the
deployment steps using the standard drush aliases and
drush-dsd extension and supports local configuration variables
in local_settings.php file.

Change-Id: I73976a60e080d15b6f513db79fee46bcf468e302
2014-06-11 23:12:12 +02:00

29 lines
1015 B
Plaintext

<?php
$aliases['<%= @site_alias %>'] = array(
'root' => '<%= @site_docroot %>',
'dsd-root' => '<%= @site_root %>',
'uri' => '<%= @site_base_url %>',
'db-url' => 'mysql://<%= @site_mysql_user %>:<%= @site_mysql_password %>@<%= @site_mysql_host %>/<%= @site_mysql_database %>',
'databases' => array(
'default' => array(
'driver' => 'mysql',
'username' => '<%= @site_mysql_user %>',
'password' => '<%= @site_mysql_password %>',
'port' => '',
'host' => '<%= @site_mysql_host %>',
'database' => '<%= @site_mysql_database %>',
),
),
'file-owner' => '<%= @site_file_owner %>',
'file-group' => 'www-data',
'variables' => array(
'site_name' => '<%= @site_name %>',
),
'profile' => '<%= @site_profile %>',
'default-admin-password' => '<%= @site_admin_password %>',
'disable-features-revert' => FALSE,
'package-provider' => 'static-tarball',
'package-repository' => '<%= @package_repository %>',
'package-branch' => '<%= @package_branch %>',
);