puppet-drupal/templates/settings.php.erb

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 %>