Merge "Groups portal Google Analytics code"

This commit is contained in:
Jenkins 2014-08-11 16:20:17 +00:00 committed by Gerrit Code Review
commit 7363e7f704
3 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class drupal (
$package_branch = undef,
$conf_cron_key = undef,
$conf_markdown_directory = undef,
$conf_ga_account = undef,
) {
include apache
include pear

View File

@ -11,4 +11,7 @@ $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 %>

View File

@ -54,6 +54,7 @@ class openstack_project::groups (
package_branch => 'groups-latest',
conf_cron_key => $conf_cron_key,
conf_markdown_directory => '/srv/groups-static-pages',
conf_ga_account => 'UA-17511903-1',
require => [ Class['openstack_project::server'],
Vcsrepo['/srv/groups-static-pages'] ],
}