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 {
|
|
|
|
|
2013-06-06 20:39:00 +02:00
|
|
|
validate_string($package_name)
|
|
|
|
|
2013-01-21 21:52:23 +01:00
|
|
|
package { 'postgresql-jdbc':
|
|
|
|
ensure => $package_ensure,
|
|
|
|
name => $package_name,
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|