Puppet Class: ckan::ext::lcrnz
- Defined in:
- manifests/ext/lcrnz.pp
Summary
Installs the Landcare Research extension.Overview
Requirements:
Installs the following extensions.
-
ckan::ext::repeating
-
ckan::ext::ldap
The id can be found at the following url: http://<CKAN URL/api/action/organization_show?id=<ORG NAME>
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'manifests/ext/lcrnz.pp', line 37
class ckan::ext::lcrnz (
String $uri,
String $base_dn,
Optional[String] $organization_id = undef,
String $source = 'http://github.com/okfn/ckanext-lcrnz',
String $revision = 'master',
String $ldap_revision = 'master',
String $ldap_source = 'ofkn',
){
contain ckan::ext::repeating
class {'ckan::ext::ldap':
uri => $uri,
base_dn => $base_dn,
organization_id => $organization_id,
source => $ldap_source,
revision => $ldap_revision,
}
contain ckan::ext::ldap
ckan::ext { 'lcrnz':
source => $source,
revision => $revision,
plugin => ['lcrnz'],
}
## Custom i18n folder (for replacing "organizations" with "collections")
## Update the path if necessary
#ckan.locale_default = en_NZ
#ckan.i18n_directory = /usr/lib/ckan/default/src/ckanext-lcrnz
}
|