Puppet Class: ckan::ext::officedocs

Defined in:
manifests/ext/officedocs.pp

Summary

Installs the officedocs extension.

Overview

For this extension to work, the documents to be previewed must be accessible to the wider internet, and will only work if you use a hostname, and not just an IP address.

Parameters:

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

See Also:



13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/ext/officedocs.pp', line 13

class ckan::ext::officedocs (
  String $ckan_conf = $ckan::params::ckan_conf,
  String $paster    = $ckan::params::paster,
) {
  ckan::ext { 'officedocs':
    source           => 'https://github.com/jqnatividad/ckanext-officedocs',
    plugin           => ['officedocs_view'],
    views            => ['officedocs_view'],
    revision         => 'master',
    pip_requirements => 'requirements.txt',
    run_setup        => true,
    run_setup_param  => 'install',
  }
}