module-postgresql/manifests/java.pp
Michael Arnold 556ab32b73 Add support for JDBC connector.
Modify params.pp to abstract the package name for the postgresql JDBC
connector and add Class['postgresql::java'].  Also update the README.md
to mention the availability of this class.
2013-02-05 23:22:13 -07:00

26 lines
496 B
Puppet

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