module-postgresql/manifests/client.pp
2013-02-15 17:22:52 +01:00

28 lines
700 B
Puppet

# Class: postgresql::client
#
# This class installs postgresql client software.
#
# *Note* don't forget to make sure to add any necessary yum or apt
# repositories if specifying a custom version.
#
# Parameters:
# [*package_name*] - The name of the postgresql client package.
# [*ensure*] - the ensure parameter passed to the postgresql client package resource
# Actions:
#
# Requires:
#
# Sample Usage:
#
class postgresql::client (
$package_name = $postgresql::params::client_package_name,
$package_ensure = 'present'
) inherits postgresql::params {
package { 'postgresql-client':
ensure => $package_ensure,
name => $package_name,
tag => 'postgresql',
}
}