module-postgresql/manifests/java.pp

30 lines
586 B
ObjectPascal
Raw Normal View History

# Class: postgresql::java
#
# This class installs the postgresql jdbc connector.
#
# Parameters:
# [*package_name*] - The name of the postgresql java package.
# [*package_ensure*] - The ensure value of the package.
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
# class { 'postgresql::java': }
#
class postgresql::java (
$package_name = $postgresql::params::java_package_name,
$package_ensure = 'present'
) inherits postgresql::params {
validate_string($package_name)
package { 'postgresql-jdbc':
ensure => $package_ensure,
name => $package_name,
}
}