module-postgresql/manifests/init.pp

28 lines
527 B
ObjectPascal
Raw Normal View History

# Class: postgresql
#
# This class installs postgresql client software.
#
# Parameters:
# [*client_package_name*] - The name of the postgresql client package.
#
# Actions:
#
# Requires:
#
# Sample Usage:
#
class postgresql (
$package_name = $postgresql::params::client_package_name,
$package_ensure = 'present'
) inherits postgresql::params {
include postgresql::repo
package { 'postgresql_client':
ensure => $package_ensure,
name => $package_name,
require => Class['postgresql::repo'],
}
}