puppet-drupal/templates/settings.php.erb
Marton Kiss 0d8c23c4f7 Decouple configuration variables from settings.php
The conf_xxxx class paramters of drupal class refactored now
to conf variable that can hold the key-value pairs. So it
will allow the define additional parameters without any change
required in the drupal:: class.

The conf_xxx parameters kept only for compatibility reason, will be
removed in a future release.

Change-Id: I9e77d609bc6aaa3a5e10f065e79aa8a86cae151e
2015-02-04 21:33:47 +01:00

29 lines
709 B
Plaintext

<?php
/**
* @file
* Drupal configuration overrides
*
*/
<%# This part will be removed from next release together with conf_xxxx variables %>
<% if @conf_cron_key %>
$conf['cron_key'] = '<%= @conf_cron_key %>';
<% end %>
<% if @conf_markdown_directory %>
$conf['groups_feeds_markdown_directory'] = '<%= @conf_markdown_directory %>';
<% end %>
<% if @conf_ga_account %>
$conf['googleanalytics_account'] = '<%= @conf_ga_account %>';
<% end %>
<% if @conf_openid_provider %>
$conf['groups_openid_provider'] = '<%= @conf_openid_provider %>';
<% end %>
<%# Build configuration from conf parameter %>
<% if @conf %>
<% @conf.each do |key, value| -%>
$conf['<%= key %>'] = '<%= value %>';
<% end -%>
<% end %>