Puppet Class: postgresql::lib::java

Inherits:
postgresql::params
Defined in:
manifests/lib/java.pp

Summary

This class installs the postgresql jdbc connector.

Overview

Note:

Make sure to add any necessary yum or apt repositories if specifying a custom version.

Parameters:

  • package_name (String) (defaults to: $postgresql::params::java_package_name)

    Specifies the name of the PostgreSQL java package.

  • package_ensure (Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]]) (defaults to: 'present')

    Specifies whether the package is present.



11
12
13
14
15
16
17
18
19
20
# File 'manifests/lib/java.pp', line 11

class postgresql::lib::java (
  String $package_name = $postgresql::params::java_package_name,
  Variant[Enum['present', 'absent', 'purged', 'disabled', 'installed', 'latest'], String[1]] $package_ensure = 'present',
) inherits postgresql::params {
  package { 'postgresql-jdbc':
    ensure => $package_ensure,
    name   => $package_name,
    tag    => 'puppetlabs-postgresql',
  }
}