Page MenuHomePhabricator
Authored By
GoranSMilovanovic
Oct 20 2017, 11:30 PM
Size
1 KB
Referenced Files
None
Subscribers
None

wdcm_production.pp

# Provision Shiny Server and WDCM Dashboards
#
# Install and configure Shiny Server;
# Clone release-ready versions of WDCM dashboards.
#
class profile::wdcm_dashboards::production {
require profile::wdcm_dashboards::wdcm_base
# Set up clones of individual dashboard repos, triggering a restart
# of the Shiny Server service if any of the clones are updated:
# WDCM Overview Dashboard:
git::clone { 'wikimedia/analytics-wmde-WDCM/WDCM_OverviewDashboard':
ensure => 'latest',
directory => '/srv/shiny-server/metrics',
notify => Service['shiny-server'],
branch => 'master',
}
# WDCM Usage Dashboard:
git::clone { 'wikimedia/analytics-wmde-WDCM/WDCM_UsageDashboard':
ensure => 'latest',
directory => '/srv/shiny-server/metrics',
notify => Service['shiny-server'],
branch => 'master',
}
# WDCM Semantics Dashboard:
git::clone { 'wikimedia/analytics-wmde-WDCM/WDCM_SemanticsDashboard/':
ensure => 'latest',
directory => '/srv/shiny-server/metrics',
notify => Service['shiny-server'],
branch => 'master',
}
}

File Metadata

Mime Type
text/x-c++
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5027083
Default Alt Text
wdcm_production.pp (1 KB)

Event Timeline