pidservice

Installs and manages the PIDService
Manaaki Whenua

Manaaki Whenua

landcareresearch

8,349 downloads

7,440 latest version

4.6 quality score

Version information

  • 0.1.7 (latest)
  • 0.1.3
released Jul 3rd 2019
This version is compatible with:
  • Ubuntu

Start using this module

Documentation

landcareresearch/pidservice — version 0.1.7 Jul 3rd 2019

pidservice

Puppet Forge Bitbucket Build Status

About

Installs the PIDService and software required to support the PIDService such as Tomcat6 & Postgresql.

Configuration

There is one class that needs to be declared: pidservice. pidservice installs tomcat6 and loads itself as a webapp.

Required Parameters

servername

The fqdn name of the server.

Optional Parameters

enable_pidsvc_proxy

True (default) if /pidsvc should be proxied from localhost:8080/pidsvc

proxypass

An array for the proxypass rules for the main vhost.

rewrite_rules

An array for the rewrite rules for the main vhost.

db_user

The database user name Default: 'pidsvc-admin'

db_passwd

The database password for the pidsvc-admin user.

declare_db_user

True if this module should manage the database user and false otherwise. Default: true

postgres_password

The password to the postgresql database

postgres_version

The postgresql version to use. If left undef, uses the default for the postgresql puppet module. Default: undef

postgis_version

Enable postgis extension for the database with the specified version. Default: undef

use_default_vhost

Allow this module to control the vhost and false otherwise. Defaults to true. If false, proxypass and rewrite_rules are ignored.

listen_addresses

The address range that is allowed for the postgresql db.

ipv4_acls

Sets the acls for the postgresql server.

Usage

    class {'pidservice':
        servername => 'localhost',
    }

Open a web browser to http://:8080/pidsvc

Limitations

Only works with debian based OS's.

Development

The module is open source and available on github. Please fork!