Puppet Class: ckan::ext::report

Defined in:
manifests/ext/report.pp

Summary

Installs the report extension.

Overview

Parameters:

  • ckan_conf (String) (defaults to: $ckan::params::ckan_conf)
  • paster (String) (defaults to: $ckan::params::paster)

See Also:



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/ext/report.pp', line 9

class ckan::ext::report (
  String $ckan_conf = $ckan::params::ckan_conf,
  String $paster    = $ckan::params::paster,
) {
  ckan::ext { 'report':
    plugin   => ['report'],
    source   => 'http://github.com/datagovuk/ckanext-report',
    revision => 'master',
  }

  check_run::task { 'install-ckan-report-init':
    exec_command => "${ckan::paster} --plugin=ckanext-report report initdb --config=${ckan_conf}",
    require      => Ckan::Ext['report'],
  }
}