system-config/modules/drupal/templates/aliases.drushrc.php.erb
Marton Kiss b33a3a436d Upgrade groups portal instances to use manifest based deployment
Both staging and productive groups instances will use the manifest
published at tarballs.openstack.org/groups/drupal-updates catalog.
It helps to separate the staging and prod deployment source
versions, passed in package_branch parameter. Drush dsd tool updated
to v0.9, and puppet sitedeploy and siteupdate resources were also
refactored to support drush-dl package provider parameters.

Change-Id: I8299c063ea774a85554c2406c6cb6ccb007fb182
2014-10-20 15:16:37 +02:00

32 lines
1.0 KiB
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' => 'drush-dl',
'package-repository' => '<%= @package_repository %>',
'package-dist-name' => 'groups',
<% if @package_branch == 'dev' %>
'package-dev-branch' => TRUE,
<% end %>
);