2013-01-21 21:52:23 +01:00
|
|
|
# Class: postgresql::java
|
|
|
|
#
|
|
|
|
# This class installs the postgresql jdbc connector.
|
|
|
|
#
|
|
|
|
# Parameters:
|
2013-02-06 07:16:07 +01:00
|
|
|
# [*package_name*] - The name of the postgresql java package.
|
|
|
|
# [*package_ensure*] - The ensure value of the package.
|
2013-01-21 21:52:23 +01:00
|
|
|
#
|
|
|
|
# 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,
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|